{"version":3,"sources":["../rewritten-packages/@embroider/synthesized-vendor/vendor/loader/loader.js","../rewritten-packages/@embroider/synthesized-vendor/vendor/jquery/jquery.js","../rewritten-packages/@embroider/synthesized-vendor/vendor/ember/ember.js","../rewritten-packages/@embroider/synthesized-vendor/vendor/experimental-render-mode-rehydrate.js","../rewritten-packages/@embroider/synthesized-vendor/vendor/shims/jquery.js","../../svgxuse/svgxuse.js"],"sourcesContent":["var loader, define, requireModule, require, requirejs;\n\n(function (global) {\n  'use strict';\n\n  function dict() {\n    var obj = Object.create(null);\n    obj['__'] = undefined;\n    delete obj['__'];\n    return obj;\n  }\n\n  // Save off the original values of these globals, so we can restore them if someone asks us to\n  var oldGlobals = {\n    loader: loader,\n    define: define,\n    requireModule: requireModule,\n    require: require,\n    requirejs: requirejs\n  };\n\n  requirejs = require = requireModule = function (id) {\n    var pending = [];\n    var mod = findModule(id, '(require)', pending);\n\n    for (var i = pending.length - 1; i >= 0; i--) {\n      pending[i].exports();\n    }\n\n    return mod.module.exports;\n  };\n\n  loader = {\n    noConflict: function (aliases) {\n      var oldName, newName;\n\n      for (oldName in aliases) {\n        if (aliases.hasOwnProperty(oldName)) {\n          if (oldGlobals.hasOwnProperty(oldName)) {\n            newName = aliases[oldName];\n\n            global[newName] = global[oldName];\n            global[oldName] = oldGlobals[oldName];\n          }\n        }\n      }\n    },\n    // Option to enable or disable the generation of default exports\n    makeDefaultExport: true\n  };\n\n  var registry = dict();\n  var seen = dict();\n\n  var uuid = 0;\n\n  function unsupportedModule(length) {\n    throw new Error('an unsupported module was defined, expected `define(id, deps, module)` instead got: `' + length + '` arguments to define`');\n  }\n\n  var defaultDeps = ['require', 'exports', 'module'];\n\n  function Module(id, deps, callback, alias) {\n    this.uuid = uuid++;\n    this.id = id;\n    this.deps = !deps.length && callback.length ? defaultDeps : deps;\n    this.module = { exports: {} };\n    this.callback = callback;\n    this.hasExportsAsDep = false;\n    this.isAlias = alias;\n    this.reified = new Array(deps.length);\n\n    /*\n       Each module normally passes through these states, in order:\n         new       : initial state\n         pending   : this module is scheduled to be executed\n         reifying  : this module's dependencies are being executed\n         reified   : this module's dependencies finished executing successfully\n         errored   : this module's dependencies failed to execute\n         finalized : this module executed successfully\n     */\n    this.state = 'new';\n  }\n\n  Module.prototype.makeDefaultExport = function () {\n    var exports = this.module.exports;\n    if (exports !== null && (typeof exports === 'object' || typeof exports === 'function') && exports['default'] === undefined && Object.isExtensible(exports)) {\n      exports['default'] = exports;\n    }\n  };\n\n  Module.prototype.exports = function () {\n    // if finalized, there is no work to do. If reifying, there is a\n    // circular dependency so we must return our (partial) exports.\n    if (this.state === 'finalized' || this.state === 'reifying') {\n      return this.module.exports;\n    }\n\n\n    if (loader.wrapModules) {\n      this.callback = loader.wrapModules(this.id, this.callback);\n    }\n\n    this.reify();\n\n    var result = this.callback.apply(this, this.reified);\n    this.reified.length = 0;\n    this.state = 'finalized';\n\n    if (!(this.hasExportsAsDep && result === undefined)) {\n      this.module.exports = result;\n    }\n    if (loader.makeDefaultExport) {\n      this.makeDefaultExport();\n    }\n    return this.module.exports;\n  };\n\n  Module.prototype.unsee = function () {\n    this.state = 'new';\n    this.module = { exports: {} };\n  };\n\n  Module.prototype.reify = function () {\n    if (this.state === 'reified') {\n      return;\n    }\n    this.state = 'reifying';\n    try {\n      this.reified = this._reify();\n      this.state = 'reified';\n    } finally {\n      if (this.state === 'reifying') {\n        this.state = 'errored';\n      }\n    }\n  };\n\n  Module.prototype._reify = function () {\n    var reified = this.reified.slice();\n    for (var i = 0; i < reified.length; i++) {\n      var mod = reified[i];\n      reified[i] = mod.exports ? mod.exports : mod.module.exports();\n    }\n    return reified;\n  };\n\n  Module.prototype.findDeps = function (pending) {\n    if (this.state !== 'new') {\n      return;\n    }\n\n    this.state = 'pending';\n\n    var deps = this.deps;\n\n    for (var i = 0; i < deps.length; i++) {\n      var dep = deps[i];\n      var entry = this.reified[i] = { exports: undefined, module: undefined };\n      if (dep === 'exports') {\n        this.hasExportsAsDep = true;\n        entry.exports = this.module.exports;\n      } else if (dep === 'require') {\n        entry.exports = this.makeRequire();\n      } else if (dep === 'module') {\n        entry.exports = this.module;\n      } else {\n        entry.module = findModule(resolve(dep, this.id), this.id, pending);\n      }\n    }\n  };\n\n  Module.prototype.makeRequire = function () {\n    var id = this.id;\n    var r = function (dep) {\n      return require(resolve(dep, id));\n    };\n    r['default'] = r;\n    r.moduleId = id;\n    r.has = function (dep) {\n      return has(resolve(dep, id));\n    };\n    return r;\n  };\n\n  define = function (id, deps, callback) {\n    var module = registry[id];\n\n    // If a module for this id has already been defined and is in any state\n    // other than `new` (meaning it has been or is currently being required),\n    // then we return early to avoid redefinition.\n    if (module && module.state !== 'new') {\n      return;\n    }\n\n    if (arguments.length < 2) {\n      unsupportedModule(arguments.length);\n    }\n\n    if (!Array.isArray(deps)) {\n      callback = deps;\n      deps = [];\n    }\n\n    if (callback instanceof Alias) {\n      registry[id] = new Module(callback.id, deps, callback, true);\n    } else {\n      registry[id] = new Module(id, deps, callback, false);\n    }\n  };\n\n  define.exports = function (name, defaultExport) {\n    var module = registry[name];\n\n    // If a module for this name has already been defined and is in any state\n    // other than `new` (meaning it has been or is currently being required),\n    // then we return early to avoid redefinition.\n    if (module && module.state !== 'new') {\n      return;\n    }\n\n    module = new Module(name, [], noop, null);\n    module.module.exports = defaultExport;\n    module.state = 'finalized';\n    registry[name] = module;\n\n    return module;\n  };\n\n  function noop() {}\n  // we don't support all of AMD\n  // define.amd = {};\n\n  function Alias(id) {\n    this.id = id;\n  }\n\n  define.alias = function (id, target) {\n    if (arguments.length === 2) {\n      return define(target, new Alias(id));\n    }\n\n    return new Alias(id);\n  };\n\n  function missingModule(id, referrer) {\n    throw new Error('Could not find module `' + id + '` imported from `' + referrer + '`');\n  }\n\n  function findModule(id, referrer, pending) {\n    var mod = registry[id] || registry[id + '/index'];\n\n    while (mod && mod.isAlias) {\n      mod = registry[mod.id] || registry[mod.id + '/index'];\n    }\n\n    if (!mod) {\n      missingModule(id, referrer);\n    }\n\n    if (pending && mod.state !== 'pending' && mod.state !== 'finalized') {\n      mod.findDeps(pending);\n      pending.push(mod);\n    }\n    return mod;\n  }\n\n  function resolve(child, id) {\n    if (child.charAt(0) !== '.') {\n      return child;\n    }\n\n\n    var parts = child.split('/');\n    var nameParts = id.split('/');\n    var parentBase = nameParts.slice(0, -1);\n\n    for (var i = 0, l = parts.length; i < l; i++) {\n      var part = parts[i];\n\n      if (part === '..') {\n        if (parentBase.length === 0) {\n          throw new Error('Cannot access parent module of root');\n        }\n        parentBase.pop();\n      } else if (part === '.') {\n        continue;\n      } else {\n        parentBase.push(part);\n      }\n    }\n\n    return parentBase.join('/');\n  }\n\n  function has(id) {\n    return !!(registry[id] || registry[id + '/index']);\n  }\n\n  requirejs.entries = requirejs._eak_seen = registry;\n  requirejs.has = has;\n  requirejs.unsee = function (id) {\n    findModule(id, '(unsee)', false).unsee();\n  };\n\n  requirejs.clear = function () {\n    requirejs.entries = requirejs._eak_seen = registry = dict();\n    seen = dict();\n  };\n\n  // This code primes the JS engine for good performance by warming the\n  // JIT compiler for these functions.\n  define('foo', function () {});\n  define('foo/bar', [], function () {});\n  define('foo/asdf', ['module', 'exports', 'require'], function (module, exports, require) {\n    if (require.has('foo/bar')) {\n      require('foo/bar');\n    }\n  });\n  define('foo/baz', [], define.alias('foo'));\n  define('foo/quz', define.alias('foo'));\n  define.alias('foo', 'foo/qux');\n  define('foo/bar', ['foo', './quz', './baz', './asdf', './bar', '../foo'], function () {});\n  define('foo/main', ['foo/bar'], function () {});\n  define.exports('foo/exports', {});\n\n  require('foo/exports');\n  require('foo/main');\n  require.unsee('foo/bar');\n\n  requirejs.clear();\n\n  if (typeof exports === 'object' && typeof module === 'object' && module.exports) {\n    module.exports = { require: require, define: define };\n  }\n})(this);","/*!\n * jQuery JavaScript Library v3.7.1\n * https://jquery.com/\n *\n * Copyright OpenJS Foundation and other contributors\n * Released under the MIT license\n * https://jquery.org/license\n *\n * Date: 2023-08-28T13:37Z\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 trac-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 version = \"3.7.1\",\n\n\trhtmlSuffix = /HTML$/i,\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\n\t// Retrieve the text value of an array of DOM nodes\n\ttext: function( elem ) {\n\t\tvar node,\n\t\t\tret = \"\",\n\t\t\ti = 0,\n\t\t\tnodeType = elem.nodeType;\n\n\t\tif ( !nodeType ) {\n\n\t\t\t// If no nodeType, this is expected to be an array\n\t\t\twhile ( ( node = elem[ i++ ] ) ) {\n\n\t\t\t\t// Do not traverse comment nodes\n\t\t\t\tret += jQuery.text( node );\n\t\t\t}\n\t\t}\n\t\tif ( nodeType === 1 || nodeType === 11 ) {\n\t\t\treturn elem.textContent;\n\t\t}\n\t\tif ( nodeType === 9 ) {\n\t\t\treturn elem.documentElement.textContent;\n\t\t}\n\t\tif ( nodeType === 3 || nodeType === 4 ) {\n\t\t\treturn elem.nodeValue;\n\t\t}\n\n\t\t// Do not include comment or processing instruction nodes\n\n\t\treturn ret;\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\tisXMLDoc: function( elem ) {\n\t\tvar namespace = elem && elem.namespaceURI,\n\t\t\tdocElem = elem && ( elem.ownerDocument || elem ).documentElement;\n\n\t\t// Assume HTML when documentElement doesn't yet exist, such as inside\n\t\t// document fragments.\n\t\treturn !rhtmlSuffix.test( namespace || docElem && docElem.nodeName || \"HTML\" );\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}\n\n\nfunction nodeName( elem, name ) {\n\n\treturn elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n\n}\nvar pop = arr.pop;\n\n\nvar sort = arr.sort;\n\n\nvar splice = arr.splice;\n\n\nvar whitespace = \"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\";\n\n\nvar rtrimCSS = new RegExp(\n\t\"^\" + whitespace + \"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\" + whitespace + \"+$\",\n\t\"g\"\n);\n\n\n\n\n// Note: an element does not contain itself\njQuery.contains = function( a, b ) {\n\tvar bup = b && b.parentNode;\n\n\treturn a === bup || !!( bup && bup.nodeType === 1 && (\n\n\t\t// Support: IE 9 - 11+\n\t\t// IE doesn't have `contains` on SVG.\n\t\ta.contains ?\n\t\t\ta.contains( bup ) :\n\t\t\ta.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16\n\t) );\n};\n\n\n\n\n// CSS string/identifier serialization\n// https://drafts.csswg.org/cssom/#common-serializing-idioms\nvar rcssescape = /([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\x80-\\uFFFF\\w-]/g;\n\nfunction fcssescape( ch, asCodePoint ) {\n\tif ( asCodePoint ) {\n\n\t\t// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER\n\t\tif ( ch === \"\\0\" ) {\n\t\t\treturn \"\\uFFFD\";\n\t\t}\n\n\t\t// Control characters and (dependent upon position) numbers get escaped as code points\n\t\treturn ch.slice( 0, -1 ) + \"\\\\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + \" \";\n\t}\n\n\t// Other potentially-special ASCII characters get backslash-escaped\n\treturn \"\\\\\" + ch;\n}\n\njQuery.escapeSelector = function( sel ) {\n\treturn ( sel + \"\" ).replace( rcssescape, fcssescape );\n};\n\n\n\n\nvar preferredDoc = document,\n\tpushNative = push;\n\n( function() {\n\nvar i,\n\tExpr,\n\toutermostContext,\n\tsortInput,\n\thasDuplicate,\n\tpush = pushNative,\n\n\t// Local document vars\n\tdocument,\n\tdocumentElement,\n\tdocumentIsHTML,\n\trbuggyQSA,\n\tmatches,\n\n\t// Instance-specific data\n\texpando = jQuery.expando,\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\tbooleans = \"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|\" +\n\t\t\"loop|multiple|open|readonly|required|scoped\",\n\n\t// Regular expressions\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: https://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] 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\n\trcomma = new RegExp( \"^\" + whitespace + \"*,\" + whitespace + \"*\" ),\n\trleadingCombinator = new RegExp( \"^\" + whitespace + \"*([>+~]|\" + whitespace + \")\" +\n\t\twhitespace + \"*\" ),\n\trdescend = new RegExp( whitespace + \"|>\" ),\n\n\trpseudo = new RegExp( pseudos ),\n\tridentifier = new RegExp( \"^\" + identifier + \"$\" ),\n\n\tmatchExpr = {\n\t\tID: new RegExp( \"^#(\" + identifier + \")\" ),\n\t\tCLASS: new RegExp( \"^\\\\.(\" + identifier + \")\" ),\n\t\tTAG: new RegExp( \"^(\" + identifier + \"|[*])\" ),\n\t\tATTR: new RegExp( \"^\" + attributes ),\n\t\tPSEUDO: new RegExp( \"^\" + pseudos ),\n\t\tCHILD: new RegExp(\n\t\t\t\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\" +\n\t\t\t\twhitespace + \"*(even|odd|(([+-]|)(\\\\d*)n|)\" + whitespace + \"*(?:([+-]|)\" +\n\t\t\t\twhitespace + \"*(\\\\d+)|))\" + whitespace + \"*\\\\)|)\", \"i\" ),\n\t\tbool: 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\tneedsContext: 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\trinputs = /^(?:input|select|textarea|button)$/i,\n\trheader = /^h\\d$/i,\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// https://www.w3.org/TR/CSS21/syndata.html#escaped-characters\n\trunescape = new RegExp( \"\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace +\n\t\t\"?|\\\\\\\\([^\\\\r\\\\n\\\\f])\", \"g\" ),\n\tfunescape = function( escape, nonHex ) {\n\t\tvar high = \"0x\" + escape.slice( 1 ) - 0x10000;\n\n\t\tif ( nonHex ) {\n\n\t\t\t// Strip the backslash prefix from a non-hex escape sequence\n\t\t\treturn nonHex;\n\t\t}\n\n\t\t// Replace a hexadecimal escape sequence with the encoded Unicode code point\n\t\t// Support: IE <=11+\n\t\t// For values outside the Basic Multilingual Plane (BMP), manually construct a\n\t\t// surrogate pair\n\t\treturn high < 0 ?\n\t\t\tString.fromCharCode( high + 0x10000 ) :\n\t\t\tString.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );\n\t},\n\n\t// Used for iframes; see `setDocument`.\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// Removing the function wrapper causes a \"Permission Denied\"\n\t// error in IE/Edge.\n\tunloadHandler = function() {\n\t\tsetDocument();\n\t},\n\n\tinDisabledFieldset = addCombinator(\n\t\tfunction( elem ) {\n\t\t\treturn elem.disabled === true && nodeName( elem, \"fieldset\" );\n\t\t},\n\t\t{ dir: \"parentNode\", next: \"legend\" }\n\t);\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\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 = {\n\t\tapply: function( target, els ) {\n\t\t\tpushNative.apply( target, slice.call( els ) );\n\t\t},\n\t\tcall: function( target ) {\n\t\t\tpushNative.apply( target, slice.call( arguments, 1 ) );\n\t\t}\n\t};\n}\n\nfunction find( 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 9 only\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\tpush.call( results, 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 9 only\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\tfind.contains( context, elem ) &&\n\t\t\t\t\t\t\telem.id === m ) {\n\n\t\t\t\t\t\t\tpush.call( results, 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 ] ) && context.getElementsByClassName ) {\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 ( !nonnativeSelectorCache[ selector + \" \" ] &&\n\t\t\t\t( !rbuggyQSA || !rbuggyQSA.test( selector ) ) ) {\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 ) || rleadingCombinator.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\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when\n\t\t\t\t\t// strict-comparing two documents; shallow comparisons work.\n\t\t\t\t\t// eslint-disable-next-line eqeqeq\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 = jQuery.escapeSelector( nid );\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( rtrimCSS, \"$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\n\t\t// (see https://github.com/jquery/sizzle/issues/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 jQuery selector module\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 * Returns a function to use in pseudos for input types\n * @param {String} type\n */\nfunction createInputPseudo( type ) {\n\treturn function( elem ) {\n\t\treturn nodeName( elem, \"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\treturn ( nodeName( elem, \"input\" ) || nodeName( elem, \"button\" ) ) &&\n\t\t\telem.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\telem.isDisabled !== !disabled &&\n\t\t\t\t\t\tinDisabledFieldset( elem ) === disabled;\n\t\t\t}\n\n\t\t\treturn elem.disabled === disabled;\n\n\t\t// Try to winnow out elements that can't be disabled before trusting the disabled property.\n\t\t// Some victims get caught in our net (label, legend, menu, track), but it shouldn't\n\t\t// even exist on them, let alone have a boolean value.\n\t\t} else if ( \"label\" in elem ) {\n\t\t\treturn elem.disabled === disabled;\n\t\t}\n\n\t\t// Remaining elements are neither :enabled nor :disabled\n\t\treturn false;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for positionals\n * @param {Function} fn\n */\nfunction createPositionalPseudo( fn ) {\n\treturn markFunction( function( argument ) {\n\t\targument = +argument;\n\t\treturn markFunction( function( seed, matches ) {\n\t\t\tvar j,\n\t\t\t\tmatchIndexes = fn( [], seed.length, argument ),\n\t\t\t\ti = matchIndexes.length;\n\n\t\t\t// Match elements found at the specified indexes\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( seed[ ( j = matchIndexes[ i ] ) ] ) {\n\t\t\t\t\tseed[ j ] = !( matches[ j ] = seed[ j ] );\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t} );\n}\n\n/**\n * Checks a node for validity as a jQuery selector 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/**\n * Sets document-related variables once based on the current document\n * @param {Element|Object} [node] An element or document object to use to set the document\n * @returns {Object} Returns the current document\n */\nfunction setDocument( node ) {\n\tvar 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\tdocumentElement = document.documentElement;\n\tdocumentIsHTML = !jQuery.isXMLDoc( document );\n\n\t// Support: iOS 7 only, IE 9 - 11+\n\t// Older browsers didn't support unprefixed `matches`.\n\tmatches = documentElement.matches ||\n\t\tdocumentElement.webkitMatchesSelector ||\n\t\tdocumentElement.msMatchesSelector;\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// Accessing iframe documents after unload throws \"permission denied\" errors\n\t// (see trac-13936).\n\t// Limit the fix to IE & Edge Legacy; despite Edge 15+ implementing `matches`,\n\t// all IE 9+ and Edge Legacy versions implement `msMatchesSelector` as well.\n\tif ( documentElement.msMatchesSelector &&\n\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\tpreferredDoc != document &&\n\t\t( subWindow = document.defaultView ) && subWindow.top !== subWindow ) {\n\n\t\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t\tsubWindow.addEventListener( \"unload\", unloadHandler );\n\t}\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\tdocumentElement.appendChild( el ).id = jQuery.expando;\n\t\treturn !document.getElementsByName ||\n\t\t\t!document.getElementsByName( jQuery.expando ).length;\n\t} );\n\n\t// Support: IE 9 only\n\t// Check to see if it's possible to do matchesSelector\n\t// on a disconnected node.\n\tsupport.disconnectedMatch = assert( function( el ) {\n\t\treturn matches.call( el, \"*\" );\n\t} );\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// IE/Edge don't support the :scope pseudo-class.\n\tsupport.scope = assert( function() {\n\t\treturn document.querySelectorAll( \":scope\" );\n\t} );\n\n\t// Support: Chrome 105 - 111 only, Safari 15.4 - 16.3 only\n\t// Make sure the `:has()` argument is parsed unforgivingly.\n\t// We include `*` in the test to detect buggy implementations that are\n\t// _selectively_ forgiving (specifically when the list includes at least\n\t// one valid selector).\n\t// Note that we treat complete lack of support for `:has()` as if it were\n\t// spec-compliant support, which is fine because use of `:has()` in such\n\t// environments will fail in the qSA path and fall back to jQuery traversal\n\t// anyway.\n\tsupport.cssHas = assert( function() {\n\t\ttry {\n\t\t\tdocument.querySelector( \":has(*,:jqfake)\" );\n\t\t\treturn false;\n\t\t} catch ( e ) {\n\t\t\treturn true;\n\t\t}\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 = function( tag, context ) {\n\t\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\t\treturn context.getElementsByTagName( tag );\n\n\t\t// DocumentFragment nodes don't have gEBTN\n\t\t} else {\n\t\t\treturn context.querySelectorAll( tag );\n\t\t}\n\t};\n\n\t// Class\n\tExpr.find.CLASS = 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\trbuggyQSA = [];\n\n\t// Build QSA regex\n\t// Regex strategy adopted from Diego Perini\n\tassert( function( el ) {\n\n\t\tvar input;\n\n\t\tdocumentElement.appendChild( el ).innerHTML =\n\t\t\t\"<a id='\" + expando + \"' href='' disabled='disabled'></a>\" +\n\t\t\t\"<select id='\" + expando + \"-\\r\\\\' disabled='disabled'>\" +\n\t\t\t\"<option selected=''></option></select>\";\n\n\t\t// Support: iOS <=7 - 8 only\n\t\t// Boolean attributes and \"value\" are not treated correctly in some XML documents\n\t\tif ( !el.querySelectorAll( \"[selected]\" ).length ) {\n\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*(?:value|\" + booleans + \")\" );\n\t\t}\n\n\t\t// Support: iOS <=7 - 8 only\n\t\tif ( !el.querySelectorAll( \"[id~=\" + expando + \"-]\" ).length ) {\n\t\t\trbuggyQSA.push( \"~=\" );\n\t\t}\n\n\t\t// Support: iOS 8 only\n\t\t// https://bugs.webkit.org/show_bug.cgi?id=136851\n\t\t// In-page `selector#id sibling-combinator selector` fails\n\t\tif ( !el.querySelectorAll( \"a#\" + expando + \"+*\" ).length ) {\n\t\t\trbuggyQSA.push( \".#.+[+~]\" );\n\t\t}\n\n\t\t// Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+\n\t\t// In some of the document kinds, these selectors wouldn't work natively.\n\t\t// This is probably OK but for backwards compatibility we want to maintain\n\t\t// handling them through jQuery traversal in jQuery 3.x.\n\t\tif ( !el.querySelectorAll( \":checked\" ).length ) {\n\t\t\trbuggyQSA.push( \":checked\" );\n\t\t}\n\n\t\t// Support: Windows 8 Native Apps\n\t\t// The type and name attributes are restricted during .innerHTML assignment\n\t\tinput = document.createElement( \"input\" );\n\t\tinput.setAttribute( \"type\", \"hidden\" );\n\t\tel.appendChild( input ).setAttribute( \"name\", \"D\" );\n\n\t\t// Support: IE 9 - 11+\n\t\t// IE's :disabled selector does not pick up the children of disabled fieldsets\n\t\t// Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+\n\t\t// In some of the document kinds, these selectors wouldn't work natively.\n\t\t// This is probably OK but for backwards compatibility we want to maintain\n\t\t// handling them through jQuery traversal in jQuery 3.x.\n\t\tdocumentElement.appendChild( el ).disabled = true;\n\t\tif ( el.querySelectorAll( \":disabled\" ).length !== 2 ) {\n\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t}\n\n\t\t// Support: IE 11+, Edge 15 - 18+\n\t\t// IE 11/Edge don't find elements on a `[name='']` query in some cases.\n\t\t// Adding a temporary attribute to the document before the selection works\n\t\t// around the issue.\n\t\t// Interestingly, IE 10 & older don't seem to have the issue.\n\t\tinput = document.createElement( \"input\" );\n\t\tinput.setAttribute( \"name\", \"\" );\n\t\tel.appendChild( input );\n\t\tif ( !el.querySelectorAll( \"[name='']\" ).length ) {\n\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*name\" + whitespace + \"*=\" +\n\t\t\t\twhitespace + \"*(?:''|\\\"\\\")\" );\n\t\t}\n\t} );\n\n\tif ( !support.cssHas ) {\n\n\t\t// Support: Chrome 105 - 110+, Safari 15.4 - 16.3+\n\t\t// Our regular `try-catch` mechanism fails to detect natively-unsupported\n\t\t// pseudo-classes inside `:has()` (such as `:has(:contains(\"Foo\"))`)\n\t\t// in browsers that parse the `:has()` argument as a forgiving selector list.\n\t\t// https://drafts.csswg.org/selectors/#relational now requires the argument\n\t\t// to be parsed unforgivingly, but browsers have not yet fully adjusted.\n\t\trbuggyQSA.push( \":has\" );\n\t}\n\n\trbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( \"|\" ) );\n\n\t/* Sorting\n\t---------------------------------------------------------------------- */\n\n\t// Document order sorting\n\tsortOrder = function( 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\tfind.contains( 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\tfind.contains( preferredDoc, b ) ) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\t// Maintain original order\n\t\t\treturn sortInput ?\n\t\t\t\t( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :\n\t\t\t\t0;\n\t\t}\n\n\t\treturn compare & 4 ? -1 : 1;\n\t};\n\n\treturn document;\n}\n\nfind.matches = function( expr, elements ) {\n\treturn find( expr, null, null, elements );\n};\n\nfind.matchesSelector = function( elem, expr ) {\n\tsetDocument( elem );\n\n\tif ( documentIsHTML &&\n\t\t!nonnativeSelectorCache[ 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\t// As well, disconnected nodes are said to be in a document\n\t\t\t\t\t// fragment in IE 9\n\t\t\t\t\telem.document && elem.document.nodeType !== 11 ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\t\t} catch ( e ) {\n\t\t\tnonnativeSelectorCache( expr, true );\n\t\t}\n\t}\n\n\treturn find( expr, document, null, [ elem ] ).length > 0;\n};\n\nfind.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 jQuery.contains( context, elem );\n};\n\n\nfind.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 (see trac-13807)\n\t\tval = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?\n\t\t\tfn( elem, name, !documentIsHTML ) :\n\t\t\tundefined;\n\n\tif ( val !== undefined ) {\n\t\treturn val;\n\t}\n\n\treturn elem.getAttribute( name );\n};\n\nfind.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 */\njQuery.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\t//\n\t// Support: Android <=4.0+\n\t// Testing for detecting duplicates is unpredictable so instead assume we can't\n\t// depend on duplicate detection in all browsers without a stable sort.\n\thasDuplicate = !support.sortStable;\n\tsortInput = !support.sortStable && slice.call( results, 0 );\n\tsort.call( results, 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\tsplice.call( results, 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\njQuery.fn.uniqueSort = function() {\n\treturn this.pushStack( jQuery.uniqueSort( slice.apply( this ) ) );\n};\n\nExpr = jQuery.expr = {\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\tATTR: function( match ) {\n\t\t\tmatch[ 1 ] = match[ 1 ].replace( runescape, funescape );\n\n\t\t\t// Move the given value to match[3] whether quoted or unquoted\n\t\t\tmatch[ 3 ] = ( match[ 3 ] || match[ 4 ] || match[ 5 ] || \"\" )\n\t\t\t\t.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\tCHILD: 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\tfind.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\t);\n\t\t\t\tmatch[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === \"odd\" );\n\n\t\t\t// other types prohibit arguments\n\t\t\t} else if ( match[ 3 ] ) {\n\t\t\t\tfind.error( match[ 0 ] );\n\t\t\t}\n\n\t\t\treturn match;\n\t\t},\n\n\t\tPSEUDO: 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\tTAG: function( nodeNameSelector ) {\n\t\t\tvar expectedNodeName = 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 nodeName( elem, expectedNodeName );\n\t\t\t\t};\n\t\t},\n\n\t\tCLASS: function( className ) {\n\t\t\tvar pattern = classCache[ className + \" \" ];\n\n\t\t\treturn pattern ||\n\t\t\t\t( pattern = new RegExp( \"(^|\" + whitespace + \")\" + className +\n\t\t\t\t\t\"(\" + whitespace + \"|$)\" ) ) &&\n\t\t\t\tclassCache( className, function( elem ) {\n\t\t\t\t\treturn pattern.test(\n\t\t\t\t\t\ttypeof elem.className === \"string\" && elem.className ||\n\t\t\t\t\t\t\ttypeof elem.getAttribute !== \"undefined\" &&\n\t\t\t\t\t\t\t\telem.getAttribute( \"class\" ) ||\n\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t);\n\t\t\t\t} );\n\t\t},\n\n\t\tATTR: function( name, operator, check ) {\n\t\t\treturn function( elem ) {\n\t\t\t\tvar result = find.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\tif ( operator === \"=\" ) {\n\t\t\t\t\treturn result === check;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"!=\" ) {\n\t\t\t\t\treturn result !== check;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"^=\" ) {\n\t\t\t\t\treturn check && result.indexOf( check ) === 0;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"*=\" ) {\n\t\t\t\t\treturn check && result.indexOf( check ) > -1;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"$=\" ) {\n\t\t\t\t\treturn check && result.slice( -check.length ) === check;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"~=\" ) {\n\t\t\t\t\treturn ( \" \" + result.replace( rwhitespace, \" \" ) + \" \" )\n\t\t\t\t\t\t.indexOf( check ) > -1;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"|=\" ) {\n\t\t\t\t\treturn result === check || result.slice( 0, check.length + 1 ) === check + \"-\";\n\t\t\t\t}\n\n\t\t\t\treturn false;\n\t\t\t};\n\t\t},\n\n\t\tCHILD: 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, 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\tnodeName( node, 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\t\t\t\t\t\t\touterCache = parent[ expando ] || ( parent[ expando ] = {} );\n\t\t\t\t\t\t\tcache = outerCache[ 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\touterCache[ 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\t\t\t\t\t\t\t\touterCache = elem[ expando ] || ( elem[ expando ] = {} );\n\t\t\t\t\t\t\t\tcache = outerCache[ 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\tnodeName( node, 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\t\t\t\t\t\t\t\t\t\t\touterCache[ 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\tPSEUDO: function( pseudo, argument ) {\n\n\t\t\t// pseudo-class names are case-insensitive\n\t\t\t// https://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\tfind.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 jQuery 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.call( 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\tnot: 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( rtrimCSS, \"$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\n\t\t\t\t\t// (see https://github.com/jquery/sizzle/issues/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\thas: markFunction( function( selector ) {\n\t\t\treturn function( elem ) {\n\t\t\t\treturn find( selector, elem ).length > 0;\n\t\t\t};\n\t\t} ),\n\n\t\tcontains: markFunction( function( text ) {\n\t\t\ttext = text.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn ( elem.textContent || jQuery.text( 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// https://www.w3.org/TR/selectors/#lang-pseudo\n\t\tlang: 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\tfind.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\ttarget: 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\troot: function( elem ) {\n\t\t\treturn elem === documentElement;\n\t\t},\n\n\t\tfocus: function( elem ) {\n\t\t\treturn elem === safeActiveElement() &&\n\t\t\t\tdocument.hasFocus() &&\n\t\t\t\t!!( elem.type || elem.href || ~elem.tabIndex );\n\t\t},\n\n\t\t// Boolean properties\n\t\tenabled: createDisabledPseudo( false ),\n\t\tdisabled: createDisabledPseudo( true ),\n\n\t\tchecked: function( elem ) {\n\n\t\t\t// In CSS3, :checked should return both checked and selected elements\n\t\t\t// https://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\treturn ( nodeName( elem, \"input\" ) && !!elem.checked ) ||\n\t\t\t\t( nodeName( elem, \"option\" ) && !!elem.selected );\n\t\t},\n\n\t\tselected: function( elem ) {\n\n\t\t\t// Support: IE <=11+\n\t\t\t// Accessing the selectedIndex property\n\t\t\t// forces the browser to treat the default option as\n\t\t\t// selected when in an optgroup.\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\tempty: function( elem ) {\n\n\t\t\t// https://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\tparent: function( elem ) {\n\t\t\treturn !Expr.pseudos.empty( elem );\n\t\t},\n\n\t\t// Element/input types\n\t\theader: function( elem ) {\n\t\t\treturn rheader.test( elem.nodeName );\n\t\t},\n\n\t\tinput: function( elem ) {\n\t\t\treturn rinputs.test( elem.nodeName );\n\t\t},\n\n\t\tbutton: function( elem ) {\n\t\t\treturn nodeName( elem, \"input\" ) && elem.type === \"button\" ||\n\t\t\t\tnodeName( elem, \"button\" );\n\t\t},\n\n\t\ttext: function( elem ) {\n\t\t\tvar attr;\n\t\t\treturn nodeName( elem, \"input\" ) && elem.type === \"text\" &&\n\n\t\t\t\t// Support: IE <10 only\n\t\t\t\t// New HTML5 attribute values (e.g., \"search\") appear\n\t\t\t\t// 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\tfirst: createPositionalPseudo( function() {\n\t\t\treturn [ 0 ];\n\t\t} ),\n\n\t\tlast: createPositionalPseudo( function( _matchIndexes, length ) {\n\t\t\treturn [ length - 1 ];\n\t\t} ),\n\n\t\teq: createPositionalPseudo( function( _matchIndexes, length, argument ) {\n\t\t\treturn [ argument < 0 ? argument + length : argument ];\n\t\t} ),\n\n\t\teven: 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\todd: 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\tlt: createPositionalPseudo( function( matchIndexes, length, argument ) {\n\t\t\tvar i;\n\n\t\t\tif ( argument < 0 ) {\n\t\t\t\ti = argument + length;\n\t\t\t} else if ( argument > length ) {\n\t\t\t\ti = length;\n\t\t\t} else {\n\t\t\t\ti = argument;\n\t\t\t}\n\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\tgt: 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\nfunction tokenize( 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 = rleadingCombinator.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( rtrimCSS, \" \" )\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\tif ( parseOnly ) {\n\t\treturn soFar.length;\n\t}\n\n\treturn soFar ?\n\t\tfind.error( selector ) :\n\n\t\t// Cache the tokens\n\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, 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\tif ( skip && nodeName( elem, skip ) ) {\n\t\t\t\t\t\t\telem = elem[ dir ] || elem;\n\t\t\t\t\t\t} else if ( ( oldCache = outerCache[ 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\touterCache[ 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\tfind( 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, matcherOut,\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 ||\n\t\t\t\tmultipleContexts( selector || \"*\",\n\t\t\t\t\tcontext.nodeType ? [ context ] : context, [] ),\n\n\t\t\t// Prefilter to get matcher input, preserving a map for seed-results synchronization\n\t\t\tmatcherIn = preFilter && ( seed || !selector ) ?\n\t\t\t\tcondense( elems, preMap, preFilter, context, xml ) :\n\t\t\t\telems;\n\n\t\tif ( matcher ) {\n\n\t\t\t// If we have a postFinder, or filtered seed, or non-seed postFilter\n\t\t\t// or preexisting results,\n\t\t\tmatcherOut = postFinder || ( seed ? preFilter : preexisting || postFilter ) ?\n\n\t\t\t\t// ...intermediate processing is necessary\n\t\t\t\t[] :\n\n\t\t\t\t// ...otherwise use results directly\n\t\t\t\tresults;\n\n\t\t\t// Find primary matches\n\t\t\tmatcher( matcherIn, matcherOut, context, xml );\n\t\t} else {\n\t\t\tmatcherOut = matcherIn;\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.call( 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.call( checkContext, elem ) > -1;\n\t\t}, implicitRelative, true ),\n\t\tmatchers = [ function( elem, context, xml ) {\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\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\n\t\t\t// (see https://github.com/jquery/sizzle/issues/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\t// If the preceding token was a descendant combinator, insert an implicit any-element `*`\n\t\t\t\t\t\ttokens.slice( 0, i - 1 )\n\t\t\t\t\t\t\t.concat( { value: tokens[ i - 2 ].type === \" \" ? \"*\" : \"\" } )\n\t\t\t\t\t).replace( rtrimCSS, \"$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: iOS <=7 - 9 only\n\t\t\t// Tolerate NodeList properties (IE: \"length\"; Safari: <number>) matching\n\t\t\t// elements by id. (see trac-14142)\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\tpush.call( results, 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\tjQuery.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\nfunction compile( 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( selector,\n\t\t\tmatcherFromGroupMatchers( elementMatchers, setMatchers ) );\n\n\t\t// Save selector and tokenization\n\t\tcached.selector = selector;\n\t}\n\treturn cached;\n}\n\n/**\n * A low-level selection function that works with jQuery's compiled\n *  selector functions\n * @param {String|Function} selector A selector or a pre-compiled\n *  selector function built with jQuery selector compile\n * @param {Element} context\n * @param {Array} [results]\n * @param {Array} [seed] A set of elements to match against\n */\nfunction select( selector, context, results, seed ) {\n\tvar i, tokens, token, type, find,\n\t\tcompiled = typeof selector === \"function\" && selector,\n\t\tmatch = !seed && tokenize( ( selector = compiled.selector || selector ) );\n\n\tresults = results || [];\n\n\t// Try to minimize operations if there is only one selector in the list and no seed\n\t// (the latter of which guarantees us context)\n\tif ( match.length === 1 ) {\n\n\t\t// Reduce context if the leading compound selector is an ID\n\t\ttokens = match[ 0 ] = match[ 0 ].slice( 0 );\n\t\tif ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === \"ID\" &&\n\t\t\t\tcontext.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) {\n\n\t\t\tcontext = ( Expr.find.ID(\n\t\t\t\ttoken.matches[ 0 ].replace( runescape, funescape ),\n\t\t\t\tcontext\n\t\t\t) || [] )[ 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 ) &&\n\t\t\t\t\t\ttestContext( context.parentNode ) || context\n\t\t\t\t) ) ) {\n\n\t\t\t\t\t// If seed is empty or no tokens remain, we can return early\n\t\t\t\t\ttokens.splice( i, 1 );\n\t\t\t\t\tselector = seed.length && toSelector( tokens );\n\t\t\t\t\tif ( !selector ) {\n\t\t\t\t\t\tpush.apply( results, seed );\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Compile and execute a filtering function if one is not provided\n\t// Provide `match` to avoid retokenization if we modified the selector above\n\t( compiled || compile( selector, match ) )(\n\t\tseed,\n\t\tcontext,\n\t\t!documentIsHTML,\n\t\tresults,\n\t\t!context || rsibling.test( selector ) && testContext( context.parentNode ) || context\n\t);\n\treturn results;\n}\n\n// One-time assignments\n\n// Support: Android <=4.0 - 4.1+\n// Sort stability\nsupport.sortStable = expando.split( \"\" ).sort( sortOrder ).join( \"\" ) === expando;\n\n// Initialize against the default document\nsetDocument();\n\n// Support: Android <=4.0 - 4.1+\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\njQuery.find = find;\n\n// Deprecated\njQuery.expr[ \":\" ] = jQuery.expr.pseudos;\njQuery.unique = jQuery.uniqueSort;\n\n// These have always been private, but they used to be documented as part of\n// Sizzle so let's maintain them for now for backwards compatibility purposes.\nfind.compile = compile;\nfind.select = select;\nfind.setDocument = setDocument;\nfind.tokenize = tokenize;\n\nfind.escape = jQuery.escapeSelector;\nfind.getText = jQuery.text;\nfind.isXML = jQuery.isXMLDoc;\nfind.selectors = jQuery.expr;\nfind.support = jQuery.support;\nfind.uniqueSort = jQuery.uniqueSort;\n\n\t/* eslint-enable */\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\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 (trac-9521)\n\t// Strict HTML recognition (trac-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 jQuery#find\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.error );\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 error, 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.getErrorHook ) {\n\t\t\t\t\t\t\t\t\tprocess.error = jQuery.Deferred.getErrorHook();\n\n\t\t\t\t\t\t\t\t// The deprecated alias of the above. While the name suggests\n\t\t\t\t\t\t\t\t// returning the stack, not an error instance, jQuery just passes\n\t\t\t\t\t\t\t\t// it directly to `console.warn` so both will work; an instance\n\t\t\t\t\t\t\t\t// just better cooperates with source maps.\n\t\t\t\t\t\t\t\t} else if ( jQuery.Deferred.getStackHook ) {\n\t\t\t\t\t\t\t\t\tprocess.error = 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\n// If `jQuery.Deferred.getErrorHook` is defined, `asyncError` is an error\n// captured before the async barrier to get the original error cause\n// which may otherwise be hidden.\njQuery.Deferred.exceptionHook = function( error, asyncError ) {\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,\n\t\t\terror.stack, asyncError );\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 trac-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 (trac-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 trac-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 (trac-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 (trac-11217)\n\t// Support: Windows Web Apps (WWA)\n\t// `name` and `type` must use .setAttribute for WWA (trac-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 (trac-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 (trac-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 (trac-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\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 (trac-13208)\n\t\t\t\t// Don't process clicks on disabled elements (trac-6911, trac-8165, trac-11382, trac-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 (trac-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\", true );\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, isSetup ) {\n\n\t// Missing `isSetup` indicates a trigger call, which must force setup through jQuery.event.add\n\tif ( !isSetup ) {\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 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\tif ( !saved ) {\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\tthis[ type ]();\n\t\t\t\t\tresult = dataPriv.get( this, type );\n\t\t\t\t\tdataPriv.set( this, type, false );\n\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\treturn result;\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\n\t\t\t\t// the 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 ) {\n\n\t\t\t\t// ...and capture the result\n\t\t\t\tdataPriv.set( this, type, jQuery.event.trigger(\n\t\t\t\t\tsaved[ 0 ],\n\t\t\t\t\tsaved.slice( 1 ),\n\t\t\t\t\tthis\n\t\t\t\t) );\n\n\t\t\t\t// Abort handling of the native event by all jQuery handlers while allowing\n\t\t\t\t// native handlers on the same element to run. On target, this is achieved\n\t\t\t\t// by stopping immediate propagation just on the jQuery event. However,\n\t\t\t\t// the native event is re-wrapped by a jQuery one on each level of the\n\t\t\t\t// propagation so the only way to stop it for jQuery is to stop it for\n\t\t\t\t// everyone via native `stopPropagation()`. This is not a problem for\n\t\t\t\t// focus/blur which don't bubble, but it does also stop click on checkboxes\n\t\t\t\t// and radios. We accept this limitation.\n\t\t\t\tevent.stopPropagation();\n\t\t\t\tevent.isImmediatePropagationStopped = returnTrue;\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 (trac-504, trac-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\n\tfunction focusMappedHandler( nativeEvent ) {\n\t\tif ( document.documentMode ) {\n\n\t\t\t// Support: IE 11+\n\t\t\t// Attach a single focusin/focusout handler on the document while someone wants\n\t\t\t// focus/blur. This is because the former are synchronous in IE while the latter\n\t\t\t// are async. In other browsers, all those handlers are invoked synchronously.\n\n\t\t\t// `handle` from private data would already wrap the event, but we need\n\t\t\t// to change the `type` here.\n\t\t\tvar handle = dataPriv.get( this, \"handle\" ),\n\t\t\t\tevent = jQuery.event.fix( nativeEvent );\n\t\t\tevent.type = nativeEvent.type === \"focusin\" ? \"focus\" : \"blur\";\n\t\t\tevent.isSimulated = true;\n\n\t\t\t// First, handle focusin/focusout\n\t\t\thandle( nativeEvent );\n\n\t\t\t// ...then, handle focus/blur\n\t\t\t//\n\t\t\t// focus/blur don't bubble while focusin/focusout do; simulate the former by only\n\t\t\t// invoking the handler at the lower level.\n\t\t\tif ( event.target === event.currentTarget ) {\n\n\t\t\t\t// The setup part calls `leverageNative`, which, in turn, calls\n\t\t\t\t// `jQuery.event.add`, so event handle will already have been set\n\t\t\t\t// by this point.\n\t\t\t\thandle( event );\n\t\t\t}\n\t\t} else {\n\n\t\t\t// For non-IE browsers, attach a single capturing handler on the document\n\t\t\t// while someone wants focusin/focusout.\n\t\t\tjQuery.event.simulate( delegateType, nativeEvent.target,\n\t\t\t\tjQuery.event.fix( nativeEvent ) );\n\t\t}\n\t}\n\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\tvar attaches;\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, true );\n\n\t\t\tif ( document.documentMode ) {\n\n\t\t\t\t// Support: IE 9 - 11+\n\t\t\t\t// We use the same native handler for focusin & focus (and focusout & blur)\n\t\t\t\t// so we need to coordinate setup & teardown parts between those events.\n\t\t\t\t// Use `delegateType` as the key as `type` is already used by `leverageNative`.\n\t\t\t\tattaches = dataPriv.get( this, delegateType );\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tthis.addEventListener( delegateType, focusMappedHandler );\n\t\t\t\t}\n\t\t\t\tdataPriv.set( this, delegateType, ( attaches || 0 ) + 1 );\n\t\t\t} else {\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},\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\tteardown: function() {\n\t\t\tvar attaches;\n\n\t\t\tif ( document.documentMode ) {\n\t\t\t\tattaches = dataPriv.get( this, delegateType ) - 1;\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tthis.removeEventListener( delegateType, focusMappedHandler );\n\t\t\t\t\tdataPriv.remove( this, delegateType );\n\t\t\t\t} else {\n\t\t\t\t\tdataPriv.set( this, delegateType, attaches );\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\t// Return false to indicate standard teardown should be applied\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\n\t\t// Suppress native focus or blur if we're currently inside\n\t\t// a leveraged native-event stack\n\t\t_default: function( event ) {\n\t\t\treturn dataPriv.get( event.target, type );\n\t\t},\n\n\t\tdelegateType: delegateType\n\t};\n\n\t// Support: Firefox <=44\n\t// Firefox doesn't have focus(in | out) events\n\t// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787\n\t//\n\t// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1\n\t// focus(in | out) events fire after focus & blur events,\n\t// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order\n\t// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857\n\t//\n\t// Support: IE 9 - 11+\n\t// To preserve relative focusin/focus & focusout/blur event order guaranteed on the 3.x branch,\n\t// attach a single handler for both events in IE.\n\tjQuery.event.special[ delegateType ] = {\n\t\tsetup: function() {\n\n\t\t\t// Handle: regular nodes (via `this.ownerDocument`), window\n\t\t\t// (via `this.document`) & document (via `this`).\n\t\t\tvar doc = this.ownerDocument || this.document || this,\n\t\t\t\tdataHolder = document.documentMode ? this : doc,\n\t\t\t\tattaches = dataPriv.get( dataHolder, delegateType );\n\n\t\t\t// Support: IE 9 - 11+\n\t\t\t// We use the same native handler for focusin & focus (and focusout & blur)\n\t\t\t// so we need to coordinate setup & teardown parts between those events.\n\t\t\t// Use `delegateType` as the key as `type` is already used by `leverageNative`.\n\t\t\tif ( !attaches ) {\n\t\t\t\tif ( document.documentMode ) {\n\t\t\t\t\tthis.addEventListener( delegateType, focusMappedHandler );\n\t\t\t\t} else {\n\t\t\t\t\tdoc.addEventListener( type, focusMappedHandler, true );\n\t\t\t\t}\n\t\t\t}\n\t\t\tdataPriv.set( dataHolder, delegateType, ( attaches || 0 ) + 1 );\n\t\t},\n\t\tteardown: function() {\n\t\t\tvar doc = this.ownerDocument || this.document || this,\n\t\t\t\tdataHolder = document.documentMode ? this : doc,\n\t\t\t\tattaches = dataPriv.get( dataHolder, delegateType ) - 1;\n\n\t\t\tif ( !attaches ) {\n\t\t\t\tif ( document.documentMode ) {\n\t\t\t\t\tthis.removeEventListener( delegateType, focusMappedHandler );\n\t\t\t\t} else {\n\t\t\t\t\tdoc.removeEventListener( type, focusMappedHandler, true );\n\t\t\t\t}\n\t\t\t\tdataPriv.remove( dataHolder, delegateType );\n\t\t\t} else {\n\t\t\t\tdataPriv.set( dataHolder, delegateType, attaches );\n\t\t\t}\n\t\t}\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\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 (trac-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// Re-enable 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\n\t\t\t\t\t\t\t// Unwrap a CDATA section containing script contents. This shouldn't be\n\t\t\t\t\t\t\t// needed as in XML documents they're already not visible when\n\t\t\t\t\t\t\t// inspecting element contents and in HTML documents they have no\n\t\t\t\t\t\t\t// meaning but we're preserving that logic for backwards compatibility.\n\t\t\t\t\t\t\t// This will be removed completely in 4.0. See gh-4904.\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 jQuery#find here for performance reasons:\n\t\t\t// 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 rcustomProp = /^--/;\n\n\nvar getStyles = function( elem ) {\n\n\t\t// Support: IE <=11 only, Firefox <=30 (trac-15098, trac-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 (trac-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 = \"box-sizing:content-box;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\t\tisCustomProp = rcustomProp.test( name ),\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, trac-12537)\n\t//   .css('--customProperty) (gh-3144)\n\tif ( computed ) {\n\n\t\t// Support: IE <=9 - 11+\n\t\t// IE only supports `\"float\"` in `getPropertyValue`; in computed styles\n\t\t// it's only available as `\"cssFloat\"`. We no longer modify properties\n\t\t// sent to `.css()` apart from camelCasing, so we need to check both.\n\t\t// Normally, this would create difference in behavior: if\n\t\t// `getPropertyValue` returns an empty string, the value returned\n\t\t// by `.css()` would be `undefined`. This is usually the case for\n\t\t// disconnected elements. However, in IE even disconnected elements\n\t\t// with no styles return `\"none\"` for `getPropertyValue( \"float\" )`\n\t\tret = computed.getPropertyValue( name ) || computed[ name ];\n\n\t\tif ( isCustomProp && ret ) {\n\n\t\t\t// Support: Firefox 105+, Chrome <=105+\n\t\t\t// Spec requires trimming whitespace for custom properties (gh-4926).\n\t\t\t// Firefox only trims leading whitespace. Chrome just collapses\n\t\t\t// both leading & trailing whitespace to a single space.\n\t\t\t//\n\t\t\t// Fall back to `undefined` if empty string returned.\n\t\t\t// This collapses a missing definition with property defined\n\t\t\t// and set to an empty string but there's no standard API\n\t\t\t// allowing us to differentiate them without a performance penalty\n\t\t\t// and returning `undefined` aligns with older jQuery.\n\t\t\t//\n\t\t\t// rtrimCSS treats U+000D CARRIAGE RETURN and U+000C FORM FEED\n\t\t\t// as whitespace while CSS does not, but this is not a problem\n\t\t\t// because CSS preprocessing replaces them with U+000A LINE FEED\n\t\t\t// (which *is* CSS whitespace)\n\t\t\t// https://www.w3.org/TR/css-syntax-3/#input-preprocessing\n\t\t\tret = ret.replace( rtrimCSS, \"$1\" ) || undefined;\n\t\t}\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\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\t\tmarginDelta = 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\t// Count margin delta separately to only add it after scroll gutter adjustment.\n\t\t// This is needed to make negative margins work with `outerHeight( true )` (gh-3982).\n\t\tif ( box === \"margin\" ) {\n\t\t\tmarginDelta += 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 + marginDelta;\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\tanimationIterationCount: true,\n\t\taspectRatio: true,\n\t\tborderImageSlice: true,\n\t\tcolumnCount: true,\n\t\tflexGrow: true,\n\t\tflexShrink: true,\n\t\tfontWeight: true,\n\t\tgridArea: true,\n\t\tgridColumn: true,\n\t\tgridColumnEnd: true,\n\t\tgridColumnStart: true,\n\t\tgridRow: true,\n\t\tgridRowEnd: true,\n\t\tgridRowStart: true,\n\t\tlineHeight: true,\n\t\topacity: true,\n\t\torder: true,\n\t\torphans: true,\n\t\tscale: true,\n\t\twidows: true,\n\t\tzIndex: true,\n\t\tzoom: true,\n\n\t\t// SVG-related\n\t\tfillOpacity: true,\n\t\tfloodOpacity: true,\n\t\tstopOpacity: true,\n\t\tstrokeMiterlimit: true,\n\t\tstrokeOpacity: 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 (trac-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 trac-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 (trac-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 )` (trac-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.\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// Use proper attribute retrieval (trac-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 classNames, cur, curValue, className, i, finalValue;\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\tclassNames = classesToArray( value );\n\n\t\tif ( classNames.length ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tcurValue = getClass( this );\n\t\t\t\tcur = this.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tfor ( i = 0; i < classNames.length; i++ ) {\n\t\t\t\t\t\tclassName = classNames[ i ];\n\t\t\t\t\t\tif ( cur.indexOf( \" \" + className + \" \" ) < 0 ) {\n\t\t\t\t\t\t\tcur += className + \" \";\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\tthis.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 classNames, cur, curValue, className, i, finalValue;\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\tclassNames = classesToArray( value );\n\n\t\tif ( classNames.length ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tcurValue = getClass( this );\n\n\t\t\t\t// This expression is here for better compressibility (see addClass)\n\t\t\t\tcur = this.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tfor ( i = 0; i < classNames.length; i++ ) {\n\t\t\t\t\t\tclassName = classNames[ i ];\n\n\t\t\t\t\t\t// Remove *all* instances\n\t\t\t\t\t\twhile ( cur.indexOf( \" \" + className + \" \" ) > -1 ) {\n\t\t\t\t\t\t\tcur = cur.replace( \" \" + className + \" \", \" \" );\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\tthis.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 classNames, className, i, self,\n\t\t\ttype = typeof value,\n\t\t\tisValidValue = type === \"string\" || Array.isArray( value );\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\tif ( typeof stateVal === \"boolean\" && isValidValue ) {\n\t\t\treturn stateVal ? this.addClass( value ) : this.removeClass( value );\n\t\t}\n\n\t\tclassNames = classesToArray( value );\n\n\t\treturn this.each( function() {\n\t\t\tif ( isValidValue ) {\n\n\t\t\t\t// Toggle individual class names\n\t\t\t\tself = jQuery( this );\n\n\t\t\t\tfor ( i = 0; i < classNames.length; i++ ) {\n\t\t\t\t\tclassName = 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 (trac-14686, trac-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 (trac-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\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 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 (trac-9951)\n\t\t// Bubble up to document, then to window; watch for a global ownerDocument var (trac-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 (trac-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\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// trac-7653, trac-8125, trac-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 (trac-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 trac-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 (trac-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 trac-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 (trac-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// trac-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 (trac-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// trac-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 trac-8605, trac-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// trac-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\n\t\t\t.on( \"mouseenter\", fnOver )\n\t\t\t.on( \"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\n// Require that the \"whitespace run\" starts from a non-whitespace\n// to avoid O(N^2) behavior when the engine would try matching \"\\s+$\" at each space position.\nvar rtrim = /^[\\s\\uFEFF\\xA0]+|([^\\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, \"$1\" );\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// (trac-7102#comment:10, https://github.com/jquery/jquery/pull/557)\n// and CommonJS for browser emulators (trac-13566)\nif ( typeof noGlobal === \"undefined\" ) {\n\twindow.jQuery = window.$ = jQuery;\n}\n\n\n\n\nreturn jQuery;\n} );\n","function _classPrivateFieldInitSpec(e,t,a){_checkPrivateRedeclaration(e,t),t.set(e,a);}function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError(\"Cannot initialize the same private elements twice on an object\");}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _toPropertyKey(t){var i=_toPrimitive(t,\"string\");return\"symbol\"==typeof i?i:i+\"\";}function _toPrimitive(t,r){if(\"object\"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||\"default\");if(\"object\"!=typeof i)return i;throw new TypeError(\"@@toPrimitive must return a primitive value.\");}return(\"string\"===r?String:Number)(t);}/*!\n * @overview  Ember - JavaScript Application Framework\n * @copyright Copyright 2011 Tilde Inc. and contributors\n *            Portions Copyright 2006-2011 Strobe Inc.\n *            Portions Copyright 2008-2011 Apple Inc. All rights reserved.\n * @license   Licensed under MIT license\n *            See https://raw.github.com/emberjs/ember.js/master/LICENSE\n * @version   5.12.0\n *//* eslint-disable no-var *//* globals global globalThis self *//* eslint-disable-next-line no-unused-vars */var define,require;(function(){var globalObj=typeof globalThis!=='undefined'?globalThis:typeof self!=='undefined'?self:typeof window!=='undefined'?window:typeof global!=='undefined'?global:null;if(globalObj===null){throw new Error('unable to locate global object');}if(typeof globalObj.define==='function'&&typeof globalObj.require==='function'){define=globalObj.define;require=globalObj.require;return;}var registry=Object.create(null);var seen=Object.create(null);function missingModule(name,referrerName){if(referrerName){throw new Error('Could not find module '+name+' required by: '+referrerName);}else{throw new Error('Could not find module '+name);}}function internalRequire(_name,referrerName){var name=_name;var mod=registry[name];if(!mod){name=name+'/index';mod=registry[name];}var exports=seen[name];if(exports!==undefined){return exports;}exports=seen[name]={};if(!mod){missingModule(_name,referrerName);}var deps=mod.deps;var callback=mod.callback;var reified=new Array(deps.length);for(var i=0;i<deps.length;i++){if(deps[i]==='exports'){reified[i]=exports;}else if(deps[i]==='require'){reified[i]=require;}else{reified[i]=require(deps[i],name);}}var result=callback.apply(this,reified);if(!deps.includes('exports')||result!==undefined){exports=seen[name]=result;}return exports;}require=function(name){return internalRequire(name,null);};define=function(name,deps,callback){registry[name]={deps:deps,callback:callback};};// setup `require` module\nrequire['default']=require;require.has=function registryHas(moduleName){return Boolean(registry[moduleName])||Boolean(registry[moduleName+'/index']);};require._eak_seen=require.entries=registry;})();(function(_LocalValue,_AbstractInput,_Input2,_CoreView,_LinkTo2,_Textarea2,_Route,_RouterService){'use strict';function d(name,mod){Object.defineProperty(mod,'__esModule',{value:true});define(name,[],()=>mod);}// check if window exists and actually is the global\nconst hasDOM=typeof self==='object'&&self!==null&&self.Object===Object&&typeof Window!=='undefined'&&self.constructor===Window&&typeof document==='object'&&document!==null&&self.document===document&&typeof location==='object'&&location!==null&&self.location===location&&typeof history==='object'&&history!==null&&self.history===history&&typeof navigator==='object'&&navigator!==null&&self.navigator===navigator&&typeof navigator.userAgent==='string';const window$1=hasDOM?self:null;const location$1=hasDOM?self.location:null;const history$1=hasDOM?self.history:null;const userAgent=hasDOM?self.navigator.userAgent:'Lynx (textmode)';const isChrome=hasDOM?typeof chrome==='object'&&!(typeof opera==='object'):false;const isFirefox=hasDOM?/Firefox|FxiOS/.test(userAgent):false;const emberinternalsBrowserEnvironmentIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,hasDOM,history:history$1,isChrome,isFirefox,location:location$1,userAgent,window:window$1},Symbol.toStringTag,{value:'Module'});/**\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          */function intern$1(str){let obj=Object.create(null);obj[str]=1;for(let key in obj){if(key===str){return key;}}return str;}/**\n            Returns whether Type(value) is Object.\n\n            Useful for checking whether a value is a valid WeakMap key.\n\n            Refs: https://tc39.github.io/ecma262/#sec-typeof-operator-runtime-semantics-evaluation\n                  https://tc39.github.io/ecma262/#sec-weakmap.prototype.set\n\n            @private\n            @function isObject\n          */function isObject$1(value){return value!==null&&(typeof value==='object'||typeof value==='function');}/**\n           @module @ember/object\n          *//**\n           @private\n           @return {Number} the uuid\n           */let _uuid$1=0;/**\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           */function uuid$1(){return++_uuid$1;}/**\n           Prefix used for guids through out Ember.\n           @private\n           @property GUID_PREFIX\n           @for Ember\n           @type String\n           @final\n           */const GUID_PREFIX='ember';// Used for guid generation...\nconst OBJECT_GUIDS=new WeakMap();const NON_OBJECT_GUIDS=new Map();/**\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          */const GUID_KEY=intern$1(`__ember${Date.now()}`);/**\n            Generates a new guid, optionally saving the guid to the object that you\n            pass in. You will rarely need to use this method. Instead you should\n            call `guidFor(obj)`, which return an existing guid if available.\n\n            @private\n            @method generateGuid\n            @static\n            @for @ember/object/internals\n            @param {Object} [obj] Object the guid will be used for. If passed in, the guid will\n              be saved on the object and reused whenever you pass the same object\n              again.\n\n              If no object is passed, just generate a new guid.\n            @param {String} [prefix] Prefix to place in front of the guid. Useful when you want to\n              separate the guid into separate namespaces.\n            @return {String} the guid\n          */function generateGuid(obj){let prefix=arguments.length>1&&arguments[1]!==undefined?arguments[1]:GUID_PREFIX;let guid=prefix+uuid$1().toString();if(isObject$1(obj)){OBJECT_GUIDS.set(obj,guid);}return guid;}/**\n            Returns a unique id for the object. If the object does not yet have a guid,\n            one will be assigned to it. You can call this on any object,\n            `EmberObject`-based or not.\n\n            You can also use this method on DOM Element objects.\n\n            @public\n            @static\n            @method guidFor\n            @for @ember/object/internals\n            @param {Object} obj any object, string, number, Element, or primitive\n            @return {String} the unique guid for this instance.\n          */function guidFor(value){let guid;if(isObject$1(value)){guid=OBJECT_GUIDS.get(value);if(guid===undefined){guid=`${GUID_PREFIX}${uuid$1()}`;OBJECT_GUIDS.set(value,guid);}}else{guid=NON_OBJECT_GUIDS.get(value);if(guid===undefined){let type=typeof value;if(type==='string'){guid=`st${uuid$1()}`;}else if(type==='number'){guid=`nu${uuid$1()}`;}else if(type==='symbol'){guid=`sy${uuid$1()}`;}else{guid=`(${value})`;}NON_OBJECT_GUIDS.set(value,guid);}}return guid;}const GENERATED_SYMBOLS=[];function isInternalSymbol(possibleSymbol){return GENERATED_SYMBOLS.indexOf(possibleSymbol)!==-1;}// Some legacy symbols still need to be enumerable for a variety of reasons.\n// This code exists for that, and as a fallback in IE11. In general, prefer\n// `symbol` below when creating a new symbol.\nfunction enumerableSymbol(debugName){// 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.\nlet id=GUID_KEY+Math.floor(Math.random()*Date.now()).toString();let symbol=intern$1(`__${debugName}${id}__`);return symbol;}const symbol=Symbol;// 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.\nfunction makeDictionary(parent){let dict=Object.create(parent);dict['_dict']=null;delete dict['_dict'];return dict;}let getDebugName;const HAS_SUPER_PATTERN=/\\.(_super|call\\(this|apply\\(this)/;const fnToString=Function.prototype.toString;const checkHasSuper=(()=>{let sourceAvailable=fnToString.call(function(){return this;}).indexOf('return this')>-1;if(sourceAvailable){return function checkHasSuper(func){return HAS_SUPER_PATTERN.test(fnToString.call(func));};}return function checkHasSuper(){return true;};})();const HAS_SUPER_MAP=new WeakMap();const ROOT=Object.freeze(function(){});HAS_SUPER_MAP.set(ROOT,false);function hasSuper(func){let hasSuper=HAS_SUPER_MAP.get(func);if(hasSuper===undefined){hasSuper=checkHasSuper(func);HAS_SUPER_MAP.set(func,hasSuper);}return hasSuper;}class ObserverListenerMeta{constructor(){_defineProperty(this,\"listeners\",undefined);_defineProperty(this,\"observers\",undefined);}}const OBSERVERS_LISTENERS_MAP=new WeakMap();function createObserverListenerMetaFor(fn){let meta=OBSERVERS_LISTENERS_MAP.get(fn);if(meta===undefined){meta=new ObserverListenerMeta();OBSERVERS_LISTENERS_MAP.set(fn,meta);}return meta;}function observerListenerMetaFor(fn){return OBSERVERS_LISTENERS_MAP.get(fn);}function setObservers(func,observers){let meta=createObserverListenerMetaFor(func);meta.observers=observers;}function setListeners(func,listeners){let meta=createObserverListenerMetaFor(func);meta.listeners=listeners;}const IS_WRAPPED_FUNCTION_SET=new WeakSet();/**\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          */function wrap$1(func,superFunc){if(!hasSuper(func)){return func;}// ensure an unwrapped super that calls _super is wrapped with a terminal _super\nif(!IS_WRAPPED_FUNCTION_SET.has(superFunc)&&hasSuper(superFunc)){return _wrap(func,_wrap(superFunc,ROOT));}return _wrap(func,superFunc);}function _wrap(func,superFunc){function superWrapper(){let orig=this._super;this._super=superFunc;let ret=func.apply(this,arguments);this._super=orig;return ret;}IS_WRAPPED_FUNCTION_SET.add(superWrapper);let meta=OBSERVERS_LISTENERS_MAP.get(func);if(meta!==undefined){OBSERVERS_LISTENERS_MAP.set(superWrapper,meta);}return superWrapper;}function lookupDescriptor(obj,keyName){let current=obj;do{let descriptor=Object.getOwnPropertyDescriptor(current,keyName);if(descriptor!==undefined){return descriptor;}current=Object.getPrototypeOf(current);}while(current!==null);return null;}/**\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          */function canInvoke(obj,methodName){return obj!=null&&typeof obj[methodName]==='function';}/**\n            @module @ember/utils\n          */const NAMES=new WeakMap();function setName(obj,name){if(isObject$1(obj))NAMES.set(obj,name);}function getName(obj){return NAMES.get(obj);}const objectToString$1=Object.prototype.toString;function isNone$1(obj){return obj===null||obj===undefined;}/*\n           A `toString` util function that supports objects without a `toString`\n           method, e.g. an object created with `Object.create(null)`.\n          */function toString$1(obj){if(typeof obj==='string'){return obj;}if(null===obj)return'null';if(undefined===obj)return'undefined';if(Array.isArray(obj)){// Reimplement Array.prototype.join according to spec (22.1.3.13)\n// Changing ToString(element) with this safe version of ToString.\nlet r='';for(let k=0;k<obj.length;k++){if(k>0){r+=',';}if(!isNone$1(obj[k])){r+=toString$1(obj[k]);}}return r;}if(typeof obj.toString==='function'){return obj.toString();}return objectToString$1.call(obj);}const PROXIES=new WeakSet();function isProxy(value){if(isObject$1(value)){return PROXIES.has(value);}return false;}function setProxy(object){if(isObject$1(object)){PROXIES.add(object);}}class Cache{constructor(limit,func){let store=arguments.length>2&&arguments[2]!==undefined?arguments[2]:new Map();_defineProperty(this,\"size\",0);_defineProperty(this,\"misses\",0);_defineProperty(this,\"hits\",0);this.limit=limit;this.func=func;this.store=store;}get(key){if(this.store.has(key)){this.hits++;// SAFETY: we know the value is present because `.has(key)` was `true`.\nreturn this.store.get(key);}else{this.misses++;return this.set(key,this.func(key));}}set(key,value){if(this.limit>this.size){this.size++;this.store.set(key,value);}return value;}purge(){this.store.clear();this.size=0;this.hits=0;this.misses=0;}}/* globals window, self */// 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\nconst global$1=checkGlobal(checkElementIdShadowing(typeof global==='object'&&global))||checkGlobal(typeof self==='object'&&self)||checkGlobal(typeof window==='object'&&window)||typeof mainContext!=='undefined'&&mainContext||// set before strict mode in Ember loader/wrapper\nnew Function('return this')();// eval outside of strict mode\n// legacy imports/exports/lookup stuff (should we keep this??)\nconst context$1=function(global,Ember){return Ember===undefined?{imports:global,exports:global,lookup:global}:{// import jQuery\nimports:Ember.imports||global,// export Ember\nexports:Ember.exports||global,// search for Namespaces\nlookup:Ember.lookup||global};}(global$1,global$1.Ember);function getLookup(){return context$1.lookup;}function setLookup(value){context$1.lookup=value;}/**\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          */const ENV={ENABLE_OPTIONAL_FEATURES:false,/**\n              Determines whether Ember should add to `Array`\n              native object prototypes, a few extra methods in order to provide a more\n              friendly API.\n               We generally recommend leaving this option set to true however, if you need\n              to turn it off, you can add the configuration property\n              `EXTEND_PROTOTYPES` to `EmberENV` and set it to `false`.\n               Note, when disabled (the default configuration for Ember Addons), you will\n              instead have to access all methods and functions from the Ember\n              namespace.\n               @property EXTEND_PROTOTYPES\n              @type Boolean\n              @default true\n              @for EmberENV\n              @public\n            */EXTEND_PROTOTYPES:{Array:true},/**\n              The `LOG_STACKTRACE_ON_DEPRECATION` property, when true, tells Ember to log\n              a full stack trace during deprecation warnings.\n               @property LOG_STACKTRACE_ON_DEPRECATION\n              @type Boolean\n              @default true\n              @for EmberENV\n              @public\n            */LOG_STACKTRACE_ON_DEPRECATION:true,/**\n              The `LOG_VERSION` property, when true, tells Ember to log versions of all\n              dependent libraries in use.\n               @property LOG_VERSION\n              @type Boolean\n              @default true\n              @for EmberENV\n              @public\n            */LOG_VERSION:true,RAISE_ON_DEPRECATION:false,STRUCTURED_PROFILE:false,/**\n              Whether to perform extra bookkeeping needed to make the `captureRenderTree`\n              API work.\n               This has to be set before the ember JavaScript code is evaluated. This is\n              usually done by setting `window.EmberENV = { _DEBUG_RENDER_TREE: true };`\n              before the \"vendor\" `<script>` tag in `index.html`.\n               Setting the flag after Ember is already loaded will not work correctly. It\n              may appear to work somewhat, but fundamentally broken.\n               This is not intended to be set directly. Ember Inspector will enable the\n              flag on behalf of the user as needed.\n               This flag is always on in development mode.\n               The flag is off by default in production mode, due to the cost associated\n              with the the bookkeeping work.\n               The expected flow is that Ember Inspector will ask the user to refresh the\n              page after enabling the feature. It could also offer a feature where the\n              user add some domains to the \"always on\" list. In either case, Ember\n              Inspector will inject the code on the page to set the flag if needed.\n               @property _DEBUG_RENDER_TREE\n              @for EmberENV\n              @type Boolean\n              @default false\n              @private\n            */_DEBUG_RENDER_TREE:false/* DEBUG */,/**\n             Whether to force all deprecations to be enabled. This is used internally by\n             Ember to enable deprecations in tests. It is not intended to be set in\n             projects.\n              @property _ALL_DEPRECATIONS_ENABLED\n             @for EmberENV\n             @type Boolean\n             @default false\n             @private\n             */_ALL_DEPRECATIONS_ENABLED:false,/**\n             Override the version of ember-source used to determine when deprecations \"break\".\n             This is used internally by Ember to test with deprecated features \"removed\".\n             This is never intended to be set by projects.\n             @property _OVERRIDE_DEPRECATION_VERSION\n             @for EmberENV\n             @type string | null\n             @default null\n             @private\n             */_OVERRIDE_DEPRECATION_VERSION:null,/**\n              Whether the app defaults to using async observers.\n               This is not intended to be set directly, as the implementation may change in\n              the future. Use `@ember/optional-features` instead.\n               @property _DEFAULT_ASYNC_OBSERVERS\n              @for EmberENV\n              @type Boolean\n              @default false\n              @private\n            */_DEFAULT_ASYNC_OBSERVERS:false,/**\n             Whether the app still has default record-loading behavior in the model\n             hook from RFC https://rfcs.emberjs.com/id/0774-implicit-record-route-loading\n             This will also remove the default store property from the route.\n              This is not intended to be set directly, as the implementation may change in\n             the future. Use `@ember/optional-features` instead.\n              @property _NO_IMPLICIT_ROUTE_MODEL\n             @for EmberENV\n             @type Boolean\n             @default false\n             @private\n             */_NO_IMPLICIT_ROUTE_MODEL:false,/**\n              Controls the maximum number of scheduled rerenders without \"settling\". In general,\n              applications should not need to modify this environment variable, but please\n              open an issue so that we can determine if a better default value is needed.\n               @property _RERENDER_LOOP_LIMIT\n              @for EmberENV\n              @type number\n              @default 1000\n              @private\n             */_RERENDER_LOOP_LIMIT:1000,EMBER_LOAD_HOOKS:{},FEATURES:{}};(EmberENV=>{if(typeof EmberENV!=='object'||EmberENV===null)return;for(let flag in EmberENV){if(!Object.prototype.hasOwnProperty.call(EmberENV,flag)||flag==='EXTEND_PROTOTYPES'||flag==='EMBER_LOAD_HOOKS')continue;let defaultValue=ENV[flag];if(defaultValue===true){ENV[flag]=EmberENV[flag]!==false;}else if(defaultValue===false){ENV[flag]=EmberENV[flag]===true;}else{ENV[flag]=EmberENV[flag];}}let{EXTEND_PROTOTYPES}=EmberENV;if(EXTEND_PROTOTYPES!==undefined){if(typeof EXTEND_PROTOTYPES==='object'&&EXTEND_PROTOTYPES!==null){ENV.EXTEND_PROTOTYPES.Array=EXTEND_PROTOTYPES.Array!==false;}else{ENV.EXTEND_PROTOTYPES.Array=EXTEND_PROTOTYPES!==false;}}// TODO this does not seem to be used by anything,\n//      can we remove it? do we need to deprecate it?\nlet{EMBER_LOAD_HOOKS}=EmberENV;if(typeof EMBER_LOAD_HOOKS==='object'&&EMBER_LOAD_HOOKS!==null){for(let hookName in EMBER_LOAD_HOOKS){if(!Object.prototype.hasOwnProperty.call(EMBER_LOAD_HOOKS,hookName))continue;let hooks=EMBER_LOAD_HOOKS[hookName];if(Array.isArray(hooks)){ENV.EMBER_LOAD_HOOKS[hookName]=hooks.filter(hook=>typeof hook==='function');}}}let{FEATURES}=EmberENV;if(typeof FEATURES==='object'&&FEATURES!==null){for(let feature in FEATURES){if(!Object.prototype.hasOwnProperty.call(FEATURES,feature))continue;ENV.FEATURES[feature]=FEATURES[feature]===true;}}})(global$1.EmberENV);function getENV(){return ENV;}const emberinternalsEnvironmentIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,ENV,context:context$1,getENV,getLookup,global:global$1,setLookup},Symbol.toStringTag,{value:'Module'});let assert$1=()=>{};let HANDLERS={};let registerHandler$2=function registerHandler(_type,_callback){};let invoke=()=>{};const emberDebugLibHandlers=/*#__PURE__*/Object.defineProperty({__proto__:null,HANDLERS,invoke,registerHandler:registerHandler$2},Symbol.toStringTag,{value:'Module'});// This is a \"global\", but instead of declaring it as `declare global`, which\n// will expose it to all other modules, declare it *locally* (and don't export\n// it) so that it has the desired \"private global\" semantics -- however odd that\n// particular notion is.\n/**\n           @module @ember/debug\n           @public\n          *//**\n            Allows for runtime registration of handler functions that override the default deprecation behavior.\n            Deprecations are invoked by calls to [@ember/debug/deprecate](/ember/release/classes/@ember%2Fdebug/methods/deprecate?anchor=deprecate).\n            The following example demonstrates its usage by registering a handler that throws an error if the\n            message contains the word \"should\", otherwise defers to the default handler.\n\n            ```javascript\n            import { registerDeprecationHandler } from '@ember/debug';\n\n            registerDeprecationHandler((message, options, next) => {\n              if (message.indexOf('should') !== -1) {\n                throw new Error(`Deprecation message with should: ${message}`);\n              } else {\n                // defer to whatever handler was registered before this one\n                next(message, options);\n              }\n            });\n            ```\n\n            The handler function takes the following arguments:\n\n            <ul>\n              <li> <code>message</code> - The message received from the deprecation call.</li>\n              <li> <code>options</code> - An object passed in with the deprecation call containing additional information including:</li>\n                <ul>\n                  <li> <code>id</code> - An id of the deprecation in the form of <code>package-name.specific-deprecation</code>.</li>\n                  <li> <code>until</code> - The Ember version number the feature and deprecation will be removed in.</li>\n                </ul>\n              <li> <code>next</code> - A function that calls into the previously registered handler.</li>\n            </ul>\n\n            @public\n            @static\n            @method registerDeprecationHandler\n            @for @ember/debug\n            @param handler {Function} A function to handle deprecation calls.\n            @since 2.1.0\n          */let registerHandler$1=()=>{};let missingOptionsDeprecation$1;let missingOptionsIdDeprecation$1;let missingOptionDeprecation=()=>'';let deprecate$3=()=>{};const emberDebugLibDeprecate=/*#__PURE__*/Object.defineProperty({__proto__:null,default:deprecate$3,missingOptionDeprecation,missingOptionsDeprecation:missingOptionsDeprecation$1,missingOptionsIdDeprecation:missingOptionsIdDeprecation$1,registerHandler:registerHandler$1},Symbol.toStringTag,{value:'Module'});let testing=false;function isTesting(){return testing;}function setTesting(value){testing=Boolean(value);}const emberDebugLibTesting=/*#__PURE__*/Object.defineProperty({__proto__:null,isTesting,setTesting},Symbol.toStringTag,{value:'Module'});let registerHandler=()=>{};let warn$1=()=>{};let missingOptionsDeprecation;let missingOptionsIdDeprecation;const emberDebugLibWarn=/*#__PURE__*/Object.defineProperty({__proto__:null,default:warn$1,missingOptionsDeprecation,missingOptionsIdDeprecation,registerHandler},Symbol.toStringTag,{value:'Module'});const{toString:objectToString}=Object.prototype;const{toString:functionToString}=Function.prototype;const{isArray:isArray$4}=Array;const{keys:objectKeys}=Object;const{stringify:stringify$1}=JSON;const LIST_LIMIT=100;const DEPTH_LIMIT=4;const SAFE_KEY=/^[\\w$]+$/;/**\n           @module @ember/debug\n          *//**\n            Convenience method to inspect an object. This method will attempt to\n            convert the object into a useful string description.\n\n            It is a pretty simple implementation. If you want something more robust,\n            use something like JSDump: https://github.com/NV/jsDump\n\n            @method inspect\n            @static\n            @param {Object} obj The object you want to inspect.\n            @return {String} A description of the object\n            @since 1.4.0\n            @private\n          */function inspect(obj){// detect Node util.inspect call inspect(depth: number, opts: object)\nif(typeof obj==='number'&&arguments.length===2){return this;}return inspectValue(obj,0);}function inspectValue(value,depth,seen){let valueIsArray=false;switch(typeof value){case'undefined':return'undefined';case'object':if(value===null)return'null';if(isArray$4(value)){valueIsArray=true;break;}// is toString Object.prototype.toString or undefined then traverse\nif(value.toString===objectToString||value.toString===undefined){break;}// custom toString\nreturn value.toString();case'function':return value.toString===functionToString?value.name?`[Function:${value.name}]`:`[Function]`:value.toString();case'string':return stringify$1(value);case'symbol':case'boolean':case'number':default:return value.toString();}if(seen===undefined){seen=new WeakSet();}else{if(seen.has(value))return`[Circular]`;}seen.add(value);return valueIsArray?inspectArray(value,depth+1,seen):inspectObject(value,depth+1,seen);}function inspectKey(key){return SAFE_KEY.test(key)?key:stringify$1(key);}function inspectObject(obj,depth,seen){if(depth>DEPTH_LIMIT){return'[Object]';}let s='{';let keys=objectKeys(obj);for(let i=0;i<keys.length;i++){s+=i===0?' ':', ';if(i>=LIST_LIMIT){s+=`... ${keys.length-LIST_LIMIT} more keys`;break;}let key=keys[i];s+=`${inspectKey(String(key))}: ${inspectValue(obj[key],depth,seen)}`;}s+=' }';return s;}function inspectArray(arr,depth,seen){if(depth>DEPTH_LIMIT){return'[Array]';}let s='[';for(let i=0;i<arr.length;i++){s+=i===0?' ':', ';if(i>=LIST_LIMIT){s+=`... ${arr.length-LIST_LIMIT} more items`;break;}s+=inspectValue(arr[i],depth,seen);}s+=' ]';return s;}const emberDebugLibInspect=/*#__PURE__*/Object.defineProperty({__proto__:null,default:inspect},Symbol.toStringTag,{value:'Module'});const EMPTY_ARRAY$4=Object.freeze([]);function emptyArray(){return EMPTY_ARRAY$4;}const EMPTY_STRING_ARRAY=emptyArray(),EMPTY_NUMBER_ARRAY=emptyArray();/**\n           * This function returns `true` if the input array is the special empty array sentinel,\n           * which is sometimes used for optimizations.\n           */function isEmptyArray(input){return input===EMPTY_ARRAY$4;}function*reverse(input){for(let i=input.length-1;i>=0;i--)yield input[i];}function*enumerate(input){let i=0;for(const item of input)yield[i++,item];}// import Logger from './logger';\n// let alreadyWarned = false;\nfunction debugAssert(test,msg){// if (!alreadyWarned) {\n//   alreadyWarned = true;\n//   Logger.warn(\"Don't leave debug assertions on in public builds\");\n// }\nif(!test)throw new Error(msg||\"assertion failure\");}function deprecate$2(desc){LOCAL_LOGGER.warn(`DEPRECATION: ${desc}`);}function keys(obj){return Object.keys(obj);}function unwrap$1(val){if(null==val)throw new Error(\"Expected value to be present\");return val;}function expect(val,message){if(null==val)throw new Error(message);return val;}function unreachable(){let message=arguments.length>0&&arguments[0]!==undefined?arguments[0]:\"unreachable\";return new Error(message);}function exhausted(value){throw new Error(`Exhausted ${String(value)}`);}const tuple=function(){for(var _len=arguments.length,args=new Array(_len),_key2=0;_key2<_len;_key2++){args[_key2]=arguments[_key2];}return args;};function isPresent$2(value){return null!=value;}function assertPresent(value,message){if(!isPresent$2(value))throw new Error(`Expected present, got ${\"string\"==typeof value?value:message}`);}function isPresentArray(list){return list.length>0;}function ifPresent(list,ifPresent,otherwise){return isPresentArray(list)?ifPresent(list):otherwise();}function arrayToOption(list){return isPresentArray(list)?list:null;}function assertPresentArray(list){let message=arguments.length>1&&arguments[1]!==undefined?arguments[1]:\"unexpected empty list\";if(!isPresentArray(list))throw new Error(message);}function asPresentArray(list){let message=arguments.length>1&&arguments[1]!==undefined?arguments[1]:\"unexpected empty list\";return assertPresentArray(list,message),list;}function getLast(list){return 0===list.length?void 0:list[list.length-1];}function getFirst(list){return 0===list.length?void 0:list[0];}function mapPresentArray(list,mapper){if(null===list)return null;let out=[];for(let item of list)out.push(mapper(item));return out;}function dict(){return Object.create(null);}function isDict(u){return null!=u;}function isObject(u){return\"function\"==typeof u||\"object\"==typeof u&&null!==u;}class StackImpl{constructor(){let values=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];_defineProperty(this,\"stack\",void 0);_defineProperty(this,\"current\",null);this.stack=values;}get size(){return this.stack.length;}push(item){this.current=item,this.stack.push(item);}pop(){let item=this.stack.pop();return this.current=getLast(this.stack)??null,void 0===item?null:item;}nth(from){let len=this.stack.length;return len<from?null:unwrap$1(this.stack[len-from]);}isEmpty(){return 0===this.stack.length;}toArray(){return this.stack;}}/// <reference types=\"qunit\" />\nlet beginTestSteps,endTestSteps,verifySteps,logStep,debugToString;var debugToString$1=debugToString;function clearElement(parent){let current=parent.firstChild;for(;current;){let next=current.nextSibling;parent.removeChild(current),current=next;}}const RAW_NODE=-1,ELEMENT_NODE=1,TEXT_NODE=3,COMMENT_NODE=8,DOCUMENT_NODE=9,DOCUMENT_TYPE_NODE=10,DOCUMENT_FRAGMENT_NODE=11,NS_HTML=\"http://www.w3.org/1999/xhtml\",NS_MATHML=\"http://www.w3.org/1998/Math/MathML\",NS_SVG=\"http://www.w3.org/2000/svg\",NS_XLINK=\"http://www.w3.org/1999/xlink\",NS_XML=\"http://www.w3.org/XML/1998/namespace\",NS_XMLNS=\"http://www.w3.org/2000/xmlns/\",INSERT_BEFORE_BEGIN=\"beforebegin\",INSERT_AFTER_BEGIN=\"afterbegin\",INSERT_BEFORE_END=\"beforeend\",INSERT_AFTER_END=\"afterend\";/*\n            Encoding notes\n\n            We use 30 bit integers for encoding, so that we don't ever encode a non-SMI\n            integer to push on the stack.\n\n            Handles are >= 0\n            Immediates are < 0\n\n            True, False, Undefined and Null are pushed as handles into the symbol table,\n            with well known handles (0, 1, 2, 3)\n\n            The negative space is divided into positives and negatives. Positives are\n            higher numbers (-1, -2, -3, etc), negatives are lower.\n\n            We only encode immediates for two reasons:\n\n            1. To transfer over the wire, so they're smaller in general\n            2. When pushing values onto the stack from the low level/inner VM, which may\n               be converted into WASM one day.\n\n            This allows the low-level VM to always use SMIs, and to minimize using JS\n            values via handles for things like the stack pointer and frame pointer.\n            Externally, most code pushes values as JS values, except when being pulled\n            from the append byte code where it was already encoded.\n\n            Logically, this is because the low level VM doesn't really care about these\n            higher level values. For instance, the result of a userland helper may be a\n            number, or a boolean, or undefined/null, but it's extra work to figure that\n            out and push it correctly, vs. just pushing the value as a JS value with a\n            handle.\n\n            Note: The details could change here in the future, this is just the current\n            strategy.\n          */let ImmediateConstants=function(ImmediateConstants){return ImmediateConstants[ImmediateConstants.MAX_SMI=1073741823]=\"MAX_SMI\",ImmediateConstants[ImmediateConstants.MIN_SMI=-1073741824]=\"MIN_SMI\",ImmediateConstants[ImmediateConstants.SIGN_BIT=-536870913]=\"SIGN_BIT\",ImmediateConstants[ImmediateConstants.MAX_INT=536870911]=\"MAX_INT\",ImmediateConstants[ImmediateConstants.MIN_INT=-536870912]=\"MIN_INT\",ImmediateConstants[ImmediateConstants.FALSE_HANDLE=0]=\"FALSE_HANDLE\",ImmediateConstants[ImmediateConstants.TRUE_HANDLE=1]=\"TRUE_HANDLE\",ImmediateConstants[ImmediateConstants.NULL_HANDLE=2]=\"NULL_HANDLE\",ImmediateConstants[ImmediateConstants.UNDEFINED_HANDLE=3]=\"UNDEFINED_HANDLE\",ImmediateConstants[ImmediateConstants.ENCODED_FALSE_HANDLE=0]=\"ENCODED_FALSE_HANDLE\",ImmediateConstants[ImmediateConstants.ENCODED_TRUE_HANDLE=1]=\"ENCODED_TRUE_HANDLE\",ImmediateConstants[ImmediateConstants.ENCODED_NULL_HANDLE=2]=\"ENCODED_NULL_HANDLE\",ImmediateConstants[ImmediateConstants.ENCODED_UNDEFINED_HANDLE=3]=\"ENCODED_UNDEFINED_HANDLE\",ImmediateConstants;}({});function isHandle(value){return value>=0;}function isNonPrimitiveHandle(value){return value>ImmediateConstants.ENCODED_UNDEFINED_HANDLE;}function constants(){for(var _len2=arguments.length,values=new Array(_len2),_key3=0;_key3<_len2;_key3++){values[_key3]=arguments[_key3];}return[!1,!0,null,void 0,...values];}function isSmallInt(value){return value%1==0&&value<=ImmediateConstants.MAX_INT&&value>=ImmediateConstants.MIN_INT;}function encodeNegative(num){return num&ImmediateConstants.SIGN_BIT;}function decodeNegative(num){return num|~ImmediateConstants.SIGN_BIT;}function encodePositive(num){return~num;}function decodePositive(num){return~num;}function encodeHandle(num){return num;}function decodeHandle(num){return num;}function encodeImmediate(num){return(num|=0)<0?encodeNegative(num):encodePositive(num);}function decodeImmediate(num){return(num|=0)>ImmediateConstants.SIGN_BIT?decodePositive(num):decodeNegative(num);}/**\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          */function intern(str){let obj={};obj[str]=1;for(let key in obj)if(key===str)return key;return str;}[1,-1].forEach(x=>decodeImmediate(encodeImmediate(x)));const SERIALIZATION_FIRST_NODE_STRING$1=\"%+b:0%\";function isSerializationFirstNode$1(node){return\"%+b:0%\"===node.nodeValue;}let assign=Object.assign;function values(obj){return Object.values(obj);}function entries(dict){return Object.entries(dict);}function castToSimple(node){return isDocument(node)||isSimpleElement(node),node;}// If passed a document, verify we're in the browser and return it as a Document\n// If we don't know what this is, but the check requires it to be an element,\n// the cast will mandate that it's a browser element\n// Finally, if it's a more generic check, the cast will mandate that it's a\n// browser node and return a BrowserNodeUtils corresponding to the check\nfunction castToBrowser(node,sugaryCheck){if(null==node)return null;if(void 0===typeof document)throw new Error(\"Attempted to cast to a browser node in a non-browser context\");if(isDocument(node))return node;if(node.ownerDocument!==document)throw new Error(\"Attempted to cast to a browser node with a node that was not created from this document\");return checkBrowserNode(node,sugaryCheck);}function isDocument(node){return node.nodeType===DOCUMENT_NODE;}function isSimpleElement(node){return(node===null||node===void 0?void 0:node.nodeType)===ELEMENT_NODE;}function isElement$1(node){return(node===null||node===void 0?void 0:node.nodeType)===ELEMENT_NODE&&node instanceof Element;}function checkBrowserNode(node,check){var _node$constructor;let isMatch=!1;if(null!==node)if(\"string\"==typeof check)isMatch=stringCheckNode(node,check);else{if(!Array.isArray(check))throw unreachable();isMatch=check.some(c=>stringCheckNode(node,c));}if(isMatch&&node instanceof Node)return node;throw function(from,check){return new Error(`cannot cast a ${from} into ${String(check)}`);}(`SimpleElement(${(node===null||node===void 0||(_node$constructor=node.constructor)===null||_node$constructor===void 0?void 0:_node$constructor.name)??\"null\"})`,check);}function stringCheckNode(node,check){switch(check){case\"NODE\":return!0;case\"HTML\":return node instanceof HTMLElement;case\"SVG\":return node instanceof SVGElement;case\"ELEMENT\":return node instanceof Element;default:if(check.toUpperCase()===check)throw new Error(\"BUG: this code is missing handling for a generic node type\");return node instanceof Element&&node.tagName.toLowerCase()===check;}}function strip$1(strings){let out=\"\";for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key4=1;_key4<_len3;_key4++){args[_key4-1]=arguments[_key4];}for(const[i,string]of enumerate(strings))out+=`${string}${void 0!==args[i]?String(args[i]):\"\"}`;let lines=out.split(\"\\n\");for(;isPresentArray(lines)&&/^\\s*$/u.test(getFirst(lines));)lines.shift();for(;isPresentArray(lines)&&/^\\s*$/u.test(getLast(lines));)lines.pop();let min=1/0;for(let line of lines){let leading=/^\\s*/u.exec(line)[0].length;min=Math.min(min,leading);}let stripped=[];for(let line of lines)stripped.push(line.slice(min));return stripped.join(\"\\n\");}function unwrapHandle(handle){if(\"number\"==typeof handle)return handle;{let error=handle.errors[0];throw new Error(`Compile Error: ${error.problem} @ ${error.span.start}..${error.span.end}`);}}function unwrapTemplate(template){if(\"error\"===template.result)throw new Error(`Compile Error: ${template.problem} @ ${template.span.start}..${template.span.end}`);return template;}function extractHandle(handle){return\"number\"==typeof handle?handle:handle.handle;}function isOkHandle(handle){return\"number\"==typeof handle;}function isErrHandle(handle){return\"number\"==typeof handle;}function buildUntouchableThis(source){let context=null;return context;}/**\n           * This constant exists to make it easier to differentiate normal logs from\n           * errant console.logs. LOCAL_LOGGER should only be used inside a\n           * LOCAL_SHOULD_LOG check.\n           *\n           * It does not alleviate the need to check LOCAL_SHOULD_LOG, which is used\n           * for stripping.\n           */const LOCAL_LOGGER=console,LOGGER=console;/**\n           * This constant exists to make it easier to differentiate normal logs from\n           * errant console.logs. LOGGER can be used outside of LOCAL_SHOULD_LOG checks,\n           * and is meant to be used in the rare situation where a console.* call is\n           * actually appropriate.\n           */function assertNever(value){let desc=arguments.length>1&&arguments[1]!==undefined?arguments[1]:\"unexpected unreachable branch\";throw LOGGER.log(\"unreachable\",value),LOGGER.log(`${desc} :: ${JSON.stringify(value)} (${value})`),new Error(\"code reached unreachable\");}const glimmerUtil=/*#__PURE__*/Object.defineProperty({__proto__:null,COMMENT_NODE,DOCUMENT_FRAGMENT_NODE,DOCUMENT_NODE,DOCUMENT_TYPE_NODE,ELEMENT_NODE,EMPTY_ARRAY:EMPTY_ARRAY$4,EMPTY_NUMBER_ARRAY,EMPTY_STRING_ARRAY,INSERT_AFTER_BEGIN,INSERT_AFTER_END,INSERT_BEFORE_BEGIN,INSERT_BEFORE_END,ImmediateConstants,LOCAL_LOGGER,LOGGER,NS_HTML,NS_MATHML,NS_SVG,NS_XLINK,NS_XML,NS_XMLNS,RAW_NODE,SERIALIZATION_FIRST_NODE_STRING:SERIALIZATION_FIRST_NODE_STRING$1,Stack:StackImpl,TEXT_NODE,arrayToOption,asPresentArray,assert:debugAssert,assertNever,assertPresent,assertPresentArray,assign,beginTestSteps,buildUntouchableThis,castToBrowser,castToSimple,checkNode:checkBrowserNode,clearElement,constants,debugToString:debugToString$1,decodeHandle,decodeImmediate,decodeNegative,decodePositive,deprecate:deprecate$2,dict,emptyArray,encodeHandle,encodeImmediate,encodeNegative,encodePositive,endTestSteps,entries,enumerate,exhausted,expect,extractHandle,getFirst,getLast,ifPresent,intern,isDict,isElement:isElement$1,isEmptyArray,isErrHandle,isHandle,isNonPrimitiveHandle,isObject,isOkHandle,isPresent:isPresent$2,isPresentArray,isSerializationFirstNode:isSerializationFirstNode$1,isSimpleElement,isSmallInt,keys,logStep,mapPresentArray,reverse,strip:strip$1,tuple,unreachable,unwrap:unwrap$1,unwrapHandle,unwrapTemplate,values,verifySteps},Symbol.toStringTag,{value:'Module'});/**\n            @module @ember/debug\n          *//**\n            Ember Inspector calls this function to capture the current render tree.\n\n            In production mode, this requires turning on `ENV._DEBUG_RENDER_TREE`\n            before loading Ember.\n\n            @private\n            @static\n            @method captureRenderTree\n            @for @ember/debug\n            @param app {ApplicationInstance} An `ApplicationInstance`.\n            @since 3.14.0\n          */function captureRenderTree(app){// SAFETY: Ideally we'd assert here but that causes awkward circular requires since this is also in @ember/debug.\n// This is only for debug stuff so not very risky.\nlet renderer=expect(app.lookup('renderer:-dom'),`BUG: owner is missing renderer`);return renderer.debugRenderTree.capture();}const emberDebugLibCaptureRenderTree=/*#__PURE__*/Object.defineProperty({__proto__:null,default:captureRenderTree},Symbol.toStringTag,{value:'Module'});// These are the default production build versions:\nconst noop$3=()=>{};// SAFETY: these casts are just straight-up lies, but the point is that they do\n// not do anything in production builds.\nlet info=noop$3;let warn=noop$3;let debug$2=noop$3;let debugSeal=noop$3;let debugFreeze=noop$3;let runInDebug=noop$3;let setDebugFunction=noop$3;let getDebugFunction=noop$3;let deprecateFunc=function(){return arguments[arguments.length-1];};function deprecate$1(){return deprecate$3(...arguments);}let _warnIfUsingStrippedFeatureFlags;const emberDebugIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,_warnIfUsingStrippedFeatureFlags,assert:assert$1,captureRenderTree,debug:debug$2,debugFreeze,debugSeal,deprecate:deprecate$1,deprecateFunc,getDebugFunction,info,inspect,isTesting,registerDeprecationHandler:registerHandler$1,registerWarnHandler:registerHandler,runInDebug,setDebugFunction,setTesting,warn},Symbol.toStringTag,{value:'Module'});let setupMandatorySetter;let teardownMandatorySetter;let setWithMandatorySetter;/*\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          */const emberinternalsUtilsIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,Cache,GUID_KEY,ROOT,canInvoke,checkHasSuper,dictionary:makeDictionary,enumerableSymbol,generateGuid,getDebugName,getName,guidFor,intern:intern$1,isInternalSymbol,isObject:isObject$1,isProxy,lookupDescriptor,observerListenerMetaFor,setListeners,setName,setObservers,setProxy,setWithMandatorySetter,setupMandatorySetter,symbol,teardownMandatorySetter,toString:toString$1,uuid:uuid$1,wrap:wrap$1},Symbol.toStringTag,{value:'Module'});const OWNER$1=Symbol(\"OWNER\");/**\n            Framework objects in a Glimmer application may receive an owner object.\n            Glimmer is unopinionated about this owner, but will forward it through its\n            internal resolution system, and through its managers if it is provided.\n          */function getOwner$3(object){return object[OWNER$1];}/**\n            `setOwner` set's an object's owner\n          */function setOwner$2(object,owner){object[OWNER$1]=owner;}const glimmerOwner=/*#__PURE__*/Object.defineProperty({__proto__:null,OWNER:OWNER$1,getOwner:getOwner$3,setOwner:setOwner$2},Symbol.toStringTag,{value:'Module'});/**\n            @module @ember/owner\n           *//**\n            The name for a factory consists of a namespace and the name of a specific type\n            within that namespace, like `'service:session'`.\n\n            **Note:** `FullName` is *not* a class, just a contract for strings used in the\n            DI system. It is currently documented as a class only due to limits in our\n            documentation infrastructure.\n\n            @for @ember/owner\n            @class FullName\n            @public\n           *//**\n            A type registry for the DI system, which other participants in the DI system\n            can register themselves into with declaration merging. The contract for this\n            type is that its keys are the `Type` from a `FullName`, and each value for a\n            `Type` is another registry whose keys are the `Name` from a `FullName`. The\n            mechanic for providing a registry is [declaration merging][handbook].\n\n            [handbook]: https://www.typescriptlang.org/docs/handbook/declaration-merging.html\n\n            For example, Ember's `@ember/service` module includes this set of definitions:\n\n            ```ts\n            export default class Service extends EmberObject {}\n\n            // For concrete singleton classes to be merged into.\n            interface Registry extends Record<string, Service> {}\n\n            declare module '@ember/owner' {\n              service: Registry;\n            }\n            ```\n\n            Declarations of services can then include the registry:\n\n            ```ts\n            import Service from '@ember/service';\n\n            export default class Session extends Service {\n              login(username: string, password: string) {\n                // ...\n              }\n            }\n\n            declare module '@ember/service' {\n              interface Registry {\n                session: Session;\n              }\n            }\n            ```\n\n            Then users of the `Owner` API will be able to do things like this with strong\n            type safety guarantees:\n\n            ```ts\n            getOwner(this)?.lookup('service:session').login(\"hello\", \"1234abcd\");\n            ```\n\n            @for @ember/owner\n            @private\n           */// eslint-disable-next-line @typescript-eslint/no-empty-interface\n// Convenience utility for pulling a specific factory manager off `DIRegistry`\n// if one exists, or falling back to the default definition otherwise.\n/**\n            @private\n           *//**\n            The common interface for the ability to `register()` an item, shared by the\n            `Owner` and `RegistryProxy` interfaces.\n\n            @for @ember/owner\n            @class BasicRegistry\n            @private\n           *//**\n            The common interface for the ability to `lookup()` or get the `factoryFor` an\n            item, shared by the `Owner` and `ContainerProxy` interfaces.\n\n            @for @ember/owner\n            @class BasicContainer\n            @private\n           *//**\n            Framework objects in an Ember application (components, services, routes,\n            etc.) are created via a factory and dependency injection system. Each of\n            these objects is the responsibility of an \"owner\", which handles its\n            instantiation and manages its lifetime.\n\n            An `Owner` is not a class you construct; it is one the framework constructs\n            for you. The normal way to get access to the relevant `Owner` is using the\n            `getOwner` function.\n\n            @for @ember/owner\n            @uses BasicRegistry\n            @uses BasicContainer\n            @class Owner\n            @since 4.10.0\n            @public\n           *//**\n           * Interface representing the options for registering an item as a factory.\n           *\n           * @for @ember/owner\n           * @class RegisterOptions\n           * @public\n           *//**\n            Registered factories are instantiated by having create called on them.\n            Additionally they are singletons by default, so each time they are looked up\n            they return the same instance.\n\n            However, that behavior can be modified with the `instantiate` and `singleton`\n            options to the `Owner.register()` method.\n\n            @for @ember/owner\n            @class Factory\n            @since 4.10.0\n            @public\n           *//**\n            The interface representing a manager which can be used for introspection of\n            the factory's class or for the creation of factory instances with initial\n            properties. The manager is an object with the following properties:\n\n            - `class` - The registered or resolved class.\n            - `create` - A function that will create an instance of the class with any\n            dependencies injected.\n\n            **Note:** `FactoryManager` is *not* user-constructible; the only legal way\n            to get a `FactoryManager` is via `Owner.factoryFor`.\n\n            @for @ember/owner\n            @class FactoryManager\n            @extends Factory\n            @public\n           *//**\n           * A record mapping all known items of a given type: if the item is known it\n           * will be `true`; otherwise it will be `false` or `undefined`.\n           *//**\n            A `Resolver` is the mechanism responsible for looking up code in your\n            application and converting its naming conventions into the actual classes,\n            functions, and templates that Ember needs to resolve its dependencies, for\n            example, what template to render for a given route. It is a system that helps\n            the app resolve the lookup of JavaScript modules agnostic of what kind of\n            module system is used, which can be AMD, CommonJS or just plain globals. It\n            is used to lookup routes, models, components, templates, or anything that is\n            used in your Ember app.\n\n            This interface is not a concrete class; instead, it represents the contract a\n            custom resolver must implement. Most apps never need to think about this: in\n            the default blueprint, this is supplied by the `ember-resolver` package.\n\n            @for @ember/owner\n            @class Resolver\n            @since 4.10.0\n            @public\n           *//**\n            The internal representation of a `Factory`, for the extra detail available for\n            private use internally than we expose to consumers.\n\n            @for @ember/owner\n            @class InternalFactory\n            @private\n           *//**\n            @private\n            @method isFactory\n            @param {Object} obj\n            @return {Boolean}\n            @static\n           */function isFactory(obj){return obj!=null&&typeof obj.create==='function';}// NOTE: For docs, see the definition at the public API site in `@ember/owner`;\n// we document it there for the sake of public API docs and for TS consumption,\n// while having the richer `InternalOwner` representation for Ember itself.\nfunction getOwner$2(object){return getOwner$3(object);}/**\n            `setOwner` forces a new owner on a given object instance. This is primarily\n            useful in some testing cases.\n\n            @method setOwner\n            @static\n            @for @ember/owner\n            @param {Object} object An object instance.\n            @param {Owner} object The new owner object of the object instance.\n            @since 2.3.0\n            @public\n          */function setOwner$1(object,owner){setOwner$2(object,owner);}// Defines the type for the ContainerProxyMixin. When we rationalize our Owner\n// *not* to work via mixins, we will be able to delete this entirely, in favor\n// of just using the Owner class itself.\n/**\n           * The interface for a container proxy, which is itself a private API used\n           * by the private `ContainerProxyMixin` as part of the base definition of\n           * `EngineInstance`.\n           *\n           * @class ContainerProxy\n           * @for @ember/owner\n           * @private\n           * @extends BasicContainer\n           *//**\n           * @class RegistryProxy\n           * @extends BasicRegistry\n           * @private\n           * @for @ember/owner\n           *//**\n           * @internal This is the same basic interface which is implemented (via the\n           *   mixins) by `EngineInstance` and therefore `ApplicationInstance`, which are\n           *   the normal interfaces to an `Owner` for end user applications now. However,\n           *   going forward, we expect to progressively deprecate and remove the \"extra\"\n           *   APIs which are not exposed on `Owner` itself.\n           */const emberinternalsOwnerIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,getOwner:getOwner$2,isFactory,setOwner:setOwner$1},Symbol.toStringTag,{value:'Module'});/**\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           */class Container{constructor(registry){let options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};_defineProperty(this,\"owner\",void 0);_defineProperty(this,\"registry\",void 0);_defineProperty(this,\"cache\",void 0);_defineProperty(this,\"factoryManagerCache\",void 0);_defineProperty(this,\"validationCache\",void 0);_defineProperty(this,\"isDestroyed\",void 0);_defineProperty(this,\"isDestroying\",void 0);this.registry=registry;this.owner=options.owner||null;this.cache=makeDictionary(options.cache||null);this.factoryManagerCache=makeDictionary(options.factoryManagerCache||null);this.isDestroyed=false;this.isDestroying=false;}/**\n             @private\n             @property registry\n             @type Registry\n             @since 1.11.0\n             *//**\n             @private\n             @property cache\n             @type InheritingDict\n             *//**\n             @private\n             @property validationCache\n             @type InheritingDict\n             *//**\n             Given a fullName return a corresponding instance.\n              The default behavior is for lookup to return a singleton instance.\n             The singleton is scoped to the container, allowing multiple containers\n             to all have their own locally scoped singletons.\n              ```javascript\n             let registry = new Registry();\n             let container = registry.container();\n              registry.register('api:twitter', Twitter);\n              let twitter = container.lookup('api:twitter');\n              twitter instanceof Twitter; // => true\n              // by default the container will return singletons\n             let twitter2 = container.lookup('api:twitter');\n             twitter2 instanceof Twitter; // => true\n              twitter === twitter2; //=> true\n             ```\n              If singletons are not wanted, an optional flag can be provided at lookup.\n              ```javascript\n             let registry = new Registry();\n             let container = registry.container();\n              registry.register('api:twitter', Twitter);\n              let twitter = container.lookup('api:twitter', { singleton: false });\n             let twitter2 = container.lookup('api:twitter', { singleton: false });\n              twitter === twitter2; //=> false\n             ```\n              @private\n             @method lookup\n             @param {String} fullName\n             @param {RegisterOptions} [options]\n             @return {any}\n             */lookup(fullName,options){if(this.isDestroyed){throw new Error(`Cannot call \\`.lookup('${fullName}')\\` after the owner has been destroyed`);}return lookup(this,this.registry.normalize(fullName),options);}/**\n             A depth first traversal, destroying the container, its descendant containers and all\n             their managed objects.\n              @private\n             @method destroy\n             */destroy(){this.isDestroying=true;destroyDestroyables(this);}finalizeDestroy(){resetCache(this);this.isDestroyed=true;}/**\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            */reset(fullName){if(this.isDestroyed)return;if(fullName===undefined){destroyDestroyables(this);resetCache(this);}else{resetMember(this,this.registry.normalize(fullName));}}/**\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            */ownerInjection(){let injection={};setOwner$1(injection,this.owner);return injection;}/**\n             Given a fullName, return the corresponding factory. The consumer of the factory\n             is responsible for the destruction of any factory instances, as there is no\n             way for the container to ensure instances are destroyed when it itself is\n             destroyed.\n              @public\n             @method factoryFor\n             @param {String} fullName\n             @return {any}\n             */factoryFor(fullName){if(this.isDestroyed){throw new Error(`Cannot call \\`.factoryFor('${fullName}')\\` after the owner has been destroyed`);}let normalizedName=this.registry.normalize(fullName);return factoryFor(this,normalizedName,fullName);}}_defineProperty(Container,\"_leakTracking\",void 0);function isSingleton(container,fullName){return container.registry.getOption(fullName,'singleton')!==false;}function isInstantiatable(container,fullName){return container.registry.getOption(fullName,'instantiate')!==false;}function lookup(container,fullName){let options=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};let normalizedName=fullName;if(options.singleton===true||options.singleton===undefined&&isSingleton(container,fullName)){let cached=container.cache[normalizedName];if(cached!==undefined){return cached;}}return instantiateFactory(container,normalizedName,fullName,options);}function factoryFor(container,normalizedName,fullName){let cached=container.factoryManagerCache[normalizedName];if(cached!==undefined){return cached;}let factory=container.registry.resolve(normalizedName);if(factory===undefined){return;}let manager=new InternalFactoryManager(container,factory,fullName,normalizedName);container.factoryManagerCache[normalizedName]=manager;return manager;}function isSingletonClass(container,fullName,_ref2){let{instantiate,singleton}=_ref2;return singleton!==false&&!instantiate&&isSingleton(container,fullName)&&!isInstantiatable(container,fullName);}function isSingletonInstance(container,fullName,_ref3){let{instantiate,singleton}=_ref3;return singleton!==false&&instantiate!==false&&(singleton===true||isSingleton(container,fullName))&&isInstantiatable(container,fullName);}function isFactoryClass(container,fullname,_ref4){let{instantiate,singleton}=_ref4;return instantiate===false&&(singleton===false||!isSingleton(container,fullname))&&!isInstantiatable(container,fullname);}function isFactoryInstance(container,fullName,_ref5){let{instantiate,singleton}=_ref5;return instantiate!==false&&(singleton===false||!isSingleton(container,fullName))&&isInstantiatable(container,fullName);}function instantiateFactory(container,normalizedName,fullName,options){let factoryManager=factoryFor(container,normalizedName,fullName);if(factoryManager===undefined){return;}// SomeClass { singleton: true, instantiate: true } | { singleton: true } | { instantiate: true } | {}\n// By default majority of objects fall into this case\nif(isSingletonInstance(container,fullName,options)){let instance=container.cache[normalizedName]=factoryManager.create();// if this lookup happened _during_ destruction (emits a deprecation, but\n// is still possible) ensure that it gets destroyed\nif(container.isDestroying){if(typeof instance.destroy==='function'){instance.destroy();}}return instance;}// SomeClass { singleton: false, instantiate: true }\nif(isFactoryInstance(container,fullName,options)){return factoryManager.create();}// SomeClass { singleton: true, instantiate: false } | { instantiate: false } | { singleton: false, instantiation: false }\nif(isSingletonClass(container,fullName,options)||isFactoryClass(container,fullName,options)){return factoryManager.class;}throw new Error('Could not create factory');}function destroyDestroyables(container){let cache=container.cache;let keys=Object.keys(cache);for(let key of keys){let value=cache[key];if(value.destroy){value.destroy();}}}function resetCache(container){container.cache=makeDictionary(null);container.factoryManagerCache=makeDictionary(null);}function resetMember(container,fullName){let member=container.cache[fullName];delete container.factoryManagerCache[fullName];if(member){delete container.cache[fullName];if(member.destroy){member.destroy();}}}const INIT_FACTORY=Symbol('INIT_FACTORY');function getFactoryFor(obj){// SAFETY: since we know `obj` is an `object`, we also know we can safely ask\n// whether a key is set on it.\nreturn obj[INIT_FACTORY];}function setFactoryFor(obj,factory){// SAFETY: since we know `obj` is an `object`, we also know we can safely set\n// a key it safely at this location. (The only way this could be blocked is if\n// someone has gone out of their way to use `Object.defineProperty()` with our\n// internal-only symbol and made it `writable: false`.)\nobj[INIT_FACTORY]=factory;}class InternalFactoryManager{constructor(container,factory,fullName,normalizedName){_defineProperty(this,\"container\",void 0);_defineProperty(this,\"owner\",void 0);_defineProperty(this,\"class\",void 0);_defineProperty(this,\"fullName\",void 0);_defineProperty(this,\"normalizedName\",void 0);_defineProperty(this,\"madeToString\",void 0);_defineProperty(this,\"injections\",void 0);this.container=container;this.owner=container.owner;this.class=factory;this.fullName=fullName;this.normalizedName=normalizedName;this.madeToString=undefined;this.injections=undefined;}toString(){if(this.madeToString===undefined){this.madeToString=this.container.registry.makeToString(this.class,this.fullName);}return this.madeToString;}create(options){let{container}=this;if(container.isDestroyed){throw new Error(`Cannot create new instances after the owner has been destroyed (you attempted to create ${this.fullName})`);}let props=options?{...options}:{};setOwner$1(props,container.owner);setFactoryFor(props,this);return this.class.create(props);}}const VALID_FULL_NAME_REGEXP=/^[^:]+:[^:]+$/;/**\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          */class Registry{constructor(){let options=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};_defineProperty(this,\"_failSet\",void 0);_defineProperty(this,\"resolver\",void 0);_defineProperty(this,\"fallback\",void 0);_defineProperty(this,\"registrations\",void 0);_defineProperty(this,\"_normalizeCache\",void 0);_defineProperty(this,\"_options\",void 0);_defineProperty(this,\"_resolveCache\",void 0);_defineProperty(this,\"_typeOptions\",void 0);this.fallback=options.fallback||null;this.resolver=options.resolver||null;this.registrations=makeDictionary(options.registrations||null);this._normalizeCache=makeDictionary(null);this._resolveCache=makeDictionary(null);this._failSet=new Set();this._options=makeDictionary(null);this._typeOptions=makeDictionary(null);}/**\n             A backup registry for resolving registrations when no matches can be found.\n              @private\n             @property fallback\n             @type Registry\n             *//**\n             An object that has a `resolve` method that resolves a name.\n              @private\n             @property resolver\n             @type Resolver\n             *//**\n             @private\n             @property registrations\n             @type InheritingDict\n             *//**\n             @private\n              @property _normalizeCache\n             @type InheritingDict\n             *//**\n             @private\n              @property _resolveCache\n             @type InheritingDict\n             *//**\n             @private\n              @property _options\n             @type InheritingDict\n             *//**\n             @private\n              @property _typeOptions\n             @type InheritingDict\n             *//**\n             Creates a container based on this registry.\n              @private\n             @method container\n             @param {Object} options\n             @return {Container} created container\n             */container(options){return new Container(this,options);}/**\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             */register(fullName,factory){let options=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};let normalizedName=this.normalize(fullName);this._failSet.delete(normalizedName);this.registrations[normalizedName]=factory;this._options[normalizedName]=options;}/**\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             */unregister(fullName){let normalizedName=this.normalize(fullName);delete this.registrations[normalizedName];delete this._resolveCache[normalizedName];delete this._options[normalizedName];this._failSet.delete(normalizedName);}/**\n             Given a fullName return the corresponding factory.\n              By default `resolve` will retrieve the factory from\n             the registry.\n              ```javascript\n             let registry = new Registry();\n             registry.register('api:twitter', Twitter);\n              registry.resolve('api:twitter') // => Twitter\n             ```\n              Optionally the registry can be provided with a custom resolver.\n             If provided, `resolve` will first provide the custom resolver\n             the opportunity to resolve the fullName, otherwise it will fallback\n             to the registry.\n              ```javascript\n             let registry = new Registry();\n             registry.resolver = function(fullName) {\n                // lookup via the module system of choice\n              };\n              // the twitter factory is added to the module system\n             registry.resolve('api:twitter') // => Twitter\n             ```\n              @private\n             @method resolve\n             @param {String} fullName\n             @return {Function} fullName's factory\n             */resolve(fullName){let factory=resolve$5(this,this.normalize(fullName));if(factory===undefined&&this.fallback!==null){factory=this.fallback.resolve(fullName);}return factory;}/**\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             */describe(fullName){if(this.resolver!==null&&this.resolver.lookupDescription){return this.resolver.lookupDescription(fullName);}else if(this.fallback!==null){return this.fallback.describe(fullName);}else{return fullName;}}/**\n             A hook to enable custom fullName normalization behavior\n              @private\n             @method normalizeFullName\n             @param {String} fullName\n             @return {string} normalized fullName\n             */normalizeFullName(fullName){if(this.resolver!==null&&this.resolver.normalize){return this.resolver.normalize(fullName);}else if(this.fallback!==null){return this.fallback.normalizeFullName(fullName);}else{return fullName;}}/**\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             */normalize(fullName){return this._normalizeCache[fullName]||(this._normalizeCache[fullName]=this.normalizeFullName(fullName));}/**\n             @method makeToString\n              @private\n             @param {any} factory\n             @param {string} fullName\n             @return {function} toString function\n             */makeToString(factory,fullName){if(this.resolver!==null&&this.resolver.makeToString){return this.resolver.makeToString(factory,fullName);}else if(this.fallback!==null){return this.fallback.makeToString(factory,fullName);}else{return typeof factory==='string'?factory:factory.name??'(unknown class)';}}/**\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             */has(fullName){if(!this.isValidFullName(fullName)){return false;}return has$1(this,this.normalize(fullName));}/**\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             */optionsForType(type,options){this._typeOptions[type]=options;}getOptionsForType(type){let optionsForType=this._typeOptions[type];if(optionsForType===undefined&&this.fallback!==null){optionsForType=this.fallback.getOptionsForType(type);}return optionsForType;}/**\n             @private\n             @method options\n             @param {String} fullName\n             @param {Object} options\n             */options(fullName,options){let normalizedName=this.normalize(fullName);this._options[normalizedName]=options;}getOptions(fullName){let normalizedName=this.normalize(fullName);let options=this._options[normalizedName];if(options===undefined&&this.fallback!==null){options=this.fallback.getOptions(fullName);}return options;}getOption(fullName,optionName){let options=this._options[fullName];if(options!==undefined&&options[optionName]!==undefined){return options[optionName];}let type=fullName.split(':')[0];options=this._typeOptions[type];if(options&&options[optionName]!==undefined){return options[optionName];}else if(this.fallback!==null){return this.fallback.getOption(fullName,optionName);}return undefined;}/**\n             @private\n             @method knownForType\n             @param {String} type the type to iterate over\n            */knownForType(type){let localKnown=makeDictionary(null);let registeredNames=Object.keys(this.registrations);for(let fullName of registeredNames){let itemType=fullName.split(':')[0];if(itemType===type){localKnown[fullName]=true;}}let fallbackKnown,resolverKnown;if(this.fallback!==null){fallbackKnown=this.fallback.knownForType(type);}if(this.resolver!==null&&this.resolver.knownForType){resolverKnown=this.resolver.knownForType(type);}return Object.assign({},fallbackKnown,localKnown,resolverKnown);}isValidFullName(fullName){return VALID_FULL_NAME_REGEXP.test(fullName);}}function resolve$5(registry,_normalizedName){let normalizedName=_normalizedName;let cached=registry._resolveCache[normalizedName];if(cached!==undefined){return cached;}if(registry._failSet.has(normalizedName)){return;}let resolved;if(registry.resolver){resolved=registry.resolver.resolve(normalizedName);}if(resolved===undefined){resolved=registry.registrations[normalizedName];}if(resolved===undefined){registry._failSet.add(normalizedName);}else{registry._resolveCache[normalizedName]=resolved;}return resolved;}function has$1(registry,fullName){return registry.resolve(fullName)!==undefined;}const privateNames=makeDictionary(null);const privateSuffix=`${Math.random()}${Date.now()}`.replace('.','');function privatize(_ref6){let[fullName]=_ref6;let name=privateNames[fullName];if(name){return name;}let[type,rawName]=fullName.split(':');return privateNames[fullName]=intern$1(`${type}:${rawName}-${privateSuffix}`);}/*\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          */const emberinternalsContainerIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,Container,INIT_FACTORY,Registry,getFactoryFor,privatize,setFactoryFor},Symbol.toStringTag,{value:'Module'});// this file gets replaced with the real value during the build\nconst Version='5.12.0';const emberVersion=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Version},Symbol.toStringTag,{value:'Module'});const emberVersionIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,VERSION:Version},Symbol.toStringTag,{value:'Module'});/*\n            This module exists to separate the @ember/string methods used\n            internally in ember-source, from those public methods that are\n            now deprecated and to be removed.\n          */const STRING_DASHERIZE_REGEXP=/[ _]/g;const STRING_DASHERIZE_CACHE=new Cache(1000,key=>decamelize(key).replace(STRING_DASHERIZE_REGEXP,'-'));const STRING_CLASSIFY_REGEXP_1=/^(-|_)+(.)?/;const STRING_CLASSIFY_REGEXP_2=/(.)(-|_|\\.|\\s)+(.)?/g;const STRING_CLASSIFY_REGEXP_3=/(^|\\/|\\.)([a-z])/g;const CLASSIFY_CACHE=new Cache(1000,str=>{let replace1=(_match,_separator,chr)=>chr?`_${chr.toUpperCase()}`:'';let replace2=(_match,initialChar,_separator,chr)=>initialChar+(chr?chr.toUpperCase():'');let parts=str.split('/');for(let i=0;i<parts.length;i++){parts[i]=parts[i].replace(STRING_CLASSIFY_REGEXP_1,replace1).replace(STRING_CLASSIFY_REGEXP_2,replace2);}return parts.join('/').replace(STRING_CLASSIFY_REGEXP_3,(match/*, separator, chr */)=>match.toUpperCase());});const STRING_DECAMELIZE_REGEXP=/([a-z\\d])([A-Z])/g;const DECAMELIZE_CACHE=new Cache(1000,str=>str.replace(STRING_DECAMELIZE_REGEXP,'$1_$2').toLowerCase());/**\n           Defines string helper methods used internally in ember-source.\n\n           @class String\n           @private\n           *//**\n           Replaces underscores, spaces, or camelCase with dashes.\n\n           ```javascript\n           import { dasherize } from '@ember/-internals/string';\n\n           dasherize('innerHTML');                // 'inner-html'\n           dasherize('action_name');              // 'action-name'\n           dasherize('css-class-name');           // 'css-class-name'\n           dasherize('my favorite items');        // 'my-favorite-items'\n           dasherize('privateDocs/ownerInvoice';  // 'private-docs/owner-invoice'\n           ```\n\n           @method dasherize\n           @param {String} str The string to dasherize.\n           @return {String} the dasherized string.\n           @private\n           */function dasherize(str){return STRING_DASHERIZE_CACHE.get(str);}/**\n           Returns the UpperCamelCase form of a string.\n\n           ```javascript\n           import { classify } from '@ember/string';\n\n           classify('innerHTML');                   // 'InnerHTML'\n           classify('action_name');                 // 'ActionName'\n           classify('css-class-name');              // 'CssClassName'\n           classify('my favorite items');           // 'MyFavoriteItems'\n           classify('private-docs/owner-invoice');  // 'PrivateDocs/OwnerInvoice'\n           ```\n\n           @method classify\n           @param {String} str the string to classify\n           @return {String} the classified string\n           @private\n           */function classify(str){return CLASSIFY_CACHE.get(str);}/**\n           Converts a camelized string into all lower case separated by underscores.\n\n           ```javascript\n           decamelize('innerHTML');          // 'inner_html'\n           decamelize('action_name');        // 'action_name'\n           decamelize('css-class-name');     // 'css-class-name'\n           decamelize('my favorite items');  // 'my favorite items'\n           ```\n           */function decamelize(str){return DECAMELIZE_CACHE.get(str);}const emberinternalsStringIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,classify,dasherize},Symbol.toStringTag,{value:'Module'});function isEnabled$1(options){return Object.hasOwnProperty.call(options.since,'enabled')||ENV._ALL_DEPRECATIONS_ENABLED;}let numEmberVersion=parseFloat(ENV._OVERRIDE_DEPRECATION_VERSION??Version);/* until must only be a minor version or major version */function emberVersionGte(until){let emberVersion=arguments.length>1&&arguments[1]!==undefined?arguments[1]:numEmberVersion;let significantUntil=until.replace(/(\\.0+)/g,'');return emberVersion>=parseFloat(significantUntil);}function isRemoved(options){return emberVersionGte(options.until);}function deprecation(options){return{options,test:!isEnabled$1(options),isEnabled:isEnabled$1(options)||isRemoved(options),isRemoved:isRemoved(options)};}/*\n            To add a deprecation, you must add a new entry to the `DEPRECATIONS` object.\n            The entry should be an object with the following properties:\n\n            * `id` (required): A string that uniquely identifies the deprecation. This\n              should be a short, descriptive name, typically dasherized.\n            * `for` (required): The string `ember-source` -- every deprecation from this\n              package is for `ember-source`.\n            * `since` (required): An object with `available` and `enabled`. `available` is\n              the first version of Ember that the deprecation is available in. `enabled` is\n              the version of Ember that the deprecation was first enabled. This is used as\n              a feature flag deprecations. For public APIs, the `enabled` value is added\n              only once the deprecation RFC is [Ready for Release](https://github.com/emberjs/rfcs#ready-for-release).\n            * `until` (required): The version of Ember that the deprecation will be removed\n            * `url` (required): A URL to the deprecation guide for the deprecation. This\n              URL can be constructed in advance of the deprecation being added to the\n              [deprecation app](https://github.com/ember-learn/deprecation-app) by\n              following this format: `https://deprecations.emberjs.com/deprecations/{{id}}`.\n\n            For example:\n            `deprecate` should then be called using the entry from the `DEPRECATIONS` object.\n\n            ```ts\n            import { DEPRECATIONS } from '@ember/-internals/deprecations';\n            //...\n\n            deprecateUntil(message, DEPRECATIONS.MY_DEPRECATION);\n            ```\n\n            `expectDeprecation` should also use the DEPRECATIONS object, but it should be noted\n            that it uses `isEnabled` instead of `test` because the expectations of `expectDeprecation`\n            are the opposite of `test`.\n\n            ```ts\n            expectDeprecation(\n              () => {\n                  assert.equal(foo, bar(), 'foo is equal to bar'); // something that triggers the deprecation\n              },\n              /matchesMessage/,\n              DEPRECATIONS.MY_DEPRECATION.isEnabled\n            );\n            ```\n\n            Tests can be conditionally run based on whether a deprecation is enabled or not:\n\n            ```ts\n              [`${testUnless(DEPRECATIONS.MY_DEPRECATION.isRemoved)} specific deprecated feature tested only in this test`]\n            ```\n\n            This test will be skipped when the MY_DEPRECATION is removed.\n            When adding a deprecation, we need to guard all the code that will eventually be removed, including tests.\n            For tests that are not specifically testing the deprecated feature, we need to figure out how to\n            test the behavior without encountering the deprecated feature, just as users would.\n           */const DEPRECATIONS={DEPRECATE_IMPORT_EMBER(importName){return deprecation({id:`deprecate-import-${dasherize(importName).toLowerCase()}-from-ember`,for:'ember-source',since:{available:'5.10.0'},until:'6.0.0',url:`https://deprecations.emberjs.com/id/import-${dasherize(importName).toLowerCase()}-from-ember`});},DEPRECATE_IMPLICIT_ROUTE_MODEL:deprecation({id:'deprecate-implicit-route-model',for:'ember-source',since:{available:'5.3.0',enabled:'5.3.0'},until:'6.0.0',url:'https://deprecations.emberjs.com/v5.x/#toc_deprecate-implicit-route-model'}),DEPRECATE_TEMPLATE_ACTION:deprecation({id:'template-action',url:'https://deprecations.emberjs.com/id/template-action',until:'6.0.0',for:'ember-source',since:{available:'5.9.0',enabled:'5.9.0'}}),DEPRECATE_COMPONENT_TEMPLATE_RESOLVING:deprecation({id:'component-template-resolving',url:'https://deprecations.emberjs.com/id/component-template-resolving',until:'6.0.0',for:'ember-source',since:{available:'5.10.0',enabled:'5.10.0'}}),DEPRECATE_ARRAY_PROTOTYPE_EXTENSIONS:deprecation({id:'deprecate-array-prototype-extensions',url:'https://deprecations.emberjs.com/id/deprecate-array-prototype-extensions',until:'6.0.0',for:'ember-source',since:{available:'5.10.0',enabled:'5.10.0'}})};function deprecateUntil(message,deprecation){const{options}=deprecation;if(deprecation.isRemoved){throw new Error(`The API deprecated by ${options.id} was removed in ember-source ${options.until}. The message was: ${message}. Please see ${options.url} for more details.`);}}const{EXTEND_PROTOTYPES}=ENV;if(EXTEND_PROTOTYPES.Array!==false){deprecateUntil('Array prototype extensions are deprecated. Follow the deprecation guide for migration instructions, and set EmberENV.EXTEND_PROTOTYPES to false in your config/environment.js',DEPRECATIONS.DEPRECATE_ARRAY_PROTOTYPE_EXTENSIONS);}const emberinternalsDeprecationsIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,DEPRECATIONS,deprecateUntil,emberVersionGte,isRemoved},Symbol.toStringTag,{value:'Module'});let onerror;const onErrorTarget={get onerror(){return onerror;}};// Ember.onerror getter\nfunction getOnerror(){return onerror;}// Ember.onerror setter\nfunction setOnerror(handler){onerror=handler;}let dispatchOverride=null;// allows testing adapter to override dispatch\nfunction getDispatchOverride(){return dispatchOverride;}function setDispatchOverride(handler){dispatchOverride=handler;}const emberinternalsErrorHandlingIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,getDispatchOverride,getOnerror,onErrorTarget,setDispatchOverride,setOnerror},Symbol.toStringTag,{value:'Module'});const ContentType={Component:0,Helper:1,String:2,Empty:3,SafeString:4,Fragment:5,Node:6,Other:8},CurriedTypes={Component:0,Helper:1,Modifier:2},InternalComponentCapabilities={Empty:0,dynamicLayout:1,dynamicTag:2,prepareArgs:4,createArgs:8,attributeHook:16,elementHook:32,dynamicScope:64,createCaller:128,updateHook:256,createInstance:512,wrapped:1024,willDestroy:2048,hasSubOwner:4096},ARG_SHIFT=8,MAX_SIZE=2147483647,TYPE_SIZE=255,TYPE_MASK=255,OPERAND_LEN_MASK=768,MACHINE_MASK=1024,MachineOp={PushFrame:0,PopFrame:1,InvokeVirtual:2,InvokeStatic:3,Jump:4,Return:5,ReturnTo:6,Size:7},Op={Helper:16,SetNamedVariables:17,SetBlocks:18,SetVariable:19,SetBlock:20,GetVariable:21,GetProperty:22,GetBlock:23,SpreadBlock:24,HasBlock:25,HasBlockParams:26,Concat:27,Constant:28,ConstantReference:29,Primitive:30,PrimitiveReference:31,ReifyU32:32,Dup:33,Pop:34,Load:35,Fetch:36,RootScope:37,VirtualRootScope:38,ChildScope:39,PopScope:40,Text:41,Comment:42,AppendHTML:43,AppendSafeHTML:44,AppendDocumentFragment:45,AppendNode:46,AppendText:47,OpenElement:48,OpenDynamicElement:49,PushRemoteElement:50,StaticAttr:51,DynamicAttr:52,ComponentAttr:53,FlushElement:54,CloseElement:55,PopRemoteElement:56,Modifier:57,BindDynamicScope:58,PushDynamicScope:59,PopDynamicScope:60,CompileBlock:61,PushBlockScope:62,PushSymbolTable:63,InvokeYield:64,JumpIf:65,JumpUnless:66,JumpEq:67,AssertSame:68,Enter:69,Exit:70,ToBoolean:71,EnterList:72,ExitList:73,Iterate:74,Main:75,ContentType:76,Curry:77,PushComponentDefinition:78,PushDynamicComponentInstance:79,ResolveDynamicComponent:80,ResolveCurriedComponent:81,PushArgs:82,PushEmptyArgs:83,PopArgs:84,PrepareArgs:85,CaptureArgs:86,CreateComponent:87,RegisterComponentDestructor:88,PutComponentOperations:89,GetComponentSelf:90,GetComponentTagName:91,GetComponentLayout:92,BindEvalScope:93,SetupForEval:94,PopulateLayout:95,InvokeComponentLayout:96,BeginComponentTransaction:97,CommitComponentTransaction:98,DidCreateElement:99,DidRenderLayout:100,ResolveMaybeLocal:102,Debugger:103,Size:104,StaticComponentAttr:105,DynamicContentType:106,DynamicHelper:107,DynamicModifier:108,IfInline:109,Not:110,GetDynamicVar:111,Log:112};function isMachineOp(value){return value>=0&&value<=15;}function isOp(value){return value>=16;}/**\n           * Registers\n           *\n           * For the most part, these follows MIPS naming conventions, however the\n           * register numbers are different.\n           */// $0 or $pc (program counter): pointer into `program` for the next insturction; -1 means exit\nconst $pc=0,$ra=1,$fp=2,$sp=3,$s0=4,$s1=5,$t0=6,$t1=7,$v0=8;// $1 or $ra (return address): pointer into `program` for the return\nlet MachineRegister=function(MachineRegister){return MachineRegister[MachineRegister.pc=0]=\"pc\",MachineRegister[MachineRegister.ra=1]=\"ra\",MachineRegister[MachineRegister.fp=2]=\"fp\",MachineRegister[MachineRegister.sp=3]=\"sp\",MachineRegister;}({});function isLowLevelRegister(register){return register<=3;}let SavedRegister=function(SavedRegister){return SavedRegister[SavedRegister.s0=4]=\"s0\",SavedRegister[SavedRegister.s1=5]=\"s1\",SavedRegister;}({}),TemporaryRegister=function(TemporaryRegister){return TemporaryRegister[TemporaryRegister.t0=6]=\"t0\",TemporaryRegister[TemporaryRegister.t1=7]=\"t1\",TemporaryRegister;}({});const glimmerVm=/*#__PURE__*/Object.defineProperty({__proto__:null,$fp,$pc,$ra,$s0,$s1,$sp,$t0,$t1,$v0,ARG_SHIFT,ContentType,CurriedType:CurriedTypes,CurriedTypes,InternalComponentCapabilities,InternalComponentCapability:InternalComponentCapabilities,MACHINE_MASK,MAX_SIZE,MachineOp,MachineRegister,OPERAND_LEN_MASK,Op,SavedRegister,TYPE_MASK,TYPE_SIZE,TemporaryRegister,isLowLevelRegister,isMachineOp,isOp},Symbol.toStringTag,{value:'Module'});class InstructionEncoderImpl{constructor(buffer){_defineProperty(this,\"size\",0);this.buffer=buffer;}encode(type,machine){for(var _len4=arguments.length,args=new Array(_len4>2?_len4-2:0),_key5=2;_key5<_len4;_key5++){args[_key5-2]=arguments[_key5];}if(type>TYPE_SIZE)throw new Error(`Opcode type over 8-bits. Got ${type}.`);let first=type|machine|arguments.length-2<<ARG_SHIFT;this.buffer.push(first);for(const op of args){this.buffer.push(op);}this.size=this.buffer.length;}patch(position,target){if(-1!==this.buffer[position+1])throw new Error(\"Trying to patch operand in populated slot instead of a reserved slot.\");this.buffer[position+1]=target;}}const glimmerEncoder=/*#__PURE__*/Object.defineProperty({__proto__:null,InstructionEncoderImpl},Symbol.toStringTag,{value:'Module'});const opcodes={Append:1,TrustingAppend:2,Comment:3,Modifier:4,StrictModifier:5,Block:6,StrictBlock:7,Component:8,OpenElement:10,OpenElementWithSplat:11,FlushElement:12,CloseElement:13,StaticAttr:14,DynamicAttr:15,ComponentAttr:16,AttrSplat:17,Yield:18,DynamicArg:20,StaticArg:21,TrustingDynamicAttr:22,TrustingComponentAttr:23,StaticComponentAttr:24,Debugger:26,Undefined:27,Call:28,Concat:29,GetSymbol:30,GetLexicalSymbol:32,GetStrictKeyword:31,GetFreeAsComponentOrHelperHead:35,GetFreeAsHelperHead:37,GetFreeAsModifierHead:38,GetFreeAsComponentHead:39,InElement:40,If:41,Each:42,Let:44,WithDynamicVars:45,InvokeComponent:46,HasBlock:48,HasBlockParams:49,Curry:50,Not:51,IfInline:52,GetDynamicVar:53,Log:54},resolution={Strict:0,ResolveAsComponentOrHelperHead:1,ResolveAsHelperHead:5,ResolveAsModifierHead:6,ResolveAsComponentHead:7},WellKnownAttrNames={class:0,id:1,value:2,name:3,type:4,style:5,href:6},WellKnownTagNames={div:0,span:1,p:2,a:3};// eslint-disable-next-line @typescript-eslint/naming-convention\nfunction is(variant){return function(value){return Array.isArray(value)&&value[0]===variant;};}// Statements\nconst isFlushElement=is(opcodes.FlushElement);function isAttribute(val){return val[0]===opcodes.StaticAttr||val[0]===opcodes.DynamicAttr||val[0]===opcodes.TrustingDynamicAttr||val[0]===opcodes.ComponentAttr||val[0]===opcodes.StaticComponentAttr||val[0]===opcodes.TrustingComponentAttr||val[0]===opcodes.AttrSplat||val[0]===opcodes.Modifier;}function isStringLiteral(expr){return\"string\"==typeof expr;}function getStringFromValue(expr){return expr;}function isArgument(val){return val[0]===opcodes.StaticArg||val[0]===opcodes.DynamicArg;}function isHelper(expr){return Array.isArray(expr)&&expr[0]===opcodes.Call;}// Expressions\nconst isGet=is(opcodes.GetSymbol);const glimmerWireFormat=/*#__PURE__*/Object.defineProperty({__proto__:null,SexpOpcodes:opcodes,VariableResolutionContext:resolution,WellKnownAttrNames,WellKnownTagNames,getStringFromValue,is,isArgument,isAttribute,isFlushElement,isGet,isHelper,isStringLiteral},Symbol.toStringTag,{value:'Module'});/**\n           * This package contains global context functions for Glimmer. These functions\n           * are set by the embedding environment and must be set before initial render.\n           *\n           * These functions should meet the following criteria:\n           *\n           * - Must be provided by the embedder, due to having framework specific\n           *   behaviors (e.g. interop with classic Ember behaviors that should not be\n           *   upstreamed) or to being out of scope for the VM (e.g. scheduling a\n           *   revalidation)\n           * - Never differ between render roots\n           * - Never change over time\n           *\n           *///////////\n/**\n           * Interfaces\n           *\n           * TODO: Move these into @glimmer/interfaces, move @glimmer/interfaces to\n           * @glimmer/internal-interfaces.\n           *///////////\n/**\n           * Schedules a VM revalidation.\n           *\n           * Note: this has a default value so that tags can warm themselves when first loaded.\n           */let scheduleDestroy,scheduleDestroyed,toIterator$1,toBool$1,getProp,setProp,getPath$1,setPath,warnIfStyleNotTrusted,assert,deprecate,assertGlobalContextWasSet,testOverrideGlobalContext,scheduleRevalidate=()=>{};/**\n           * Schedules a destructor to run\n           *\n           * @param destroyable The destroyable being destroyed\n           * @param destructor The destructor being scheduled\n           */function setGlobalContext(context){scheduleRevalidate=context.scheduleRevalidate,scheduleDestroy=context.scheduleDestroy,scheduleDestroyed=context.scheduleDestroyed,toIterator$1=context.toIterator,toBool$1=context.toBool,getProp=context.getProp,setProp=context.setProp,getPath$1=context.getPath,setPath=context.setPath,warnIfStyleNotTrusted=context.warnIfStyleNotTrusted,assert=context.assert,deprecate=context.deprecate;}const glimmerGlobalContext=/*#__PURE__*/Object.defineProperty({__proto__:null,get assert(){return assert;},assertGlobalContextWasSet,default:setGlobalContext,get deprecate(){return deprecate;},get getPath(){return getPath$1;},get getProp(){return getProp;},get scheduleDestroy(){return scheduleDestroy;},get scheduleDestroyed(){return scheduleDestroyed;},get scheduleRevalidate(){return scheduleRevalidate;},get setPath(){return setPath;},get setProp(){return setProp;},testOverrideGlobalContext,get toBool(){return toBool$1;},get toIterator(){return toIterator$1;},get warnIfStyleNotTrusted(){return warnIfStyleNotTrusted;}},Symbol.toStringTag,{value:'Module'});var DestroyingState=function(DestroyingState){return DestroyingState[DestroyingState.Live=0]=\"Live\",DestroyingState[DestroyingState.Destroying=1]=\"Destroying\",DestroyingState[DestroyingState.Destroyed=2]=\"Destroyed\",DestroyingState;}(DestroyingState||{});let enableDestroyableTracking,assertDestroyablesDestroyed,DESTROYABLE_META=new WeakMap();function push(collection,newItem){return null===collection?newItem:Array.isArray(collection)?(collection.push(newItem),collection):[collection,newItem];}function iterate$1(collection,fn){Array.isArray(collection)?collection.forEach(fn):null!==collection&&fn(collection);}function remove(collection,item,message){if(Array.isArray(collection)&&collection.length>1){let index=collection.indexOf(item);return collection.splice(index,1),collection;}return null;}function getDestroyableMeta(destroyable){let meta=DESTROYABLE_META.get(destroyable);return void 0===meta&&(meta={parents:null,children:null,eagerDestructors:null,destructors:null,state:DestroyingState.Live},DESTROYABLE_META.set(destroyable,meta)),meta;}function associateDestroyableChild(parent,child){let parentMeta=getDestroyableMeta(parent),childMeta=getDestroyableMeta(child);return parentMeta.children=push(parentMeta.children,child),childMeta.parents=push(childMeta.parents,parent),child;}function registerDestructor$1(destroyable,destructor){let eager=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1;let meta=getDestroyableMeta(destroyable),destructorsKey=!0===eager?\"eagerDestructors\":\"destructors\";return meta[destructorsKey]=push(meta[destructorsKey],destructor),destructor;}function unregisterDestructor$1(destroyable,destructor){let eager=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1;let meta=getDestroyableMeta(destroyable),destructorsKey=!0===eager?\"eagerDestructors\":\"destructors\";meta[destructorsKey]=remove(meta[destructorsKey],destructor);}////////////\nfunction destroy(destroyable){let meta=getDestroyableMeta(destroyable);if(meta.state>=DestroyingState.Destroying)return;let{parents:parents,children:children,eagerDestructors:eagerDestructors,destructors:destructors}=meta;meta.state=DestroyingState.Destroying,iterate$1(children,destroy),iterate$1(eagerDestructors,destructor=>destructor(destroyable)),iterate$1(destructors,destructor=>scheduleDestroy(destroyable,destructor)),scheduleDestroyed(()=>{iterate$1(parents,parent=>function(child,parent){let parentMeta=getDestroyableMeta(parent);parentMeta.state===DestroyingState.Live&&(parentMeta.children=remove(parentMeta.children,child));}(destroyable,parent)),meta.state=DestroyingState.Destroyed;});}function destroyChildren(destroyable){let{children:children}=getDestroyableMeta(destroyable);iterate$1(children,destroy);}function _hasDestroyableChildren(destroyable){let meta=DESTROYABLE_META.get(destroyable);return void 0!==meta&&null!==meta.children;}function isDestroying(destroyable){let meta=DESTROYABLE_META.get(destroyable);return void 0!==meta&&meta.state>=DestroyingState.Destroying;}function isDestroyed(destroyable){let meta=DESTROYABLE_META.get(destroyable);return void 0!==meta&&meta.state>=DestroyingState.Destroyed;}const glimmerDestroyable=/*#__PURE__*/Object.defineProperty({__proto__:null,_hasDestroyableChildren,assertDestroyablesDestroyed,associateDestroyableChild,destroy,destroyChildren,enableDestroyableTracking,isDestroyed,isDestroying,registerDestructor:registerDestructor$1,unregisterDestructor:unregisterDestructor$1},Symbol.toStringTag,{value:'Module'});function unwrap(val){if(null==val)throw new Error(\"Expected value to be present\");return val;}const debug$1={};const CONSTANT=0,INITIAL=1,VOLATILE=NaN;let $REVISION=1;function bump(){$REVISION++;}//////////\nconst UPDATABLE_TAG_ID=1,COMPUTE$1=Symbol(\"TAG_COMPUTE\");//////////\n/**\n           * `value` receives a tag and returns an opaque Revision based on that tag. This\n           * snapshot can then later be passed to `validate` with the same tag to\n           * determine if the tag has changed at all since the time that `value` was\n           * called.\n           *\n           * @param tag\n           */function valueForTag(tag){return tag[COMPUTE$1]();}/**\n           * `validate` receives a tag and a snapshot from a previous call to `value` with\n           * the same tag, and determines if the tag is still valid compared to the\n           * snapshot. If the tag's state has changed at all since then, `validate` will\n           * return false, otherwise it will return true. This is used to determine if a\n           * calculation related to the tags should be rerun.\n           *\n           * @param tag\n           * @param snapshot\n           */function validateTag(tag,snapshot){return snapshot>=tag[COMPUTE$1]();}//////////\nconst TYPE$1=Symbol(\"TAG_TYPE\");// this is basically a const\nlet ALLOW_CYCLES;class MonomorphicTagImpl{static combine(tags){switch(tags.length){case 0:return CONSTANT_TAG;case 1:return tags[0];default:{let tag=new MonomorphicTagImpl(2);return tag.subtag=tags,tag;}}}constructor(type){_defineProperty(this,\"revision\",1);_defineProperty(this,\"lastChecked\",1);_defineProperty(this,\"lastValue\",1);_defineProperty(this,\"isUpdating\",!1);_defineProperty(this,\"subtag\",null);_defineProperty(this,\"subtagBufferCache\",null);_defineProperty(this,TYPE$1,void 0);this[TYPE$1]=type;}[COMPUTE$1](){let{lastChecked:lastChecked}=this;if(!0===this.isUpdating){this.lastChecked=++$REVISION;}else if(lastChecked!==$REVISION){this.isUpdating=!0,this.lastChecked=$REVISION;try{let{subtag:subtag,revision:revision}=this;if(null!==subtag)if(Array.isArray(subtag))for(const tag of subtag){let value=tag[COMPUTE$1]();revision=Math.max(value,revision);}else{let subtagValue=subtag[COMPUTE$1]();subtagValue===this.subtagBufferCache?revision=Math.max(revision,this.lastValue):(// Clear the temporary buffer cache\nthis.subtagBufferCache=null,revision=Math.max(revision,subtagValue));}this.lastValue=revision;}finally{this.isUpdating=!1;}}return this.lastValue;}static updateTag(_tag,_subtag){// TODO: TS 3.7 should allow us to do this via assertion\nlet tag=_tag,subtag=_subtag;subtag===CONSTANT_TAG?tag.subtag=null:(// There are two different possibilities when updating a subtag:\n// 1. subtag[COMPUTE]() <= tag[COMPUTE]();\n// 2. subtag[COMPUTE]() > tag[COMPUTE]();\n// The first possibility is completely fine within our caching model, but\n// the second possibility presents a problem. If the parent tag has\n// already been read, then it's value is cached and will not update to\n// reflect the subtag's greater value. Next time the cache is busted, the\n// subtag's value _will_ be read, and it's value will be _greater_ than\n// the saved snapshot of the parent, causing the resulting calculation to\n// be rerun erroneously.\n// In order to prevent this, when we first update to a new subtag we store\n// its computed value, and then check against that computed value on\n// subsequent updates. If its value hasn't changed, then we return the\n// parent's previous value. Once the subtag changes for the first time,\n// we clear the cache and everything is finally in sync with the parent.\ntag.subtagBufferCache=subtag[COMPUTE$1](),tag.subtag=subtag);}static dirtyTag(tag,disableConsumptionAssertion){tag.revision=++$REVISION,scheduleRevalidate();}}const DIRTY_TAG$1=MonomorphicTagImpl.dirtyTag,UPDATE_TAG=MonomorphicTagImpl.updateTag;//////////\nfunction createTag(){return new MonomorphicTagImpl(0);}function createUpdatableTag(){return new MonomorphicTagImpl(UPDATABLE_TAG_ID);}//////////\nconst CONSTANT_TAG=new MonomorphicTagImpl(3);function isConstTag(tag){return tag===CONSTANT_TAG;}//////////\nclass VolatileTag{constructor(){_defineProperty(this,TYPE$1,100);}[COMPUTE$1](){return NaN;}}const VOLATILE_TAG=new VolatileTag();//////////\nclass CurrentTag{constructor(){_defineProperty(this,TYPE$1,101);}[COMPUTE$1](){return $REVISION;}}const CURRENT_TAG=new CurrentTag(),combine=MonomorphicTagImpl.combine;//////////\n// Warm\nlet tag1=createUpdatableTag(),tag2=createUpdatableTag(),tag3=createUpdatableTag();valueForTag(tag1),DIRTY_TAG$1(tag1),valueForTag(tag1),UPDATE_TAG(tag1,combine([tag2,tag3])),valueForTag(tag1),DIRTY_TAG$1(tag2),valueForTag(tag1),DIRTY_TAG$1(tag3),valueForTag(tag1),UPDATE_TAG(tag1,tag3),valueForTag(tag1),DIRTY_TAG$1(tag3),valueForTag(tag1);///////////\nconst TRACKED_TAGS=new WeakMap();function dirtyTagFor(obj,key,meta){let tags=void 0===meta?TRACKED_TAGS.get(obj):meta;// No tags have been setup for this object yet, return\nif(void 0===tags)return;// Dirty the tag for the specific property if it exists\nlet propertyTag=tags.get(key);void 0!==propertyTag&&DIRTY_TAG$1(propertyTag,!0);}function tagMetaFor(obj){let tags=TRACKED_TAGS.get(obj);return void 0===tags&&(tags=new Map(),TRACKED_TAGS.set(obj,tags)),tags;}function tagFor(obj,key,meta){let tags=void 0===meta?tagMetaFor(obj):meta,tag=tags.get(key);return void 0===tag&&(tag=createUpdatableTag(),tags.set(key,tag)),tag;}/**\n           * An object that that tracks @tracked properties that were consumed.\n           */class Tracker{constructor(){_defineProperty(this,\"tags\",new Set());_defineProperty(this,\"last\",null);}add(tag){tag!==CONSTANT_TAG&&(this.tags.add(tag),this.last=tag);}combine(){let{tags:tags}=this;return 0===tags.size?CONSTANT_TAG:1===tags.size?this.last:combine(Array.from(this.tags));}}/**\n           * Whenever a tracked computed property is entered, the current tracker is\n           * saved off and a new tracker is replaced.\n           *\n           * Any tracked properties consumed are added to the current tracker.\n           *\n           * When a tracked computed property is exited, the tracker's tags are\n           * combined and added to the parent tracker.\n           *\n           * The consequence is that each tracked computed property has a tag\n           * that corresponds to the tracked properties consumed inside of\n           * itself, including child tracked computed properties.\n           */let CURRENT_TRACKER=null;const OPEN_TRACK_FRAMES=[];function beginTrackFrame(debuggingContext){OPEN_TRACK_FRAMES.push(CURRENT_TRACKER),CURRENT_TRACKER=new Tracker();}function endTrackFrame(){let current=CURRENT_TRACKER;return CURRENT_TRACKER=OPEN_TRACK_FRAMES.pop()||null,unwrap(current).combine();}function beginUntrackFrame(){OPEN_TRACK_FRAMES.push(CURRENT_TRACKER),CURRENT_TRACKER=null;}function endUntrackFrame(){CURRENT_TRACKER=OPEN_TRACK_FRAMES.pop()||null;}// This function is only for handling errors and resetting to a valid state\nfunction resetTracking(){for(;OPEN_TRACK_FRAMES.length>0;)OPEN_TRACK_FRAMES.pop();if(CURRENT_TRACKER=null,false/* DEBUG */);}function isTracking(){return null!==CURRENT_TRACKER;}function consumeTag(tag){null!==CURRENT_TRACKER&&CURRENT_TRACKER.add(tag);}// public interface\nconst FN=Symbol(\"FN\"),LAST_VALUE=Symbol(\"LAST_VALUE\"),TAG=Symbol(\"TAG\"),SNAPSHOT=Symbol(\"SNAPSHOT\");function createCache(fn,debuggingLabel){let cache={[FN]:fn,[LAST_VALUE]:void 0,[TAG]:void 0,[SNAPSHOT]:-1};return cache;}function getValue(cache){let fn=cache[FN],tag=cache[TAG],snapshot=cache[SNAPSHOT];if(void 0!==tag&&validateTag(tag,snapshot))consumeTag(tag);else{beginTrackFrame();try{cache[LAST_VALUE]=fn();}finally{tag=endTrackFrame(),cache[TAG]=tag,cache[SNAPSHOT]=valueForTag(tag),consumeTag(tag);}}return cache[LAST_VALUE];}function isConst(cache){let tag=cache[TAG];// replace this with `expect` when we can\nreturn isConstTag(tag);}function track(block,debugLabel){let tag;beginTrackFrame();try{block();}finally{tag=endTrackFrame();}return tag;}// untrack() is currently mainly used to handle places that were previously not\n// tracked, and that tracking now would cause backtracking rerender assertions.\n// I think once we move everyone forward onto modern APIs, we'll probably be\n// able to remove it, but I'm not sure yet.\nfunction untrack(callback){beginUntrackFrame();try{return callback();}finally{endUntrackFrame();}}function trackedData(key,initializer){let values=new WeakMap(),hasInitializer=\"function\"==typeof initializer;return{getter:function(self){let value;// If the field has never been initialized, we should initialize it\nreturn consumeTag(tagFor(self,key)),hasInitializer&&!values.has(self)?(value=initializer.call(self),values.set(self,value)):value=values.get(self),value;},setter:function(self,value){dirtyTagFor(self,key),values.set(self,value);}};}const GLIMMER_VALIDATOR_REGISTRATION=Symbol(\"GLIMMER_VALIDATOR_REGISTRATION\"),globalObj=function(){if(\"undefined\"!=typeof globalThis)return globalThis;if(\"undefined\"!=typeof self)return self;if(\"undefined\"!=typeof window)return window;if(\"undefined\"!=typeof global)return global;throw new Error(\"unable to locate global object\");}();if(!0===globalObj[GLIMMER_VALIDATOR_REGISTRATION])throw new Error(\"The `@glimmer/validator` library has been included twice in this application. It could be different versions of the package, or the same version included twice by mistake. `@glimmer/validator` depends on having a single copy of the package in use at any time in an application, even if they are the same version. You must dedupe your build to remove the duplicate packages in order to prevent this error.\");globalObj[GLIMMER_VALIDATOR_REGISTRATION]=!0;const glimmerValidator=/*#__PURE__*/Object.defineProperty({__proto__:null,ALLOW_CYCLES,COMPUTE:COMPUTE$1,CONSTANT,CONSTANT_TAG,CURRENT_TAG,CurrentTag,INITIAL,VOLATILE,VOLATILE_TAG,VolatileTag,beginTrackFrame,beginUntrackFrame,bump,combine,consumeTag,createCache,createTag,createUpdatableTag,debug:debug$1,dirtyTag:DIRTY_TAG$1,dirtyTagFor,endTrackFrame,endUntrackFrame,getValue,isConst,isConstTag,isTracking,resetTracking,tagFor,tagMetaFor,track,trackedData,untrack,updateTag:UPDATE_TAG,validateTag,valueForTag},Symbol.toStringTag,{value:'Module'});const REFERENCE=Symbol(\"REFERENCE\"),COMPUTE=1,UNBOUND=2;//////////\nclass ReferenceImpl{constructor(type){_defineProperty(this,REFERENCE,void 0);_defineProperty(this,\"tag\",null);_defineProperty(this,\"lastRevision\",INITIAL);_defineProperty(this,\"lastValue\",void 0);_defineProperty(this,\"children\",null);_defineProperty(this,\"compute\",null);_defineProperty(this,\"update\",null);_defineProperty(this,\"debugLabel\",void 0);this[REFERENCE]=type;}}function createPrimitiveRef(value){const ref=new ReferenceImpl(UNBOUND);return ref.tag=CONSTANT_TAG,ref.lastValue=value,ref;}const UNDEFINED_REFERENCE=createPrimitiveRef(void 0),NULL_REFERENCE=createPrimitiveRef(null),TRUE_REFERENCE=createPrimitiveRef(!0),FALSE_REFERENCE=createPrimitiveRef(!1);function createConstRef(value,debugLabel){const ref=new ReferenceImpl(0);return ref.lastValue=value,ref.tag=CONSTANT_TAG,ref;}function createUnboundRef(value,debugLabel){const ref=new ReferenceImpl(UNBOUND);return ref.lastValue=value,ref.tag=CONSTANT_TAG,ref;}function createComputeRef(compute){let update=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;let debugLabel=arguments.length>2&&arguments[2]!==undefined?arguments[2]:\"unknown\";const ref=new ReferenceImpl(COMPUTE);return ref.compute=compute,ref.update=update,ref;}function createReadOnlyRef(ref){return isUpdatableRef(ref)?createComputeRef(()=>valueForRef(ref),null,ref.debugLabel):ref;}function isInvokableRef(ref){return 3===ref[REFERENCE];}function createInvokableRef(inner){const ref=createComputeRef(()=>valueForRef(inner),value=>updateRef(inner,value));return ref.debugLabel=inner.debugLabel,ref[REFERENCE]=3,ref;}function isConstRef(_ref){return _ref.tag===CONSTANT_TAG;}function isUpdatableRef(_ref){return null!==_ref.update;}function valueForRef(_ref){const ref=_ref;let{tag:tag}=ref;if(tag===CONSTANT_TAG)return ref.lastValue;const{lastRevision:lastRevision}=ref;let lastValue;if(null!==tag&&validateTag(tag,lastRevision))lastValue=ref.lastValue;else{const{compute:compute}=ref,newTag=track(()=>{lastValue=ref.lastValue=compute();});tag=ref.tag=newTag,ref.lastRevision=valueForTag(newTag);}return consumeTag(tag),lastValue;}function updateRef(_ref,value){expect(_ref.update,\"called update on a non-updatable reference\")(value);}function childRefFor(_parentRef,path){const parentRef=_parentRef,type=parentRef[REFERENCE];let child,children=parentRef.children;if(null===children)children=parentRef.children=new Map();else if(child=children.get(path),void 0!==child)return child;if(type===UNBOUND){const parent=valueForRef(parentRef);child=isDict(parent)?createUnboundRef(parent[path]):UNDEFINED_REFERENCE;}else child=createComputeRef(()=>{const parent=valueForRef(parentRef);if(isDict(parent))return getProp(parent,path);},val=>{const parent=valueForRef(parentRef);if(isDict(parent))return setProp(parent,path,val);});return children.set(path,child),child;}function childRefFromParts(root,parts){let reference=root;for(const part of parts)reference=childRefFor(reference,part);return reference;}let createDebugAliasRef;const NULL_IDENTITY={},KEY=(_,index)=>index,INDEX=(_,index)=>String(index),IDENTITY=item=>null===item?NULL_IDENTITY:item;class WeakMapWithPrimitives{constructor(){_defineProperty(this,\"_weakMap\",void 0);_defineProperty(this,\"_primitiveMap\",void 0);}get weakMap(){return void 0===this._weakMap&&(this._weakMap=new WeakMap()),this._weakMap;}get primitiveMap(){return void 0===this._primitiveMap&&(this._primitiveMap=new Map()),this._primitiveMap;}set(key,value){isObject(key)?this.weakMap.set(key,value):this.primitiveMap.set(key,value);}get(key){return isObject(key)?this.weakMap.get(key):this.primitiveMap.get(key);}}const IDENTITIES=new WeakMapWithPrimitives();/**\n           * When iterating over a list, it's possible that an item with the same unique\n           * key could be encountered twice:\n           *\n           * ```js\n           * let arr = ['same', 'different', 'same', 'same'];\n           * ```\n           *\n           * In general, we want to treat these items as _unique within the list_. To do\n           * this, we track the occurences of every item as we iterate the list, and when\n           * an item occurs more than once, we generate a new unique key just for that\n           * item, and that occurence within the list. The next time we iterate the list,\n           * and encounter an item for the nth time, we can get the _same_ key, and let\n           * Glimmer know that it should reuse the DOM for the previous nth occurence.\n           */function uniqueKeyFor(keyFor){let seen=new WeakMapWithPrimitives();return(value,memo)=>{let key=keyFor(value,memo),count=seen.get(key)||0;return seen.set(key,count+1),0===count?key:function(value,count){let identities=IDENTITIES.get(value);void 0===identities&&(identities=[],IDENTITIES.set(value,identities));let identity=identities[count];return void 0===identity&&(identity={value:value,count:count},identities[count]=identity),identity;}(key,count);};}function createIteratorRef(listRef,key){return createComputeRef(()=>{let iterable=valueForRef(listRef),keyFor=function(key){switch(key){case\"@key\":return uniqueKeyFor(KEY);case\"@index\":return uniqueKeyFor(INDEX);case\"@identity\":return uniqueKeyFor(IDENTITY);default:return function(path){return uniqueKeyFor(item=>getPath$1(item,path));}(key);}}(key);if(Array.isArray(iterable))return new ArrayIterator$1(iterable,keyFor);let maybeIterator=toIterator$1(iterable);return null===maybeIterator?new ArrayIterator$1(EMPTY_ARRAY$4,()=>null):new IteratorWrapper(maybeIterator,keyFor);});}function createIteratorItemRef(_value){let value=_value,tag=createTag();return createComputeRef(()=>(consumeTag(tag),value),newValue=>{value!==newValue&&(value=newValue,DIRTY_TAG$1(tag));});}class IteratorWrapper{constructor(inner,keyFor){this.inner=inner,this.keyFor=keyFor;}isEmpty(){return this.inner.isEmpty();}next(){let nextValue=this.inner.next();return null!==nextValue&&(nextValue.key=this.keyFor(nextValue.value,nextValue.memo)),nextValue;}}let ArrayIterator$1=class ArrayIterator{constructor(iterator,keyFor){_defineProperty(this,\"current\",void 0);_defineProperty(this,\"pos\",0);this.iterator=iterator,this.keyFor=keyFor,0===iterator.length?this.current={kind:\"empty\"}:this.current={kind:\"first\",value:iterator[this.pos]};}isEmpty(){return\"empty\"===this.current.kind;}next(){let value,current=this.current;if(\"first\"===current.kind)this.current={kind:\"progress\"},value=current.value;else{if(this.pos>=this.iterator.length-1)return null;value=this.iterator[++this.pos];}let{keyFor:keyFor}=this;return{key:keyFor(value,this.pos),value:value,memo:this.pos};}};const glimmerReference=/*#__PURE__*/Object.defineProperty({__proto__:null,FALSE_REFERENCE,NULL_REFERENCE,REFERENCE,TRUE_REFERENCE,UNDEFINED_REFERENCE,childRefFor,childRefFromParts,createComputeRef,createConstRef,createDebugAliasRef,createInvokableRef,createIteratorItemRef,createIteratorRef,createPrimitiveRef,createReadOnlyRef,createUnboundRef,isConstRef,isInvokableRef,isUpdatableRef,updateRef,valueForRef},Symbol.toStringTag,{value:'Module'});const CUSTOM_TAG_FOR=new WeakMap();function getCustomTagFor(obj){return CUSTOM_TAG_FOR.get(obj);}function setCustomTagFor(obj,customTagFn){CUSTOM_TAG_FOR.set(obj,customTagFn);}function convertToInt(prop){if(\"symbol\"==typeof prop)return null;const num=Number(prop);return isNaN(num)?null:num%1==0?num:null;}class NamedArgsProxy{constructor(named){this.named=named;}get(_target,prop){const ref=this.named[prop];if(void 0!==ref)return valueForRef(ref);}has(_target,prop){return prop in this.named;}ownKeys(){return Object.keys(this.named);}isExtensible(){return!1;}getOwnPropertyDescriptor(_target,prop){return{enumerable:!0,configurable:!0};}}class PositionalArgsProxy{constructor(positional){this.positional=positional;}get(target,prop){let{positional:positional}=this;if(\"length\"===prop)return positional.length;const parsed=convertToInt(prop);return null!==parsed&&parsed<positional.length?valueForRef(positional[parsed]):target[prop];}isExtensible(){return!1;}has(_target,prop){const parsed=convertToInt(prop);return null!==parsed&&parsed<this.positional.length;}}const argsProxyFor=(capturedArgs,type)=>{const{named:named,positional:positional}=capturedArgs,namedHandler=new NamedArgsProxy(named),positionalHandler=new PositionalArgsProxy(positional),namedTarget=Object.create(null);const namedProxy=new Proxy(namedTarget,namedHandler),positionalProxy=new Proxy([],positionalHandler);return setCustomTagFor(namedProxy,(_obj,key)=>function(namedArgs,key){return track(()=>{key in namedArgs&&valueForRef(namedArgs[key]);});}(named,key)),setCustomTagFor(positionalProxy,(_obj,key)=>function(positionalArgs,key){return track(()=>{\"[]\"===key&&// consume all of the tags in the positional array\npositionalArgs.forEach(valueForRef);const parsed=convertToInt(key);null!==parsed&&parsed<positionalArgs.length&&// consume the tag of the referenced index\nvalueForRef(positionalArgs[parsed]);});}(positional,key)),{named:namedProxy,positional:positionalProxy};};/* This file is generated by build/debug.js */new Array(Op.Size).fill(null),new Array(Op.Size).fill(null);function buildCapabilities(capabilities){return capabilities;}const EMPTY=InternalComponentCapabilities.Empty;/**\n           * Converts a ComponentCapabilities object into a 32-bit integer representation.\n           */function capabilityFlagsFrom(capabilities){return EMPTY|capability(capabilities,\"dynamicLayout\")|capability(capabilities,\"dynamicTag\")|capability(capabilities,\"prepareArgs\")|capability(capabilities,\"createArgs\")|capability(capabilities,\"attributeHook\")|capability(capabilities,\"elementHook\")|capability(capabilities,\"dynamicScope\")|capability(capabilities,\"createCaller\")|capability(capabilities,\"updateHook\")|capability(capabilities,\"createInstance\")|capability(capabilities,\"wrapped\")|capability(capabilities,\"willDestroy\")|capability(capabilities,\"hasSubOwner\");}function capability(capabilities,capability){return capabilities[capability]?InternalComponentCapabilities[capability]:EMPTY;}function managerHasCapability(_manager,capabilities,capability){return!!(capabilities&capability);}function hasCapability(capabilities,capability){return!!(capabilities&capability);}function helperCapabilities(managerAPI){let options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return buildCapabilities({hasValue:Boolean(options.hasValue),hasDestroyable:Boolean(options.hasDestroyable),hasScheduledEffect:Boolean(options.hasScheduledEffect)});}////////////\nfunction hasValue(manager){return manager.capabilities.hasValue;}function hasDestroyable(manager){return manager.capabilities.hasDestroyable;}////////////\nclass CustomHelperManager{constructor(factory){_defineProperty(this,\"helperManagerDelegates\",new WeakMap());_defineProperty(this,\"undefinedDelegate\",null);this.factory=factory;}getDelegateForOwner(owner){let delegate=this.helperManagerDelegates.get(owner);if(void 0===delegate){let{factory:factory}=this;if(delegate=factory(owner),false/* DEBUG */)// TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200\n;this.helperManagerDelegates.set(owner,delegate);}return delegate;}getDelegateFor(owner){if(void 0===owner){let{undefinedDelegate:undefinedDelegate}=this;if(null===undefinedDelegate){let{factory:factory}=this;this.undefinedDelegate=undefinedDelegate=factory(void 0);}return undefinedDelegate;}return this.getDelegateForOwner(owner);}getHelper(definition){return(capturedArgs,owner)=>{let manager=this.getDelegateFor(owner);const args=argsProxyFor(capturedArgs),bucket=manager.createHelper(definition,args);if(hasValue(manager)){let cache=createComputeRef(()=>manager.getValue(bucket),null,false/* DEBUG */);return hasDestroyable(manager)&&associateDestroyableChild(cache,manager.getDestroyable(bucket)),cache;}if(hasDestroyable(manager)){let ref=createConstRef(void 0);return associateDestroyableChild(ref,manager.getDestroyable(bucket)),ref;}return UNDEFINED_REFERENCE;};}}class FunctionHelperManager{constructor(){_defineProperty(this,\"capabilities\",buildCapabilities({hasValue:!0,hasDestroyable:!1,hasScheduledEffect:!1}));}createHelper(fn,args){return{fn:fn,args:args};}getValue(_ref7){let{fn:fn,args:args}=_ref7;return Object.keys(args.named).length>0?fn(...args.positional,args.named):fn(...args.positional);}getDebugName(fn){return fn.name?`(helper function ${fn.name})`:\"(anonymous helper function)\";}}const COMPONENT_MANAGERS=new WeakMap(),MODIFIER_MANAGERS=new WeakMap(),HELPER_MANAGERS=new WeakMap(),getPrototypeOf$1=Object.getPrototypeOf;function setManager(map,manager,obj){return map.set(obj,manager),obj;}function getManager(map,obj){let pointer=obj;for(;null!=pointer;){const manager=map.get(pointer);if(void 0!==manager)return manager;pointer=getPrototypeOf$1(pointer);}}///////////\nfunction setInternalModifierManager(manager,definition){return setManager(MODIFIER_MANAGERS,manager,definition);}function getInternalModifierManager(definition,isOptional){const manager=getManager(MODIFIER_MANAGERS,definition);if(void 0===manager){if(!0===isOptional)return null;}return manager;}function setInternalHelperManager(manager,definition){return setManager(HELPER_MANAGERS,manager,definition);}const DEFAULT_MANAGER=new CustomHelperManager(()=>new FunctionHelperManager());function getInternalHelperManager(definition,isOptional){let manager=getManager(HELPER_MANAGERS,definition);// Functions are special-cased because functions are defined\n// as the \"default\" helper, per: https://github.com/emberjs/rfcs/pull/756\nif(void 0===manager&&\"function\"==typeof definition&&(manager=DEFAULT_MANAGER),manager)return manager;if(!0===isOptional)return null;return null;}function setInternalComponentManager(factory,obj){return setManager(COMPONENT_MANAGERS,factory,obj);}function getInternalComponentManager(definition,isOptional){const manager=getManager(COMPONENT_MANAGERS,definition);if(void 0===manager){if(!0===isOptional)return null;}return manager;}///////////\nfunction hasInternalComponentManager(definition){return void 0!==getManager(COMPONENT_MANAGERS,definition);}function hasInternalHelperManager(definition){return function(definition){return\"function\"==typeof definition;}(definition)||void 0!==getManager(HELPER_MANAGERS,definition);}function hasInternalModifierManager(definition){return void 0!==getManager(MODIFIER_MANAGERS,definition);}const CAPABILITIES$4={dynamicLayout:!1,dynamicTag:!1,prepareArgs:!1,createArgs:!0,attributeHook:!1,elementHook:!1,createCaller:!1,dynamicScope:!0,updateHook:!0,createInstance:!0,wrapped:!1,willDestroy:!1,hasSubOwner:!1};function componentCapabilities(managerAPI){let options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let updateHook=Boolean(options.updateHook);return buildCapabilities({asyncLifeCycleCallbacks:Boolean(options.asyncLifecycleCallbacks),destructor:Boolean(options.destructor),updateHook:updateHook});}function hasAsyncLifeCycleCallbacks(delegate){return delegate.capabilities.asyncLifeCycleCallbacks;}function hasUpdateHook(delegate){return delegate.capabilities.updateHook;}/**\n            The CustomComponentManager allows addons to provide custom component\n            implementations that integrate seamlessly into Ember. This is accomplished\n            through a delegate, registered with the custom component manager, which\n            implements a set of hooks that determine component behavior.\n\n            To create a custom component manager, instantiate a new CustomComponentManager\n            class and pass the delegate as the first argument:\n\n            ```js\n            let manager = new CustomComponentManager({\n              // ...delegate implementation...\n            });\n            ```\n\n            ## Delegate Hooks\n\n            Throughout the lifecycle of a component, the component manager will invoke\n            delegate hooks that are responsible for surfacing those lifecycle changes to\n            the end developer.\n\n            * `create()` - invoked when a new instance of a component should be created\n            * `update()` - invoked when the arguments passed to a component change\n            * `getContext()` - returns the object that should be\n          */class CustomComponentManager{constructor(factory){_defineProperty(this,\"componentManagerDelegates\",new WeakMap());this.factory=factory;}getDelegateFor(owner){let{componentManagerDelegates:componentManagerDelegates}=this,delegate=componentManagerDelegates.get(owner);if(void 0===delegate){let{factory:factory}=this;if(delegate=factory(owner),false/* DEBUG */)// TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200\n;componentManagerDelegates.set(owner,delegate);}return delegate;}create(owner,definition,vmArgs){let delegate=this.getDelegateFor(owner),args=argsProxyFor(vmArgs.capture()),component=delegate.createComponent(definition,args);return new CustomComponentState(component,delegate,args);}getDebugName(definition){return\"function\"==typeof definition?definition.name:definition.toString();}update(bucket){let{delegate:delegate}=bucket;if(hasUpdateHook(delegate)){let{component:component,args:args}=bucket;delegate.updateComponent(component,args);}}didCreate(_ref8){let{component:component,delegate:delegate}=_ref8;hasAsyncLifeCycleCallbacks(delegate)&&delegate.didCreateComponent(component);}didUpdate(_ref9){let{component:component,delegate:delegate}=_ref9;(function(delegate){return hasAsyncLifeCycleCallbacks(delegate)&&hasUpdateHook(delegate);})(delegate)&&delegate.didUpdateComponent(component);}didRenderLayout(){}didUpdateLayout(){}getSelf(_ref0){let{component:component,delegate:delegate}=_ref0;return createConstRef(delegate.getContext(component));}getDestroyable(bucket){const{delegate:delegate}=bucket;if(function(delegate){return delegate.capabilities.destructor;}(delegate)){const{component:component}=bucket;return registerDestructor$1(bucket,()=>delegate.destroyComponent(component)),bucket;}return null;}getCapabilities(){return CAPABILITIES$4;}}/**\n           * Stores internal state about a component instance after it's been created.\n           */class CustomComponentState{constructor(component,delegate,args){this.component=component,this.delegate=delegate,this.args=args;}}function modifierCapabilities(managerAPI){let optionalFeatures=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return buildCapabilities({disableAutoTracking:Boolean(optionalFeatures.disableAutoTracking)});}/**\n            The CustomModifierManager allows addons to provide custom modifier\n            implementations that integrate seamlessly into Ember. This is accomplished\n            through a delegate, registered with the custom modifier manager, which\n            implements a set of hooks that determine modifier behavior.\n            To create a custom modifier manager, instantiate a new CustomModifierManager\n            class and pass the delegate as the first argument:\n\n            ```js\n            let manager = new CustomModifierManager({\n              // ...delegate implementation...\n            });\n            ```\n\n            ## Delegate Hooks\n\n            Throughout the lifecycle of a modifier, the modifier manager will invoke\n            delegate hooks that are responsible for surfacing those lifecycle changes to\n            the end developer.\n            * `createModifier()` - invoked when a new instance of a modifier should be created\n            * `installModifier()` - invoked when the modifier is installed on the element\n            * `updateModifier()` - invoked when the arguments passed to a modifier change\n            * `destroyModifier()` - invoked when the modifier is about to be destroyed\n          */class CustomModifierManager{constructor(factory){_defineProperty(this,\"componentManagerDelegates\",new WeakMap());this.factory=factory;}getDelegateFor(owner){let{componentManagerDelegates:componentManagerDelegates}=this,delegate=componentManagerDelegates.get(owner);if(void 0===delegate){let{factory:factory}=this;if(delegate=factory(owner),false/* DEBUG */)// TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200\n;componentManagerDelegates.set(owner,delegate);}return delegate;}create(owner,element,definition,capturedArgs){let state,delegate=this.getDelegateFor(owner),args=argsProxyFor(capturedArgs),instance=delegate.createModifier(definition,args);return state={tag:createUpdatableTag(),element:element,delegate:delegate,args:args,modifier:instance},registerDestructor$1(state,()=>delegate.destroyModifier(instance,args)),state;}getDebugName(definition){return\"function\"==typeof definition?definition.name||definition.toString():\"<unknown>\";}getDebugInstance(_ref1){let{modifier:modifier}=_ref1;return modifier;}getTag(_ref10){let{tag:tag}=_ref10;return tag;}install(_ref11){let{element:element,args:args,modifier:modifier,delegate:delegate}=_ref11;let{capabilities:capabilities}=delegate;!0===capabilities.disableAutoTracking?untrack(()=>delegate.installModifier(modifier,castToBrowser(element,\"ELEMENT\"),args)):delegate.installModifier(modifier,castToBrowser(element,\"ELEMENT\"),args);}update(_ref12){let{args:args,modifier:modifier,delegate:delegate}=_ref12;let{capabilities:capabilities}=delegate;!0===capabilities.disableAutoTracking?untrack(()=>delegate.updateModifier(modifier,args)):delegate.updateModifier(modifier,args);}getDestroyable(state){return state;}}function setComponentManager$1(factory,obj){return setInternalComponentManager(new CustomComponentManager(factory),obj);}function setModifierManager$1(factory,obj){return setInternalModifierManager(new CustomModifierManager(factory),obj);}function setHelperManager$1(factory,obj){return setInternalHelperManager(new CustomHelperManager(factory),obj);}const TEMPLATES$1=new WeakMap(),getPrototypeOf$2=Object.getPrototypeOf;function setComponentTemplate(factory,obj){return TEMPLATES$1.set(obj,factory),obj;}function getComponentTemplate(obj){let pointer=obj;for(;null!==pointer;){let template=TEMPLATES$1.get(pointer);if(void 0!==template)return template;pointer=getPrototypeOf$2(pointer);}}const glimmerManager=/*#__PURE__*/Object.defineProperty({__proto__:null,CustomComponentManager,CustomHelperManager,CustomModifierManager,capabilityFlagsFrom,componentCapabilities,getComponentTemplate,getCustomTagFor,getInternalComponentManager,getInternalHelperManager,getInternalModifierManager,hasCapability,hasDestroyable,hasInternalComponentManager,hasInternalHelperManager,hasInternalModifierManager,hasValue,helperCapabilities,managerHasCapability,modifierCapabilities,setComponentManager:setComponentManager$1,setComponentTemplate,setCustomTagFor,setHelperManager:setHelperManager$1,setInternalComponentManager,setInternalHelperManager,setInternalModifierManager,setModifierManager:setModifierManager$1},Symbol.toStringTag,{value:'Module'});/* This file is generated by build/debug.js */let debugCompiler;function makeResolutionTypeVerifier(typeToVerify){return opcode=>{if(!function(opcode){return Array.isArray(opcode)&&2===opcode.length;}(opcode))return!1;let type=opcode[0];return type===opcodes.GetStrictKeyword||type===opcodes.GetLexicalSymbol||type===typeToVerify;};}new Array(Op.Size).fill(null),new Array(Op.Size).fill(null);const isGetFreeComponent=makeResolutionTypeVerifier(opcodes.GetFreeAsComponentHead),isGetFreeModifier=makeResolutionTypeVerifier(opcodes.GetFreeAsModifierHead),isGetFreeHelper=makeResolutionTypeVerifier(opcodes.GetFreeAsHelperHead),isGetFreeComponentOrHelper=makeResolutionTypeVerifier(opcodes.GetFreeAsComponentOrHelperHead);function assertResolverInvariants(meta){return meta;}/**\n           * <Foo/>\n           * <Foo></Foo>\n           * <Foo @arg={{true}} />\n           */function lookupBuiltInHelper(expr,resolver,meta,constants,type){let{upvars:upvars}=assertResolverInvariants(meta),name=unwrap$1(upvars[expr[1]]),helper=resolver.lookupBuiltInHelper(name);return constants.helper(helper,name);}const HighLevelResolutionOpcodes={Modifier:1003,Component:1004,Helper:1005,ComponentOrHelper:1007,OptionalComponentOrHelper:1008,Local:1010,TemplateLocal:1011},HighLevelBuilderOpcodes={Label:1e3,StartLabels:1001,StopLabels:1002,Start:1e3,End:1002},HighLevelOperands={Label:1,IsStrictMode:2,DebugSymbols:3,Block:4,StdLib:5,NonSmallInt:6,SymbolTable:7,Layout:8};function labelOperand(value){return{type:HighLevelOperands.Label,value:value};}function isStrictMode(){return{type:HighLevelOperands.IsStrictMode,value:void 0};}function stdlibOperand(value){return{type:HighLevelOperands.StdLib,value:value};}function symbolTableOperand(value){return{type:HighLevelOperands.SymbolTable,value:value};}function layoutOperand(value){return{type:HighLevelOperands.Layout,value:value};}class Labels{constructor(){_defineProperty(this,\"labels\",dict());_defineProperty(this,\"targets\",[]);}label(name,index){this.labels[name]=index;}target(at,target){this.targets.push({at:at,target:target});}patch(heap){let{targets:targets,labels:labels}=this;for(const{at:at,target:target}of targets){let address=labels[target]-at;debugAssert(-1===heap.getbyaddr(at),\"Expected heap to contain a placeholder, but it did not\"),heap.setbyaddr(at,address);}}}function encodeOp(encoder,constants,resolver,meta,op){if(function(op){return op<HighLevelBuilderOpcodes.Start;}(op[0])){let[type,...operands]=op;encoder.push(constants,type,...operands);}else switch(op[0]){case HighLevelBuilderOpcodes.Label:return encoder.label(op[1]);case HighLevelBuilderOpcodes.StartLabels:return encoder.startLabels();case HighLevelBuilderOpcodes.StopLabels:return encoder.stopLabels();case HighLevelResolutionOpcodes.Component:return function(resolver,constants,meta,_ref13){let[,expr,then]=_ref13;debugAssert(isGetFreeComponent(expr),\"Attempted to resolve a component with incorrect opcode\");let type=expr[0];if(type===opcodes.GetLexicalSymbol){let{scopeValues:scopeValues,owner:owner}=meta,definition=expect(scopeValues,\"BUG: scopeValues must exist if template symbol is used\")[expr[1]];then(constants.component(definition,expect(owner,\"BUG: expected owner when resolving component definition\")));}else{let{upvars:upvars,owner:owner}=assertResolverInvariants(meta),name=unwrap$1(upvars[expr[1]]),definition=resolver.lookupComponent(name,owner);then(constants.resolvedComponent(definition,name));}}/**\n                * (helper)\n                * (helper arg)\n                */(resolver,constants,meta,op);case HighLevelResolutionOpcodes.Modifier:/**\n                * <div {{modifier}}/>\n                * <div {{modifier arg}}/>\n                * <Foo {{modifier}}/>\n                */return function(resolver,constants,meta,_ref14){let[,expr,then]=_ref14;debugAssert(isGetFreeModifier(expr),\"Attempted to resolve a modifier with incorrect opcode\");let type=expr[0];if(type===opcodes.GetLexicalSymbol){let{scopeValues:scopeValues}=meta,definition=expect(scopeValues,\"BUG: scopeValues must exist if template symbol is used\")[expr[1]];then(constants.modifier(definition));}else if(type===opcodes.GetStrictKeyword){let{upvars:upvars}=assertResolverInvariants(meta),name=unwrap$1(upvars[expr[1]]),modifier=resolver.lookupBuiltInModifier(name);then(constants.modifier(modifier,name));}else{let{upvars:upvars,owner:owner}=assertResolverInvariants(meta),name=unwrap$1(upvars[expr[1]]),modifier=resolver.lookupModifier(name,owner);then(constants.modifier(modifier,name));}}/**\n                * {{component-or-helper arg}}\n                */(resolver,constants,meta,op);case HighLevelResolutionOpcodes.Helper:return function(resolver,constants,meta,_ref15){let[,expr,then]=_ref15;debugAssert(isGetFreeHelper(expr),\"Attempted to resolve a helper with incorrect opcode\");let type=expr[0];if(type===opcodes.GetLexicalSymbol){let{scopeValues:scopeValues}=meta,definition=expect(scopeValues,\"BUG: scopeValues must exist if template symbol is used\")[expr[1]];then(constants.helper(definition));}else if(type===opcodes.GetStrictKeyword)then(lookupBuiltInHelper(expr,resolver,meta,constants));else{let{upvars:upvars,owner:owner}=assertResolverInvariants(meta),name=unwrap$1(upvars[expr[1]]),helper=resolver.lookupHelper(name,owner);then(constants.helper(helper,name));}}(resolver,constants,meta,op);case HighLevelResolutionOpcodes.ComponentOrHelper:return function(resolver,constants,meta,_ref16){let[,expr,{ifComponent:ifComponent,ifHelper:ifHelper}]=_ref16;debugAssert(isGetFreeComponentOrHelper(expr),\"Attempted to resolve a component or helper with incorrect opcode\");let type=expr[0];if(type===opcodes.GetLexicalSymbol){let{scopeValues:scopeValues,owner:owner}=meta,definition=expect(scopeValues,\"BUG: scopeValues must exist if template symbol is used\")[expr[1]],component=constants.component(definition,expect(owner,\"BUG: expected owner when resolving component definition\"),!0);if(null!==component)return void ifComponent(component);let helper=constants.helper(definition,null,!0);ifHelper(expect(helper,\"BUG: helper must exist\"));}else if(type===opcodes.GetStrictKeyword)ifHelper(lookupBuiltInHelper(expr,resolver,meta,constants));else{let{upvars:upvars,owner:owner}=assertResolverInvariants(meta),name=unwrap$1(upvars[expr[1]]),definition=resolver.lookupComponent(name,owner);if(null!==definition)ifComponent(constants.resolvedComponent(definition,name));else{let helper=resolver.lookupHelper(name,owner);ifHelper(constants.helper(helper,name));}}}/**\n                * {{maybeHelperOrComponent}}\n                */(resolver,constants,meta,op);case HighLevelResolutionOpcodes.OptionalComponentOrHelper:return function(resolver,constants,meta,_ref17){let[,expr,{ifComponent:ifComponent,ifHelper:ifHelper,ifValue:ifValue}]=_ref17;debugAssert(isGetFreeComponentOrHelper(expr),\"Attempted to resolve an optional component or helper with incorrect opcode\");let type=expr[0];if(type===opcodes.GetLexicalSymbol){let{scopeValues:scopeValues,owner:owner}=meta,definition=expect(scopeValues,\"BUG: scopeValues must exist if template symbol is used\")[expr[1]];if(\"function\"!=typeof definition&&(\"object\"!=typeof definition||null===definition))// The value is not an object, so it can't be a component or helper.\nreturn void ifValue(constants.value(definition));let component=constants.component(definition,expect(owner,\"BUG: expected owner when resolving component definition\"),!0);if(null!==component)return void ifComponent(component);let helper=constants.helper(definition,null,!0);if(null!==helper)return void ifHelper(helper);ifValue(constants.value(definition));}else if(type===opcodes.GetStrictKeyword)ifHelper(lookupBuiltInHelper(expr,resolver,meta,constants));else{let{upvars:upvars,owner:owner}=assertResolverInvariants(meta),name=unwrap$1(upvars[expr[1]]),definition=resolver.lookupComponent(name,owner);if(null!==definition)return void ifComponent(constants.resolvedComponent(definition,name));let helper=resolver.lookupHelper(name,owner);null!==helper&&ifHelper(constants.helper(helper,name));}}(resolver,constants,meta,op);case HighLevelResolutionOpcodes.Local:{let freeVar=op[1],name=expect(meta.upvars,\"BUG: attempted to resolve value but no upvars found\")[freeVar];(0,op[2])(name,meta.moduleName);break;}case HighLevelResolutionOpcodes.TemplateLocal:{let[,valueIndex,then]=op,value=expect(meta.scopeValues,\"BUG: Attempted to get a template local, but template does not have any\")[valueIndex];then(constants.value(value));break;}default:throw new Error(`Unexpected high level opcode ${op[0]}`);}}class EncoderImpl{constructor(heap,meta,stdlib){_defineProperty(this,\"labelsStack\",new StackImpl());_defineProperty(this,\"encoder\",new InstructionEncoderImpl([]));_defineProperty(this,\"errors\",[]);_defineProperty(this,\"handle\",void 0);this.heap=heap,this.meta=meta,this.stdlib=stdlib,this.handle=heap.malloc();}error(error){this.encoder.encode(Op.Primitive,0),this.errors.push(error);}commit(size){let handle=this.handle;return this.heap.pushMachine(MachineOp.Return),this.heap.finishMalloc(handle,size),isPresentArray(this.errors)?{errors:this.errors,handle:handle}:handle;}push(constants,type){let{heap:heap}=this;let first=type|(isMachineOp(type)?MACHINE_MASK:0)|(arguments.length<=2?0:arguments.length-2)<<ARG_SHIFT;heap.pushRaw(first);for(let i=0;i<(arguments.length<=2?0:arguments.length-2);i++){let op=i+2<2||arguments.length<=i+2?undefined:arguments[i+2];heap.pushRaw(this.operand(constants,op));}}operand(constants,operand){if(\"number\"==typeof operand)return operand;if(\"object\"==typeof operand&&null!==operand){if(Array.isArray(operand))return encodeHandle(constants.array(operand));switch(operand.type){case HighLevelOperands.Label:return this.currentLabels.target(this.heap.offset,operand.value),-1;case HighLevelOperands.IsStrictMode:return encodeHandle(constants.value(this.meta.isStrictMode));case HighLevelOperands.DebugSymbols:return encodeHandle(constants.array(this.meta.evalSymbols||EMPTY_STRING_ARRAY));case HighLevelOperands.Block:return encodeHandle(constants.value((block=operand.value,containing=this.meta,new CompilableTemplateImpl(block[0],containing,{parameters:block[1]||EMPTY_ARRAY$4}))));case HighLevelOperands.StdLib:return expect(this.stdlib,\"attempted to encode a stdlib operand, but the encoder did not have a stdlib. Are you currently building the stdlib?\")[operand.value];case HighLevelOperands.NonSmallInt:case HighLevelOperands.SymbolTable:case HighLevelOperands.Layout:return constants.value(operand.value);}}var block,containing;return encodeHandle(constants.value(operand));}get currentLabels(){return expect(this.labelsStack.current,\"bug: not in a label stack\");}label(name){this.currentLabels.label(name,this.heap.offset+1);}startLabels(){this.labelsStack.push(new Labels());}stopLabels(){expect(this.labelsStack.pop(),\"unbalanced push and pop labels\").patch(this.heap);}}class StdLib{constructor(main,trustingGuardedAppend,cautiousGuardedAppend,trustingNonDynamicAppend,cautiousNonDynamicAppend){this.main=main,this.trustingGuardedAppend=trustingGuardedAppend,this.cautiousGuardedAppend=cautiousGuardedAppend,this.trustingNonDynamicAppend=trustingNonDynamicAppend,this.cautiousNonDynamicAppend=cautiousNonDynamicAppend;}get\"trusting-append\"(){return this.trustingGuardedAppend;}get\"cautious-append\"(){return this.cautiousGuardedAppend;}get\"trusting-non-dynamic-append\"(){return this.trustingNonDynamicAppend;}get\"cautious-non-dynamic-append\"(){return this.cautiousNonDynamicAppend;}getAppend(trusting){return trusting?this.trustingGuardedAppend:this.cautiousGuardedAppend;}}class NamedBlocksImpl{constructor(blocks){_defineProperty(this,\"names\",void 0);this.blocks=blocks,this.names=blocks?Object.keys(blocks):[];}get(name){return this.blocks&&this.blocks[name]||null;}has(name){let{blocks:blocks}=this;return null!==blocks&&name in blocks;}with(name,block){let{blocks:blocks}=this;return new NamedBlocksImpl(blocks?assign({},blocks,{[name]:block}):{[name]:block});}get hasAny(){return null!==this.blocks;}}const EMPTY_BLOCKS=new NamedBlocksImpl(null);function namedBlocks(blocks){if(null===blocks)return EMPTY_BLOCKS;let out=dict(),[keys,values]=blocks;for(const[i,key]of enumerate(keys))out[key]=unwrap$1(values[i]);return new NamedBlocksImpl(out);}/**\n           * Push a reference onto the stack corresponding to a statically known primitive\n           * @param value A JavaScript primitive (undefined, null, boolean, number or string)\n           */function PushPrimitiveReference(op,value){PushPrimitive(op,value),op(Op.PrimitiveReference);}/**\n           * Push an encoded representation of a JavaScript primitive on the stack\n           *\n           * @param value A JavaScript primitive (undefined, null, boolean, number or string)\n           */function PushPrimitive(op,primitive){let p=primitive;var value;\"number\"==typeof p&&(p=isSmallInt(p)?encodeImmediate(p):(debugAssert(!isSmallInt(value=p),\"Attempted to make a operand for an int that was not a small int, you should encode this as an immediate\"),{type:HighLevelOperands.NonSmallInt,value:value})),op(Op.Primitive,p);}/**\n           * Invoke a foreign function (a \"helper\") based on a statically known handle\n           *\n           * @param op The op creation function\n           * @param handle A handle\n           * @param positional An optional list of expressions to compile\n           * @param named An optional list of named arguments (name + expression) to compile\n           */function Call(op,handle,positional,named){op(MachineOp.PushFrame),SimpleArgs(op,positional,named,!1),op(Op.Helper,handle),op(MachineOp.PopFrame),op(Op.Fetch,$v0);}/**\n           * Invoke a foreign function (a \"helper\") based on a dynamically loaded definition\n           *\n           * @param op The op creation function\n           * @param positional An optional list of expressions to compile\n           * @param named An optional list of named arguments (name + expression) to compile\n           */function CallDynamic(op,positional,named,append){op(MachineOp.PushFrame),SimpleArgs(op,positional,named,!1),op(Op.Dup,$fp,1),op(Op.DynamicHelper),append?(op(Op.Fetch,$v0),append(),op(MachineOp.PopFrame),op(Op.Pop,1)):(op(MachineOp.PopFrame),op(Op.Pop,1),op(Op.Fetch,$v0));}/**\n           * Evaluate statements in the context of new dynamic scope entries. Move entries from the\n           * stack into named entries in the dynamic scope, then evaluate the statements, then pop\n           * the dynamic scope\n           *\n           * @param names a list of dynamic scope names\n           * @param block a function that returns a list of statements to evaluate\n           */function Curry(op,type,definition,positional,named){op(MachineOp.PushFrame),SimpleArgs(op,positional,named,!1),op(Op.CaptureArgs),expr(op,definition),op(Op.Curry,type,isStrictMode()),op(MachineOp.PopFrame),op(Op.Fetch,$v0);}class Compilers{constructor(){_defineProperty(this,\"names\",{});_defineProperty(this,\"funcs\",[]);}add(name,func){this.names[name]=this.funcs.push(func)-1;}compile(op,sexp){let name=sexp[0],index=unwrap$1(this.names[name]),func=this.funcs[index];debugAssert(!!func,`expected an implementation for ${sexp[0]}`),func(op,sexp);}}const EXPRESSIONS=new Compilers();function withPath(op,path){if(void 0!==path&&0!==path.length)for(let i=0;i<path.length;i++)op(Op.GetProperty,path[i]);}function expr(op,expression){Array.isArray(expression)?EXPRESSIONS.compile(op,expression):(PushPrimitive(op,expression),op(Op.PrimitiveReference));}/**\n           * Compile arguments, pushing an Arguments object onto the stack.\n           *\n           * @param args.params\n           * @param args.hash\n           * @param args.blocks\n           * @param args.atNames\n           */function SimpleArgs(op,positional,named,atNames){if(null===positional&&null===named)return void op(Op.PushEmptyArgs);let flags=CompilePositional(op,positional)<<4;atNames&&(flags|=8);let names=EMPTY_STRING_ARRAY;if(named){names=named[0];let val=named[1];for(let i=0;i<val.length;i++)expr(op,val[i]);}op(Op.PushArgs,names,EMPTY_STRING_ARRAY,flags);}/**\n           * Compile an optional list of positional arguments, which pushes each argument\n           * onto the stack and returns the number of parameters compiled\n           *\n           * @param positional an optional list of positional arguments\n           */function CompilePositional(op,positional){if(null===positional)return 0;for(let i=0;i<positional.length;i++)expr(op,positional[i]);return positional.length;}function meta$1(layout){var _layout$scope;let[,symbols,,upvars]=layout.block;return{evalSymbols:evalSymbols(layout),upvars:upvars,scopeValues:((_layout$scope=layout.scope)===null||_layout$scope===void 0?void 0:_layout$scope.call(layout))??null,isStrictMode:layout.isStrictMode,moduleName:layout.moduleName,owner:layout.owner,size:symbols.length};}function evalSymbols(layout){let{block:block}=layout,[,symbols,hasEval]=block;return hasEval?symbols:null;}/**\n           * Yield to a block located at a particular symbol location.\n           *\n           * @param to the symbol containing the block to yield to\n           * @param params optional block parameters to yield to the block\n           */function YieldBlock(op,to,positional){SimpleArgs(op,positional,null,!0),op(Op.GetBlock,to),op(Op.SpreadBlock),op(Op.CompileBlock),op(Op.InvokeYield),op(Op.PopScope),op(MachineOp.PopFrame);}/**\n           * Push an (optional) yieldable block onto the stack. The yieldable block must be known\n           * statically at compile time.\n           *\n           * @param block An optional Compilable block\n           */function PushYieldableBlock(op,block){!function(op,parameters){null!==parameters?op(Op.PushSymbolTable,symbolTableOperand({parameters:parameters})):PushPrimitive(op,null);}(op,block&&block[1]),op(Op.PushBlockScope),PushCompilable(op,block);}/**\n           * Invoke a block that is known statically at compile time.\n           *\n           * @param block a Compilable block\n           */function InvokeStaticBlock(op,block){op(MachineOp.PushFrame),PushCompilable(op,block),op(Op.CompileBlock),op(MachineOp.InvokeVirtual),op(MachineOp.PopFrame);}/**\n           * Invoke a static block, preserving some number of stack entries for use in\n           * updating.\n           *\n           * @param block A compilable block\n           * @param callerCount A number of stack entries to preserve\n           */function InvokeStaticBlockWithStack(op,block,callerCount){let parameters=block[1],calleeCount=parameters.length,count=Math.min(callerCount,calleeCount);if(0!==count){if(op(MachineOp.PushFrame),count){op(Op.ChildScope);for(let i=0;i<count;i++)op(Op.Dup,$fp,callerCount-i),op(Op.SetVariable,parameters[i]);}PushCompilable(op,block),op(Op.CompileBlock),op(MachineOp.InvokeVirtual),count&&op(Op.PopScope),op(MachineOp.PopFrame);}else InvokeStaticBlock(op,block);}function PushCompilable(op,_block){var value;null===_block?PushPrimitive(op,null):op(Op.Constant,(value=_block,{type:HighLevelOperands.Block,value:value}));}function SwitchCases(op,bootstrap,matcher){// Setup the switch DSL\nlet clauses=[],count=0;// Call the callback\nmatcher(function(match,callback){clauses.push({match:match,callback:callback,label:\"CLAUSE\"+count++});}),// Emit the opcodes for the switch\nop(Op.Enter,1),bootstrap(),op(HighLevelBuilderOpcodes.StartLabels);// First, emit the jump opcodes. We don't need a jump for the last\n// opcode, since it bleeds directly into its clause.\nfor(let clause of clauses.slice(0,-1))op(Op.JumpEq,labelOperand(clause.label),clause.match);// Enumerate the clauses in reverse order. Earlier matches will\n// require fewer checks.\nfor(let i=clauses.length-1;i>=0;i--){let clause=unwrap$1(clauses[i]);op(HighLevelBuilderOpcodes.Label,clause.label),op(Op.Pop,1),clause.callback(),// The first match is special: it is placed directly before the END\n// label, so no additional jump is needed at the end of it.\n0!==i&&op(MachineOp.Jump,labelOperand(\"END\"));}op(HighLevelBuilderOpcodes.Label,\"END\"),op(HighLevelBuilderOpcodes.StopLabels),op(Op.Exit);}/**\n           * A convenience for pushing some arguments on the stack and\n           * running some code if the code needs to be re-executed during\n           * updating execution if some of the arguments have changed.\n           *\n           * # Initial Execution\n           *\n           * The `args` function should push zero or more arguments onto\n           * the stack and return the number of arguments pushed.\n           *\n           * The `body` function provides the instructions to execute both\n           * during initial execution and during updating execution.\n           *\n           * Internally, this function starts by pushing a new frame, so\n           * that the body can return and sets the return point ($ra) to\n           * the ENDINITIAL label.\n           *\n           * It then executes the `args` function, which adds instructions\n           * responsible for pushing the arguments for the block to the\n           * stack. These arguments will be restored to the stack before\n           * updating execution.\n           *\n           * Next, it adds the Enter opcode, which marks the current position\n           * in the DOM, and remembers the current $pc (the next instruction)\n           * as the first instruction to execute during updating execution.\n           *\n           * Next, it runs `body`, which adds the opcodes that should\n           * execute both during initial execution and during updating execution.\n           * If the `body` wishes to finish early, it should Jump to the\n           * `FINALLY` label.\n           *\n           * Next, it adds the FINALLY label, followed by:\n           *\n           * - the Exit opcode, which finalizes the marked DOM started by the\n           *   Enter opcode.\n           * - the Return opcode, which returns to the current return point\n           *   ($ra).\n           *\n           * Finally, it adds the ENDINITIAL label followed by the PopFrame\n           * instruction, which restores $fp, $sp and $ra.\n           *\n           * # Updating Execution\n           *\n           * Updating execution for this `replayable` occurs if the `body` added an\n           * assertion, via one of the `JumpIf`, `JumpUnless` or `AssertSame` opcodes.\n           *\n           * If, during updating executon, the assertion fails, the initial VM is\n           * restored, and the stored arguments are pushed onto the stack. The DOM\n           * between the starting and ending markers is cleared, and the VM's cursor\n           * is set to the area just cleared.\n           *\n           * The return point ($ra) is set to -1, the exit instruction.\n           *\n           * Finally, the $pc is set to to the instruction saved off by the\n           * Enter opcode during initial execution, and execution proceeds as\n           * usual.\n           *\n           * The only difference is that when a `Return` instruction is\n           * encountered, the program jumps to -1 rather than the END label,\n           * and the PopFrame opcode is not needed.\n           */function Replayable(op,args,body){// Start a new label frame, to give END and RETURN\n// a unique meaning.\nop(HighLevelBuilderOpcodes.StartLabels),op(MachineOp.PushFrame),// If the body invokes a block, its return will return to\n// END. Otherwise, the return in RETURN will return to END.\nop(MachineOp.ReturnTo,labelOperand(\"ENDINITIAL\"));// Push the arguments onto the stack. The args() function\n// tells us how many stack elements to retain for re-execution\n// when updating.\nlet count=args();// Start a new updating closure, remembering `count` elements\n// from the stack. Everything after this point, and before END,\n// will execute both initially and to update the block.\n// The enter and exit opcodes also track the area of the DOM\n// associated with this block. If an assertion inside the block\n// fails (for example, the test value changes from true to false\n// in an #if), the DOM is cleared and the program is re-executed,\n// restoring `count` elements to the stack and executing the\n// instructions between the enter and exit.\nop(Op.Enter,count),// Evaluate the body of the block. The body of the block may\n// return, which will jump execution to END during initial\n// execution, and exit the updating routine.\nbody(),// All execution paths in the body should run the FINALLY once\n// they are done. It is executed both during initial execution\n// and during updating execution.\nop(HighLevelBuilderOpcodes.Label,\"FINALLY\"),// Finalize the DOM.\nop(Op.Exit),// In initial execution, this is a noop: it returns to the\n// immediately following opcode. In updating execution, this\n// exits the updating routine.\nop(MachineOp.Return),// Cleanup code for the block. Runs on initial execution\n// but not on updating.\nop(HighLevelBuilderOpcodes.Label,\"ENDINITIAL\"),op(MachineOp.PopFrame),op(HighLevelBuilderOpcodes.StopLabels);}/**\n           * A specialized version of the `replayable` convenience that allows the\n           * caller to provide different code based upon whether the item at\n           * the top of the stack is true or false.\n           *\n           * As in `replayable`, the `ifTrue` and `ifFalse` code can invoke `return`.\n           *\n           * During the initial execution, a `return` will continue execution\n           * in the cleanup code, which finalizes the current DOM block and pops\n           * the current frame.\n           *\n           * During the updating execution, a `return` will exit the updating\n           * routine, as it can reuse the DOM block and is always only a single\n           * frame deep.\n           */function ReplayableIf(op,args,ifTrue,ifFalse){return Replayable(op,args,()=>{// If the conditional is false, jump to the ELSE label.\nop(Op.JumpUnless,labelOperand(\"ELSE\")),// Otherwise, execute the code associated with the true branch.\nifTrue(),// We're done, so return. In the initial execution, this runs\n// the cleanup code. In the updating VM, it exits the updating\n// routine.\nop(MachineOp.Jump,labelOperand(\"FINALLY\")),op(HighLevelBuilderOpcodes.Label,\"ELSE\"),// If the conditional is false, and code associatied ith the\n// false branch was provided, execute it. If there was no code\n// associated with the false branch, jumping to the else statement\n// has no other behavior.\nvoid 0!==ifFalse&&ifFalse();});}// {{component}}\n// <Component>\n// chokepoint\nfunction InvokeComponent(op,component,_elementBlock,positional,named,_blocks){let{compilable:compilable,capabilities:capabilities,handle:handle}=component,elementBlock=_elementBlock?[_elementBlock,[]]:null,blocks=Array.isArray(_blocks)||null===_blocks?namedBlocks(_blocks):_blocks;compilable?(op(Op.PushComponentDefinition,handle),function(op,_ref18){let{capabilities:capabilities,layout:layout,elementBlock:elementBlock,positional:positional,named:named,blocks:blocks}=_ref18;let{symbolTable:symbolTable}=layout;if(symbolTable.hasEval||hasCapability(capabilities,InternalComponentCapabilities.prepareArgs))return void InvokeNonStaticComponent(op,{capabilities:capabilities,elementBlock:elementBlock,positional:positional,named:named,atNames:!0,blocks:blocks,layout:layout});op(Op.Fetch,$s0),op(Op.Dup,$sp,1),op(Op.Load,$s0),op(MachineOp.PushFrame);// Setup arguments\nlet{symbols:symbols}=symbolTable,blockSymbols=[],argSymbols=[],argNames=[],blockNames=blocks.names;// As we push values onto the stack, we store the symbols associated  with them\n// so that we can set them on the scope later on with SetVariable and SetBlock\n// Starting with the attrs block, if it exists and is referenced in the component\nif(null!==elementBlock){let symbol=symbols.indexOf(\"&attrs\");-1!==symbol&&(PushYieldableBlock(op,elementBlock),blockSymbols.push(symbol));}// Followed by the other blocks, if they exist and are referenced in the component.\n// Also store the index of the associated symbol.\nfor(const name of blockNames){let symbol=symbols.indexOf(`&${name}`);-1!==symbol&&(PushYieldableBlock(op,blocks.get(name)),blockSymbols.push(symbol));}// Next up we have arguments. If the component has the `createArgs` capability,\n// then it wants access to the arguments in JavaScript. We can't know whether\n// or not an argument is used, so we have to give access to all of them.\nif(hasCapability(capabilities,InternalComponentCapabilities.createArgs)){// First we push positional arguments\nlet flags=CompilePositional(op,positional)<<4;// setup the flags with the count of positionals, and to indicate that atNames\n// are used\nflags|=8;let names=EMPTY_STRING_ARRAY;// Next, if named args exist, push them all. If they have an associated symbol\n// in the invoked component (e.g. they are used within its template), we push\n// that symbol. If not, we still push the expression as it may be used, and\n// we store the symbol as -1 (this is used later).\nif(null!==named){names=named[0];let val=named[1];for(let i=0;i<val.length;i++){let symbol=symbols.indexOf(unwrap$1(names[i]));expr(op,val[i]),argSymbols.push(symbol);}}// Finally, push the VM arguments themselves. These args won't need access\n// to blocks (they aren't accessible from userland anyways), so we push an\n// empty array instead of the actual block names.\nop(Op.PushArgs,names,EMPTY_STRING_ARRAY,flags),// And push an extra pop operation to remove the args before we begin setting\n// variables on the local context\nargSymbols.push(-1);}else if(null!==named){// If the component does not have the `createArgs` capability, then the only\n// expressions we need to push onto the stack are those that are actually\n// referenced in the template of the invoked component (e.g. have symbols).\nlet names=named[0],val=named[1];for(let i=0;i<val.length;i++){let name=unwrap$1(names[i]),symbol=symbols.indexOf(name);-1!==symbol&&(expr(op,val[i]),argSymbols.push(symbol),argNames.push(name));}}op(Op.BeginComponentTransaction,$s0),hasCapability(capabilities,InternalComponentCapabilities.dynamicScope)&&op(Op.PushDynamicScope),hasCapability(capabilities,InternalComponentCapabilities.createInstance)&&op(Op.CreateComponent,0|blocks.has(\"default\"),$s0),op(Op.RegisterComponentDestructor,$s0),hasCapability(capabilities,InternalComponentCapabilities.createArgs)?op(Op.GetComponentSelf,$s0):op(Op.GetComponentSelf,$s0,argNames),// Setup the new root scope for the component\nop(Op.RootScope,symbols.length+1,Object.keys(blocks).length>0?1:0),// Pop the self reference off the stack and set it to the symbol for `this`\n// in the new scope. This is why all subsequent symbols are increased by one.\nop(Op.SetVariable,0);// Going in reverse, now we pop the args/blocks off the stack, starting with\n// arguments, and assign them to their symbols in the new scope.\nfor(const symbol of reverse(argSymbols))// for (let i = argSymbols.length - 1; i >= 0; i--) {\n//   let symbol = argSymbols[i];\n-1===symbol?// The expression was not bound to a local symbol, it was only pushed to be\n// used with VM args in the javascript side\nop(Op.Pop,1):op(Op.SetVariable,symbol+1);// if any positional params exist, pop them off the stack as well\nnull!==positional&&op(Op.Pop,positional.length);// Finish up by popping off and assigning blocks\nfor(const symbol of reverse(blockSymbols))op(Op.SetBlock,symbol+1);op(Op.Constant,layoutOperand(layout)),op(Op.CompileBlock),op(MachineOp.InvokeVirtual),op(Op.DidRenderLayout,$s0),op(MachineOp.PopFrame),op(Op.PopScope),hasCapability(capabilities,InternalComponentCapabilities.dynamicScope)&&op(Op.PopDynamicScope),op(Op.CommitComponentTransaction),op(Op.Load,$s0);}(op,{capabilities:capabilities,layout:compilable,elementBlock:elementBlock,positional:positional,named:named,blocks:blocks})):(op(Op.PushComponentDefinition,handle),InvokeNonStaticComponent(op,{capabilities:capabilities,elementBlock:elementBlock,positional:positional,named:named,atNames:!0,blocks:blocks}));}function InvokeDynamicComponent(op,definition,_elementBlock,positional,named,_blocks,atNames,curried){let elementBlock=_elementBlock?[_elementBlock,[]]:null,blocks=Array.isArray(_blocks)||null===_blocks?namedBlocks(_blocks):_blocks;Replayable(op,()=>(expr(op,definition),op(Op.Dup,$sp,0),2),()=>{op(Op.JumpUnless,labelOperand(\"ELSE\")),curried?op(Op.ResolveCurriedComponent):op(Op.ResolveDynamicComponent,isStrictMode()),op(Op.PushDynamicComponentInstance),InvokeNonStaticComponent(op,{capabilities:!0,elementBlock:elementBlock,positional:positional,named:named,atNames:atNames,blocks:blocks}),op(HighLevelBuilderOpcodes.Label,\"ELSE\");});}function InvokeNonStaticComponent(op,_ref19){let{capabilities:capabilities,elementBlock:elementBlock,positional:positional,named:named,atNames:atNames,blocks:namedBlocks,layout:layout}=_ref19;let bindableBlocks=!!namedBlocks,bindableAtNames=!0===capabilities||hasCapability(capabilities,InternalComponentCapabilities.prepareArgs)||!(!named||0===named[0].length),blocks=namedBlocks.with(\"attrs\",elementBlock);op(Op.Fetch,$s0),op(Op.Dup,$sp,1),op(Op.Load,$s0),op(MachineOp.PushFrame),function(op,positional,named,blocks,atNames){let blockNames=blocks.names;for(const name of blockNames)PushYieldableBlock(op,blocks.get(name));let flags=CompilePositional(op,positional)<<4;atNames&&(flags|=8),blocks&&(flags|=7);let names=EMPTY_ARRAY$4;if(named){names=named[0];let val=named[1];for(let i=0;i<val.length;i++)expr(op,val[i]);}op(Op.PushArgs,names,blockNames,flags);}(op,positional,named,blocks,atNames),op(Op.PrepareArgs,$s0),invokePreparedComponent(op,blocks.has(\"default\"),bindableBlocks,bindableAtNames,()=>{layout?(op(Op.PushSymbolTable,symbolTableOperand(layout.symbolTable)),op(Op.Constant,layoutOperand(layout)),op(Op.CompileBlock)):op(Op.GetComponentLayout,$s0),op(Op.PopulateLayout,$s0);}),op(Op.Load,$s0);}function invokePreparedComponent(op,hasBlock,bindableBlocks,bindableAtNames){let populateLayout=arguments.length>4&&arguments[4]!==undefined?arguments[4]:null;op(Op.BeginComponentTransaction,$s0),op(Op.PushDynamicScope),op(Op.CreateComponent,0|hasBlock,$s0),// this has to run after createComponent to allow\n// for late-bound layouts, but a caller is free\n// to populate the layout earlier if it wants to\n// and do nothing here.\npopulateLayout&&populateLayout(),op(Op.RegisterComponentDestructor,$s0),op(Op.GetComponentSelf,$s0),op(Op.VirtualRootScope,$s0),op(Op.SetVariable,0),op(Op.SetupForEval,$s0),bindableAtNames&&op(Op.SetNamedVariables,$s0),bindableBlocks&&op(Op.SetBlocks,$s0),op(Op.Pop,1),op(Op.InvokeComponentLayout,$s0),op(Op.DidRenderLayout,$s0),op(MachineOp.PopFrame),op(Op.PopScope),op(Op.PopDynamicScope),op(Op.CommitComponentTransaction);}/**\n           * Append content to the DOM. This standard function triages content and does the\n           * right thing based upon whether it's a string, safe string, component, fragment\n           * or node.\n           *\n           * @param trusting whether to interpolate a string as raw HTML (corresponds to\n           * triple curlies)\n           */function StdAppend(op,trusting,nonDynamicAppend){SwitchCases(op,()=>op(Op.ContentType),when=>{when(ContentType.String,()=>{trusting?(op(Op.AssertSame),op(Op.AppendHTML)):op(Op.AppendText);}),\"number\"==typeof nonDynamicAppend?(when(ContentType.Component,()=>{op(Op.ResolveCurriedComponent),op(Op.PushDynamicComponentInstance),function(op){op(Op.Fetch,$s0),op(Op.Dup,$sp,1),op(Op.Load,$s0),op(MachineOp.PushFrame),op(Op.PushEmptyArgs),op(Op.PrepareArgs,$s0),invokePreparedComponent(op,!1,!1,!0,()=>{op(Op.GetComponentLayout,$s0),op(Op.PopulateLayout,$s0);}),op(Op.Load,$s0);}(op);}),when(ContentType.Helper,()=>{CallDynamic(op,null,null,()=>{op(MachineOp.InvokeStatic,nonDynamicAppend);});})):(// when non-dynamic, we can no longer call the value (potentially because we've already called it)\n// this prevents infinite loops. We instead coerce the value, whatever it is, into the DOM.\nwhen(ContentType.Component,()=>{op(Op.AppendText);}),when(ContentType.Helper,()=>{op(Op.AppendText);})),when(ContentType.SafeString,()=>{op(Op.AssertSame),op(Op.AppendSafeHTML);}),when(ContentType.Fragment,()=>{op(Op.AssertSame),op(Op.AppendDocumentFragment);}),when(ContentType.Node,()=>{op(Op.AssertSame),op(Op.AppendNode);});});}function compileStd(context){let mainHandle=build(context,op=>function(op){op(Op.Main,$s0),invokePreparedComponent(op,!1,!1,!0);}(op)),trustingGuardedNonDynamicAppend=build(context,op=>StdAppend(op,!0,null)),cautiousGuardedNonDynamicAppend=build(context,op=>StdAppend(op,!1,null)),trustingGuardedDynamicAppend=build(context,op=>StdAppend(op,!0,trustingGuardedNonDynamicAppend)),cautiousGuardedDynamicAppend=build(context,op=>StdAppend(op,!1,cautiousGuardedNonDynamicAppend));return new StdLib(mainHandle,trustingGuardedDynamicAppend,cautiousGuardedDynamicAppend,trustingGuardedNonDynamicAppend,cautiousGuardedNonDynamicAppend);}EXPRESSIONS.add(opcodes.Concat,(op,_ref20)=>{let[,parts]=_ref20;for(let part of parts)expr(op,part);op(Op.Concat,parts.length);}),EXPRESSIONS.add(opcodes.Call,(op,_ref21)=>{let[,expression,positional,named]=_ref21;isGetFreeHelper(expression)?op(HighLevelResolutionOpcodes.Helper,expression,handle=>{Call(op,handle,positional,named);}):(expr(op,expression),CallDynamic(op,positional,named));}),EXPRESSIONS.add(opcodes.Curry,(op,_ref22)=>{let[,expr,type,positional,named]=_ref22;Curry(op,type,expr,positional,named);}),EXPRESSIONS.add(opcodes.GetSymbol,(op,_ref23)=>{let[,sym,path]=_ref23;op(Op.GetVariable,sym),withPath(op,path);}),EXPRESSIONS.add(opcodes.GetLexicalSymbol,(op,_ref24)=>{let[,sym,path]=_ref24;op(HighLevelResolutionOpcodes.TemplateLocal,sym,handle=>{op(Op.ConstantReference,handle),withPath(op,path);});}),EXPRESSIONS.add(opcodes.GetStrictKeyword,(op,expr)=>{op(HighLevelResolutionOpcodes.Local,expr[1],_name=>{op(HighLevelResolutionOpcodes.Helper,expr,handle=>{Call(op,handle,null,null);});});}),EXPRESSIONS.add(opcodes.GetFreeAsHelperHead,(op,expr)=>{op(HighLevelResolutionOpcodes.Local,expr[1],_name=>{op(HighLevelResolutionOpcodes.Helper,expr,handle=>{Call(op,handle,null,null);});});}),EXPRESSIONS.add(opcodes.Undefined,op=>PushPrimitiveReference(op,void 0)),EXPRESSIONS.add(opcodes.HasBlock,(op,_ref25)=>{let[,block]=_ref25;expr(op,block),op(Op.HasBlock);}),EXPRESSIONS.add(opcodes.HasBlockParams,(op,_ref26)=>{let[,block]=_ref26;expr(op,block),op(Op.SpreadBlock),op(Op.CompileBlock),op(Op.HasBlockParams);}),EXPRESSIONS.add(opcodes.IfInline,(op,_ref27)=>{let[,condition,truthy,falsy]=_ref27;// Push in reverse order\nexpr(op,falsy),expr(op,truthy),expr(op,condition),op(Op.IfInline);}),EXPRESSIONS.add(opcodes.Not,(op,_ref28)=>{let[,value]=_ref28;expr(op,value),op(Op.Not);}),EXPRESSIONS.add(opcodes.GetDynamicVar,(op,_ref29)=>{let[,expression]=_ref29;expr(op,expression),op(Op.GetDynamicVar);}),EXPRESSIONS.add(opcodes.Log,(op,_ref30)=>{let[,positional]=_ref30;op(MachineOp.PushFrame),SimpleArgs(op,positional,null,!1),op(Op.Log),op(MachineOp.PopFrame),op(Op.Fetch,$v0);});const STDLIB_META={evalSymbols:null,upvars:null,moduleName:\"stdlib\",// TODO: ??\nscopeValues:null,isStrictMode:!0,owner:null,size:0};function build(program,builder){let{constants:constants,heap:heap,resolver:resolver}=program,encoder=new EncoderImpl(heap,STDLIB_META);builder(function(){for(var _len5=arguments.length,op=new Array(_len5),_key6=0;_key6<_len5;_key6++){op[_key6]=arguments[_key6];}encodeOp(encoder,constants,resolver,STDLIB_META,op);});let result=encoder.commit(0);if(\"number\"!=typeof result)// This shouldn't be possible\nthrow new Error(\"Unexpected errors compiling std\");return result;}class CompileTimeCompilationContextImpl{constructor(_ref31,resolver,createOp){let{constants:constants,heap:heap}=_ref31;_defineProperty(this,\"constants\",void 0);_defineProperty(this,\"heap\",void 0);_defineProperty(this,\"stdlib\",void 0);this.resolver=resolver,this.createOp=createOp,this.constants=constants,this.heap=heap,this.stdlib=compileStd(this);}}function programCompilationContext(artifacts,resolver,createOp){return new CompileTimeCompilationContextImpl(artifacts,resolver,createOp);}function templateCompilationContext(program,meta){return{program:program,encoder:new EncoderImpl(program.heap,meta,program.stdlib),meta:meta};}const STATEMENTS=new Compilers(),INFLATE_ATTR_TABLE=[\"class\",\"id\",\"value\",\"name\",\"type\",\"style\",\"href\"],INFLATE_TAG_TABLE=[\"div\",\"span\",\"p\",\"a\"];function inflateTagName(tagName){return\"string\"==typeof tagName?tagName:INFLATE_TAG_TABLE[tagName];}function inflateAttrName(attrName){return\"string\"==typeof attrName?attrName:INFLATE_ATTR_TABLE[attrName];}function hashToArgs(hash){return null===hash?null:[hash[0].map(key=>`@${key}`),hash[1]];}STATEMENTS.add(opcodes.Comment,(op,sexp)=>op(Op.Comment,sexp[1])),STATEMENTS.add(opcodes.CloseElement,op=>op(Op.CloseElement)),STATEMENTS.add(opcodes.FlushElement,op=>op(Op.FlushElement)),STATEMENTS.add(opcodes.Modifier,(op,_ref32)=>{let[,expression,positional,named]=_ref32;isGetFreeModifier(expression)?op(HighLevelResolutionOpcodes.Modifier,expression,handle=>{op(MachineOp.PushFrame),SimpleArgs(op,positional,named,!1),op(Op.Modifier,handle),op(MachineOp.PopFrame);}):(expr(op,expression),op(MachineOp.PushFrame),SimpleArgs(op,positional,named,!1),op(Op.Dup,$fp,1),op(Op.DynamicModifier),op(MachineOp.PopFrame));}),STATEMENTS.add(opcodes.StaticAttr,(op,_ref33)=>{let[,name,value,namespace]=_ref33;op(Op.StaticAttr,inflateAttrName(name),value,namespace??null);}),STATEMENTS.add(opcodes.StaticComponentAttr,(op,_ref34)=>{let[,name,value,namespace]=_ref34;op(Op.StaticComponentAttr,inflateAttrName(name),value,namespace??null);}),STATEMENTS.add(opcodes.DynamicAttr,(op,_ref35)=>{let[,name,value,namespace]=_ref35;expr(op,value),op(Op.DynamicAttr,inflateAttrName(name),!1,namespace??null);}),STATEMENTS.add(opcodes.TrustingDynamicAttr,(op,_ref36)=>{let[,name,value,namespace]=_ref36;expr(op,value),op(Op.DynamicAttr,inflateAttrName(name),!0,namespace??null);}),STATEMENTS.add(opcodes.ComponentAttr,(op,_ref37)=>{let[,name,value,namespace]=_ref37;expr(op,value),op(Op.ComponentAttr,inflateAttrName(name),!1,namespace??null);}),STATEMENTS.add(opcodes.TrustingComponentAttr,(op,_ref38)=>{let[,name,value,namespace]=_ref38;expr(op,value),op(Op.ComponentAttr,inflateAttrName(name),!0,namespace??null);}),STATEMENTS.add(opcodes.OpenElement,(op,_ref39)=>{let[,tag]=_ref39;op(Op.OpenElement,inflateTagName(tag));}),STATEMENTS.add(opcodes.OpenElementWithSplat,(op,_ref40)=>{let[,tag]=_ref40;op(Op.PutComponentOperations),op(Op.OpenElement,inflateTagName(tag));}),STATEMENTS.add(opcodes.Component,(op,_ref41)=>{let[,expr,elementBlock,named,blocks]=_ref41;isGetFreeComponent(expr)?op(HighLevelResolutionOpcodes.Component,expr,component=>{InvokeComponent(op,component,elementBlock,null,named,blocks);}):// otherwise, the component name was an expression, so resolve the expression\n// and invoke it as a dynamic component\nInvokeDynamicComponent(op,expr,elementBlock,null,named,blocks,!0,!0);}),STATEMENTS.add(opcodes.Yield,(op,_ref42)=>{let[,to,params]=_ref42;return YieldBlock(op,to,params);}),STATEMENTS.add(opcodes.AttrSplat,(op,_ref43)=>{let[,to]=_ref43;return YieldBlock(op,to,null);}),STATEMENTS.add(opcodes.Debugger,(op,_ref44)=>{let[,debugInfo]=_ref44;return op(Op.Debugger,{type:HighLevelOperands.DebugSymbols,value:void 0},debugInfo);}),STATEMENTS.add(opcodes.Append,(op,_ref45)=>{let[,value]=_ref45;// Special case for static values\nif(Array.isArray(value)){if(isGetFreeComponentOrHelper(value))op(HighLevelResolutionOpcodes.OptionalComponentOrHelper,value,{ifComponent(component){InvokeComponent(op,component,null,null,null,null);},ifHelper(handle){op(MachineOp.PushFrame),Call(op,handle,null,null),op(MachineOp.InvokeStatic,stdlibOperand(\"cautious-non-dynamic-append\")),op(MachineOp.PopFrame);},ifValue(handle){op(MachineOp.PushFrame),op(Op.ConstantReference,handle),op(MachineOp.InvokeStatic,stdlibOperand(\"cautious-non-dynamic-append\")),op(MachineOp.PopFrame);}});else if(value[0]===opcodes.Call){let[,expression,positional,named]=value;isGetFreeComponentOrHelper(expression)?op(HighLevelResolutionOpcodes.ComponentOrHelper,expression,{ifComponent(component){InvokeComponent(op,component,null,positional,hashToArgs(named),null);},ifHelper(handle){op(MachineOp.PushFrame),Call(op,handle,positional,named),op(MachineOp.InvokeStatic,stdlibOperand(\"cautious-non-dynamic-append\")),op(MachineOp.PopFrame);}}):SwitchCases(op,()=>{expr(op,expression),op(Op.DynamicContentType);},when=>{when(ContentType.Component,()=>{op(Op.ResolveCurriedComponent),op(Op.PushDynamicComponentInstance),InvokeNonStaticComponent(op,{capabilities:!0,elementBlock:null,positional:positional,named:named,atNames:!1,blocks:namedBlocks(null)});}),when(ContentType.Helper,()=>{CallDynamic(op,positional,named,()=>{op(MachineOp.InvokeStatic,stdlibOperand(\"cautious-non-dynamic-append\"));});});});}else op(MachineOp.PushFrame),expr(op,value),op(MachineOp.InvokeStatic,stdlibOperand(\"cautious-append\")),op(MachineOp.PopFrame);}else op(Op.Text,null==value?\"\":String(value));}),STATEMENTS.add(opcodes.TrustingAppend,(op,_ref46)=>{let[,value]=_ref46;Array.isArray(value)?(op(MachineOp.PushFrame),expr(op,value),op(MachineOp.InvokeStatic,stdlibOperand(\"trusting-append\")),op(MachineOp.PopFrame)):op(Op.Text,null==value?\"\":String(value));}),STATEMENTS.add(opcodes.Block,(op,_ref47)=>{let[,expr,positional,named,blocks]=_ref47;isGetFreeComponent(expr)?op(HighLevelResolutionOpcodes.Component,expr,component=>{InvokeComponent(op,component,null,positional,hashToArgs(named),blocks);}):InvokeDynamicComponent(op,expr,null,positional,named,blocks,!1,!1);}),STATEMENTS.add(opcodes.InElement,(op,_ref48)=>{let[,block,guid,destination,insertBefore]=_ref48;ReplayableIf(op,()=>(expr(op,guid),void 0===insertBefore?PushPrimitiveReference(op,void 0):expr(op,insertBefore),expr(op,destination),op(Op.Dup,$sp,0),4),()=>{op(Op.PushRemoteElement),InvokeStaticBlock(op,block),op(Op.PopRemoteElement);});}),STATEMENTS.add(opcodes.If,(op,_ref49)=>{let[,condition,block,inverse]=_ref49;return ReplayableIf(op,()=>(expr(op,condition),op(Op.ToBoolean),1),()=>{InvokeStaticBlock(op,block);},inverse?()=>{InvokeStaticBlock(op,inverse);}:void 0);}),STATEMENTS.add(opcodes.Each,(op,_ref50)=>{let[,value,key,block,inverse]=_ref50;return Replayable(op,()=>(key?expr(op,key):PushPrimitiveReference(op,null),expr(op,value),2),()=>{op(Op.EnterList,labelOperand(\"BODY\"),labelOperand(\"ELSE\")),op(MachineOp.PushFrame),op(Op.Dup,$fp,1),op(MachineOp.ReturnTo,labelOperand(\"ITER\")),op(HighLevelBuilderOpcodes.Label,\"ITER\"),op(Op.Iterate,labelOperand(\"BREAK\")),op(HighLevelBuilderOpcodes.Label,\"BODY\"),InvokeStaticBlockWithStack(op,block,2),op(Op.Pop,2),op(MachineOp.Jump,labelOperand(\"FINALLY\")),op(HighLevelBuilderOpcodes.Label,\"BREAK\"),op(MachineOp.PopFrame),op(Op.ExitList),op(MachineOp.Jump,labelOperand(\"FINALLY\")),op(HighLevelBuilderOpcodes.Label,\"ELSE\"),inverse&&InvokeStaticBlock(op,inverse);});}),STATEMENTS.add(opcodes.Let,(op,_ref51)=>{let[,positional,block]=_ref51;InvokeStaticBlockWithStack(op,block,CompilePositional(op,positional));}),STATEMENTS.add(opcodes.WithDynamicVars,(op,_ref52)=>{let[,named,block]=_ref52;if(named){let[names,expressions]=named;CompilePositional(op,expressions),function(op,names,block){op(Op.PushDynamicScope),op(Op.BindDynamicScope,names),block(),op(Op.PopDynamicScope);}(op,names,()=>{InvokeStaticBlock(op,block);});}else InvokeStaticBlock(op,block);}),STATEMENTS.add(opcodes.InvokeComponent,(op,_ref53)=>{let[,expr,positional,named,blocks]=_ref53;isGetFreeComponent(expr)?op(HighLevelResolutionOpcodes.Component,expr,component=>{InvokeComponent(op,component,null,positional,hashToArgs(named),blocks);}):InvokeDynamicComponent(op,expr,null,positional,named,blocks,!1,!1);});class CompilableTemplateImpl{constructor(statements,meta,// Part of CompilableTemplate\nsymbolTable){let moduleName=arguments.length>3&&arguments[3]!==undefined?arguments[3]:\"plain block\";_defineProperty(this,\"compiled\",null);this.statements=statements,this.meta=meta,this.symbolTable=symbolTable,this.moduleName=moduleName;}// Part of CompilableTemplate\ncompile(context){return function(compilable,context){if(null!==compilable.compiled)return compilable.compiled;compilable.compiled=-1;let{statements:statements,meta:meta}=compilable,result=compileStatements(statements,meta,context);return compilable.compiled=result,result;}(this,context);}}function compilable(layout,moduleName){let[statements,symbols,hasEval]=layout.block;return new CompilableTemplateImpl(statements,meta$1(layout),{symbols:symbols,hasEval:hasEval},moduleName);}function compileStatements(statements,meta,syntaxContext){let sCompiler=STATEMENTS,context=templateCompilationContext(syntaxContext,meta),{encoder:encoder,program:{constants:constants,resolver:resolver}}=context;function pushOp(){for(var _len6=arguments.length,op=new Array(_len6),_key7=0;_key7<_len6;_key7++){op[_key7]=arguments[_key7];}encodeOp(encoder,constants,resolver,meta,op);}for(const statement of statements)sCompiler.compile(pushOp,statement);return context.encoder.commit(meta.size);}const DEFAULT_CAPABILITIES={dynamicLayout:!0,dynamicTag:!0,prepareArgs:!0,createArgs:!0,attributeHook:!1,elementHook:!1,dynamicScope:!0,createCaller:!1,updateHook:!0,createInstance:!0,wrapped:!1,willDestroy:!1,hasSubOwner:!1},MINIMAL_CAPABILITIES={dynamicLayout:!1,dynamicTag:!1,prepareArgs:!1,createArgs:!1,attributeHook:!1,elementHook:!1,dynamicScope:!1,createCaller:!1,updateHook:!1,createInstance:!1,wrapped:!1,willDestroy:!1,hasSubOwner:!1};class WrappedBuilder{constructor(layout,moduleName){_defineProperty(this,\"symbolTable\",void 0);_defineProperty(this,\"compiled\",null);_defineProperty(this,\"attrsBlockNumber\",void 0);this.layout=layout,this.moduleName=moduleName;let{block:block}=layout,[,symbols,hasEval]=block;symbols=symbols.slice();// ensure ATTRS_BLOCK is always included (only once) in the list of symbols\nlet attrsBlockIndex=symbols.indexOf(\"&attrs\");this.attrsBlockNumber=-1===attrsBlockIndex?symbols.push(\"&attrs\"):attrsBlockIndex+1,this.symbolTable={hasEval:hasEval,symbols:symbols};}compile(syntax){if(null!==this.compiled)return this.compiled;let m=meta$1(this.layout),context=templateCompilationContext(syntax,m),{encoder:encoder,program:{constants:constants,resolver:resolver}}=context;var op,layout,attrsBlockNumber;op=function(){for(var _len7=arguments.length,op=new Array(_len7),_key8=0;_key8<_len7;_key8++){op[_key8]=arguments[_key8];}encodeOp(encoder,constants,resolver,m,op);},layout=this.layout,attrsBlockNumber=this.attrsBlockNumber,op(HighLevelBuilderOpcodes.StartLabels),function(op,register,block){op(Op.Fetch,register),block(),op(Op.Load,register);}(op,$s1,()=>{op(Op.GetComponentTagName,$s0),op(Op.PrimitiveReference),op(Op.Dup,$sp,0);}),op(Op.JumpUnless,labelOperand(\"BODY\")),op(Op.Fetch,$s1),op(Op.PutComponentOperations),op(Op.OpenDynamicElement),op(Op.DidCreateElement,$s0),YieldBlock(op,attrsBlockNumber,null),op(Op.FlushElement),op(HighLevelBuilderOpcodes.Label,\"BODY\"),InvokeStaticBlock(op,[layout.block[0],[]]),op(Op.Fetch,$s1),op(Op.JumpUnless,labelOperand(\"END\")),op(Op.CloseElement),op(HighLevelBuilderOpcodes.Label,\"END\"),op(Op.Load,$s1),op(HighLevelBuilderOpcodes.StopLabels);let handle=context.encoder.commit(m.size);return\"number\"!=typeof handle||(this.compiled=handle),handle;}}let clientId=0,templateCacheCounters={cacheHit:0,cacheMiss:0};// These interfaces are for backwards compatibility, some addons use these intimate APIs\n/**\n           * Wraps a template js in a template module to change it into a factory\n           * that handles lazy parsing the template and to create per env singletons\n           * of the template.\n           */function templateFactory(_ref54){let{id:templateId,moduleName:moduleName,block:block,scope:scope,isStrictMode:isStrictMode}=_ref54;// TODO(template-refactors): This should be removed in the near future, as it\n// appears that id is unused. It is currently kept for backwards compat reasons.\nlet parsedBlock,id=templateId||\"client-\"+clientId++,ownerlessTemplate=null,templateCache=new WeakMap(),factory=owner=>{if(void 0===parsedBlock&&(parsedBlock=JSON.parse(block)),void 0===owner)return null===ownerlessTemplate?(templateCacheCounters.cacheMiss++,ownerlessTemplate=new TemplateImpl({id:id,block:parsedBlock,moduleName:moduleName,owner:null,scope:scope,isStrictMode:isStrictMode})):templateCacheCounters.cacheHit++,ownerlessTemplate;let result=templateCache.get(owner);return void 0===result?(templateCacheCounters.cacheMiss++,result=new TemplateImpl({id:id,block:parsedBlock,moduleName:moduleName,owner:owner,scope:scope,isStrictMode:isStrictMode}),templateCache.set(owner,result)):templateCacheCounters.cacheHit++,result;};// TODO: This caches JSON serialized output once in case a template is\n// compiled by multiple owners, but we haven't verified if this is actually\n// helpful. We should benchmark this in the future.\nreturn factory.__id=id,factory.__meta={moduleName:moduleName},factory;}class TemplateImpl{constructor(parsedLayout){_defineProperty(this,\"result\",\"ok\");_defineProperty(this,\"layout\",null);_defineProperty(this,\"wrappedLayout\",null);this.parsedLayout=parsedLayout;}get moduleName(){return this.parsedLayout.moduleName;}get id(){return this.parsedLayout.id;}// TODO(template-refactors): This should be removed in the near future, it is\n// only being exposed for backwards compatibility\nget referrer(){return{moduleName:this.parsedLayout.moduleName,owner:this.parsedLayout.owner};}asLayout(){return this.layout?this.layout:this.layout=compilable(assign({},this.parsedLayout),this.moduleName);}asWrappedLayout(){return this.wrappedLayout?this.wrappedLayout:this.wrappedLayout=new WrappedBuilder(assign({},this.parsedLayout),this.moduleName);}}const glimmerOpcodeCompiler=/*#__PURE__*/Object.defineProperty({__proto__:null,CompileTimeCompilationContextImpl,DEFAULT_CAPABILITIES,EMPTY_BLOCKS,MINIMAL_CAPABILITIES,StdLib,WrappedBuilder,compilable,compileStatements,compileStd,debugCompiler,invokeStaticBlock:InvokeStaticBlock,invokeStaticBlockWithStack:InvokeStaticBlockWithStack,meta:meta$1,programCompilationContext,templateCacheCounters,templateCompilationContext,templateFactory},Symbol.toStringTag,{value:'Module'});const emberTemplateFactoryIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,createTemplateFactory:templateFactory},Symbol.toStringTag,{value:'Module'});const RootTemplate=templateFactory(/*\n            {{component this}}\n          */{\"id\":\"tjANIXCV\",\"block\":\"[[[46,[30,0],null,null,null]],[],false,[\\\"component\\\"]]\",\"moduleName\":\"packages/@ember/-internals/glimmer/lib/templates/root.hbs\",\"isStrictMode\":true});const objectPrototype=Object.prototype;let counters;/**\n          @module ember\n          */const UNDEFINED=symbol('undefined');var ListenerKind=/*#__PURE__*/function(ListenerKind){ListenerKind[ListenerKind[\"ADD\"]=0]=\"ADD\";ListenerKind[ListenerKind[\"ONCE\"]=1]=\"ONCE\";ListenerKind[ListenerKind[\"REMOVE\"]=2]=\"REMOVE\";return ListenerKind;}(ListenerKind||{});let currentListenerVersion=1;class Meta{// DEBUG\n/** @internal */constructor(obj){/** @internal */_defineProperty(this,\"_descriptors\",void 0);/** @internal */_defineProperty(this,\"_mixins\",void 0);/** @internal */_defineProperty(this,\"_isInit\",void 0);/** @internal */_defineProperty(this,\"_lazyChains\",void 0);/** @internal */_defineProperty(this,\"_values\",void 0);/** @internal */_defineProperty(this,\"_revisions\",void 0);/** @internal */_defineProperty(this,\"source\",void 0);/** @internal */_defineProperty(this,\"proto\",void 0);/** @internal */_defineProperty(this,\"_parent\",void 0);/** @internal */_defineProperty(this,\"_listeners\",void 0);/** @internal */_defineProperty(this,\"_listenersVersion\",1);/** @internal */_defineProperty(this,\"_inheritedEnd\",-1);/** @internal */_defineProperty(this,\"_flattenedVersion\",0);this._parent=undefined;this._descriptors=undefined;this._mixins=undefined;this._lazyChains=undefined;this._values=undefined;this._revisions=undefined;// initial value for all flags right now is false\n// see FLAGS const for detailed list of flags used\nthis._isInit=false;// used only internally\nthis.source=obj;this.proto=obj.constructor===undefined?undefined:obj.constructor.prototype;this._listeners=undefined;}/** @internal */get parent(){let parent=this._parent;if(parent===undefined){let proto=getPrototypeOf(this.source);this._parent=parent=proto===null||proto===objectPrototype?null:meta(proto);}return parent;}setInitializing(){this._isInit=true;}/** @internal */unsetInitializing(){this._isInit=false;}/** @internal */isInitializing(){return this._isInit;}/** @internal */isPrototypeMeta(obj){return this.proto===this.source&&this.source===obj;}/** @internal */_getOrCreateOwnMap(key){return this[key]||(this[key]=Object.create(null));}/** @internal */_getOrCreateOwnSet(key){return this[key]||(this[key]=new Set());}/** @internal */_findInheritedMap(key,subkey){let pointer=this;while(pointer!==null){let map=pointer[key];if(map!==undefined){let value=map.get(subkey);if(value!==undefined){return value;}}pointer=pointer.parent;}}/** @internal */_hasInInheritedSet(key,value){let pointer=this;while(pointer!==null){let set=pointer[key];if(set!==undefined&&set.has(value)){return true;}pointer=pointer.parent;}return false;}/** @internal */valueFor(key){let values=this._values;return values!==undefined?values[key]:undefined;}/** @internal */setValueFor(key,value){let values=this._getOrCreateOwnMap('_values');values[key]=value;}/** @internal */revisionFor(key){let revisions=this._revisions;return revisions!==undefined?revisions[key]:undefined;}/** @internal */setRevisionFor(key,revision){let revisions=this._getOrCreateOwnMap('_revisions');revisions[key]=revision;}/** @internal */writableLazyChainsFor(key){let lazyChains=this._getOrCreateOwnMap('_lazyChains');let chains=lazyChains[key];if(chains===undefined){chains=lazyChains[key]=[];}return chains;}/** @internal */readableLazyChainsFor(key){let lazyChains=this._lazyChains;if(lazyChains!==undefined){return lazyChains[key];}return undefined;}/** @internal */addMixin(mixin){let set=this._getOrCreateOwnSet('_mixins');set.add(mixin);}/** @internal */hasMixin(mixin){return this._hasInInheritedSet('_mixins',mixin);}/** @internal */forEachMixins(fn){let pointer=this;let seen;while(pointer!==null){let set=pointer._mixins;if(set!==undefined){seen=seen===undefined?new Set():seen;// TODO cleanup typing here\nset.forEach(mixin=>{if(!seen.has(mixin)){seen.add(mixin);fn(mixin);}});}pointer=pointer.parent;}}/** @internal */writeDescriptors(subkey,value){let map=this._descriptors||(this._descriptors=new Map());map.set(subkey,value);}/** @internal */peekDescriptors(subkey){let possibleDesc=this._findInheritedMap('_descriptors',subkey);return possibleDesc===UNDEFINED?undefined:possibleDesc;}/** @internal */removeDescriptors(subkey){this.writeDescriptors(subkey,UNDEFINED);}/** @internal */forEachDescriptors(fn){let pointer=this;let seen;while(pointer!==null){let map=pointer._descriptors;if(map!==undefined){seen=seen===undefined?new Set():seen;map.forEach((value,key)=>{if(!seen.has(key)){seen.add(key);if(value!==UNDEFINED){fn(key,value);}}});}pointer=pointer.parent;}}/** @internal */addToListeners(eventName,target,method,once,sync){this.pushListener(eventName,target,method,once?ListenerKind.ONCE:ListenerKind.ADD,sync);}/** @internal */removeFromListeners(eventName,target,method){this.pushListener(eventName,target,method,ListenerKind.REMOVE);}pushListener(event,target,method,kind){let sync=arguments.length>4&&arguments[4]!==undefined?arguments[4]:false;let listeners=this.writableListeners();let i=indexOfListener(listeners,event,target,method);// remove if found listener was inherited\nif(i!==-1&&i<this._inheritedEnd){listeners.splice(i,1);this._inheritedEnd--;i=-1;}// if not found, push. Note that we must always push if a listener is not\n// found, even in the case of a function listener remove, because we may be\n// attempting to add or remove listeners _before_ flattening has occurred.\nif(i===-1){listeners.push({event,target,method,kind,sync});}else{let listener=listeners[i];// want to splice it out entirely so we don't hold onto a reference.\nif(kind===ListenerKind.REMOVE&&listener.kind!==ListenerKind.REMOVE){listeners.splice(i,1);}else{listener.kind=kind;listener.sync=sync;}}}writableListeners(){// Check if we need to invalidate and reflatten. We need to do this if we\n// have already flattened (flattened version is the current version) and\n// we are either writing to a prototype meta OR we have never inherited, and\n// may have cached the parent's listeners.\nif(this._flattenedVersion===currentListenerVersion&&(this.source===this.proto||this._inheritedEnd===-1)){currentListenerVersion++;}// Inherited end has not been set, then we have never created our own\n// listeners, but may have cached the parent's\nif(this._inheritedEnd===-1){this._inheritedEnd=0;this._listeners=[];}return this._listeners;}/**\n              Flattening is based on a global revision counter. If the revision has\n              bumped it means that somewhere in a class inheritance chain something has\n              changed, so we need to reflatten everything. This can only happen if:\n               1. A meta has been flattened (listener has been called)\n              2. The meta is a prototype meta with children who have inherited its\n                 listeners\n              3. A new listener is subsequently added to the meta (e.g. via `.reopen()`)\n               This is a very rare occurrence, so while the counter is global it shouldn't\n              be updated very often in practice.\n            */flattenedListeners(){if(this._flattenedVersion<currentListenerVersion){let parent=this.parent;if(parent!==null){// compute\nlet parentListeners=parent.flattenedListeners();if(parentListeners!==undefined){if(this._listeners===undefined){this._listeners=parentListeners;}else{let listeners=this._listeners;if(this._inheritedEnd>0){listeners.splice(0,this._inheritedEnd);this._inheritedEnd=0;}for(let listener of parentListeners){let index=indexOfListener(listeners,listener.event,listener.target,listener.method);if(index===-1){listeners.unshift(listener);this._inheritedEnd++;}}}}}this._flattenedVersion=currentListenerVersion;}return this._listeners;}/** @internal */matchingListeners(eventName){let listeners=this.flattenedListeners();let result;if(listeners!==undefined){for(let listener of listeners){// REMOVE listeners are placeholders that tell us not to\n// inherit, so they never match. Only ADD and ONCE can match.\nif(listener.event===eventName&&(listener.kind===ListenerKind.ADD||listener.kind===ListenerKind.ONCE)){if(result===undefined){// we create this array only after we've found a listener that\n// matches to avoid allocations when no matches are found.\nresult=[];}result.push(listener.target,listener.method,listener.kind===ListenerKind.ONCE);}}}return result;}/** @internal */observerEvents(){let listeners=this.flattenedListeners();let result;if(listeners!==undefined){for(let listener of listeners){// REMOVE listeners are placeholders that tell us not to\n// inherit, so they never match. Only ADD and ONCE can match.\nif((listener.kind===ListenerKind.ADD||listener.kind===ListenerKind.ONCE)&&listener.event.indexOf(':change')!==-1){if(result===undefined){// we create this array only after we've found a listener that\n// matches to avoid allocations when no matches are found.\nresult=[];}result.push(listener);}}}return result;}}const getPrototypeOf=Object.getPrototypeOf;const metaStore=new WeakMap();function setMeta(obj,meta){metaStore.set(obj,meta);}function peekMeta(obj){let meta=metaStore.get(obj);if(meta!==undefined){return meta;}let pointer=getPrototypeOf(obj);while(pointer!==null){meta=metaStore.get(pointer);if(meta!==undefined){if(meta.proto!==pointer){// The meta was a prototype meta which was not marked as initializing.\n// This can happen when a prototype chain was created manually via\n// Object.create() and the source object does not have a constructor.\nmeta.proto=pointer;}return meta;}pointer=getPrototypeOf(pointer);}return null;}/**\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          */const meta=function meta(obj){let maybeMeta=peekMeta(obj);// remove this code, in-favor of explicit parent\nif(maybeMeta!==null&&maybeMeta.source===obj){return maybeMeta;}let newMeta=new Meta(obj);setMeta(obj,newMeta);return newMeta;};function indexOfListener(listeners,event,target,method){for(let i=listeners.length-1;i>=0;i--){let listener=listeners[i];if(listener.event===event&&listener.target===target&&listener.method===method){return i;}}return-1;}const emberinternalsMetaLibMeta=/*#__PURE__*/Object.defineProperty({__proto__:null,Meta,UNDEFINED,counters,meta,peekMeta,setMeta},Symbol.toStringTag,{value:'Module'});const emberinternalsMetaIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,Meta,UNDEFINED,counters,meta,peekMeta,setMeta},Symbol.toStringTag,{value:'Module'});function objectAt(array,index){if(Array.isArray(array)){return array[index];}else{return array.objectAt(index);}}/////////\n// This is exported for `@tracked`, but should otherwise be avoided. Use `tagForObject`.\nconst SELF_TAG=symbol('SELF_TAG');function tagForProperty(obj,propertyKey){let addMandatorySetter=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;let meta=arguments.length>3?arguments[3]:undefined;let customTagFor=getCustomTagFor(obj);if(customTagFor!==undefined){return customTagFor(obj,propertyKey,addMandatorySetter);}let tag=tagFor(obj,propertyKey,meta);return tag;}function tagForObject(obj){if(isObject$1(obj)){return tagFor(obj,SELF_TAG);}return CONSTANT_TAG;}function markObjectAsDirty(obj,propertyKey){dirtyTagFor(obj,propertyKey);dirtyTagFor(obj,SELF_TAG);}const CHAIN_PASS_THROUGH=new WeakSet();function finishLazyChains(meta,key,value){let lazyTags=meta.readableLazyChainsFor(key);if(lazyTags===undefined){return;}if(isObject$1(value)){for(let[tag,deps]of lazyTags){UPDATE_TAG(tag,getChainTagsForKey(value,deps,tagMetaFor(value),peekMeta(value)));}}lazyTags.length=0;}function getChainTagsForKeys(obj,keys,tagMeta,meta){let tags=[];for(let key of keys){getChainTags(tags,obj,key,tagMeta,meta);}return combine(tags);}function getChainTagsForKey(obj,key,tagMeta,meta){return combine(getChainTags([],obj,key,tagMeta,meta));}function getChainTags(chainTags,obj,path,tagMeta,meta$1){let current=obj;let currentTagMeta=tagMeta;let currentMeta=meta$1;let pathLength=path.length;let segmentEnd=-1;// prevent closures\nlet segment,descriptor;// eslint-disable-next-line no-constant-condition\nwhile(true){let lastSegmentEnd=segmentEnd+1;segmentEnd=path.indexOf('.',lastSegmentEnd);if(segmentEnd===-1){segmentEnd=pathLength;}segment=path.slice(lastSegmentEnd,segmentEnd);// If the segment is an @each, we can process it and then break\nif(segment==='@each'&&segmentEnd!==pathLength){lastSegmentEnd=segmentEnd+1;segmentEnd=path.indexOf('.',lastSegmentEnd);let arrLength=current.length;if(typeof arrLength!=='number'||// TODO: should the second test be `isEmberArray` instead?\n!(Array.isArray(current)||'objectAt'in current)){// If the current object isn't an array, there's nothing else to do,\n// we don't watch individual properties. Break out of the loop.\nbreak;}else if(arrLength===0){// Fast path for empty arrays\nchainTags.push(tagForProperty(current,'[]'));break;}if(segmentEnd===-1){segment=path.slice(lastSegmentEnd);}else{// Deprecated, remove once we turn the deprecation into an assertion\nsegment=path.slice(lastSegmentEnd,segmentEnd);}// Push the tags for each item's property\nfor(let i=0;i<arrLength;i++){let item=objectAt(current,i);if(item){chainTags.push(tagForProperty(item,segment,true));currentMeta=peekMeta(item);descriptor=currentMeta!==null?currentMeta.peekDescriptors(segment):undefined;// If the key is an alias, we need to bootstrap it\nif(descriptor!==undefined&&typeof descriptor.altKey==='string'){item[segment];}}}// Push the tag for the array length itself\nchainTags.push(tagForProperty(current,'[]',true,currentTagMeta));break;}let propertyTag=tagForProperty(current,segment,true,currentTagMeta);descriptor=currentMeta!==null?currentMeta.peekDescriptors(segment):undefined;chainTags.push(propertyTag);// If we're at the end of the path, processing the last segment, and it's\n// not an alias, we should _not_ get the last value, since we already have\n// its tag. There's no reason to access it and do more work.\nif(segmentEnd===pathLength){// If the key was an alias, we should always get the next value in order to\n// bootstrap the alias. This is because aliases, unlike other CPs, should\n// always be in sync with the aliased value.\nif(CHAIN_PASS_THROUGH.has(descriptor)){current[segment];}break;}if(descriptor===undefined){// If the descriptor is undefined, then its a normal property, so we should\n// lookup the value to chain off of like normal.\nif(!(segment in current)&&typeof current.unknownProperty==='function'){current=current.unknownProperty(segment);}else{current=current[segment];}}else if(CHAIN_PASS_THROUGH.has(descriptor)){current=current[segment];}else{// If the descriptor is defined, then its a normal CP (not an alias, which\n// would have been handled earlier). We get the last revision to check if\n// the CP is still valid, and if so we use the cached value. If not, then\n// we create a lazy chain lookup, and the next time the CP is calculated,\n// it will update that lazy chain.\nlet instanceMeta=currentMeta.source===current?currentMeta:meta(current);let lastRevision=instanceMeta.revisionFor(segment);if(lastRevision!==undefined&&validateTag(propertyTag,lastRevision)){current=instanceMeta.valueFor(segment);}else{// use metaFor here to ensure we have the meta for the instance\nlet lazyChains=instanceMeta.writableLazyChainsFor(segment);let rest=path.substring(segmentEnd+1);let placeholderTag=createUpdatableTag();lazyChains.push([placeholderTag,rest]);chainTags.push(placeholderTag);break;}}if(!isObject$1(current)){// we've hit the end of the chain for now, break out\nbreak;}currentTagMeta=tagMetaFor(current);currentMeta=peekMeta(current);}return chainTags;}// Same as built-in MethodDecorator but with more arguments\nfunction isElementDescriptor(args){let[maybeTarget,maybeKey,maybeDesc]=args;return(// Ensure we have the right number of args\nargs.length===3&&(// Make sure the target is a class or object (prototype)\ntypeof maybeTarget==='function'||typeof maybeTarget==='object'&&maybeTarget!==null)&&// Make sure the key is a string\ntypeof maybeKey==='string'&&(// Make sure the descriptor is the right shape\ntypeof maybeDesc==='object'&&maybeDesc!==null||maybeDesc===undefined));}function nativeDescDecorator(propertyDesc){let decorator=function(){return propertyDesc;};setClassicDecorator(decorator);return decorator;}/**\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          */class ComputedDescriptor{constructor(){_defineProperty(this,\"enumerable\",true);_defineProperty(this,\"configurable\",true);_defineProperty(this,\"_dependentKeys\",undefined);_defineProperty(this,\"_meta\",undefined);}setup(_obj,keyName,_propertyDesc,meta){meta.writeDescriptors(keyName,this);}teardown(_obj,keyName,meta){meta.removeDescriptors(keyName);}}function DESCRIPTOR_GETTER_FUNCTION(name,descriptor){function getter(){return descriptor.get(this,name);}return getter;}function DESCRIPTOR_SETTER_FUNCTION(name,descriptor){let set=function CPSETTER_FUNCTION(value){return descriptor.set(this,name,value);};COMPUTED_SETTERS.add(set);return set;}const COMPUTED_SETTERS=new WeakSet();function makeComputedDecorator(desc,DecoratorClass){let decorator=function COMPUTED_DECORATOR(target,key,propertyDesc,maybeMeta,isClassicDecorator){let meta$1=arguments.length===3?meta(target):maybeMeta;desc.setup(target,key,propertyDesc,meta$1);let computedDesc={enumerable:desc.enumerable,configurable:desc.configurable,get:DESCRIPTOR_GETTER_FUNCTION(key,desc),set:DESCRIPTOR_SETTER_FUNCTION(key,desc)};return computedDesc;};setClassicDecorator(decorator,desc);Object.setPrototypeOf(decorator,DecoratorClass.prototype);return decorator;}/////////////\nconst DECORATOR_DESCRIPTOR_MAP=new WeakMap();/**\n            Returns the CP descriptor associated with `obj` and `keyName`, if any.\n\n            @method descriptorForProperty\n            @param {Object} obj the object to check\n            @param {String} keyName the key to check\n            @return {Descriptor}\n            @private\n          */function descriptorForProperty(obj,keyName,_meta){let meta=_meta===undefined?peekMeta(obj):_meta;if(meta!==null){return meta.peekDescriptors(keyName);}}function descriptorForDecorator(dec){return DECORATOR_DESCRIPTOR_MAP.get(dec);}/**\n            Check whether a value is a decorator\n\n            @method isClassicDecorator\n            @param {any} possibleDesc the value to check\n            @return {boolean}\n            @private\n          */function isClassicDecorator(dec){return typeof dec==='function'&&DECORATOR_DESCRIPTOR_MAP.has(dec);}/**\n            Set a value as a decorator\n\n            @method setClassicDecorator\n            @param {function} decorator the value to mark as a decorator\n            @private\n          */function setClassicDecorator(dec){let value=arguments.length>1&&arguments[1]!==undefined?arguments[1]:true;DECORATOR_DESCRIPTOR_MAP.set(dec,value);}/**\n          @module @ember/object\n          */const END_WITH_EACH_REGEX=/\\.@each$/;/**\n            Expands `pattern`, invoking `callback` for each expansion.\n\n            The only pattern supported is brace-expansion, anything else will be passed\n            once to `callback` directly.\n\n            Example\n\n            ```js\n            import { expandProperties } from '@ember/object/computed';\n\n            function echo(arg){ console.log(arg); }\n\n            expandProperties('foo.bar', echo);              //=> 'foo.bar'\n            expandProperties('{foo,bar}', echo);            //=> 'foo', 'bar'\n            expandProperties('foo.{bar,baz}', echo);        //=> 'foo.bar', 'foo.baz'\n            expandProperties('{foo,bar}.baz', echo);        //=> 'foo.baz', 'bar.baz'\n            expandProperties('foo.{bar,baz}.[]', echo)      //=> 'foo.bar.[]', 'foo.baz.[]'\n            expandProperties('{foo,bar}.{spam,eggs}', echo) //=> 'foo.spam', 'foo.eggs', 'bar.spam', 'bar.eggs'\n            expandProperties('{foo}.bar.{baz}')             //=> 'foo.bar.baz'\n            ```\n\n            @method expandProperties\n            @static\n            @for @ember/object/computed\n            @public\n            @param {String} pattern The property pattern to expand.\n            @param {Function} callback The callback to invoke.  It is invoked once per\n            expansion, and is passed the expansion.\n          */function expandProperties(pattern,callback){let start=pattern.indexOf('{');if(start<0){callback(pattern.replace(END_WITH_EACH_REGEX,'.[]'));}else{dive('',pattern,start,callback);}}function dive(prefix,pattern,start,callback){let end=pattern.indexOf('}'),i=0,newStart,arrayLength;let tempArr=pattern.substring(start+1,end).split(',');let after=pattern.substring(end+1);prefix=prefix+pattern.substring(0,start);arrayLength=tempArr.length;while(i<arrayLength){newStart=after.indexOf('{');if(newStart<0){callback((prefix+tempArr[i++]+after).replace(END_WITH_EACH_REGEX,'.[]'));}else{dive(prefix+tempArr[i++],after,newStart,callback);}}}const AFTER_OBSERVERS=':change';function changeEvent(keyName){return keyName+AFTER_OBSERVERS;}/**\n          @module @ember/object\n          *//*\n            The event system uses a series of nested hashes to store listeners on an\n            object. When a listener is registered, or when an event arrives, these\n            hashes are consulted to determine which target and action pair to invoke.\n\n            The hashes are stored in the object's meta hash, and look like this:\n\n                // Object's meta hash\n                {\n                  listeners: {       // variable name: `listenerSet`\n                    \"foo:change\": [ // variable name: `actions`\n                      target, method, once\n                    ]\n                  }\n                }\n\n          *//**\n            Add an event listener\n\n            @method addListener\n            @static\n            @for @ember/object/events\n            @param obj\n            @param {String} eventName\n            @param {Object|Function} target A target object or a function\n            @param {Function|String} method A function or the name of a function to be called on `target`\n            @param {Boolean} once A flag whether a function should only be called once\n            @public\n          */function addListener(obj,eventName,target,method,once){let sync=arguments.length>5&&arguments[5]!==undefined?arguments[5]:true;if(!method&&'function'===typeof target){method=target;target=null;}meta(obj).addToListeners(eventName,target,method,once===true,sync);}/**\n            Remove an event listener\n\n            Arguments should match those passed to `addListener`.\n\n            @method removeListener\n            @static\n            @for @ember/object/events\n            @param obj\n            @param {String} eventName\n            @param {Object|Function} target A target object or a function\n            @param {Function|String} method A function or the name of a function to be called on `target`\n            @public\n          */function removeListener(obj,eventName,targetOrFunction,functionOrName){let target,method;if(typeof targetOrFunction==='object'){target=targetOrFunction;method=functionOrName;}else{target=null;method=targetOrFunction;}let m=meta(obj);m.removeFromListeners(eventName,target,method);}/**\n            Send an event. The execution of suspended listeners\n            is skipped, and once listeners are removed. A listener without\n            a target is executed on the passed object. If an array of actions\n            is not passed, the actions stored on the passed object are invoked.\n\n            @method sendEvent\n            @static\n            @for @ember/object/events\n            @param obj\n            @param {String} eventName\n            @param {Array} params Optional parameters for each listener.\n            @return {Boolean} if the event was delivered to one or more actions\n            @public\n          */function sendEvent(obj,eventName,params,actions,_meta){if(actions===undefined){let meta=_meta===undefined?peekMeta(obj):_meta;actions=meta!==null?meta.matchingListeners(eventName):undefined;}if(actions===undefined||actions.length===0){return false;}for(let i=actions.length-3;i>=0;i-=3){// looping in reverse for once listeners\nlet target=actions[i];let method=actions[i+1];let once=actions[i+2];if(!method){continue;}if(once){removeListener(obj,eventName,target,method);}if(!target){target=obj;}let type=typeof method;if(type==='string'||type==='symbol'){method=target[method];}method.apply(target,params);}return true;}/**\n            @public\n            @method hasListeners\n            @static\n            @for @ember/object/events\n            @param obj\n            @param {String} eventName\n            @return {Boolean} if `obj` has listeners for event `eventName`\n          */function hasListeners(obj,eventName){let meta=peekMeta(obj);if(meta===null){return false;}let matched=meta.matchingListeners(eventName);return matched!==undefined&&matched.length>0;}/**\n            Define a property as a function that should be executed when\n            a specified event or events are triggered.\n\n            ``` javascript\n            import EmberObject from '@ember/object';\n            import { on } from '@ember/object/evented';\n            import { sendEvent } from '@ember/object/events';\n\n            let Job = EmberObject.extend({\n              logCompleted: on('completed', function() {\n                console.log('Job completed!');\n              })\n            });\n\n            let job = Job.create();\n\n            sendEvent(job, 'completed'); // Logs 'Job completed!'\n           ```\n\n            @method on\n            @static\n            @for @ember/object/evented\n            @param {String} eventNames*\n            @param {Function} func\n            @return {Function} the listener function, passed as last argument to on(...)\n            @public\n          */function on$3(){for(var _len8=arguments.length,args=new Array(_len8),_key9=0;_key9<_len8;_key9++){args[_key9]=arguments[_key9];}let func=args.pop();let events=args;setListeners(func,events);return func;}const SYNC_DEFAULT=!ENV._DEFAULT_ASYNC_OBSERVERS;const SYNC_OBSERVERS=new Map();const ASYNC_OBSERVERS=new Map();/**\n          @module @ember/object\n          *//**\n            @method addObserver\n            @static\n            @for @ember/object/observers\n            @param obj\n            @param {String} path\n            @param {Object|Function} target\n            @param {Function|String} [method]\n            @public\n          */function addObserver(obj,path,target,method){let sync=arguments.length>4&&arguments[4]!==undefined?arguments[4]:SYNC_DEFAULT;let eventName=changeEvent(path);addListener(obj,eventName,target,method,false,sync);let meta=peekMeta(obj);if(meta===null||!(meta.isPrototypeMeta(obj)||meta.isInitializing())){activateObserver(obj,eventName,sync);}}/**\n            @method removeObserver\n            @static\n            @for @ember/object/observers\n            @param obj\n            @param {String} path\n            @param {Object|Function} target\n            @param {Function|String} [method]\n            @public\n          */function removeObserver(obj,path,target,method){let sync=arguments.length>4&&arguments[4]!==undefined?arguments[4]:SYNC_DEFAULT;let eventName=changeEvent(path);let meta=peekMeta(obj);if(meta===null||!(meta.isPrototypeMeta(obj)||meta.isInitializing())){deactivateObserver(obj,eventName,sync);}removeListener(obj,eventName,target,method);}function getOrCreateActiveObserversFor(target,sync){let observerMap=sync===true?SYNC_OBSERVERS:ASYNC_OBSERVERS;if(!observerMap.has(target)){observerMap.set(target,new Map());registerDestructor$1(target,()=>destroyObservers(target),true);}return observerMap.get(target);}function activateObserver(target,eventName){let sync=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;let activeObservers=getOrCreateActiveObserversFor(target,sync);if(activeObservers.has(eventName)){activeObservers.get(eventName).count++;}else{let path=eventName.substring(0,eventName.lastIndexOf(':'));let tag=getChainTagsForKey(target,path,tagMetaFor(target),peekMeta(target));activeObservers.set(eventName,{count:1,path,tag,lastRevision:valueForTag(tag),suspended:false});}}let DEACTIVATE_SUSPENDED=false;let SCHEDULED_DEACTIVATE=[];function deactivateObserver(target,eventName){let sync=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;if(DEACTIVATE_SUSPENDED===true){SCHEDULED_DEACTIVATE.push([target,eventName,sync]);return;}let observerMap=sync===true?SYNC_OBSERVERS:ASYNC_OBSERVERS;let activeObservers=observerMap.get(target);if(activeObservers!==undefined){let observer=activeObservers.get(eventName);observer.count--;if(observer.count===0){activeObservers.delete(eventName);if(activeObservers.size===0){observerMap.delete(target);}}}}function suspendedObserverDeactivation(){DEACTIVATE_SUSPENDED=true;}function resumeObserverDeactivation(){DEACTIVATE_SUSPENDED=false;for(let[target,eventName,sync]of SCHEDULED_DEACTIVATE){deactivateObserver(target,eventName,sync);}SCHEDULED_DEACTIVATE=[];}/**\n           * Primarily used for cases where we are redefining a class, e.g. mixins/reopen\n           * being applied later. Revalidates all the observers, resetting their tags.\n           *\n           * @private\n           * @param target\n           */function revalidateObservers(target){if(ASYNC_OBSERVERS.has(target)){ASYNC_OBSERVERS.get(target).forEach(observer=>{observer.tag=getChainTagsForKey(target,observer.path,tagMetaFor(target),peekMeta(target));observer.lastRevision=valueForTag(observer.tag);});}if(SYNC_OBSERVERS.has(target)){SYNC_OBSERVERS.get(target).forEach(observer=>{observer.tag=getChainTagsForKey(target,observer.path,tagMetaFor(target),peekMeta(target));observer.lastRevision=valueForTag(observer.tag);});}}let lastKnownRevision=0;function flushAsyncObservers(_schedule){let currentRevision=valueForTag(CURRENT_TAG);if(lastKnownRevision===currentRevision){return;}lastKnownRevision=currentRevision;ASYNC_OBSERVERS.forEach((activeObservers,target)=>{let meta=peekMeta(target);activeObservers.forEach((observer,eventName)=>{if(!validateTag(observer.tag,observer.lastRevision)){let sendObserver=()=>{try{sendEvent(target,eventName,[target,observer.path],undefined,meta);}finally{observer.tag=getChainTagsForKey(target,observer.path,tagMetaFor(target),peekMeta(target));observer.lastRevision=valueForTag(observer.tag);}};if(_schedule){_schedule('actions',sendObserver);}else{sendObserver();}}});});}function flushSyncObservers(){// When flushing synchronous observers, we know that something has changed (we\n// only do this during a notifyPropertyChange), so there's no reason to check\n// a global revision.\nSYNC_OBSERVERS.forEach((activeObservers,target)=>{let meta=peekMeta(target);activeObservers.forEach((observer,eventName)=>{if(!observer.suspended&&!validateTag(observer.tag,observer.lastRevision)){try{observer.suspended=true;sendEvent(target,eventName,[target,observer.path],undefined,meta);}finally{observer.tag=getChainTagsForKey(target,observer.path,tagMetaFor(target),peekMeta(target));observer.lastRevision=valueForTag(observer.tag);observer.suspended=false;}}});});}function setObserverSuspended(target,property,suspended){let activeObservers=SYNC_OBSERVERS.get(target);if(!activeObservers){return;}let observer=activeObservers.get(changeEvent(property));if(observer){observer.suspended=suspended;}}function destroyObservers(target){if(SYNC_OBSERVERS.size>0)SYNC_OBSERVERS.delete(target);if(ASYNC_OBSERVERS.size>0)ASYNC_OBSERVERS.delete(target);}/**\n           @module ember\n           @private\n           */const PROPERTY_DID_CHANGE=Symbol('PROPERTY_DID_CHANGE');let deferred$1=0;/**\n            This function is called just after an object property has changed.\n            It will notify any observers and clear caches among other things.\n\n            Normally you will not need to call this method directly but if for some\n            reason you can't directly watch a property you can invoke this method\n            manually.\n\n            @method notifyPropertyChange\n            @for @ember/object\n            @param {Object} obj The object with the property that will change\n            @param {String} keyName The property key (or path) that will change.\n            @param {Meta} [_meta] The objects meta.\n            @param {unknown} [value] The new value to set for the property\n            @return {void}\n            @since 3.1.0\n            @public\n          */function notifyPropertyChange(obj,keyName,_meta,value){let meta=_meta===undefined?peekMeta(obj):_meta;if(meta!==null&&(meta.isInitializing()||meta.isPrototypeMeta(obj))){return;}markObjectAsDirty(obj,keyName);if(deferred$1<=0){flushSyncObservers();}if(PROPERTY_DID_CHANGE in obj){// that checks its arguments length, so we have to explicitly not call this with `value`\n// if it is not passed to `notifyPropertyChange`\nif(arguments.length===4){obj[PROPERTY_DID_CHANGE](keyName,value);}else{obj[PROPERTY_DID_CHANGE](keyName);}}}/**\n            @method beginPropertyChanges\n            @chainable\n            @private\n          */function beginPropertyChanges(){deferred$1++;suspendedObserverDeactivation();}/**\n            @method endPropertyChanges\n            @private\n          */function endPropertyChanges(){deferred$1--;if(deferred$1<=0){flushSyncObservers();resumeObserverDeactivation();}}/**\n            Make a series of property changes together in an\n            exception-safe way.\n\n            ```javascript\n            Ember.changeProperties(function() {\n              obj1.set('foo', mayBlowUpWhenSet);\n              obj2.set('bar', baz);\n            });\n            ```\n\n            @method changeProperties\n            @param {Function} callback\n            @private\n          */function changeProperties(callback){beginPropertyChanges();try{callback();}finally{endPropertyChanges();}}function noop$2(){}/**\n            `@computed` is a decorator that turns a JavaScript getter and setter into a\n            computed property, which is a _cached, trackable value_. By default the getter\n            will only be called once and the result will be cached. You can specify\n            various properties that your computed property depends on. This will force the\n            cached result to be cleared if the dependencies are modified, and lazily recomputed the next time something asks for it.\n\n            In the following example we decorate a getter - `fullName` -  by calling\n            `computed` with the property dependencies (`firstName` and `lastName`) as\n            arguments. The `fullName` getter will be called once (regardless of how many\n            times it is accessed) as long as its dependencies do not change. Once\n            `firstName` or `lastName` are updated any future calls to `fullName` will\n            incorporate the new values, and any watchers of the value such as templates\n            will be updated:\n\n            ```javascript\n            import { computed, set } from '@ember/object';\n\n            class Person {\n              constructor(firstName, lastName) {\n                set(this, 'firstName', firstName);\n                set(this, 'lastName', lastName);\n              }\n\n              @computed('firstName', 'lastName')\n              get fullName() {\n                return `${this.firstName} ${this.lastName}`;\n              }\n            });\n\n            let tom = new Person('Tom', 'Dale');\n\n            tom.fullName; // 'Tom Dale'\n            ```\n\n            You can also provide a setter, which will be used when updating the computed\n            property. Ember's `set` function must be used to update the property\n            since it will also notify observers of the property:\n\n            ```javascript\n            import { computed, set } from '@ember/object';\n\n            class Person {\n              constructor(firstName, lastName) {\n                set(this, 'firstName', firstName);\n                set(this, 'lastName', lastName);\n              }\n\n              @computed('firstName', 'lastName')\n              get fullName() {\n                return `${this.firstName} ${this.lastName}`;\n              }\n\n              set fullName(value) {\n                let [firstName, lastName] = value.split(' ');\n\n                set(this, 'firstName', firstName);\n                set(this, 'lastName', lastName);\n              }\n            });\n\n            let person = new Person();\n\n            set(person, 'fullName', 'Peter Wagenet');\n            person.firstName; // 'Peter'\n            person.lastName;  // 'Wagenet'\n            ```\n\n            You can also pass a getter function or object with `get` and `set` functions\n            as the last argument to the computed decorator. This allows you to define\n            computed property _macros_:\n\n            ```js\n            import { computed } from '@ember/object';\n\n            function join(...keys) {\n              return computed(...keys, function() {\n                return keys.map(key => this[key]).join(' ');\n              });\n            }\n\n            class Person {\n              @join('firstName', 'lastName')\n              fullName;\n            }\n            ```\n\n            Note that when defined this way, getters and setters receive the _key_ of the\n            property they are decorating as the first argument. Setters receive the value\n            they are setting to as the second argument instead. Additionally, setters must\n            _return_ the value that should be cached:\n\n            ```javascript\n            import { computed, set } from '@ember/object';\n\n            function fullNameMacro(firstNameKey, lastNameKey) {\n              return computed(firstNameKey, lastNameKey, {\n                get() {\n                  return `${this[firstNameKey]} ${this[lastNameKey]}`;\n                }\n\n                set(key, value) {\n                  let [firstName, lastName] = value.split(' ');\n\n                  set(this, firstNameKey, firstName);\n                  set(this, lastNameKey, lastName);\n\n                  return value;\n                }\n              });\n            }\n\n            class Person {\n              constructor(firstName, lastName) {\n                set(this, 'firstName', firstName);\n                set(this, 'lastName', lastName);\n              }\n\n              @fullNameMacro('firstName', 'lastName') fullName;\n            });\n\n            let person = new Person();\n\n            set(person, 'fullName', 'Peter Wagenet');\n            person.firstName; // 'Peter'\n            person.lastName;  // 'Wagenet'\n            ```\n\n            Computed properties can also be used in classic classes. To do this, we\n            provide the getter and setter as the last argument like we would for a macro,\n            and we assign it to a property on the class definition. This is an _anonymous_\n            computed macro:\n\n            ```javascript\n            import EmberObject, { computed, set } from '@ember/object';\n\n            let Person = EmberObject.extend({\n              // these will be supplied by `create`\n              firstName: null,\n              lastName: null,\n\n              fullName: computed('firstName', 'lastName', {\n                get() {\n                  return `${this.firstName} ${this.lastName}`;\n                }\n\n                set(key, value) {\n                  let [firstName, lastName] = value.split(' ');\n\n                  set(this, 'firstName', firstName);\n                  set(this, 'lastName', lastName);\n\n                  return value;\n                }\n              })\n            });\n\n            let tom = Person.create({\n              firstName: 'Tom',\n              lastName: 'Dale'\n            });\n\n            tom.get('fullName') // 'Tom Dale'\n            ```\n\n            You can overwrite computed property without setters with a normal property (no\n            longer computed) that won't change if dependencies change. You can also mark\n            computed property as `.readOnly()` and block all attempts to set it.\n\n            ```javascript\n            import { computed, set } from '@ember/object';\n\n            class Person {\n              constructor(firstName, lastName) {\n                set(this, 'firstName', firstName);\n                set(this, 'lastName', lastName);\n              }\n\n              @computed('firstName', 'lastName').readOnly()\n              get fullName() {\n                return `${this.firstName} ${this.lastName}`;\n              }\n            });\n\n            let person = new Person();\n            person.set('fullName', 'Peter Wagenet'); // Uncaught Error: Cannot set read-only property \"fullName\" on object: <(...):emberXXX>\n            ```\n\n            Additional resources:\n            - [Decorators RFC](https://github.com/emberjs/rfcs/blob/master/text/0408-decorators.md)\n            - [New CP syntax RFC](https://github.com/emberjs/rfcs/blob/master/text/0011-improved-cp-syntax.md)\n            - [New computed syntax explained in \"Ember 1.12 released\" ](https://emberjs.com/blog/2015/05/13/ember-1-12-released.html#toc_new-computed-syntax)\n\n            @class ComputedProperty\n            @public\n          */class ComputedProperty extends ComputedDescriptor{constructor(args){super();_defineProperty(this,\"_readOnly\",false);_defineProperty(this,\"_hasConfig\",false);_defineProperty(this,\"_getter\",undefined);_defineProperty(this,\"_setter\",undefined);let maybeConfig=args[args.length-1];if(typeof maybeConfig==='function'||maybeConfig!==null&&typeof maybeConfig==='object'){this._hasConfig=true;let config=args.pop();if(typeof config==='function'){this._getter=config;}else{const objectConfig=config;this._getter=objectConfig.get||noop$2;this._setter=objectConfig.set;}}if(args.length>0){this._property(...args);}}setup(obj,keyName,propertyDesc,meta){super.setup(obj,keyName,propertyDesc,meta);if(this._hasConfig===false){let{get,set}=propertyDesc;if(get!==undefined){this._getter=get;}if(set!==undefined){this._setter=function setterWrapper(_key,value){let ret=set.call(this,value);if(get!==undefined){return typeof ret==='undefined'?get.call(this):ret;}return ret;};}}}_property(){let args=[];function addArg(property){args.push(property);}for(var _len9=arguments.length,passedArgs=new Array(_len9),_key0=0;_key0<_len9;_key0++){passedArgs[_key0]=arguments[_key0];}for(let arg of passedArgs){expandProperties(arg,addArg);}this._dependentKeys=args;}get(obj,keyName){let meta$1=meta(obj);let tagMeta=tagMetaFor(obj);let propertyTag=tagFor(obj,keyName,tagMeta);let ret;let revision=meta$1.revisionFor(keyName);if(revision!==undefined&&validateTag(propertyTag,revision)){ret=meta$1.valueFor(keyName);}else{let{_getter,_dependentKeys}=this;// Create a tracker that absorbs any trackable actions inside the CP\nuntrack(()=>{ret=_getter.call(obj,keyName);});if(_dependentKeys!==undefined){UPDATE_TAG(propertyTag,getChainTagsForKeys(obj,_dependentKeys,tagMeta,meta$1));}meta$1.setValueFor(keyName,ret);meta$1.setRevisionFor(keyName,valueForTag(propertyTag));finishLazyChains(meta$1,keyName,ret);}consumeTag(propertyTag);// Add the tag of the returned value if it is an array, since arrays\n// should always cause updates if they are consumed and then changed\nif(Array.isArray(ret)){consumeTag(tagFor(ret,'[]'));}return ret;}set(obj,keyName,value){if(this._readOnly){this._throwReadOnlyError(obj,keyName);}let meta$1=meta(obj);// ensure two way binding works when the component has defined a computed\n// property with both a setter and dependent keys, in that scenario without\n// the sync observer added below the caller's value will never be updated\n//\n// See GH#18147 / GH#19028 for details.\nif(// ensure that we only run this once, while the component is being instantiated\nmeta$1.isInitializing()&&this._dependentKeys!==undefined&&this._dependentKeys.length>0&&typeof obj[PROPERTY_DID_CHANGE]==='function'&&obj.isComponent){addObserver(obj,keyName,()=>{obj[PROPERTY_DID_CHANGE](keyName);},undefined,true);}let ret;try{beginPropertyChanges();ret=this._set(obj,keyName,value,meta$1);finishLazyChains(meta$1,keyName,ret);let tagMeta=tagMetaFor(obj);let propertyTag=tagFor(obj,keyName,tagMeta);let{_dependentKeys}=this;if(_dependentKeys!==undefined){UPDATE_TAG(propertyTag,getChainTagsForKeys(obj,_dependentKeys,tagMeta,meta$1));if(false/* DEBUG */);}meta$1.setRevisionFor(keyName,valueForTag(propertyTag));}finally{endPropertyChanges();}return ret;}_throwReadOnlyError(obj,keyName){throw new Error(`Cannot set read-only property \"${keyName}\" on object: ${inspect(obj)}`);}_set(obj,keyName,value,meta){let hadCachedValue=meta.revisionFor(keyName)!==undefined;let cachedValue=meta.valueFor(keyName);let ret;let{_setter}=this;setObserverSuspended(obj,keyName,true);try{ret=_setter.call(obj,keyName,value,cachedValue);}finally{setObserverSuspended(obj,keyName,false);}// allows setter to return the same value that is cached already\nif(hadCachedValue&&cachedValue===ret){return ret;}meta.setValueFor(keyName,ret);notifyPropertyChange(obj,keyName,meta,value);return ret;}/* called before property is overridden */teardown(obj,keyName,meta){if(meta.revisionFor(keyName)!==undefined){meta.setRevisionFor(keyName,undefined);meta.setValueFor(keyName,undefined);}super.teardown(obj,keyName,meta);}}class AutoComputedProperty extends ComputedProperty{get(obj,keyName){let meta$1=meta(obj);let tagMeta=tagMetaFor(obj);let propertyTag=tagFor(obj,keyName,tagMeta);let ret;let revision=meta$1.revisionFor(keyName);if(revision!==undefined&&validateTag(propertyTag,revision)){ret=meta$1.valueFor(keyName);}else{let{_getter}=this;// Create a tracker that absorbs any trackable actions inside the CP\nlet tag=track(()=>{ret=_getter.call(obj,keyName);});UPDATE_TAG(propertyTag,tag);meta$1.setValueFor(keyName,ret);meta$1.setRevisionFor(keyName,valueForTag(propertyTag));finishLazyChains(meta$1,keyName,ret);}consumeTag(propertyTag);// Add the tag of the returned value if it is an array, since arrays\n// should always cause updates if they are consumed and then changed\nif(Array.isArray(ret)){consumeTag(tagFor(ret,'[]',tagMeta));}return ret;}}// TODO: This class can be svelted once `meta` has been deprecated\nclass ComputedDecoratorImpl extends Function{/**\n              Call on a computed property to set it into read-only mode. When in this\n              mode the computed property will throw an error when set.\n               Example:\n               ```javascript\n              import { computed, set } from '@ember/object';\n               class Person {\n                @computed().readOnly()\n                get guid() {\n                  return 'guid-guid-guid';\n                }\n              }\n               let person = new Person();\n              set(person, 'guid', 'new-guid'); // will throw an exception\n              ```\n               Classic Class Example:\n               ```javascript\n              import EmberObject, { computed } from '@ember/object';\n               let Person = EmberObject.extend({\n                guid: computed(function() {\n                  return 'guid-guid-guid';\n                }).readOnly()\n              });\n               let person = Person.create();\n              person.set('guid', 'new-guid'); // will throw an exception\n              ```\n               @method readOnly\n              @return {ComputedProperty} this\n              @chainable\n              @public\n            */readOnly(){let desc=descriptorForDecorator(this);desc._readOnly=true;return this;}/**\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. You can pass a hash of these values to a\n              computed property.\n               Example:\n               ```javascript\n              import { computed } from '@ember/object';\n              import Person from 'my-app/utils/person';\n               class Store {\n                @computed().meta({ type: Person })\n                get person() {\n                  let personId = this.personId;\n                  return Person.create({ id: personId });\n                }\n              }\n              ```\n               Classic Class Example:\n               ```javascript\n              import { computed } from '@ember/object';\n              import Person from 'my-app/utils/person';\n               const Store = EmberObject.extend({\n                person: computed(function() {\n                  let personId = this.get('personId');\n                  return Person.create({ id: personId });\n                }).meta({ type: 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               @method meta\n              @param {Object} meta\n              @chainable\n              @public\n            */meta(meta){let prop=descriptorForDecorator(this);if(arguments.length===0){return prop._meta||{};}else{prop._meta=meta;return this;}}// TODO: Remove this when we can provide alternatives in the ecosystem to\n// addons such as ember-macro-helpers that use it.\n/** @internal */get _getter(){return descriptorForDecorator(this)._getter;}// TODO: Refactor this, this is an internal API only\n/** @internal */set enumerable(value){descriptorForDecorator(this).enumerable=value;}}/**\n            This helper returns a new property descriptor that wraps the passed\n            computed property function. You can use this helper to define properties with\n            native decorator syntax, mixins, or via `defineProperty()`.\n\n            Example:\n\n            ```js\n            import { computed, set } from '@ember/object';\n\n            class Person {\n              constructor() {\n                this.firstName = 'Betty';\n                this.lastName = 'Jones';\n              },\n\n              @computed('firstName', 'lastName')\n              get fullName() {\n                return `${this.firstName} ${this.lastName}`;\n              }\n            }\n\n            let client = new Person();\n\n            client.fullName; // 'Betty Jones'\n\n            set(client, 'lastName', 'Fuller');\n            client.fullName; // 'Betty Fuller'\n            ```\n\n            Classic Class Example:\n\n            ```js\n            import EmberObject, { computed } from '@ember/object';\n\n            let Person = EmberObject.extend({\n              init() {\n                this._super(...arguments);\n\n                this.firstName = 'Betty';\n                this.lastName = 'Jones';\n              },\n\n              fullName: computed('firstName', 'lastName', function() {\n                return `${this.get('firstName')} ${this.get('lastName')}`;\n              })\n            });\n\n            let client = Person.create();\n\n            client.get('fullName'); // 'Betty Jones'\n\n            client.set('lastName', 'Fuller');\n            client.get('fullName'); // 'Betty Fuller'\n            ```\n\n            You can also provide a setter, either directly on the class using native class\n            syntax, or by passing a hash with `get` and `set` functions.\n\n            Example:\n\n            ```js\n            import { computed, set } from '@ember/object';\n\n            class Person {\n              constructor() {\n                this.firstName = 'Betty';\n                this.lastName = 'Jones';\n              },\n\n              @computed('firstName', 'lastName')\n              get fullName() {\n                return `${this.firstName} ${this.lastName}`;\n              }\n\n              set fullName(value) {\n                let [firstName, lastName] = value.split(/\\s+/);\n\n                set(this, 'firstName', firstName);\n                set(this, 'lastName', lastName);\n\n                return value;\n              }\n            }\n\n            let client = new Person();\n\n            client.fullName; // 'Betty Jones'\n\n            set(client, 'lastName', 'Fuller');\n            client.fullName; // 'Betty Fuller'\n            ```\n\n            Classic Class Example:\n\n            ```js\n            import EmberObject, { computed } from '@ember/object';\n\n            let Person = EmberObject.extend({\n              init() {\n                this._super(...arguments);\n\n                this.firstName = 'Betty';\n                this.lastName = 'Jones';\n              },\n\n              fullName: computed('firstName', 'lastName', {\n                get(key) {\n                  return `${this.get('firstName')} ${this.get('lastName')}`;\n                },\n                set(key, value) {\n                  let [firstName, lastName] = value.split(/\\s+/);\n                  this.setProperties({ firstName, lastName });\n                  return value;\n                }\n              })\n            });\n\n            let client = Person.create();\n            client.get('firstName'); // 'Betty'\n\n            client.set('fullName', 'Carroll Fuller');\n            client.get('firstName'); // 'Carroll'\n            ```\n\n            When passed as an argument, the `set` function should accept two parameters,\n            `key` and `value`. The value returned from `set` will be the new value of the\n            property.\n\n            _Note: This is the preferred way to define computed properties when writing third-party\n            libraries that depend on or use Ember, since there is no guarantee that the user\n            will have [prototype Extensions](https://guides.emberjs.com/release/configuring-ember/disabling-prototype-extensions/) enabled._\n\n            @method computed\n            @for @ember/object\n            @static\n            @param {String} [dependentKeys*] Optional dependent keys that trigger this computed property.\n            @param {Function} func The computed property function.\n            @return {ComputedDecorator} property decorator instance\n            @public\n          */// @computed without parens or computed with descriptor args\n// @computed with keys only\n// @computed with keys and config\n// @computed with config only\nfunction computed(){for(var _len0=arguments.length,args=new Array(_len0),_key1=0;_key1<_len0;_key1++){args[_key1]=arguments[_key1];}if(isElementDescriptor(args)){// SAFETY: We passed in the impl for this class\nlet decorator=makeComputedDecorator(new ComputedProperty([]),ComputedDecoratorImpl);return decorator(args[0],args[1],args[2]);}// SAFETY: We passed in the impl for this class\nreturn makeComputedDecorator(new ComputedProperty(args),ComputedDecoratorImpl);}function autoComputed(){for(var _len1=arguments.length,config=new Array(_len1),_key10=0;_key10<_len1;_key10++){config[_key10]=arguments[_key10];}// SAFETY: We passed in the impl for this class\nreturn makeComputedDecorator(new AutoComputedProperty(config),ComputedDecoratorImpl);}/**\n            Allows checking if a given property on an object is a computed property. For the most part,\n            this doesn't matter (you would normally just access the property directly and use its value),\n            but for some tooling specific scenarios (e.g. the ember-inspector) it is important to\n            differentiate if a property is a computed property or a \"normal\" property.\n\n            This will work on either a class's prototype or an instance itself.\n\n            @static\n            @method isComputed\n            @for @ember/debug\n            @private\n           */function isComputed(obj,key){return Boolean(descriptorForProperty(obj,key));}function getCachedValueFor(obj,key){let meta=peekMeta(obj);if(meta){return meta.valueFor(key);}else{return undefined;}}/**\n          @module @ember/object\n          *//**\n            NOTE: This is a low-level method used by other parts of the API. You almost\n            never want to call this method directly. Instead you should use\n            `mixin()` to define new properties.\n\n            Defines a property on an object. This method works much like the ES5\n            `Object.defineProperty()` method except that it can also accept computed\n            properties and other special descriptors.\n\n            Normally this method takes only three parameters. However if you pass an\n            instance of `Descriptor` as the third param then you can pass an\n            optional value as the fourth parameter. This is often more efficient than\n            creating new descriptor hashes for each property.\n\n            ## Examples\n\n            ```javascript\n            import { defineProperty, computed } from '@ember/object';\n\n            // ES5 compatible mode\n            defineProperty(contact, 'firstName', {\n              writable: true,\n              configurable: false,\n              enumerable: true,\n              value: 'Charles'\n            });\n\n            // define a simple property\n            defineProperty(contact, 'lastName', undefined, 'Jolley');\n\n            // define a computed property\n            defineProperty(contact, 'fullName', computed('firstName', 'lastName', function() {\n              return this.firstName+' '+this.lastName;\n            }));\n            ```\n\n            @public\n            @method defineProperty\n            @static\n            @for @ember/object\n            @param {Object} obj the object to define this property on. This may be a prototype.\n            @param {String} keyName the name of the property\n            @param {Descriptor} [desc] an instance of `Descriptor` (typically a\n              computed property) or an ES5 descriptor.\n              You must provide this or `data` but not both.\n            @param {*} [data] something other than a descriptor, that will\n              become the explicit value of this property.\n          */function defineProperty(obj,keyName,desc,data,_meta){let meta$1=_meta===undefined?meta(obj):_meta;let previousDesc=descriptorForProperty(obj,keyName,meta$1);let wasDescriptor=previousDesc!==undefined;if(wasDescriptor){previousDesc.teardown(obj,keyName,meta$1);}if(isClassicDecorator(desc)){defineDecorator(obj,keyName,desc,meta$1);}else if(desc===null||desc===undefined){defineValue(obj,keyName,data,wasDescriptor,true);}else{// fallback to ES5\nObject.defineProperty(obj,keyName,desc);}// if key is being watched, override chains that\n// were initialized with the prototype\nif(!meta$1.isPrototypeMeta(obj)){revalidateObservers(obj);}}function defineDecorator(obj,keyName,desc,meta){let propertyDesc;{propertyDesc=desc(obj,keyName,undefined,meta);}Object.defineProperty(obj,keyName,propertyDesc);// pass the decorator function forward for backwards compat\nreturn desc;}function defineValue(obj,keyName,value,wasDescriptor){let enumerable=arguments.length>4&&arguments[4]!==undefined?arguments[4]:true;if(wasDescriptor===true||enumerable===false){Object.defineProperty(obj,keyName,{configurable:true,enumerable,writable:true,value});}else{{obj[keyName]=value;}}return value;}const EMBER_ARRAYS=new WeakSet();function setEmberArray(obj){EMBER_ARRAYS.add(obj);}function isEmberArray(obj){return EMBER_ARRAYS.has(obj);}const emberArrayinternals=/*#__PURE__*/Object.defineProperty({__proto__:null,isEmberArray,setEmberArray},Symbol.toStringTag,{value:'Module'});const firstDotIndexCache=new Cache(1000,key=>key.indexOf('.'));function isPath(path){return typeof path==='string'&&firstDotIndexCache.get(path)!==-1;}/**\n          @module @ember/object\n          */const PROXY_CONTENT=symbol('PROXY_CONTENT');function hasUnknownProperty(val){return typeof val==='object'&&val!==null&&typeof val.unknownProperty==='function';}// ..........................................................\n// GET AND SET\n//\n// If we are on a platform that supports accessors we can use those.\n// Otherwise simulate accessors by looking up the property directly on the\n// object.\n/**\n            Gets the value of a property on an object. If the property is computed,\n            the function will be invoked. If the property is not defined but the\n            object implements the `unknownProperty` method then that will be invoked.\n\n            ```javascript\n            import { get } from '@ember/object';\n            get(obj, \"name\");\n            ```\n\n            If you plan to run on IE8 and older browsers then you should use this\n            method anytime you want to retrieve a property on an object that you don't\n            know for sure is private. (Properties beginning with an underscore '_'\n            are considered private.)\n\n            On all newer browsers, you only need to use this method to retrieve\n            properties if the property might not be defined on the object and you want\n            to respect the `unknownProperty` handler. Otherwise you can ignore this\n            method.\n\n            Note that if the object itself is `undefined`, this method will throw\n            an error.\n\n            @method get\n            @for @ember/object\n            @static\n            @param {Object} obj The object to retrieve from.\n            @param {String} keyName The property key to retrieve\n            @return {Object} the property value or `null`.\n            @public\n          */function get$2(obj,keyName){return isPath(keyName)?_getPath(obj,keyName):_getProp(obj,keyName);}function _getProp(obj,keyName){if(obj==null){return;}let value;if(typeof obj==='object'||typeof obj==='function'){{value=obj[keyName];}if(value===undefined&&typeof obj==='object'&&!(keyName in obj)&&hasUnknownProperty(obj)){value=obj.unknownProperty(keyName);}if(isTracking()){consumeTag(tagFor(obj,keyName));if(Array.isArray(value)||isEmberArray(value)){// Add the tag of the returned value if it is an array, since arrays\n// should always cause updates if they are consumed and then changed\nconsumeTag(tagFor(value,'[]'));}}}else{// SAFETY: It should be ok to access properties on any non-nullish value\nvalue=obj[keyName];}return value;}function _getPath(obj,path,forSet){let parts=typeof path==='string'?path.split('.'):path;for(let part of parts){if(obj===undefined||obj===null||obj.isDestroyed){return undefined;}if(forSet&&(part==='__proto__'||part==='constructor')){return;}obj=_getProp(obj,part);}return obj;}// Warm it up\n_getProp('foo','a');_getProp('foo',1);_getProp({},'a');_getProp({},1);_getProp({unknownProperty(){}},'a');_getProp({unknownProperty(){}},1);get$2({},'foo');get$2({},'foo.bar');let fakeProxy={};setProxy(fakeProxy);track(()=>_getProp({},'a'));track(()=>_getProp({},1));track(()=>_getProp({a:[]},'a'));track(()=>_getProp({a:fakeProxy},'a'));/**\n           @module @ember/object\n          *//**\n            Sets the value of a property on an object, respecting computed properties\n            and notifying observers and other listeners of the change.\n            If the specified property is not defined on the object and the object\n            implements the `setUnknownProperty` method, then instead of setting the\n            value of the property on the object, its `setUnknownProperty` handler\n            will be invoked with the two parameters `keyName` and `value`.\n\n            ```javascript\n            import { set } from '@ember/object';\n            set(obj, \"name\", value);\n            ```\n\n            @method set\n            @static\n            @for @ember/object\n            @param {Object} obj The object to modify.\n            @param {String} keyName The property key to set\n            @param {Object} value The value to set\n            @return {Object} the passed value.\n            @public\n          */function set(obj,keyName,value,tolerant){if(obj.isDestroyed){return value;}return isPath(keyName)?_setPath(obj,keyName,value,tolerant):_setProp(obj,keyName,value);}function _setProp(obj,keyName,value){let descriptor=lookupDescriptor(obj,keyName);if(descriptor!==null&&COMPUTED_SETTERS.has(descriptor.set)){obj[keyName]=value;return value;}let currentValue;{currentValue=obj[keyName];}if(currentValue===undefined&&'object'===typeof obj&&!(keyName in obj)&&typeof obj.setUnknownProperty==='function'){/* unknown property */obj.setUnknownProperty(keyName,value);}else{{obj[keyName]=value;}if(currentValue!==value){notifyPropertyChange(obj,keyName);}}return value;}function _setPath(root,path,value,tolerant){let parts=path.split('.');let keyName=parts.pop();let newRoot=_getPath(root,parts,true);if(newRoot!==null&&newRoot!==undefined){return set(newRoot,keyName,value);}else if(!tolerant){throw new Error(`Property set failed: object in path \"${parts.join('.')}\" could not be found.`);}}/**\n            Error-tolerant form of `set`. Will not blow up if any part of the\n            chain is `undefined`, `null`, or destroyed.\n\n            This is primarily used when syncing bindings, which may try to update after\n            an object has been destroyed.\n\n            ```javascript\n            import { trySet } from '@ember/object';\n\n            let obj = { name: \"Zoey\" };\n            trySet(obj, \"contacts.twitter\", \"@emberjs\");\n            ```\n\n            @method trySet\n            @static\n            @for @ember/object\n            @param {Object} root The object to modify.\n            @param {String} path The property path to set\n            @param {Object} value The value to set\n            @public\n          */function trySet(root,path,value){return set(root,path,value,true);}function alias(altKey){return makeComputedDecorator(new AliasedProperty(altKey),AliasDecoratorImpl);}// TODO: This class can be svelted once `meta` has been deprecated\nclass AliasDecoratorImpl extends Function{readOnly(){descriptorForDecorator(this).readOnly();return this;}oneWay(){descriptorForDecorator(this).oneWay();return this;}meta(meta){let prop=descriptorForDecorator(this);if(arguments.length===0){return prop._meta||{};}else{prop._meta=meta;}}}class AliasedProperty extends ComputedDescriptor{constructor(altKey){super();_defineProperty(this,\"altKey\",void 0);this.altKey=altKey;}setup(obj,keyName,propertyDesc,meta){super.setup(obj,keyName,propertyDesc,meta);CHAIN_PASS_THROUGH.add(this);}get(obj,keyName){let ret;let meta$1=meta(obj);let tagMeta=tagMetaFor(obj);let propertyTag=tagFor(obj,keyName,tagMeta);// We don't use the tag since CPs are not automatic, we just want to avoid\n// anything tracking while we get the altKey\nuntrack(()=>{ret=get$2(obj,this.altKey);});let lastRevision=meta$1.revisionFor(keyName);if(lastRevision===undefined||!validateTag(propertyTag,lastRevision)){UPDATE_TAG(propertyTag,getChainTagsForKey(obj,this.altKey,tagMeta,meta$1));meta$1.setRevisionFor(keyName,valueForTag(propertyTag));finishLazyChains(meta$1,keyName,ret);}consumeTag(propertyTag);return ret;}set(obj,_keyName,value){return set(obj,this.altKey,value);}readOnly(){this.set=AliasedProperty_readOnlySet;}oneWay(){this.set=AliasedProperty_oneWaySet;}}function AliasedProperty_readOnlySet(obj,keyName){throw new Error(`Cannot set read-only property '${keyName}' on object: ${inspect(obj)}`);}function AliasedProperty_oneWaySet(obj,keyName,value){defineProperty(obj,keyName,null);return set(obj,keyName,value);}/**\n          @module ember\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          */function deprecateProperty(object,deprecatedKey,newKey,options){Object.defineProperty(object,deprecatedKey,{configurable:true,enumerable:false,set(value){set(this,newKey,value);},get(){return get$2(this,newKey);}});}function arrayContentWillChange(array,startIdx,removeAmt,addAmt){// if no args are passed assume everything changes\nif(startIdx===undefined){startIdx=0;removeAmt=addAmt=-1;}else{if(removeAmt===undefined){removeAmt=-1;}if(addAmt===undefined){addAmt=-1;}}sendEvent(array,'@array:before',[array,startIdx,removeAmt,addAmt]);return array;}function arrayContentDidChange(array,startIdx,removeAmt,addAmt){let notify=arguments.length>4&&arguments[4]!==undefined?arguments[4]:true;// if no args are passed assume everything changes\nif(startIdx===undefined){startIdx=0;removeAmt=addAmt=-1;}else{if(removeAmt===undefined){removeAmt=-1;}if(addAmt===undefined){addAmt=-1;}}let meta=peekMeta(array);if(notify){if(addAmt<0||removeAmt<0||addAmt-removeAmt!==0){notifyPropertyChange(array,'length',meta);}notifyPropertyChange(array,'[]',meta);}sendEvent(array,'@array:change',[array,startIdx,removeAmt,addAmt]);if(meta!==null){let length=array.length;let addedAmount=addAmt===-1?0:addAmt;let removedAmount=removeAmt===-1?0:removeAmt;let delta=addedAmount-removedAmount;let previousLength=length-delta;let normalStartIdx=startIdx<0?previousLength+startIdx:startIdx;if(meta.revisionFor('firstObject')!==undefined&&normalStartIdx===0){notifyPropertyChange(array,'firstObject',meta);}if(meta.revisionFor('lastObject')!==undefined){let previousLastIndex=previousLength-1;let lastAffectedIndex=normalStartIdx+removedAmount;if(previousLastIndex<lastAffectedIndex){notifyPropertyChange(array,'lastObject',meta);}}}return array;}const EMPTY_ARRAY$3=Object.freeze([]);// Ideally, we'd use MutableArray.detect but for unknown reasons this causes\n// the node tests to fail strangely.\nfunction isMutableArray(obj){return obj!=null&&typeof obj.replace==='function';}function replace(array,start,deleteCount){let items=arguments.length>3&&arguments[3]!==undefined?arguments[3]:EMPTY_ARRAY$3;if(isMutableArray(array)){array.replace(start,deleteCount,items);}else{replaceInNativeArray(array,start,deleteCount,items);}}const CHUNK_SIZE=60000;// To avoid overflowing the stack, we splice up to CHUNK_SIZE items at a time.\n// See https://code.google.com/p/chromium/issues/detail?id=56588 for more details.\nfunction replaceInNativeArray(array,start,deleteCount,items){arrayContentWillChange(array,start,deleteCount,items.length);if(items.length<=CHUNK_SIZE){array.splice(start,deleteCount,...items);}else{array.splice(start,deleteCount);for(let i=0;i<items.length;i+=CHUNK_SIZE){let chunk=items.slice(i,i+CHUNK_SIZE);array.splice(start+i,0,...chunk);}}arrayContentDidChange(array,start,deleteCount,items.length);}function arrayObserversHelper(obj,target,opts,operation){var _obj$_revalidate;let{willChange,didChange}=opts;operation(obj,'@array:before',target,willChange);operation(obj,'@array:change',target,didChange);/*\n             * Array proxies have a `_revalidate` method which must be called to set\n             * up their internal array observation systems.\n             */(_obj$_revalidate=obj._revalidate)===null||_obj$_revalidate===void 0||_obj$_revalidate.call(obj);return obj;}function addArrayObserver(array,target,opts){return arrayObserversHelper(array,target,opts,addListener);}function removeArrayObserver(array,target,opts){return arrayObserversHelper(array,target,opts,removeListener);}const EACH_PROXIES=new WeakMap();function eachProxyArrayWillChange(array,idx,removedCnt,addedCnt){let eachProxy=EACH_PROXIES.get(array);if(eachProxy!==undefined){eachProxy.arrayWillChange(array,idx,removedCnt,addedCnt);}}function eachProxyArrayDidChange(array,idx,removedCnt,addedCnt){let eachProxy=EACH_PROXIES.get(array);if(eachProxy!==undefined){eachProxy.arrayDidChange(array,idx,removedCnt,addedCnt);}}/**\n           @module ember\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          */class Libraries{constructor(){_defineProperty(this,\"_registry\",void 0);_defineProperty(this,\"_coreLibIndex\",void 0);_defineProperty(this,\"isRegistered\",void 0);_defineProperty(this,\"logVersions\",void 0);this._registry=[];this._coreLibIndex=0;}_getLibraryByName(name){let libs=this._registry;for(let lib of libs){if(lib.name===name){return lib;}}return undefined;}register(name,version,isCoreLibrary){let index=this._registry.length;if(!this._getLibraryByName(name)){if(isCoreLibrary){index=this._coreLibIndex++;}this._registry.splice(index,0,{name,version});}}registerCoreLibrary(name,version){this.register(name,version,true);}deRegister(name){let lib=this._getLibraryByName(name);let index;if(lib){index=this._registry.indexOf(lib);this._registry.splice(index,1);}}}const LIBRARIES=new Libraries();LIBRARIES.registerCoreLibrary('Ember',Version);/**\n           @module @ember/object\n          *//**\n            To get multiple properties at once, call `getProperties`\n            with an object followed by a list of strings or an array:\n\n            ```javascript\n            import { getProperties } from '@ember/object';\n\n            getProperties(record, 'firstName', 'lastName', 'zipCode');\n            // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n            ```\n\n            is equivalent to:\n\n            ```javascript\n            import { getProperties } from '@ember/object';\n\n            getProperties(record, ['firstName', 'lastName', 'zipCode']);\n            // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n            ```\n\n            @method getProperties\n            @static\n            @for @ember/object\n            @param {Object} obj\n            @param {String...|Array} list of keys to get\n            @return {Object}\n            @public\n          */function getProperties(obj,keys){let ret={};let propertyNames;let i=1;if(arguments.length===2&&Array.isArray(keys)){i=0;propertyNames=arguments[1];}else{propertyNames=Array.from(arguments);}for(;i<propertyNames.length;i++){// SAFETY: we are just walking the list of property names, so we know the\n// index access never produces `undefined`.\nlet name=propertyNames[i];ret[name]=get$2(obj,name);}return ret;}/**\n           @module @ember/object\n          *//**\n            Set a list of properties on an object. These properties are set inside\n            a single `beginPropertyChanges` and `endPropertyChanges` batch, so\n            observers will be buffered.\n\n            ```javascript\n            import EmberObject from '@ember/object';\n            let anObject = EmberObject.create();\n\n            anObject.setProperties({\n              firstName: 'Stanley',\n              lastName: 'Stuart',\n              age: 21\n            });\n            ```\n\n            @method setProperties\n            @static\n            @for @ember/object\n            @param obj\n            @param {Object} properties\n            @return properties\n            @public\n          */function setProperties(obj,properties){if(properties===null||typeof properties!=='object'){return properties;}changeProperties(()=>{let props=Object.keys(properties);for(let propertyName of props){// SAFETY: casting `properties` this way is safe because any object in JS\n// can be indexed this way, and the result will be `unknown`, making it\n// safe for callers.\nset(obj,propertyName,properties[propertyName]);}});return properties;}let DEBUG_INJECTION_FUNCTIONS;/**\n           @module ember\n           @private\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} nameOrDesc (optional) The name the property will lookup, defaults\n                   to the property's name\n            @private\n          */// Decorator factory (with args)\n// (Also matches non-decorator form, types may be incorrect for this.)\n// Non-decorator\n// Decorator (without args)\n// Catch-all for service and controller injections\nfunction inject$2(type){let elementDescriptor;let name;for(var _len10=arguments.length,args=new Array(_len10>1?_len10-1:0),_key11=1;_key11<_len10;_key11++){args[_key11-1]=arguments[_key11];}if(isElementDescriptor(args)){elementDescriptor=args;}else if(typeof args[0]==='string'){name=args[0];}let getInjection=function(propertyName){let owner=getOwner$2(this)||this.container;// fallback to `container` for backwards compat\nreturn owner.lookup(`${type}:${name||propertyName}`);};let decorator=computed({get:getInjection,set(keyName,value){defineProperty(this,keyName,null,value);}});if(elementDescriptor){return decorator(elementDescriptor[0],elementDescriptor[1],elementDescriptor[2]);}else{return decorator;}}/**\n            @decorator\n            @private\n\n            Marks a property as tracked.\n\n            By default, a component's properties are expected to be static,\n            meaning you are not able to update them and have the template update accordingly.\n            Marking a property as tracked means that when that property changes,\n            a rerender of the component is scheduled so the template is kept up to date.\n\n            There are two usages for the `@tracked` decorator, shown below.\n\n            @example No dependencies\n\n            If you don't pass an argument to `@tracked`, only changes to that property\n            will be tracked:\n\n            ```typescript\n            import Component from '@glimmer/component';\n            import { tracked } from '@glimmer/tracking';\n\n            export default class MyComponent extends Component {\n              @tracked\n              remainingApples = 10\n            }\n            ```\n\n            When something changes the component's `remainingApples` property, the rerender\n            will be scheduled.\n\n            @example Dependents\n\n            In the case that you have a computed property that depends other\n            properties, you want to track both so that when one of the\n            dependents change, a rerender is scheduled.\n\n            In the following example we have two properties,\n            `eatenApples`, and `remainingApples`.\n\n            ```typescript\n            import Component from '@glimmer/component';\n            import { tracked } from '@glimmer/tracking';\n\n            const totalApples = 100;\n\n            export default class MyComponent extends Component {\n              @tracked\n              eatenApples = 0\n\n              get remainingApples() {\n                return totalApples - this.eatenApples;\n              }\n\n              increment() {\n                this.eatenApples = this.eatenApples + 1;\n              }\n            }\n            ```\n\n            @param dependencies Optional dependents to be tracked.\n          */function tracked(){for(var _len11=arguments.length,args=new Array(_len11),_key12=0;_key12<_len11;_key12++){args[_key12]=arguments[_key12];}if(!isElementDescriptor(args)){let propertyDesc=args[0];let initializer=propertyDesc?propertyDesc.initializer:undefined;let value=propertyDesc?propertyDesc.value:undefined;let decorator=function(target,key,_desc,_meta,isClassicDecorator){let fieldDesc={initializer:initializer||(()=>value)};return descriptorForField([target,key,fieldDesc]);};setClassicDecorator(decorator);return decorator;}return descriptorForField(args);}function descriptorForField(_ref55){let[target,key,desc]=_ref55;let{getter,setter}=trackedData(key,desc?desc.initializer:undefined);function get(){let value=getter(this);// Add the tag of the returned value if it is an array, since arrays\n// should always cause updates if they are consumed and then changed\nif(Array.isArray(value)||isEmberArray(value)){consumeTag(tagFor(value,'[]'));}return value;}function set(newValue){setter(this,newValue);dirtyTagFor(this,SELF_TAG);}let newDesc={enumerable:true,configurable:true,isTracked:true,get,set};COMPUTED_SETTERS.add(set);meta(target).writeDescriptors(key,new TrackedDescriptor(get,set));return newDesc;}class TrackedDescriptor{constructor(_get,_set){this._get=_get;this._set=_set;CHAIN_PASS_THROUGH.add(this);}get(obj){return this._get.call(obj);}set(obj,_key,value){this._set.call(obj,value);}}// NOTE: copied from: https://github.com/glimmerjs/glimmer.js/pull/358\n// Both glimmerjs/glimmer.js and emberjs/ember.js have the exact same implementation\n// of @cached, so any changes made to one should also be made to the other\n/**\n           * @decorator\n           *\n            Gives the getter a caching behavior. The return value of the getter\n            will be cached until any of the properties it is entangled with\n            are invalidated. This is useful when a getter is expensive and\n            used very often.\n\n            For instance, in this `GuestList` class, we have the `sortedGuests`\n            getter that sorts the guests alphabetically:\n\n            ```javascript\n              import { tracked } from '@glimmer/tracking';\n\n              class GuestList {\n                @tracked guests = ['Zoey', 'Tomster'];\n\n                get sortedGuests() {\n                  return this.guests.slice().sort()\n                }\n              }\n            ```\n\n            Every time `sortedGuests` is accessed, a new array will be created and sorted,\n            because JavaScript getters do not cache by default. When the guest list\n            is small, like the one in the example, this is not a problem. However, if\n            the guest list were to grow very large, it would mean that we would be doing\n            a large amount of work each time we accessed `sortedGuests`. With `@cached`,\n            we can cache the value instead:\n\n            ```javascript\n              import { tracked, cached } from '@glimmer/tracking';\n\n              class GuestList {\n                @tracked guests = ['Zoey', 'Tomster'];\n\n                @cached\n                get sortedGuests() {\n                  return this.guests.slice().sort()\n                }\n              }\n            ```\n\n            Now the `sortedGuests` getter will be cached based on autotracking.\n            It will only rerun and create a new sorted array when the guests tracked\n            property is updated.\n\n\n            ### Tradeoffs\n\n            Overuse is discouraged.\n\n            In general, you should avoid using `@cached` unless you have confirmed that\n            the getter you are decorating is computationally expensive, since `@cached`\n            adds a small amount of overhead to the getter.\n            While the individual costs are small, a systematic use of the `@cached`\n            decorator can add up to a large impact overall in your app.\n            Many getters and tracked properties are only accessed once during rendering,\n            and then never rerendered, so adding `@cached` when unnecessary can\n            negatively impact performance.\n\n            Also, `@cached` may rerun even if the values themselves have not changed,\n            since tracked properties will always invalidate.\n            For example updating an integer value from `5` to an other `5` will trigger\n            a rerun of the cached properties building from this integer.\n\n            Avoiding a cache invalidation in this case is not something that can\n            be achieved on the `@cached` decorator itself, but rather when updating\n            the underlying tracked values, by applying some diff checking mechanisms:\n\n            ```javascript\n            if (nextValue !== this.trackedProp) {\n              this.trackedProp = nextValue;\n            }\n            ```\n\n            Here equal values won't update the property, therefore not triggering\n            the subsequent cache invalidations of the `@cached` properties who were\n            using this `trackedProp`.\n\n            Remember that setting tracked data should only be done during initialization, \n            or as the result of a user action. Setting tracked data during render\n            (such as in a getter), is not supported.\n\n            @method cached\n            @static\n            @for @glimmer/tracking\n            @public\n           */const cached=function(){for(var _len12=arguments.length,args=new Array(_len12),_key13=0;_key13<_len12;_key13++){args[_key13]=arguments[_key13];}const[target,key,descriptor]=args;const caches=new WeakMap();const getter=descriptor.get;descriptor.get=function(){if(!caches.has(this)){caches.set(this,createCache(getter.bind(this)));}return getValue(caches.get(this));};};const hasOwnProperty$2=Object.prototype.hasOwnProperty;let searchDisabled=false;const flags={_set:0,_unprocessedNamespaces:false,get unprocessedNamespaces(){return this._unprocessedNamespaces;},set unprocessedNamespaces(v){this._set++;this._unprocessedNamespaces=v;}};let unprocessedMixins=false;const NAMESPACES=[];const NAMESPACES_BY_ID=Object.create(null);function addNamespace(namespace){flags.unprocessedNamespaces=true;NAMESPACES.push(namespace);}function removeNamespace(namespace){let name=getName(namespace);delete NAMESPACES_BY_ID[name];NAMESPACES.splice(NAMESPACES.indexOf(namespace),1);if(name in context$1.lookup&&namespace===context$1.lookup[name]){context$1.lookup[name]=undefined;}}function findNamespaces(){if(!flags.unprocessedNamespaces){return;}let lookup=context$1.lookup;let keys=Object.keys(lookup);for(let key of keys){// Only process entities that start with uppercase A-Z\nif(!isUppercase(key.charCodeAt(0))){continue;}let obj=tryIsNamespace(lookup,key);if(obj){setName(obj,key);}}}function findNamespace(name){if(!searchDisabled){processAllNamespaces();}return NAMESPACES_BY_ID[name];}function processNamespace(namespace){_processNamespace([namespace.toString()],namespace,new Set());}function processAllNamespaces(){let unprocessedNamespaces=flags.unprocessedNamespaces;if(unprocessedNamespaces){findNamespaces();flags.unprocessedNamespaces=false;}if(unprocessedNamespaces||unprocessedMixins){let namespaces=NAMESPACES;for(let namespace of namespaces){processNamespace(namespace);}unprocessedMixins=false;}}function isSearchDisabled(){return searchDisabled;}function setSearchDisabled(flag){searchDisabled=Boolean(flag);}function setUnprocessedMixins(){unprocessedMixins=true;}function _processNamespace(paths,root,seen){let idx=paths.length;let id=paths.join('.');NAMESPACES_BY_ID[id]=root;setName(root,id);// Loop over all of the keys in the namespace, looking for classes\nfor(let key in root){if(!hasOwnProperty$2.call(root,key)){continue;}let obj=root[key];// If we are processing the `Ember` namespace, for example, the\n// `paths` will start with `[\"Ember\"]`. Every iteration through\n// the loop will update the **second** element of this list with\n// the key, so processing `Ember.View` will make the Array\n// `['Ember', 'View']`.\npaths[idx]=key;// If we have found an unprocessed class\nif(obj&&getName(obj)===void 0){// Replace the class' `toString` with the dot-separated path\nsetName(obj,paths.join('.'));// Support nested namespaces\n}else if(obj&&isNamespace(obj)){// Skip aliased namespaces\nif(seen.has(obj)){continue;}seen.add(obj);// Process the child namespace\n_processNamespace(paths,obj,seen);}}paths.length=idx;// cut out last item\n}function isNamespace(obj){return obj!=null&&typeof obj==='object'&&obj.isNamespace;}function isUppercase(code){return code>=65&&code<=90// A\n;// Z\n}function tryIsNamespace(lookup,prop){try{let obj=lookup[prop];return(obj!==null&&typeof obj==='object'||typeof obj==='function')&&obj.isNamespace&&obj;}catch(_e){// continue\n}}const emberinternalsMetalIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,ASYNC_OBSERVERS,ComputedDescriptor,ComputedProperty,DEBUG_INJECTION_FUNCTIONS,Libraries,NAMESPACES,NAMESPACES_BY_ID,PROPERTY_DID_CHANGE,PROXY_CONTENT,SYNC_OBSERVERS,TrackedDescriptor,_getPath,_getProp,_setProp,activateObserver,addArrayObserver,addListener,addNamespace,addObserver,alias,arrayContentDidChange,arrayContentWillChange,autoComputed,beginPropertyChanges,cached,changeProperties,computed,createCache,defineDecorator,defineProperty,defineValue,deprecateProperty,descriptorForDecorator,descriptorForProperty,eachProxyArrayDidChange,eachProxyArrayWillChange,endPropertyChanges,expandProperties,findNamespace,findNamespaces,flushAsyncObservers,get:get$2,getCachedValueFor,getProperties,getValue,hasListeners,hasUnknownProperty,inject:inject$2,isClassicDecorator,isComputed,isConst,isElementDescriptor,isNamespaceSearchDisabled:isSearchDisabled,libraries:LIBRARIES,makeComputedDecorator,markObjectAsDirty,nativeDescDecorator,notifyPropertyChange,objectAt,on:on$3,processAllNamespaces,processNamespace,removeArrayObserver,removeListener,removeNamespace,removeObserver,replace,replaceInNativeArray,revalidateObservers,sendEvent,set,setClassicDecorator,setNamespaceSearchDisabled:setSearchDisabled,setProperties,setUnprocessedMixins,tagForObject,tagForProperty,tracked,trySet},Symbol.toStringTag,{value:'Module'});const emberObjectEvents=/*#__PURE__*/Object.defineProperty({__proto__:null,addListener,removeListener,sendEvent},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/object/mixin\n          */const a_concat=Array.prototype.concat;function extractAccessors(properties){if(properties!==undefined){for(let key of Object.keys(properties)){let desc=Object.getOwnPropertyDescriptor(properties,key);if(desc.get!==undefined||desc.set!==undefined){Object.defineProperty(properties,key,{value:nativeDescDecorator(desc)});}}}return properties;}function concatenatedMixinProperties(concatProp,props,values,base){// reset before adding each new mixin to pickup concats from previous\nlet concats=values[concatProp]||base[concatProp];if(props[concatProp]){concats=concats?a_concat.call(concats,props[concatProp]):props[concatProp];}return concats;}function giveDecoratorSuper(key,decorator,property,descs){if(property===true){return decorator;}let originalGetter=property._getter;if(originalGetter===undefined){return decorator;}let superDesc=descs[key];// Check to see if the super property is a decorator first, if so load its descriptor\nlet superProperty=typeof superDesc==='function'?descriptorForDecorator(superDesc):superDesc;if(superProperty===undefined||superProperty===true){return decorator;}let superGetter=superProperty._getter;if(superGetter===undefined){return decorator;}let get=wrap$1(originalGetter,superGetter);let set;let originalSetter=property._setter;let superSetter=superProperty._setter;if(superSetter!==undefined){if(originalSetter!==undefined){set=wrap$1(originalSetter,superSetter);}else{// If the super property has a setter, we default to using it no matter what.\n// This is clearly very broken and weird, but it's what was here so we have\n// to keep it until the next major at least.\n//\n// TODO: Add a deprecation here.\nset=superSetter;}}else{set=originalSetter;}// only create a new CP if we must\nif(get!==originalGetter||set!==originalSetter){// 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.\nlet dependentKeys=property._dependentKeys||[];let newProperty=new ComputedProperty([...dependentKeys,{get,set}]);newProperty._readOnly=property._readOnly;newProperty._meta=property._meta;newProperty.enumerable=property.enumerable;// SAFETY: We passed in the impl for this class\nreturn makeComputedDecorator(newProperty,ComputedProperty);}return decorator;}function giveMethodSuper(key,method,values,descs){// Methods overwrite computed properties, and do not call super to them.\nif(descs[key]!==undefined){return method;}// Find the original method in a parent mixin\nlet superMethod=values[key];// Only wrap the new method if the original method was a function\nif(typeof superMethod==='function'){return wrap$1(method,superMethod);}return method;}function simpleMakeArray(value){if(!value){return[];}else if(!Array.isArray(value)){return[value];}else{return value;}}function applyConcatenatedProperties(key,value,values){let baseValue=values[key];let ret=simpleMakeArray(baseValue).concat(simpleMakeArray(value));return ret;}function applyMergedProperties(key,value,values){let baseValue=values[key];if(!baseValue){return value;}let newBase=Object.assign({},baseValue);let hasFunction=false;let props=Object.keys(value);for(let prop of props){let propValue=value[prop];if(typeof propValue==='function'){hasFunction=true;newBase[prop]=giveMethodSuper(prop,propValue,baseValue,{});}else{newBase[prop]=propValue;}}if(hasFunction){newBase._super=ROOT;}return newBase;}function mergeMixins(mixins,meta,descs,values,base,keys,keysWithSuper){let currentMixin;for(let i=0;i<mixins.length;i++){currentMixin=mixins[i];if(MIXINS.has(currentMixin)){if(meta.hasMixin(currentMixin)){continue;}meta.addMixin(currentMixin);let{properties,mixins}=currentMixin;if(properties!==undefined){mergeProps(meta,properties,descs,values,base,keys,keysWithSuper);}else if(mixins!==undefined){mergeMixins(mixins,meta,descs,values,base,keys,keysWithSuper);if(currentMixin instanceof Mixin&&currentMixin._without!==undefined){currentMixin._without.forEach(keyName=>{// deleting the key means we won't process the value\nlet index=keys.indexOf(keyName);if(index!==-1){keys.splice(index,1);}});}}}else{mergeProps(meta,currentMixin,descs,values,base,keys,keysWithSuper);}}}function mergeProps(meta,props,descs,values,base,keys,keysWithSuper){let concats=concatenatedMixinProperties('concatenatedProperties',props,values,base);let mergings=concatenatedMixinProperties('mergedProperties',props,values,base);let propKeys=Object.keys(props);for(let key of propKeys){let value=props[key];if(value===undefined)continue;if(keys.indexOf(key)===-1){keys.push(key);let desc=meta.peekDescriptors(key);if(desc===undefined){// If the value is a classic decorator, we don't want to actually\n// access it, because that will execute the decorator while we're\n// building the class.\nif(!isClassicDecorator(value)){// The superclass did not have a CP, which means it may have\n// observers or listeners on that property.\nlet prev=values[key]=base[key];if(typeof prev==='function'){updateObserversAndListeners(base,key,prev,false);}}}else{descs[key]=desc;// The super desc will be overwritten on descs, so save off the fact that\n// there was a super so we know to Object.defineProperty when writing\n// the value\nkeysWithSuper.push(key);desc.teardown(base,key,meta);}}let isFunction=typeof value==='function';if(isFunction){let desc=descriptorForDecorator(value);if(desc!==undefined){// Wrap descriptor function to implement _super() if needed\ndescs[key]=giveDecoratorSuper(key,value,desc,descs);values[key]=undefined;continue;}}if(concats&&concats.indexOf(key)>=0||key==='concatenatedProperties'||key==='mergedProperties'){value=applyConcatenatedProperties(key,value,values);}else if(mergings&&mergings.indexOf(key)>-1){value=applyMergedProperties(key,value,values);}else if(isFunction){value=giveMethodSuper(key,value,values,descs);}values[key]=value;descs[key]=undefined;}}function updateObserversAndListeners(obj,key,fn,add){let meta=observerListenerMetaFor(fn);if(meta===undefined)return;let{observers,listeners}=meta;if(observers!==undefined){let updateObserver=add?addObserver:removeObserver;for(let path of observers.paths){updateObserver(obj,path,null,key,observers.sync);}}if(listeners!==undefined){let updateListener=add?addListener:removeListener;for(let listener of listeners){updateListener(obj,listener,null,key);}}}function applyMixin(obj,mixins){let _hideKeys=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;let descs=Object.create(null);let values=Object.create(null);let meta$1=meta(obj);let keys=[];let keysWithSuper=[];obj._super=ROOT;// Go through all mixins and hashes passed in, and:\n//\n// * Handle concatenated properties\n// * Handle merged properties\n// * Set up _super wrapping if necessary\n// * Set up computed property descriptors\n// * Copying `toString` in broken browsers\nmergeMixins(mixins,meta$1,descs,values,obj,keys,keysWithSuper);for(let key of keys){let value=values[key];let desc=descs[key];if(value!==undefined){if(typeof value==='function'){updateObserversAndListeners(obj,key,value,true);}defineValue(obj,key,value,keysWithSuper.indexOf(key)!==-1,!_hideKeys);}else if(desc!==undefined){defineDecorator(obj,key,desc,meta$1);}}if(!meta$1.isPrototypeMeta(obj)){revalidateObservers(obj);}return obj;}/**\n            @method mixin\n            @param obj\n            @param mixins*\n            @return obj\n            @private\n          */function mixin(obj){for(var _len13=arguments.length,args=new Array(_len13>1?_len13-1:0),_key14=1;_key14<_len13;_key14++){args[_key14-1]=arguments[_key14];}applyMixin(obj,args);return obj;}const MIXINS=new WeakSet();/**\n            The `Mixin` class allows you to create mixins, whose properties can be\n            added to other classes. For instance,\n\n            ```javascript\n            import Mixin from '@ember/object/mixin';\n\n            const EditableMixin = Mixin.create({\n              edit() {\n                console.log('starting to edit');\n                this.set('isEditing', true);\n              },\n              isEditing: false\n            });\n            ```\n\n            ```javascript\n            import EmberObject from '@ember/object';\n            import EditableMixin from '../mixins/editable';\n\n            // Mix mixins into classes by passing them as the first arguments to\n            // `.extend.`\n            const Comment = EmberObject.extend(EditableMixin, {\n              post: null\n            });\n\n            let comment = Comment.create({\n              post: somePost\n            });\n\n            comment.edit(); // outputs 'starting to edit'\n            ```\n\n            Note that Mixins are created with `Mixin.create`, not\n            `Mixin.extend`.\n\n            Note that mixins extend a constructor's prototype so arrays and object literals\n            defined as properties will be shared amongst objects that implement the mixin.\n            If you want to define a property in a mixin that is not shared, you can define\n            it either as a computed property or have it be created on initialization of the object.\n\n            ```javascript\n            // filters array will be shared amongst any object implementing mixin\n            import Mixin from '@ember/object/mixin';\n            import { A } from '@ember/array';\n\n            const FilterableMixin = Mixin.create({\n              filters: A()\n            });\n            ```\n\n            ```javascript\n            import Mixin from '@ember/object/mixin';\n            import { A } from '@ember/array';\n            import { computed } from '@ember/object';\n\n            // filters will be a separate array for every object implementing the mixin\n            const FilterableMixin = Mixin.create({\n              filters: computed(function() {\n                return A();\n              })\n            });\n            ```\n\n            ```javascript\n            import Mixin from '@ember/object/mixin';\n            import { A } from '@ember/array';\n\n            // filters will be created as a separate array during the object's initialization\n            const Filterable = Mixin.create({\n              filters: null,\n\n              init() {\n                this._super(...arguments);\n                this.set(\"filters\", A());\n              }\n            });\n            ```\n\n            @class Mixin\n            @public\n          */class Mixin{/** @internal */constructor(mixins,properties){/** @internal *//** @internal */_defineProperty(this,\"mixins\",void 0);/** @internal */_defineProperty(this,\"properties\",void 0);/** @internal */_defineProperty(this,\"ownerConstructor\",void 0);/** @internal */_defineProperty(this,\"_without\",void 0);MIXINS.add(this);this.properties=extractAccessors(properties);this.mixins=buildMixinsArray(mixins);this.ownerConstructor=undefined;this._without=undefined;}/**\n              @method create\n              @for @ember/object/mixin\n              @static\n              @param arguments*\n              @public\n            */static create(){setUnprocessedMixins();let M=this;for(var _len14=arguments.length,args=new Array(_len14),_key15=0;_key15<_len14;_key15++){args[_key15]=arguments[_key15];}return new M(args,undefined);}// returns the mixins currently applied to the specified object\n// TODO: Make `mixin`\n/** @internal */static mixins(obj){let meta=peekMeta(obj);let ret=[];if(meta===null){return ret;}meta.forEachMixins(currentMixin=>{// skip primitive mixins since these are always anonymous\nif(!currentMixin.properties){ret.push(currentMixin);}});return ret;}/**\n              @method reopen\n              @param arguments*\n              @private\n              @internal\n            */reopen(){for(var _len15=arguments.length,args=new Array(_len15),_key16=0;_key16<_len15;_key16++){args[_key16]=arguments[_key16];}if(args.length===0){return this;}if(this.properties){let currentMixin=new Mixin(undefined,this.properties);this.properties=undefined;this.mixins=[currentMixin];}else if(!this.mixins){this.mixins=[];}this.mixins=this.mixins.concat(buildMixinsArray(args));return this;}/**\n              @method apply\n              @param obj\n              @return applied object\n              @private\n              @internal\n            */apply(obj){let _hideKeys=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;// Ember.NativeArray is a normal Ember.Mixin that we mix into `Array.prototype` when prototype extensions are enabled\n// mutating a native object prototype like this should _not_ result in enumerable properties being added (or we have significant\n// issues with things like deep equality checks from test frameworks, or things like jQuery.extend(true, [], [])).\n//\n// _hideKeys disables enumerablity when applying the mixin. This is a hack, and we should stop mutating the array prototype by default 😫\nreturn applyMixin(obj,[this],_hideKeys);}/** @internal */applyPartial(obj){return applyMixin(obj,[this]);}/**\n              @method detect\n              @param obj\n              @return {Boolean}\n              @private\n              @internal\n            */detect(obj){if(typeof obj!=='object'||obj===null){return false;}if(MIXINS.has(obj)){return _detect(obj,this);}let meta=peekMeta(obj);if(meta===null){return false;}return meta.hasMixin(this);}/** @internal */without(){let ret=new Mixin([this]);for(var _len16=arguments.length,args=new Array(_len16),_key17=0;_key17<_len16;_key17++){args[_key17]=arguments[_key17];}ret._without=args;return ret;}/** @internal */keys(){let keys=_keys(this);return keys;}/** @internal */toString(){return'(unknown mixin)';}}function buildMixinsArray(mixins){let length=mixins&&mixins.length||0;let m=undefined;if(length>0){m=new Array(length);for(let i=0;i<length;i++){let x=mixins[i];if(MIXINS.has(x)){m[i]=x;}else{m[i]=new Mixin(undefined,x);}}}return m;}function _detect(curMixin,targetMixin){let seen=arguments.length>2&&arguments[2]!==undefined?arguments[2]:new Set();if(seen.has(curMixin)){return false;}seen.add(curMixin);if(curMixin===targetMixin){return true;}let mixins=curMixin.mixins;if(mixins){return mixins.some(mixin=>_detect(mixin,targetMixin,seen));}return false;}function _keys(mixin){let ret=arguments.length>1&&arguments[1]!==undefined?arguments[1]:new Set();let seen=arguments.length>2&&arguments[2]!==undefined?arguments[2]:new Set();if(seen.has(mixin)){return;}seen.add(mixin);if(mixin.properties){let props=Object.keys(mixin.properties);for(let prop of props){ret.add(prop);}}else if(mixin.mixins){mixin.mixins.forEach(x=>_keys(x,ret,seen));}return ret;}const emberObjectMixin=/*#__PURE__*/Object.defineProperty({__proto__:null,applyMixin,default:Mixin,mixin},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          *//**\n            RegistryProxyMixin is used to provide public access to specific\n            registry functionality.\n\n            @class RegistryProxyMixin\n            @extends RegistryProxy\n            @private\n          */const RegistryProxyMixin=Mixin.create({__registry__:null,resolveRegistration(fullName){return this.__registry__.resolve(fullName);},register:registryAlias('register'),unregister:registryAlias('unregister'),hasRegistration:registryAlias('has'),registeredOption:registryAlias('getOption'),registerOptions:registryAlias('options'),registeredOptions:registryAlias('getOptions'),registerOptionsForType:registryAlias('optionsForType'),registeredOptionsForType:registryAlias('getOptionsForType')});function registryAlias(name){return function(){// We need this cast because `Parameters` is deferred so that it is not\n// possible for TS to see it will always produce the right type. However,\n// since `AnyFn` has a rest type, it is allowed. See discussion on [this\n// issue](https://github.com/microsoft/TypeScript/issues/47615).\nreturn this.__registry__[name](...arguments);};}const emberinternalsRuntimeLibMixinsRegistryProxy=/*#__PURE__*/Object.defineProperty({__proto__:null,default:RegistryProxyMixin},Symbol.toStringTag,{value:'Module'});const SET_TIMEOUT=setTimeout;const NOOP$4=()=>{};function buildNext(flush){// Using \"promises first\" here to:\n//\n// 1) Ensure more consistent experience on browsers that\n//    have differently queued microtasks (separate queues for\n//    MutationObserver vs Promises).\n// 2) Ensure better debugging experiences (it shows up in Chrome\n//    call stack as \"Promise.then (async)\") which is more consistent\n//    with user expectations\n//\n// When Promise is unavailable use MutationObserver (mostly so that we\n// still get microtasks on IE11), and when neither MutationObserver and\n// Promise are present use a plain old setTimeout.\nif(typeof Promise==='function'){const autorunPromise=Promise.resolve();return()=>autorunPromise.then(flush);}else if(typeof MutationObserver==='function'){let iterations=0;let observer=new MutationObserver(flush);let node=document.createTextNode('');observer.observe(node,{characterData:true});return()=>{iterations=++iterations%2;node.data=''+iterations;return iterations;};}else{return()=>SET_TIMEOUT(flush,0);}}function buildPlatform(flush){let clearNext=NOOP$4;return{setTimeout(fn,ms){return setTimeout(fn,ms);},clearTimeout(timerId){return clearTimeout(timerId);},now(){return Date.now();},next:buildNext(flush),clearNext};}const NUMBER=/\\d+/;const TIMERS_OFFSET=6;function isCoercableNumber(suspect){let type=typeof suspect;return type==='number'&&suspect===suspect||type==='string'&&NUMBER.test(suspect);}function getOnError(options){return options.onError||options.onErrorTarget&&options.onErrorTarget[options.onErrorMethod];}function findItem(target,method,collection){let index=-1;for(let i=0,l=collection.length;i<l;i+=4){if(collection[i]===target&&collection[i+1]===method){index=i;break;}}return index;}function findTimerItem(target,method,collection){let index=-1;for(let i=2,l=collection.length;i<l;i+=6){if(collection[i]===target&&collection[i+1]===method){index=i-2;break;}}return index;}function getQueueItems(items,queueItemLength){let queueItemPositionOffset=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0;let queueItems=[];for(let i=0;i<items.length;i+=queueItemLength){let maybeError=items[i+3/* stack */+queueItemPositionOffset];let queueItem={target:items[i+0/* target */+queueItemPositionOffset],method:items[i+1/* method */+queueItemPositionOffset],args:items[i+2/* args */+queueItemPositionOffset],stack:maybeError!==undefined&&'stack'in maybeError?maybeError.stack:''};queueItems.push(queueItem);}return queueItems;}function binarySearch(time,timers){let start=0;let end=timers.length-TIMERS_OFFSET;let middle;let l;while(start<end){// since timers is an array of pairs 'l' will always\n// be an integer\nl=(end-start)/TIMERS_OFFSET;// compensate for the index in case even number\n// of pairs inside timers\nmiddle=start+l-l%TIMERS_OFFSET;if(time>=timers[middle]){start=middle+TIMERS_OFFSET;}else{end=middle;}}return time>=timers[start]?start+TIMERS_OFFSET:start;}const QUEUE_ITEM_LENGTH=4;class Queue{constructor(name){let options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let globalOptions=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};this._queueBeingFlushed=[];this.targetQueues=new Map();this.index=0;this._queue=[];this.name=name;this.options=options;this.globalOptions=globalOptions;}stackFor(index){if(index<this._queue.length){let entry=this._queue[index*3+QUEUE_ITEM_LENGTH];if(entry){return entry.stack;}else{return null;}}}flush(sync){let{before,after}=this.options;let target;let method;let args;let errorRecordedForStack;this.targetQueues.clear();if(this._queueBeingFlushed.length===0){this._queueBeingFlushed=this._queue;this._queue=[];}if(before!==undefined){before();}let invoke;let queueItems=this._queueBeingFlushed;if(queueItems.length>0){let onError=getOnError(this.globalOptions);invoke=onError?this.invokeWithOnError:this.invoke;for(let i=this.index;i<queueItems.length;i+=QUEUE_ITEM_LENGTH){this.index+=QUEUE_ITEM_LENGTH;method=queueItems[i+1];// method could have been nullified / canceled during flush\nif(method!==null){//\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//\ntarget=queueItems[i];args=queueItems[i+2];errorRecordedForStack=queueItems[i+3];// Debugging assistance\ninvoke(target,method,args,onError,errorRecordedForStack);}if(this.index!==this._queueBeingFlushed.length&&this.globalOptions.mustYield&&this.globalOptions.mustYield()){return 1/* Pause */;}}}if(after!==undefined){after();}this._queueBeingFlushed.length=0;this.index=0;if(sync!==false&&this._queue.length>0){// check if new items have been added\nthis.flush(true);}}hasWork(){return this._queueBeingFlushed.length>0||this._queue.length>0;}cancel(_ref56){let{target,method}=_ref56;let queue=this._queue;let targetQueueMap=this.targetQueues.get(target);if(targetQueueMap!==undefined){targetQueueMap.delete(method);}let index=findItem(target,method,queue);if(index>-1){queue[index+1]=null;return true;}// if not found in current queue\n// could be in the queue that is being flushed\nqueue=this._queueBeingFlushed;index=findItem(target,method,queue);if(index>-1){queue[index+1]=null;return true;}return false;}push(target,method,args,stack){this._queue.push(target,method,args,stack);return{queue:this,target,method};}pushUnique(target,method,args,stack){let localQueueMap=this.targetQueues.get(target);if(localQueueMap===undefined){localQueueMap=new Map();this.targetQueues.set(target,localQueueMap);}let index=localQueueMap.get(method);if(index===undefined){let queueIndex=this._queue.push(target,method,args,stack)-QUEUE_ITEM_LENGTH;localQueueMap.set(method,queueIndex);}else{let queue=this._queue;queue[index+2]=args;// replace args\nqueue[index+3]=stack;// replace stack\n}return{queue:this,target,method};}_getDebugInfo(debugEnabled){if(debugEnabled){let debugInfo=getQueueItems(this._queue,QUEUE_ITEM_LENGTH);return debugInfo;}return undefined;}invoke(target,method,args/*, onError, errorRecordedForStack */){if(args===undefined){method.call(target);}else{method.apply(target,args);}}invokeWithOnError(target,method,args,onError,errorRecordedForStack){try{if(args===undefined){method.call(target);}else{method.apply(target,args);}}catch(error){onError(error,errorRecordedForStack);}}}class DeferredActionQueues{constructor(){let queueNames=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];let options=arguments.length>1?arguments[1]:undefined;this.queues={};this.queueNameIndex=0;this.queueNames=queueNames;queueNames.reduce(function(queues,queueName){queues[queueName]=new Queue(queueName,options[queueName],options);return queues;},this.queues);}/**\n             * @method schedule\n             * @param {String} queueName\n             * @param {Any} target\n             * @param {Any} method\n             * @param {Any} args\n             * @param {Boolean} onceFlag\n             * @param {Any} stack\n             * @return queue\n             */schedule(queueName,target,method,args,onceFlag,stack){let queues=this.queues;let queue=queues[queueName];if(queue===undefined){throw new Error(`You attempted to schedule an action in a queue (${queueName}) that doesn\\'t exist`);}if(method===undefined||method===null){throw new Error(`You attempted to schedule an action in a queue (${queueName}) for a method that doesn\\'t exist`);}this.queueNameIndex=0;if(onceFlag){return queue.pushUnique(target,method,args,stack);}else{return queue.push(target,method,args,stack);}}/**\n             * DeferredActionQueues.flush() calls Queue.flush()\n             *\n             * @method flush\n             * @param {Boolean} fromAutorun\n             */flush(){let fromAutorun=arguments.length>0&&arguments[0]!==undefined?arguments[0]:false;let queue;let queueName;let numberOfQueues=this.queueNames.length;while(this.queueNameIndex<numberOfQueues){queueName=this.queueNames[this.queueNameIndex];queue=this.queues[queueName];if(queue.hasWork()===false){this.queueNameIndex++;if(fromAutorun&&this.queueNameIndex<numberOfQueues){return 1/* Pause */;}}else{if(queue.flush(false/* async */)===1/* Pause */){return 1/* Pause */;}}}}/**\n             * Returns debug information for the current queues.\n             *\n             * @method _getDebugInfo\n             * @param {Boolean} debugEnabled\n             * @returns {IDebugInfo | undefined}\n             */_getDebugInfo(debugEnabled){if(debugEnabled){let debugInfo={};let queue;let queueName;let numberOfQueues=this.queueNames.length;let i=0;while(i<numberOfQueues){queueName=this.queueNames[i];queue=this.queues[queueName];debugInfo[queueName]=queue._getDebugInfo(debugEnabled);i++;}return debugInfo;}return;}}function iteratorDrain(fn){let iterator=fn();let result=iterator.next();while(result.done===false){result.value();result=iterator.next();}}const noop$1=function(){};const DISABLE_SCHEDULE=Object.freeze([]);function parseArgs(){let length=arguments.length;let args;let method;let target;if(length===0);else if(length===1){target=null;method=arguments[0];}else{let argsIndex=2;let methodOrTarget=arguments[0];let methodOrArgs=arguments[1];let type=typeof methodOrArgs;if(type==='function'){target=methodOrTarget;method=methodOrArgs;}else if(methodOrTarget!==null&&type==='string'&&methodOrArgs in methodOrTarget){target=methodOrTarget;method=target[methodOrArgs];}else if(typeof methodOrTarget==='function'){argsIndex=1;target=null;method=methodOrTarget;}if(length>argsIndex){let len=length-argsIndex;args=new Array(len);for(let i=0;i<len;i++){args[i]=arguments[i+argsIndex];}}}return[target,method,args];}function parseTimerArgs(){let[target,method,args]=parseArgs(...arguments);let wait=0;let length=args!==undefined?args.length:0;if(length>0){let last=args[length-1];if(isCoercableNumber(last)){wait=parseInt(args.pop(),10);}}return[target,method,args,wait];}function parseDebounceArgs(){let target;let method;let isImmediate;let args;let wait;if(arguments.length===2){method=arguments[0];wait=arguments[1];target=null;}else{[target,method,args]=parseArgs(...arguments);if(args===undefined){wait=0;}else{wait=args.pop();if(!isCoercableNumber(wait)){isImmediate=wait===true;wait=args.pop();}}}wait=parseInt(wait,10);return[target,method,args,wait,isImmediate];}let UUID=0;let beginCount=0;let endCount=0;let beginEventCount=0;let endEventCount=0;let runCount=0;let joinCount=0;let deferCount=0;let scheduleCount=0;let scheduleIterableCount=0;let deferOnceCount=0;let scheduleOnceCount=0;let setTimeoutCount=0;let laterCount=0;let throttleCount=0;let debounceCount=0;let cancelTimersCount=0;let cancelCount=0;let autorunsCreatedCount=0;let autorunsCompletedCount=0;let deferredActionQueuesCreatedCount=0;let nestedDeferredActionQueuesCreated=0;class Backburner{constructor(queueNames,options){this.DEBUG=false;this.currentInstance=null;this.instanceStack=[];this._eventCallbacks={end:[],begin:[]};this._timerTimeoutId=null;this._timers=[];this._autorun=false;this._autorunStack=null;this.queueNames=queueNames;this.options=options||{};if(typeof this.options.defaultQueue==='string'){this._defaultQueue=this.options.defaultQueue;}else{this._defaultQueue=this.queueNames[0];}this._onBegin=this.options.onBegin||noop$1;this._onEnd=this.options.onEnd||noop$1;this._boundRunExpiredTimers=this._runExpiredTimers.bind(this);this._boundAutorunEnd=()=>{autorunsCompletedCount++;// if the autorun was already flushed, do nothing\nif(this._autorun===false){return;}this._autorun=false;this._autorunStack=null;this._end(true/* fromAutorun */);};let builder=this.options._buildPlatform||buildPlatform;this._platform=builder(this._boundAutorunEnd);}get counters(){return{begin:beginCount,end:endCount,events:{begin:beginEventCount,end:endEventCount},autoruns:{created:autorunsCreatedCount,completed:autorunsCompletedCount},run:runCount,join:joinCount,defer:deferCount,schedule:scheduleCount,scheduleIterable:scheduleIterableCount,deferOnce:deferOnceCount,scheduleOnce:scheduleOnceCount,setTimeout:setTimeoutCount,later:laterCount,throttle:throttleCount,debounce:debounceCount,cancelTimers:cancelTimersCount,cancel:cancelCount,loops:{total:deferredActionQueuesCreatedCount,nested:nestedDeferredActionQueuesCreated}};}get defaultQueue(){return this._defaultQueue;}/*\n              @method begin\n              @return instantiated class DeferredActionQueues\n            */begin(){beginCount++;let options=this.options;let previousInstance=this.currentInstance;let current;if(this._autorun!==false){current=previousInstance;this._cancelAutorun();}else{if(previousInstance!==null){nestedDeferredActionQueuesCreated++;this.instanceStack.push(previousInstance);}deferredActionQueuesCreatedCount++;current=this.currentInstance=new DeferredActionQueues(this.queueNames,options);beginEventCount++;this._trigger('begin',current,previousInstance);}this._onBegin(current,previousInstance);return current;}end(){endCount++;this._end(false);}on(eventName,callback){if(typeof callback!=='function'){throw new TypeError(`Callback must be a function`);}let callbacks=this._eventCallbacks[eventName];if(callbacks!==undefined){callbacks.push(callback);}else{throw new TypeError(`Cannot on() event ${eventName} because it does not exist`);}}off(eventName,callback){let callbacks=this._eventCallbacks[eventName];if(!eventName||callbacks===undefined){throw new TypeError(`Cannot off() event ${eventName} because it does not exist`);}let callbackFound=false;if(callback){for(let i=0;i<callbacks.length;i++){if(callbacks[i]===callback){callbackFound=true;callbacks.splice(i,1);i--;}}}if(!callbackFound){throw new TypeError(`Cannot off() callback that does not exist`);}}run(){runCount++;let[target,method,args]=parseArgs(...arguments);return this._run(target,method,args);}join(){joinCount++;let[target,method,args]=parseArgs(...arguments);return this._join(target,method,args);}/**\n             * @deprecated please use schedule instead.\n             */defer(queueName,target,method){deferCount++;for(var _len17=arguments.length,args=new Array(_len17>3?_len17-3:0),_key18=3;_key18<_len17;_key18++){args[_key18-3]=arguments[_key18];}return this.schedule(queueName,target,method,...args);}schedule(queueName){scheduleCount++;for(var _len18=arguments.length,_args=new Array(_len18>1?_len18-1:0),_key19=1;_key19<_len18;_key19++){_args[_key19-1]=arguments[_key19];}let[target,method,args]=parseArgs(..._args);let stack=this.DEBUG?new Error():undefined;return this._ensureInstance().schedule(queueName,target,method,args,false,stack);}/*\n              Defer the passed iterable of functions to run inside the specified queue.\n                 @method scheduleIterable\n              @param {String} queueName\n              @param {Iterable} an iterable of functions to execute\n              @return method result\n            */scheduleIterable(queueName,iterable){scheduleIterableCount++;let stack=this.DEBUG?new Error():undefined;return this._ensureInstance().schedule(queueName,null,iteratorDrain,[iterable],false,stack);}/**\n             * @deprecated please use scheduleOnce instead.\n             */deferOnce(queueName,target,method){deferOnceCount++;for(var _len19=arguments.length,args=new Array(_len19>3?_len19-3:0),_key20=3;_key20<_len19;_key20++){args[_key20-3]=arguments[_key20];}return this.scheduleOnce(queueName,target,method,...args);}scheduleOnce(queueName){scheduleOnceCount++;for(var _len20=arguments.length,_args=new Array(_len20>1?_len20-1:0),_key21=1;_key21<_len20;_key21++){_args[_key21-1]=arguments[_key21];}let[target,method,args]=parseArgs(..._args);let stack=this.DEBUG?new Error():undefined;return this._ensureInstance().schedule(queueName,target,method,args,true,stack);}setTimeout(){setTimeoutCount++;return this.later(...arguments);}later(){laterCount++;let[target,method,args,wait]=parseTimerArgs(...arguments);return this._later(target,method,args,wait);}throttle(){throttleCount++;let[target,method,args,wait,isImmediate=true]=parseDebounceArgs(...arguments);let index=findTimerItem(target,method,this._timers);let timerId;if(index===-1){timerId=this._later(target,method,isImmediate?DISABLE_SCHEDULE:args,wait);if(isImmediate){this._join(target,method,args);}}else{timerId=this._timers[index+1];let argIndex=index+4;if(this._timers[argIndex]!==DISABLE_SCHEDULE){this._timers[argIndex]=args;}}return timerId;}debounce(){debounceCount++;let[target,method,args,wait,isImmediate=false]=parseDebounceArgs(...arguments);let _timers=this._timers;let index=findTimerItem(target,method,_timers);let timerId;if(index===-1){timerId=this._later(target,method,isImmediate?DISABLE_SCHEDULE:args,wait);if(isImmediate){this._join(target,method,args);}}else{let executeAt=this._platform.now()+wait;let argIndex=index+4;if(_timers[argIndex]===DISABLE_SCHEDULE){args=DISABLE_SCHEDULE;}timerId=_timers[index+1];let i=binarySearch(executeAt,_timers);if(index+TIMERS_OFFSET===i){_timers[index]=executeAt;_timers[argIndex]=args;}else{let stack=this._timers[index+5];this._timers.splice(i,0,executeAt,timerId,target,method,args,stack);this._timers.splice(index,TIMERS_OFFSET);}if(index===0){this._reinstallTimerTimeout();}}return timerId;}cancelTimers(){cancelTimersCount++;this._clearTimerTimeout();this._timers=[];this._cancelAutorun();}hasTimers(){return this._timers.length>0||this._autorun;}cancel(timer){cancelCount++;if(timer===null||timer===undefined){return false;}let timerType=typeof timer;if(timerType==='number'){// we're cancelling a setTimeout or throttle or debounce\nreturn this._cancelLaterTimer(timer);}else if(timerType==='object'&&timer.queue&&timer.method){// we're cancelling a deferOnce\nreturn timer.queue.cancel(timer);}return false;}ensureInstance(){this._ensureInstance();}/**\n             * Returns debug information related to the current instance of Backburner\n             *\n             * @method getDebugInfo\n             * @returns {Object | undefined} Will return and Object containing debug information if\n             * the DEBUG flag is set to true on the current instance of Backburner, else undefined.\n             */getDebugInfo(){if(this.DEBUG){return{autorun:this._autorunStack,counters:this.counters,timers:getQueueItems(this._timers,TIMERS_OFFSET,2),instanceStack:[this.currentInstance,...this.instanceStack].map(deferredActionQueue=>deferredActionQueue&&deferredActionQueue._getDebugInfo(this.DEBUG))};}return undefined;}_end(fromAutorun){let currentInstance=this.currentInstance;let nextInstance=null;if(currentInstance===null){throw new Error(`end called without begin`);}// 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\nlet finallyAlreadyCalled=false;let result;try{result=currentInstance.flush(fromAutorun);}finally{if(!finallyAlreadyCalled){finallyAlreadyCalled=true;if(result===1/* Pause */){const plannedNextQueue=this.queueNames[currentInstance.queueNameIndex];this._scheduleAutorun(plannedNextQueue);}else{this.currentInstance=null;if(this.instanceStack.length>0){nextInstance=this.instanceStack.pop();this.currentInstance=nextInstance;}this._trigger('end',currentInstance,nextInstance);this._onEnd(currentInstance,nextInstance);}}}}_join(target,method,args){if(this.currentInstance===null){return this._run(target,method,args);}if(target===undefined&&args===undefined){return method();}else{return method.apply(target,args);}}_run(target,method,args){let onError=getOnError(this.options);this.begin();if(onError){try{return method.apply(target,args);}catch(error){onError(error);}finally{this.end();}}else{try{return method.apply(target,args);}finally{this.end();}}}_cancelAutorun(){if(this._autorun){this._platform.clearNext();this._autorun=false;this._autorunStack=null;}}_later(target,method,args,wait){let stack=this.DEBUG?new Error():undefined;let executeAt=this._platform.now()+wait;let id=UUID++;if(this._timers.length===0){this._timers.push(executeAt,id,target,method,args,stack);this._installTimerTimeout();}else{// find position to insert\nlet i=binarySearch(executeAt,this._timers);this._timers.splice(i,0,executeAt,id,target,method,args,stack);// always reinstall since it could be out of sync\nthis._reinstallTimerTimeout();}return id;}_cancelLaterTimer(timer){for(let i=1;i<this._timers.length;i+=TIMERS_OFFSET){if(this._timers[i]===timer){this._timers.splice(i-1,TIMERS_OFFSET);if(i===1){this._reinstallTimerTimeout();}return true;}}return false;}/**\n             Trigger an event. Supports up to two arguments. Designed around\n             triggering transition events from one run loop instance to the\n             next, which requires an argument for the  instance and then\n             an argument for the next instance.\n                @private\n             @method _trigger\n             @param {String} eventName\n             @param {any} arg1\n             @param {any} arg2\n             */_trigger(eventName,arg1,arg2){let callbacks=this._eventCallbacks[eventName];if(callbacks!==undefined){for(let i=0;i<callbacks.length;i++){callbacks[i](arg1,arg2);}}}_runExpiredTimers(){this._timerTimeoutId=null;if(this._timers.length>0){this.begin();this._scheduleExpiredTimers();this.end();}}_scheduleExpiredTimers(){let timers=this._timers;let i=0;let l=timers.length;let defaultQueue=this._defaultQueue;let n=this._platform.now();for(;i<l;i+=TIMERS_OFFSET){let executeAt=timers[i];if(executeAt>n){break;}let args=timers[i+4];if(args!==DISABLE_SCHEDULE){let target=timers[i+2];let method=timers[i+3];let stack=timers[i+5];this.currentInstance.schedule(defaultQueue,target,method,args,false,stack);}}timers.splice(0,i);this._installTimerTimeout();}_reinstallTimerTimeout(){this._clearTimerTimeout();this._installTimerTimeout();}_clearTimerTimeout(){if(this._timerTimeoutId===null){return;}this._platform.clearTimeout(this._timerTimeoutId);this._timerTimeoutId=null;}_installTimerTimeout(){if(this._timers.length===0){return;}let minExpiresAt=this._timers[0];let n=this._platform.now();let wait=Math.max(0,minExpiresAt-n);this._timerTimeoutId=this._platform.setTimeout(this._boundRunExpiredTimers,wait);}_ensureInstance(){let currentInstance=this.currentInstance;if(currentInstance===null){this._autorunStack=this.DEBUG?new Error():undefined;currentInstance=this.begin();this._scheduleAutorun(this.queueNames[0]);}return currentInstance;}_scheduleAutorun(plannedNextQueue){autorunsCreatedCount++;const next=this._platform.next;const flush=this.options.flush;if(flush){flush(plannedNextQueue,next);}else{next();}this._autorun=true;}}Backburner.Queue=Queue;Backburner.buildPlatform=buildPlatform;Backburner.buildNext=buildNext;const backburnerjs=/*#__PURE__*/Object.defineProperty({__proto__:null,buildPlatform,default:Backburner},Symbol.toStringTag,{value:'Module'});// Partial types from https://medium.com/codex/currying-in-typescript-ca5226c85b85\nlet currentRunLoop=null;function _getCurrentRunLoop(){return currentRunLoop;}function onBegin(current){currentRunLoop=current;}function onEnd(_current,next){currentRunLoop=next;flushAsyncObservers(schedule);}function flush$1(queueName,next){if(queueName==='render'||queueName===_rsvpErrorQueue){flushAsyncObservers(schedule);}next();}const _rsvpErrorQueue=`${Math.random()}${Date.now()}`.replace('.','');/**\n            Array of named queues. This array determines the order in which queues\n            are flushed at the end of the RunLoop. You can define your own queues by\n            simply adding the queue name to this array. Normally you should not need\n            to inspect or modify this property.\n\n            @property queues\n            @type Array\n            @default ['actions', 'destroy']\n            @private\n          */const _queues=['actions',// used in router transitions to prevent unnecessary loading state entry\n// if all context promises resolve on the 'actions' queue first\n'routerTransitions','render','afterRender','destroy',// used to re-throw unhandled RSVP rejection errors specifically in this\n// position to avoid breaking anything rendered in the other sections\n_rsvpErrorQueue];/**\n           * @internal\n           * @private\n           */const _backburner=new Backburner(_queues,{defaultQueue:'actions',onBegin,onEnd,onErrorTarget,onErrorMethod:'onerror',flush:flush$1});/**\n           @module @ember/runloop\n          */// ..........................................................\n// run - this is ideally the only public API the dev sees\n//\n/**\n            Runs the passed target and method inside of a RunLoop, ensuring any\n            deferred actions including bindings and views updates are flushed at the\n            end.\n\n            Normally you should not need to invoke this method yourself. However if\n            you are implementing raw event handlers when interfacing with other\n            libraries or plugins, you should probably wrap all of your code inside this\n            call.\n\n            ```javascript\n            import { run } from '@ember/runloop';\n\n            run(function() {\n              // code to be executed within a RunLoop\n            });\n            ```\n            @method run\n            @for @ember/runloop\n            @static\n            @param {Object} [target] target of method to call\n            @param {Function|String} method Method to invoke.\n              May be a function or a string. If you pass a string\n              then it will be looked up on the passed target.\n            @param {Object} [args*] Any additional arguments you wish to pass to the method.\n            @return {Object} return value from invoking the passed function.\n            @public\n          */function run$1(){// @ts-expect-error TS doesn't like our spread args\nreturn _backburner.run(...arguments);}/**\n            If no run-loop is present, it creates a new one. If a run loop is\n            present it will queue itself to run on the existing run-loops action\n            queue.\n\n            Please note: This is not for normal usage, and should be used sparingly.\n\n            If invoked when not within a run loop:\n\n            ```javascript\n            import { join } from '@ember/runloop';\n\n            join(function() {\n              // creates a new run-loop\n            });\n            ```\n\n            Alternatively, if called within an existing run loop:\n\n            ```javascript\n            import { run, join } from '@ember/runloop';\n\n            run(function() {\n              // creates a new run-loop\n\n              join(function() {\n                // joins with the existing run-loop, and queues for invocation on\n                // the existing run-loops action queue.\n              });\n            });\n            ```\n\n            @method join\n            @static\n            @for @ember/runloop\n            @param {Object} [target] target of method to call\n            @param {Function|String} method Method to invoke.\n              May be a function or a string. If you pass a string\n              then it will be looked up on the passed target.\n            @param {Object} [args*] Any additional arguments you wish to pass to the method.\n            @return {Object} Return value from invoking the passed function. Please note,\n            when called within an existing loop, no return value is possible.\n            @public\n          */function join(methodOrTarget,methodOrArg){for(var _len21=arguments.length,additionalArgs=new Array(_len21>2?_len21-2:0),_key22=2;_key22<_len21;_key22++){additionalArgs[_key22-2]=arguments[_key22];}return _backburner.join(methodOrTarget,methodOrArg,...additionalArgs);}/**\n            Allows you to specify which context to call the specified function in while\n            adding the execution of that function to the Ember run loop. This ability\n            makes this method a great way to asynchronously integrate third-party libraries\n            into your Ember application.\n\n            `bind` takes two main arguments, the desired context and the function to\n            invoke in that context. Any additional arguments will be supplied as arguments\n            to the function that is passed in.\n\n            Let's use the creation of a TinyMCE component as an example. Currently,\n            TinyMCE provides a setup configuration option we can use to do some processing\n            after the TinyMCE instance is initialized but before it is actually rendered.\n            We can use that setup option to do some additional setup for our component.\n            The component itself could look something like the following:\n\n            ```app/components/rich-text-editor.js\n            import Component from '@ember/component';\n            import { on } from '@ember/object/evented';\n            import { bind } from '@ember/runloop';\n\n            export default Component.extend({\n              initializeTinyMCE: on('didInsertElement', function() {\n                tinymce.init({\n                  selector: '#' + this.$().prop('id'),\n                  setup: bind(this, this.setupEditor)\n                });\n              }),\n\n              didInsertElement() {\n                tinymce.init({\n                  selector: '#' + this.$().prop('id'),\n                  setup: bind(this, this.setupEditor)\n                });\n              }\n\n              setupEditor(editor) {\n                this.set('editor', editor);\n\n                editor.on('change', function() {\n                  console.log('content changed!');\n                });\n              }\n            });\n            ```\n\n            In this example, we use `bind` to bind the setupEditor method to the\n            context of the RichTextEditor component and to have the invocation of that\n            method be safely handled and executed by the Ember run loop.\n\n            @method bind\n            @static\n            @for @ember/runloop\n            @param {Object} [target] target of method to call\n            @param {Function|String} method Method to invoke.\n              May be a function or a string. If you pass a string\n              then it will be looked up on the passed target.\n            @param {Object} [args*] Any additional arguments you wish to pass to the method.\n            @return {Function} returns a new function that will always have a particular context\n            @since 1.4.0\n            @public\n          */// This final fallback is the equivalent of the (quite unsafe!) type for `bind`\n// from TS' defs for `Function.prototype.bind`. In general, it means we have a\n// loss of safety if we do not\nfunction bind(){for(var _len22=arguments.length,curried=new Array(_len22),_key23=0;_key23<_len22;_key23++){curried[_key23]=arguments[_key23];}return function(){for(var _len23=arguments.length,args=new Array(_len23),_key24=0;_key24<_len23;_key24++){args[_key24]=arguments[_key24];}return join(...curried.concat(args));};}/**\n            Begins a new RunLoop. Any deferred actions invoked after the begin will\n            be buffered until you invoke a matching call to `end()`. This is\n            a lower-level way to use a RunLoop instead of using `run()`.\n\n            ```javascript\n            import { begin, end } from '@ember/runloop';\n\n            begin();\n            // code to be executed within a RunLoop\n            end();\n            ```\n\n            @method begin\n            @static\n            @for @ember/runloop\n            @return {void}\n            @public\n          */function begin(){_backburner.begin();}/**\n            Ends a RunLoop. This must be called sometime after you call\n            `begin()` to flush any deferred actions. This is a lower-level way\n            to use a RunLoop instead of using `run()`.\n\n            ```javascript\n            import { begin, end } from '@ember/runloop';\n\n            begin();\n            // code to be executed within a RunLoop\n            end();\n            ```\n\n            @method end\n            @static\n            @for @ember/runloop\n            @return {void}\n            @public\n          */function end(){_backburner.end();}/**\n            Adds the passed target/method and any optional arguments to the named\n            queue to be executed at the end of the RunLoop. If you have not already\n            started a RunLoop when calling this method one will be started for you\n            automatically.\n\n            At the end of a RunLoop, any methods scheduled in this way will be invoked.\n            Methods will be invoked in an order matching the named queues defined in\n            the `queues` property.\n\n            ```javascript\n            import { schedule } from '@ember/runloop';\n\n            schedule('afterRender', this, function() {\n              // this will be executed in the 'afterRender' queue\n              console.log('scheduled on afterRender queue');\n            });\n\n            schedule('actions', this, function() {\n              // this will be executed in the 'actions' queue\n              console.log('scheduled on actions queue');\n            });\n\n            // Note the functions will be run in order based on the run queues order.\n            // Output would be:\n            //   scheduled on actions queue\n            //   scheduled on afterRender queue\n            ```\n\n            @method schedule\n            @static\n            @for @ember/runloop\n            @param {String} queue The name of the queue to schedule against. Default queues is 'actions'\n            @param {Object} [target] target object to use as the context when invoking a method.\n            @param {String|Function} method The method to invoke. If you pass a string it\n              will be resolved on the target object at the time the scheduled item is\n              invoked allowing you to change the target function.\n            @param {Object} [arguments*] Optional arguments to be passed to the queued method.\n            @return {*} Timer information for use in canceling, see `cancel`.\n            @public\n          */function schedule(){// @ts-expect-error TS doesn't like the rest args here\nreturn _backburner.schedule(...arguments);}// Used by global test teardown\nfunction _hasScheduledTimers(){return _backburner.hasTimers();}// Used by global test teardown\nfunction _cancelTimers(){_backburner.cancelTimers();}/**\n            Invokes the passed target/method and optional arguments after a specified\n            period of time. The last parameter of this method must always be a number\n            of milliseconds.\n\n            You should use this method whenever you need to run some action after a\n            period of time instead of using `setTimeout()`. This method will ensure that\n            items that expire during the same script execution cycle all execute\n            together, which is often more efficient than using a real setTimeout.\n\n            ```javascript\n            import { later } from '@ember/runloop';\n\n            later(myContext, function() {\n              // code here will execute within a RunLoop in about 500ms with this == myContext\n            }, 500);\n            ```\n\n            @method later\n            @static\n            @for @ember/runloop\n            @param {Object} [target] target of method to invoke\n            @param {Function|String} method The method to invoke.\n              If you pass a string it will be resolved on the\n              target at the time the method is invoked.\n            @param {Object} [args*] Optional arguments to pass to the timeout.\n            @param {Number} wait Number of milliseconds to wait.\n            @return {*} Timer information for use in canceling, see `cancel`.\n            @public\n          */function later(){return _backburner.later(...arguments);}/**\n           Schedule a function to run one time during the current RunLoop. This is equivalent\n            to calling `scheduleOnce` with the \"actions\" queue.\n\n            @method once\n            @static\n            @for @ember/runloop\n            @param {Object} [target] The target of the method to invoke.\n            @param {Function|String} method The method to invoke.\n              If you pass a string it will be resolved on the\n              target at the time the method is invoked.\n            @param {Object} [args*] Optional arguments to pass to the timeout.\n            @return {Object} Timer information for use in canceling, see `cancel`.\n            @public\n          */function once(){for(var _len24=arguments.length,args=new Array(_len24),_key25=0;_key25<_len24;_key25++){args[_key25]=arguments[_key25];}// @ts-expect-error TS doesn't like the rest args here\nreturn _backburner.scheduleOnce('actions',...args);}/**\n            Schedules a function to run one time in a given queue of the current RunLoop.\n            Calling this method with the same queue/target/method combination will have\n            no effect (past the initial call).\n\n            Note that although you can pass optional arguments these will not be\n            considered when looking for duplicates. New arguments will replace previous\n            calls.\n\n            ```javascript\n            import { run, scheduleOnce } from '@ember/runloop';\n\n            function sayHi() {\n              console.log('hi');\n            }\n\n            run(function() {\n              scheduleOnce('afterRender', myContext, sayHi);\n              scheduleOnce('afterRender', myContext, sayHi);\n              // sayHi will only be executed once, in the afterRender queue of the RunLoop\n            });\n            ```\n\n            Also note that for `scheduleOnce` to prevent additional calls, you need to\n            pass the same function instance. The following case works as expected:\n\n            ```javascript\n            function log() {\n              console.log('Logging only once');\n            }\n\n            function scheduleIt() {\n              scheduleOnce('actions', myContext, log);\n            }\n\n            scheduleIt();\n            scheduleIt();\n            ```\n\n            But this other case will schedule the function multiple times:\n\n            ```javascript\n            import { scheduleOnce } from '@ember/runloop';\n\n            function scheduleIt() {\n              scheduleOnce('actions', myContext, function() {\n                console.log('Closure');\n              });\n            }\n\n            scheduleIt();\n            scheduleIt();\n\n            // \"Closure\" will print twice, even though we're using `scheduleOnce`,\n            // because the function we pass to it won't match the\n            // previously scheduled operation.\n            ```\n\n            Available queues, and their order, can be found at `queues`\n\n            @method scheduleOnce\n            @static\n            @for @ember/runloop\n            @param {String} [queue] The name of the queue to schedule against. Default queues is 'actions'.\n            @param {Object} [target] The target of the method to invoke.\n            @param {Function|String} method The method to invoke.\n              If you pass a string it will be resolved on the\n              target at the time the method is invoked.\n            @param {Object} [args*] Optional arguments to pass to the timeout.\n            @return {Object} Timer information for use in canceling, see `cancel`.\n            @public\n          */function scheduleOnce(){// @ts-expect-error TS doesn't like the rest args here\nreturn _backburner.scheduleOnce(...arguments);}/**\n            Schedules an item to run from within a separate run loop, after\n            control has been returned to the system. This is equivalent to calling\n            `later` with a wait time of 1ms.\n\n            ```javascript\n            import { next } from '@ember/runloop';\n\n            next(myContext, function() {\n              // code to be executed in the next run loop,\n              // which will be scheduled after the current one\n            });\n            ```\n\n            Multiple operations scheduled with `next` will coalesce\n            into the same later run loop, along with any other operations\n            scheduled by `later` that expire right around the same\n            time that `next` operations will fire.\n\n            Note that there are often alternatives to using `next`.\n            For instance, if you'd like to schedule an operation to happen\n            after all DOM element operations have completed within the current\n            run loop, you can make use of the `afterRender` run loop queue (added\n            by the `ember-views` package, along with the preceding `render` queue\n            where all the DOM element operations happen).\n\n            Example:\n\n            ```app/components/my-component.js\n            import Component from '@ember/component';\n            import { scheduleOnce } from '@ember/runloop';\n\n            export Component.extend({\n              didInsertElement() {\n                this._super(...arguments);\n                scheduleOnce('afterRender', this, 'processChildElements');\n              },\n\n              processChildElements() {\n                // ... do something with component's child component\n                // elements after they've finished rendering, which\n                // can't be done within this component's\n                // `didInsertElement` hook because that gets run\n                // before the child elements have been added to the DOM.\n              }\n            });\n            ```\n\n            One benefit of the above approach compared to using `next` is\n            that you will be able to perform DOM/CSS operations before unprocessed\n            elements are rendered to the screen, which may prevent flickering or\n            other artifacts caused by delaying processing until after rendering.\n\n            The other major benefit to the above approach is that `next`\n            introduces an element of non-determinism, which can make things much\n            harder to test, due to its reliance on `setTimeout`; it's much harder\n            to guarantee the order of scheduled operations when they are scheduled\n            outside of the current run loop, i.e. with `next`.\n\n            @method next\n            @static\n            @for @ember/runloop\n            @param {Object} [target] target of method to invoke\n            @param {Function|String} method The method to invoke.\n              If you pass a string it will be resolved on the\n              target at the time the method is invoked.\n            @param {Object} [args*] Optional arguments to pass to the timeout.\n            @return {Object} Timer information for use in canceling, see `cancel`.\n            @public\n          */function next(){for(var _len25=arguments.length,args=new Array(_len25),_key26=0;_key26<_len25;_key26++){args[_key26]=arguments[_key26];}return _backburner.later(...args,1);}/**\n            Cancels a scheduled item. Must be a value returned by `later()`,\n            `once()`, `scheduleOnce()`, `next()`, `debounce()`, or\n            `throttle()`.\n\n            ```javascript\n            import {\n              next,\n              cancel,\n              later,\n              scheduleOnce,\n              once,\n              throttle,\n              debounce\n            } from '@ember/runloop';\n\n            let runNext = next(myContext, function() {\n              // will not be executed\n            });\n\n            cancel(runNext);\n\n            let runLater = later(myContext, function() {\n              // will not be executed\n            }, 500);\n\n            cancel(runLater);\n\n            let runScheduleOnce = scheduleOnce('afterRender', myContext, function() {\n              // will not be executed\n            });\n\n            cancel(runScheduleOnce);\n\n            let runOnce = once(myContext, function() {\n              // will not be executed\n            });\n\n            cancel(runOnce);\n\n            let throttle = throttle(myContext, function() {\n              // will not be executed\n            }, 1, false);\n\n            cancel(throttle);\n\n            let debounce = debounce(myContext, function() {\n              // will not be executed\n            }, 1);\n\n            cancel(debounce);\n\n            let debounceImmediate = debounce(myContext, function() {\n              // will be executed since we passed in true (immediate)\n            }, 100, true);\n\n            // the 100ms delay until this method can be called again will be canceled\n            cancel(debounceImmediate);\n            ```\n\n            @method cancel\n            @static\n            @for @ember/runloop\n            @param {Object} [timer] Timer object to cancel\n            @return {Boolean} true if canceled or false/undefined if it wasn't found\n            @public\n          */function cancel(timer){return _backburner.cancel(timer);}/**\n            Delay calling the target method until the debounce period has elapsed\n            with no additional debounce calls. If `debounce` is called again before\n            the specified time has elapsed, the timer is reset and the entire period\n            must pass again before the target method is called.\n\n            This method should be used when an event may be called multiple times\n            but the action should only be called once when the event is done firing.\n            A common example is for scroll events where you only want updates to\n            happen once scrolling has ceased.\n\n            ```javascript\n            import { debounce } from '@ember/runloop';\n\n            function whoRan() {\n              console.log(this.name + ' ran.');\n            }\n\n            let myContext = { name: 'debounce' };\n\n            debounce(myContext, whoRan, 150);\n\n            // less than 150ms passes\n            debounce(myContext, whoRan, 150);\n\n            // 150ms passes\n            // whoRan is invoked with context myContext\n            // console logs 'debounce ran.' one time.\n            ```\n\n            Immediate allows you to run the function immediately, but debounce\n            other calls for this function until the wait time has elapsed. If\n            `debounce` is called again before the specified time has elapsed,\n            the timer is reset and the entire period must pass again before\n            the method can be called again.\n\n            ```javascript\n            import { debounce } from '@ember/runloop';\n\n            function whoRan() {\n              console.log(this.name + ' ran.');\n            }\n\n            let myContext = { name: 'debounce' };\n\n            debounce(myContext, whoRan, 150, true);\n\n            // console logs 'debounce ran.' one time immediately.\n            // 100ms passes\n            debounce(myContext, whoRan, 150, true);\n\n            // 150ms passes and nothing else is logged to the console and\n            // the debouncee is no longer being watched\n            debounce(myContext, whoRan, 150, true);\n\n            // console logs 'debounce ran.' one time immediately.\n            // 150ms passes and nothing else is logged to the console and\n            // the debouncee is no longer being watched\n            ```\n\n            @method debounce\n            @static\n            @for @ember/runloop\n            @param {Object} [target] target of method to invoke\n            @param {Function|String} method The method to invoke.\n              May be a function or a string. If you pass a string\n              then it will be looked up on the passed target.\n            @param {Object} [args*] Optional arguments to pass to the timeout.\n            @param {Number} wait Number of milliseconds to wait.\n            @param {Boolean} immediate Trigger the function on the leading instead\n              of the trailing edge of the wait interval. Defaults to false.\n            @return {Array} Timer information for use in canceling, see `cancel`.\n            @public\n          */function debounce(){// @ts-expect-error TS doesn't like the rest args here\nreturn _backburner.debounce(...arguments);}/**\n            Ensure that the target method is never called more frequently than\n            the specified spacing period. The target method is called immediately.\n\n            ```javascript\n            import { throttle } from '@ember/runloop';\n\n            function whoRan() {\n              console.log(this.name + ' ran.');\n            }\n\n            let myContext = { name: 'throttle' };\n\n            throttle(myContext, whoRan, 150);\n            // whoRan is invoked with context myContext\n            // console logs 'throttle ran.'\n\n            // 50ms passes\n            throttle(myContext, whoRan, 150);\n\n            // 50ms passes\n            throttle(myContext, whoRan, 150);\n\n            // 150ms passes\n            throttle(myContext, whoRan, 150);\n            // whoRan is invoked with context myContext\n            // console logs 'throttle ran.'\n            ```\n\n            @method throttle\n            @static\n            @for @ember/runloop\n            @param {Object} [target] target of method to invoke\n            @param {Function|String} method The method to invoke.\n              May be a function or a string. If you pass a string\n              then it will be looked up on the passed target.\n            @param {Object} [args*] Optional arguments to pass to the timeout.\n            @param {Number} spacing Number of milliseconds to space out requests.\n            @param {Boolean} immediate Trigger the function on the leading instead\n              of the trailing edge of the wait interval. Defaults to true.\n            @return {Array} Timer information for use in canceling, see `cancel`.\n            @public\n          */function throttle(){// @ts-expect-error TS doesn't like the rest args here\nreturn _backburner.throttle(...arguments);}const emberRunloopIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,_backburner,_cancelTimers,_getCurrentRunLoop,_hasScheduledTimers,_queues,_rsvpErrorQueue,begin,bind,cancel,debounce,end,join,later,next,once,run:run$1,schedule,scheduleOnce,throttle},Symbol.toStringTag,{value:'Module'});// This is defined as a separate interface so that it can be used in the definition of\n// `Owner` without also including the `__container__` property.\n/**\n            ContainerProxyMixin is used to provide public access to specific\n            container functionality.\n\n            @class ContainerProxyMixin\n            @extends ContainerProxy\n            @private\n          */const ContainerProxyMixin=Mixin.create({/**\n             The container stores state.\n              @private\n             @property {Ember.Container} __container__\n             */__container__:null,ownerInjection(){return this.__container__.ownerInjection();},lookup(fullName,options){return this.__container__.lookup(fullName,options);},destroy(){let container=this.__container__;if(container){join(()=>{container.destroy();schedule('destroy',container,'finalizeDestroy');});}this._super();},factoryFor(fullName){return this.__container__.factoryFor(fullName);}});const emberinternalsRuntimeLibMixinsContainerProxy=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ContainerProxyMixin},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\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          */const Comparable=Mixin.create({/**\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            */compare:null});const emberinternalsRuntimeLibMixinsComparable=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Comparable},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          *//**\n            `Ember.ActionHandler` is available on some familiar classes including\n            `Route`, `Component`, and `Controller`.\n            (Internally the mixin is used by `Ember.CoreView`, `Ember.ControllerMixin`,\n            and `Route` and available to the above classes through\n            inheritance.)\n\n            @class ActionHandler\n            @namespace Ember\n            @private\n          */const ActionHandler=Mixin.create({mergedProperties:['actions'],/**\n              The collection of functions, keyed by name, available on this\n              `ActionHandler` as action targets.\n               These functions will be invoked when a matching `{{action}}` is triggered\n              from within a template and the application's current route is this route.\n               Actions can also be invoked from other parts of your application\n              via `ActionHandler#send`.\n               The `actions` hash will inherit action handlers from\n              the `actions` hash defined on extended parent classes\n              or mixins rather than just replace the entire hash, e.g.:\n               ```app/mixins/can-display-banner.js\n              import Mixin from '@ember/object/mixin';\n               export default Mixin.create({\n                actions: {\n                  displayBanner(msg) {\n                    // ...\n                  }\n                }\n              });\n              ```\n               ```app/routes/welcome.js\n              import Route from '@ember/routing/route';\n              import CanDisplayBanner from '../mixins/can-display-banner';\n               export default Route.extend(CanDisplayBanner, {\n                actions: {\n                  playMusic() {\n                    // ...\n                  }\n                }\n              });\n               // `WelcomeRoute`, when active, will be able to respond\n              // to both actions, since the actions hash is merged rather\n              // then replaced when extending mixins / parent classes.\n              this.send('displayBanner');\n              this.send('playMusic');\n              ```\n               Within a Controller, Route or Component's action handler,\n              the value of the `this` context is the Controller, Route or\n              Component object:\n               ```app/routes/song.js\n              import Route from '@ember/routing/route';\n               export default Route.extend({\n                actions: {\n                  myAction() {\n                    this.controllerFor(\"song\");\n                    this.transitionTo(\"other.route\");\n                    ...\n                  }\n                }\n              });\n              ```\n               It is also possible to call `this._super(...arguments)` from within an\n              action handler if it overrides a handler defined on a parent\n              class or mixin:\n               Take for example the following routes:\n               ```app/mixins/debug-route.js\n              import Mixin from '@ember/object/mixin';\n               export default Mixin.create({\n                actions: {\n                  debugRouteInformation() {\n                    console.debug(\"It's a-me, console.debug!\");\n                  }\n                }\n              });\n              ```\n               ```app/routes/annoying-debug.js\n              import Route from '@ember/routing/route';\n              import DebugRoute from '../mixins/debug-route';\n               export default Route.extend(DebugRoute, {\n                actions: {\n                  debugRouteInformation() {\n                    // also call the debugRouteInformation of mixed in DebugRoute\n                    this._super(...arguments);\n                     // show additional annoyance\n                    window.alert(...);\n                  }\n                }\n              });\n              ```\n               ## Bubbling\n               By default, an action will stop bubbling once a handler defined\n              on the `actions` hash handles it. To continue bubbling the action,\n              you must return `true` from the handler:\n               ```app/router.js\n              Router.map(function() {\n                this.route(\"album\", function() {\n                  this.route(\"song\");\n                });\n              });\n              ```\n               ```app/routes/album.js\n              import Route from '@ember/routing/route';\n               export default Route.extend({\n                actions: {\n                  startPlaying: function() {\n                  }\n                }\n              });\n              ```\n               ```app/routes/album-song.js\n              import Route from '@ember/routing/route';\n               export default Route.extend({\n                actions: {\n                  startPlaying() {\n                    // ...\n                     if (actionShouldAlsoBeTriggeredOnParentRoute) {\n                      return true;\n                    }\n                  }\n                }\n              });\n              ```\n               @property actions\n              @type Object\n              @default null\n              @public\n            *//**\n              Triggers a named action on the `ActionHandler`. Any parameters\n              supplied after the `actionName` string will be passed as arguments\n              to the action target function.\n               If the `ActionHandler` has its `target` property set, actions may\n              bubble to the `target`. Bubbling happens when an `actionName` can\n              not be found in the `ActionHandler`'s `actions` hash or if the\n              action target function returns `true`.\n               Example\n               ```app/routes/welcome.js\n              import Route from '@ember/routing/route';\n               export default Route.extend({\n                actions: {\n                  playTheme() {\n                    this.send('playMusic', 'theme.mp3');\n                  },\n                  playMusic(track) {\n                    // ...\n                  }\n                }\n              });\n              ```\n               @method send\n              @param {String} actionName The action to trigger\n              @param {*} context a context to send with the action\n              @public\n            */send(actionName){for(var _len26=arguments.length,args=new Array(_len26>1?_len26-1:0),_key27=1;_key27<_len26;_key27++){args[_key27-1]=arguments[_key27];}if(this.actions&&this.actions[actionName]){let shouldBubble=this.actions[actionName].apply(this,args)===true;if(!shouldBubble){return;}}let target=get$2(this,'target');if(target){target.send(...arguments);}}});const emberinternalsRuntimeLibMixinsActionHandler=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ActionHandler},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          */function contentFor(proxy){let content=get$2(proxy,'content');// SAFETY: Ideally we'd assert instead of casting, but @glimmer/validator doesn't give us\n// sufficient public types for this. Previously this code was .js and worked correctly so\n// hopefully this is sufficiently reliable.\nUPDATE_TAG(tagForObject(proxy),tagForObject(content));return content;}function customTagForProxy(proxy,key,addMandatorySetter){let meta=tagMetaFor(proxy);let tag=tagFor(proxy,key,meta);if(key in proxy){return tag;}else{let tags=[tag,tagFor(proxy,'content',meta)];let content=contentFor(proxy);if(isObject$1(content)){tags.push(tagForProperty(content,key,addMandatorySetter));}return combine(tags);}}/**\n            `Ember.ProxyMixin` forwards all properties not defined by the proxy itself\n            to a proxied `content` object.  See ObjectProxy for more details.\n\n            @class ProxyMixin\n            @namespace Ember\n            @private\n          */const ProxyMixin=Mixin.create({/**\n              The object whose properties will be forwarded.\n               @property content\n              @type {unknown}\n              @default null\n              @public\n            */content:null,init(){this._super(...arguments);setProxy(this);tagForObject(this);setCustomTagFor(this,customTagForProxy);},willDestroy(){this.set('content',null);this._super(...arguments);},isTruthy:computed('content',function(){return Boolean(get$2(this,'content'));}),unknownProperty(key){let content=contentFor(this);return content?get$2(content,key):undefined;},setUnknownProperty(key,value){let m=meta(this);if(m.isInitializing()||m.isPrototypeMeta(this)){// if marked as prototype or object is initializing then just\n// defineProperty rather than delegate\ndefineProperty(this,key,null,value);return value;}let content=contentFor(this);return set(content,key,value);}});const emberinternalsRuntimeLibMixinsproxy=/*#__PURE__*/Object.defineProperty({__proto__:null,contentFor,default:ProxyMixin},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/enumerable\n          @private\n          *//**\n            The methods in this mixin have been moved to [MutableArray](/ember/release/classes/MutableArray). This mixin has\n            been intentionally preserved to avoid breaking Enumerable.detect checks\n            until the community migrates away from them.\n\n            @class Enumerable\n            @private\n          */// eslint-disable-next-line @typescript-eslint/no-empty-interface\nconst Enumerable=Mixin.create();const emberEnumerableIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Enumerable},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          *//**\n            The methods in this mixin have been moved to MutableArray. This mixin has\n            been intentionally preserved to avoid breaking MutableEnumerable.detect\n            checks until the community migrates away from them.\n\n            @class MutableEnumerable\n            @namespace Ember\n            @uses Enumerable\n            @private\n          */// eslint-disable-next-line @typescript-eslint/no-empty-interface\nconst MutableEnumerable=Mixin.create(Enumerable);const emberEnumerableMutable=/*#__PURE__*/Object.defineProperty({__proto__:null,default:MutableEnumerable},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          *//**\n          `Ember.TargetActionSupport` is a mixin that can be included in a class\n          to add a `triggerAction` method with semantics similar to the Handlebars\n          `{{action}}` helper. In normal Ember usage, the `{{action}}` helper is\n          usually the best choice. This mixin is most often useful when you are\n          doing more complex event handling in Components.\n\n          @class TargetActionSupport\n          @namespace Ember\n          @extends Mixin\n          @private\n          */const TargetActionSupport=Mixin.create({target:null,action:null,actionContext:null,actionContextObject:computed('actionContext',function(){let actionContext=get$2(this,'actionContext');if(typeof actionContext==='string'){let value=get$2(this,actionContext);if(value===undefined){value=get$2(context$1.lookup,actionContext);}return value;}else{return actionContext;}}),/**\n            Send an `action` with an `actionContext` to a `target`. The action, actionContext\n            and target will be retrieved from properties of the object. For example:\n             ```javascript\n            import { alias } from '@ember/object/computed';\n             App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n              target: alias('controller'),\n              action: 'save',\n              actionContext: alias('context'),\n              click() {\n                this.triggerAction(); // Sends the `save` action, along with the current context\n                                      // to the current controller\n              }\n            });\n            ```\n             The `target`, `action`, and `actionContext` can be provided as properties of\n            an optional object argument to `triggerAction` as well.\n             ```javascript\n            App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n              click() {\n                this.triggerAction({\n                  action: 'save',\n                  target: this.get('controller'),\n                  actionContext: this.get('context')\n                }); // Sends the `save` action, along with the current context\n                    // to the current controller\n              }\n            });\n            ```\n             The `actionContext` defaults to the object you are mixing `TargetActionSupport` into.\n            But `target` and `action` must be specified either as properties or with the argument\n            to `triggerAction`, or a combination:\n             ```javascript\n            import { alias } from '@ember/object/computed';\n             App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n              target: alias('controller'),\n              click() {\n                this.triggerAction({\n                  action: 'save'\n                }); // Sends the `save` action, along with a reference to `this`,\n                    // to the current controller\n              }\n            });\n            ```\n             @method triggerAction\n            @param opts {Object} (optional, with the optional keys action, target and/or actionContext)\n            @return {Boolean} true if the action was sent successfully and did not return false\n            @private\n            */triggerAction(){let opts=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};let{action,target,actionContext}=opts;action=action||get$2(this,'action');target=target||getTarget(this);if(actionContext===undefined){actionContext=get$2(this,'actionContextObject')||this;}let context=Array.isArray(actionContext)?actionContext:[actionContext];if(target&&action){let ret;if(isSendable(target)){ret=target.send(action,...context);}else{ret=target[action](...context);}if(ret!==false){return true;}}return false;}});function isSendable(obj){return obj!=null&&typeof obj==='object'&&typeof obj.send==='function';}function getTarget(instance){let target=get$2(instance,'target');if(target){if(typeof target==='string'){let value=get$2(instance,target);if(value===undefined){value=get$2(context$1.lookup,target);}return value;}else{return target;}}if(instance._target){return instance._target;}return null;}const emberinternalsRuntimeLibMixinsTargetActionSupport=/*#__PURE__*/Object.defineProperty({__proto__:null,default:TargetActionSupport},Symbol.toStringTag,{value:'Module'});function callbacksFor(object){let callbacks=object._promiseCallbacks;if(!callbacks){callbacks=object._promiseCallbacks={};}return callbacks;}/**\n            @class EventTarget\n            @for rsvp\n            @public\n          */const EventTarget={/**\n              `EventTarget.mixin` extends an object with EventTarget methods. For\n              Example:\n               ```javascript\n              import EventTarget from 'rsvp';\n               let object = {};\n               EventTarget.mixin(object);\n               object.on('finished', function(event) {\n                // handle event\n              });\n               object.trigger('finished', { detail: value });\n              ```\n               `EventTarget.mixin` also works with prototypes:\n               ```javascript\n              import EventTarget from 'rsvp';\n               let Person = function() {};\n              EventTarget.mixin(Person.prototype);\n               let yehuda = new Person();\n              let tom = new Person();\n               yehuda.on('poke', function(event) {\n                console.log('Yehuda says OW');\n              });\n               tom.on('poke', function(event) {\n                console.log('Tom says OW');\n              });\n               yehuda.trigger('poke');\n              tom.trigger('poke');\n              ```\n               @method mixin\n              @for rsvp\n              @private\n              @param {Object} object object to extend with EventTarget methods\n            */mixin(object){object.on=this.on;object.off=this.off;object.trigger=this.trigger;object._promiseCallbacks=undefined;return object;},/**\n              Registers a callback to be executed when `eventName` is triggered\n               ```javascript\n              object.on('event', function(eventInfo){\n                // handle the event\n              });\n               object.trigger('event');\n              ```\n               @method on\n              @for EventTarget\n              @private\n              @param {String} eventName name of the event to listen for\n              @param {Function} callback function to be called when the event is triggered.\n            */on(eventName,callback){if(typeof callback!=='function'){throw new TypeError('Callback must be a function');}let allCallbacks=callbacksFor(this);let callbacks=allCallbacks[eventName];if(!callbacks){callbacks=allCallbacks[eventName]=[];}if(callbacks.indexOf(callback)===-1){callbacks.push(callback);}},/**\n              You can use `off` to stop firing a particular callback for an event:\n               ```javascript\n              function doStuff() { // do stuff! }\n              object.on('stuff', doStuff);\n               object.trigger('stuff'); // doStuff will be called\n               // Unregister ONLY the doStuff callback\n              object.off('stuff', doStuff);\n              object.trigger('stuff'); // doStuff will NOT be called\n              ```\n               If you don't pass a `callback` argument to `off`, ALL callbacks for the\n              event will not be executed when the event fires. For example:\n               ```javascript\n              let callback1 = function(){};\n              let callback2 = function(){};\n               object.on('stuff', callback1);\n              object.on('stuff', callback2);\n               object.trigger('stuff'); // callback1 and callback2 will be executed.\n               object.off('stuff');\n              object.trigger('stuff'); // callback1 and callback2 will not be executed!\n              ```\n               @method off\n              @for rsvp\n              @private\n              @param {String} eventName event to stop listening to\n              @param {Function} [callback] optional argument. If given, only the function\n              given will be removed from the event's callback queue. If no `callback`\n              argument is given, all callbacks will be removed from the event's callback\n              queue.\n            */off(eventName,callback){let allCallbacks=callbacksFor(this);if(!callback){allCallbacks[eventName]=[];return;}let callbacks=allCallbacks[eventName];let index=callbacks.indexOf(callback);if(index!==-1){callbacks.splice(index,1);}},/**\n              Use `trigger` to fire custom events. For example:\n               ```javascript\n              object.on('foo', function(){\n                console.log('foo event happened!');\n              });\n              object.trigger('foo');\n              // 'foo event happened!' logged to the console\n              ```\n               You can also pass a value as a second argument to `trigger` that will be\n              passed as an argument to all event listeners for the event:\n               ```javascript\n              object.on('foo', function(value){\n                console.log(value.name);\n              });\n               object.trigger('foo', { name: 'bar' });\n              // 'bar' logged to the console\n              ```\n               @method trigger\n              @for rsvp\n              @private\n              @param {String} eventName name of the event to be triggered\n              @param {*} [options] optional value to be passed to any event handlers for\n              the given `eventName`\n            */trigger(eventName,options,label){let allCallbacks=callbacksFor(this);let callbacks=allCallbacks[eventName];if(callbacks){// Don't cache the callbacks.length since it may grow\nlet callback;for(let i=0;i<callbacks.length;i++){callback=callbacks[i];callback(options,label);}}}};const config={instrument:false};EventTarget['mixin'](config);function configure(name,value){if(arguments.length===2){config[name]=value;}else{return config[name];}}const queue$1=[];function scheduleFlush$1(){setTimeout(()=>{for(let i=0;i<queue$1.length;i++){let entry=queue$1[i];let payload=entry.payload;payload.guid=payload.key+payload.id;payload.childGuid=payload.key+payload.childId;if(payload.error){payload.stack=payload.error.stack;}config['trigger'](entry.name,entry.payload);}queue$1.length=0;},50);}function instrument$1(eventName,promise,child){if(1===queue$1.push({name:eventName,payload:{key:promise._guidKey,id:promise._id,eventName:eventName,detail:promise._result,childId:child&&child._id,label:promise._label,timeStamp:Date.now(),error:config[\"instrument-with-stack\"]?new Error(promise._label):null}})){scheduleFlush$1();}}/**\n            `Promise.resolve` returns a promise that will become resolved with the\n            passed `value`. It is shorthand for the following:\n\n            ```javascript\n            import Promise from 'rsvp';\n\n            let promise = new Promise(function(resolve, reject){\n              resolve(1);\n            });\n\n            promise.then(function(value){\n              // value === 1\n            });\n            ```\n\n            Instead of writing the above, your code now simply becomes the following:\n\n            ```javascript\n            import Promise from 'rsvp';\n\n            let promise = RSVP.Promise.resolve(1);\n\n            promise.then(function(value){\n              // value === 1\n            });\n            ```\n\n            @method resolve\n            @for Promise\n            @static\n            @param {*} object value that the returned promise will be resolved with\n            @param {String} [label] optional string for identifying the returned promise.\n            Useful for tooling.\n            @return {Promise} a promise that will become fulfilled with the given\n            `value`\n          */function resolve$4(object,label){/*jshint validthis:true */let Constructor=this;if(object&&typeof object==='object'&&object.constructor===Constructor){return object;}let promise=new Constructor(noop,label);resolve$3(promise,object);return promise;}function withOwnPromise(){return new TypeError('A promises callback cannot return that same promise.');}function objectOrFunction(x){let type=typeof x;return x!==null&&(type==='object'||type==='function');}function noop(){}const PENDING=void 0;const FULFILLED=1;const REJECTED=2;function tryThen(then,value,fulfillmentHandler,rejectionHandler){try{then.call(value,fulfillmentHandler,rejectionHandler);}catch(e){return e;}}function handleForeignThenable(promise,thenable,then){config.async(promise=>{let sealed=false;let error=tryThen(then,thenable,value=>{if(sealed){return;}sealed=true;if(thenable===value){fulfill(promise,value);}else{resolve$3(promise,value);}},reason=>{if(sealed){return;}sealed=true;reject$2(promise,reason);},'Settle: '+(promise._label||' unknown promise'));if(!sealed&&error){sealed=true;reject$2(promise,error);}},promise);}function handleOwnThenable(promise,thenable){if(thenable._state===FULFILLED){fulfill(promise,thenable._result);}else if(thenable._state===REJECTED){thenable._onError=null;reject$2(promise,thenable._result);}else{subscribe$1(thenable,undefined,value=>{if(thenable===value){fulfill(promise,value);}else{resolve$3(promise,value);}},reason=>reject$2(promise,reason));}}function handleMaybeThenable(promise,maybeThenable,then$1){let isOwnThenable=maybeThenable.constructor===promise.constructor&&then$1===then&&promise.constructor.resolve===resolve$4;if(isOwnThenable){handleOwnThenable(promise,maybeThenable);}else if(typeof then$1==='function'){handleForeignThenable(promise,maybeThenable,then$1);}else{fulfill(promise,maybeThenable);}}function resolve$3(promise,value){if(promise===value){fulfill(promise,value);}else if(objectOrFunction(value)){let then;try{then=value.then;}catch(error){reject$2(promise,error);return;}handleMaybeThenable(promise,value,then);}else{fulfill(promise,value);}}function publishRejection(promise){if(promise._onError){promise._onError(promise._result);}publish(promise);}function fulfill(promise,value){if(promise._state!==PENDING){return;}promise._result=value;promise._state=FULFILLED;if(promise._subscribers.length===0){if(config.instrument){instrument$1('fulfilled',promise);}}else{config.async(publish,promise);}}function reject$2(promise,reason){if(promise._state!==PENDING){return;}promise._state=REJECTED;promise._result=reason;config.async(publishRejection,promise);}function subscribe$1(parent,child,onFulfillment,onRejection){let subscribers=parent._subscribers;let length=subscribers.length;parent._onError=null;subscribers[length]=child;subscribers[length+FULFILLED]=onFulfillment;subscribers[length+REJECTED]=onRejection;if(length===0&&parent._state){config.async(publish,parent);}}function publish(promise){let subscribers=promise._subscribers;let settled=promise._state;if(config.instrument){instrument$1(settled===FULFILLED?'fulfilled':'rejected',promise);}if(subscribers.length===0){return;}let child,callback,result=promise._result;for(let i=0;i<subscribers.length;i+=3){child=subscribers[i];callback=subscribers[i+settled];if(child){invokeCallback(settled,child,callback,result);}else{callback(result);}}promise._subscribers.length=0;}function invokeCallback(state,promise,callback,result){let hasCallback=typeof callback==='function';let value,succeeded=true,error;if(hasCallback){try{value=callback(result);}catch(e){succeeded=false;error=e;}}else{value=result;}if(promise._state!==PENDING);else if(value===promise){reject$2(promise,withOwnPromise());}else if(succeeded===false){reject$2(promise,error);}else if(hasCallback){resolve$3(promise,value);}else if(state===FULFILLED){fulfill(promise,value);}else if(state===REJECTED){reject$2(promise,value);}}function initializePromise(promise,resolver){let resolved=false;try{resolver(value=>{if(resolved){return;}resolved=true;resolve$3(promise,value);},reason=>{if(resolved){return;}resolved=true;reject$2(promise,reason);});}catch(e){reject$2(promise,e);}}function then(onFulfillment,onRejection,label){let parent=this;let state=parent._state;if(state===FULFILLED&&!onFulfillment||state===REJECTED&&!onRejection){config.instrument&&instrument$1('chained',parent,parent);return parent;}parent._onError=null;let child=new parent.constructor(noop,label);let result=parent._result;config.instrument&&instrument$1('chained',parent,child);if(state===PENDING){subscribe$1(parent,child,onFulfillment,onRejection);}else{let callback=state===FULFILLED?onFulfillment:onRejection;config.async(()=>invokeCallback(state,child,callback,result));}return child;}class Enumerator{constructor(Constructor,input,abortOnReject,label){this._instanceConstructor=Constructor;this.promise=new Constructor(noop,label);this._abortOnReject=abortOnReject;this._isUsingOwnPromise=Constructor===Promise$2;this._isUsingOwnResolve=Constructor.resolve===resolve$4;this._init(...arguments);}_init(Constructor,input){let len=input.length||0;this.length=len;this._remaining=len;this._result=new Array(len);this._enumerate(input);}_enumerate(input){let length=this.length;let promise=this.promise;for(let i=0;promise._state===PENDING&&i<length;i++){this._eachEntry(input[i],i,true);}this._checkFullfillment();}_checkFullfillment(){if(this._remaining===0){let result=this._result;fulfill(this.promise,result);this._result=null;}}_settleMaybeThenable(entry,i,firstPass){let c=this._instanceConstructor;if(this._isUsingOwnResolve){let then$1,error,succeeded=true;try{then$1=entry.then;}catch(e){succeeded=false;error=e;}if(then$1===then&&entry._state!==PENDING){entry._onError=null;this._settledAt(entry._state,i,entry._result,firstPass);}else if(typeof then$1!=='function'){this._settledAt(FULFILLED,i,entry,firstPass);}else if(this._isUsingOwnPromise){let promise=new c(noop);if(succeeded===false){reject$2(promise,error);}else{handleMaybeThenable(promise,entry,then$1);this._willSettleAt(promise,i,firstPass);}}else{this._willSettleAt(new c(resolve=>resolve(entry)),i,firstPass);}}else{this._willSettleAt(c.resolve(entry),i,firstPass);}}_eachEntry(entry,i,firstPass){if(entry!==null&&typeof entry==='object'){this._settleMaybeThenable(entry,i,firstPass);}else{this._setResultAt(FULFILLED,i,entry,firstPass);}}_settledAt(state,i,value,firstPass){let promise=this.promise;if(promise._state===PENDING){if(this._abortOnReject&&state===REJECTED){reject$2(promise,value);}else{this._setResultAt(state,i,value,firstPass);this._checkFullfillment();}}}_setResultAt(state,i,value,firstPass){this._remaining--;this._result[i]=value;}_willSettleAt(promise,i,firstPass){subscribe$1(promise,undefined,value=>this._settledAt(FULFILLED,i,value,firstPass),reason=>this._settledAt(REJECTED,i,reason,firstPass));}}function setSettledResult(state,i,value){this._remaining--;if(state===FULFILLED){this._result[i]={state:'fulfilled',value:value};}else{this._result[i]={state:'rejected',reason:value};}}/**\n            `Promise.all` accepts an array of promises, and returns a new promise which\n            is fulfilled with an array of fulfillment values for the passed promises, or\n            rejected with the reason of the first passed promise to be rejected. It casts all\n            elements of the passed iterable to promises as it runs this algorithm.\n\n            Example:\n\n            ```javascript\n            import Promise, { resolve } from 'rsvp';\n\n            let promise1 = resolve(1);\n            let promise2 = resolve(2);\n            let promise3 = resolve(3);\n            let promises = [ promise1, promise2, promise3 ];\n\n            Promise.all(promises).then(function(array){\n              // The array here would be [ 1, 2, 3 ];\n            });\n            ```\n\n            If any of the `promises` given to `RSVP.all` are rejected, the first promise\n            that is rejected will be given as an argument to the returned promises's\n            rejection handler. For example:\n\n            Example:\n\n            ```javascript\n            import Promise, { resolve, reject } from 'rsvp';\n\n            let promise1 = resolve(1);\n            let promise2 = reject(new Error(\"2\"));\n            let promise3 = reject(new Error(\"3\"));\n            let promises = [ promise1, promise2, promise3 ];\n\n            Promise.all(promises).then(function(array){\n              // Code here never runs because there are rejected promises!\n            }, function(error) {\n              // error.message === \"2\"\n            });\n            ```\n\n            @method all\n            @for Promise\n            @param {Array} entries array of promises\n            @param {String} [label] optional string for labeling the promise.\n            Useful for tooling.\n            @return {Promise} promise that is fulfilled when all `promises` have been\n            fulfilled, or rejected if any of them become rejected.\n            @static\n          */function all$1(entries,label){if(!Array.isArray(entries)){return this.reject(new TypeError(\"Promise.all must be called with an array\"),label);}return new Enumerator(this,entries,true/* abort on reject */,label).promise;}/**\n            `Promise.race` returns a new promise which is settled in the same way as the\n            first passed promise to settle.\n\n            Example:\n\n            ```javascript\n            import Promise from 'rsvp';\n\n            let promise1 = new Promise(function(resolve, reject){\n              setTimeout(function(){\n                resolve('promise 1');\n              }, 200);\n            });\n\n            let promise2 = new Promise(function(resolve, reject){\n              setTimeout(function(){\n                resolve('promise 2');\n              }, 100);\n            });\n\n            Promise.race([promise1, promise2]).then(function(result){\n              // result === 'promise 2' because it was resolved before promise1\n              // was resolved.\n            });\n            ```\n\n            `Promise.race` is deterministic in that only the state of the first\n            settled promise matters. For example, even if other promises given to the\n            `promises` array argument are resolved, but the first settled promise has\n            become rejected before the other promises became fulfilled, the returned\n            promise will become rejected:\n\n            ```javascript\n            import Promise from 'rsvp';\n\n            let promise1 = new Promise(function(resolve, reject){\n              setTimeout(function(){\n                resolve('promise 1');\n              }, 200);\n            });\n\n            let promise2 = new Promise(function(resolve, reject){\n              setTimeout(function(){\n                reject(new Error('promise 2'));\n              }, 100);\n            });\n\n            Promise.race([promise1, promise2]).then(function(result){\n              // Code here never runs\n            }, function(reason){\n              // reason.message === 'promise 2' because promise 2 became rejected before\n              // promise 1 became fulfilled\n            });\n            ```\n\n            An example real-world use case is implementing timeouts:\n\n            ```javascript\n            import Promise from 'rsvp';\n\n            Promise.race([ajax('foo.json'), timeout(5000)])\n            ```\n\n            @method race\n            @for Promise\n            @static\n            @param {Array} entries array of promises to observe\n            @param {String} [label] optional string for describing the promise returned.\n            Useful for tooling.\n            @return {Promise} a promise which settles in the same way as the first passed\n            promise to settle.\n          */function race$1(entries,label){/*jshint validthis:true */let Constructor=this;let promise=new Constructor(noop,label);if(!Array.isArray(entries)){reject$2(promise,new TypeError('Promise.race must be called with an array'));return promise;}for(let i=0;promise._state===PENDING&&i<entries.length;i++){subscribe$1(Constructor.resolve(entries[i]),undefined,value=>resolve$3(promise,value),reason=>reject$2(promise,reason));}return promise;}/**\n            `Promise.reject` returns a promise rejected with the passed `reason`.\n            It is shorthand for the following:\n\n            ```javascript\n            import Promise from 'rsvp';\n\n            let promise = new Promise(function(resolve, reject){\n              reject(new Error('WHOOPS'));\n            });\n\n            promise.then(function(value){\n              // Code here doesn't run because the promise is rejected!\n            }, function(reason){\n              // reason.message === 'WHOOPS'\n            });\n            ```\n\n            Instead of writing the above, your code now simply becomes the following:\n\n            ```javascript\n            import Promise from 'rsvp';\n\n            let promise = Promise.reject(new Error('WHOOPS'));\n\n            promise.then(function(value){\n              // Code here doesn't run because the promise is rejected!\n            }, function(reason){\n              // reason.message === 'WHOOPS'\n            });\n            ```\n\n            @method reject\n            @for Promise\n            @static\n            @param {*} reason value that the returned promise will be rejected with.\n            @param {String} [label] optional string for identifying the returned promise.\n            Useful for tooling.\n            @return {Promise} a promise rejected with the given `reason`.\n          */function reject$1(reason,label){/*jshint validthis:true */let Constructor=this;let promise=new Constructor(noop,label);reject$2(promise,reason);return promise;}const guidKey='rsvp_'+Date.now()+'-';let counter=0;function needsResolver(){throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');}function needsNew(){throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");}/**\n            Promise objects represent the eventual result of an asynchronous operation. The\n            primary way of interacting with a promise is through its `then` method, which\n            registers callbacks to receive either a promise’s eventual value or the reason\n            why the promise cannot be fulfilled.\n\n            Terminology\n            -----------\n\n            - `promise` is an object or function with a `then` method whose behavior conforms to this specification.\n            - `thenable` is an object or function that defines a `then` method.\n            - `value` is any legal JavaScript value (including undefined, a thenable, or a promise).\n            - `exception` is a value that is thrown using the throw statement.\n            - `reason` is a value that indicates why a promise was rejected.\n            - `settled` the final resting state of a promise, fulfilled or rejected.\n\n            A promise can be in one of three states: pending, fulfilled, or rejected.\n\n            Promises that are fulfilled have a fulfillment value and are in the fulfilled\n            state.  Promises that are rejected have a rejection reason and are in the\n            rejected state.  A fulfillment value is never a thenable.\n\n            Promises can also be said to *resolve* a value.  If this value is also a\n            promise, then the original promise's settled state will match the value's\n            settled state.  So a promise that *resolves* a promise that rejects will\n            itself reject, and a promise that *resolves* a promise that fulfills will\n            itself fulfill.\n\n\n            Basic Usage:\n            ------------\n\n            ```js\n            let promise = new Promise(function(resolve, reject) {\n              // on success\n              resolve(value);\n\n              // on failure\n              reject(reason);\n            });\n\n            promise.then(function(value) {\n              // on fulfillment\n            }, function(reason) {\n              // on rejection\n            });\n            ```\n\n            Advanced Usage:\n            ---------------\n\n            Promises shine when abstracting away asynchronous interactions such as\n            `XMLHttpRequest`s.\n\n            ```js\n            function getJSON(url) {\n              return new Promise(function(resolve, reject){\n                let xhr = new XMLHttpRequest();\n\n                xhr.open('GET', url);\n                xhr.onreadystatechange = handler;\n                xhr.responseType = 'json';\n                xhr.setRequestHeader('Accept', 'application/json');\n                xhr.send();\n\n                function handler() {\n                  if (this.readyState === this.DONE) {\n                    if (this.status === 200) {\n                      resolve(this.response);\n                    } else {\n                      reject(new Error('getJSON: `' + url + '` failed with status: [' + this.status + ']'));\n                    }\n                  }\n                };\n              });\n            }\n\n            getJSON('/posts.json').then(function(json) {\n              // on fulfillment\n            }, function(reason) {\n              // on rejection\n            });\n            ```\n\n            Unlike callbacks, promises are great composable primitives.\n\n            ```js\n            Promise.all([\n              getJSON('/posts'),\n              getJSON('/comments')\n            ]).then(function(values){\n              values[0] // => postsJSON\n              values[1] // => commentsJSON\n\n              return values;\n            });\n            ```\n\n            @class Promise\n            @public\n            @param {function} resolver\n            @param {String} [label] optional string for labeling the promise.\n            Useful for tooling.\n            @constructor\n          */let Promise$1=class Promise{constructor(resolver,label){this._id=counter++;this._label=label;this._state=undefined;this._result=undefined;this._subscribers=[];config.instrument&&instrument$1('created',this);if(noop!==resolver){typeof resolver!=='function'&&needsResolver();this instanceof Promise?initializePromise(this,resolver):needsNew();}}_onError(reason){config.after(()=>{if(this._onError){config.trigger('error',reason,this._label);}});}/**\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            */catch(onRejection,label){return this.then(undefined,onRejection,label);}/**\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            */finally(callback,label){let promise=this;let constructor=promise.constructor;if(typeof callback==='function'){return promise.then(value=>constructor.resolve(callback()).then(()=>value),reason=>constructor.resolve(callback()).then(()=>{throw reason;}));}return promise.then(callback,callback);}};Promise$1.cast=resolve$4;// deprecated\nPromise$1.all=all$1;Promise$1.race=race$1;Promise$1.resolve=resolve$4;Promise$1.reject=reject$1;Promise$1.prototype._guidKey=guidKey;/**\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          */Promise$1.prototype.then=then;const Promise$2=Promise$1;function makeObject(_,argumentNames){let obj={};let length=_.length;let args=new Array(length);for(let x=0;x<length;x++){args[x]=_[x];}for(let i=0;i<argumentNames.length;i++){let name=argumentNames[i];obj[name]=args[i+1];}return obj;}function arrayResult(_){let length=_.length;let args=new Array(length-1);for(let i=1;i<length;i++){args[i-1]=_[i];}return args;}function wrapThenable(then,promise){return{then(onFulFillment,onRejection){return then.call(promise,onFulFillment,onRejection);}};}/**\n            `denodeify` takes a 'node-style' function and returns a function that\n            will return an `Promise`. You can use `denodeify` in Node.js or the\n            browser when you'd prefer to use promises over using callbacks. For example,\n            `denodeify` transforms the following:\n\n            ```javascript\n            let fs = require('fs');\n\n            fs.readFile('myfile.txt', function(err, data){\n              if (err) return handleError(err);\n              handleData(data);\n            });\n            ```\n\n            into:\n\n            ```javascript\n            let fs = require('fs');\n            let readFile = denodeify(fs.readFile);\n\n            readFile('myfile.txt').then(handleData, handleError);\n            ```\n\n            If the node function has multiple success parameters, then `denodeify`\n            just returns the first one:\n\n            ```javascript\n            let request = denodeify(require('request'));\n\n            request('http://example.com').then(function(res) {\n              // ...\n            });\n            ```\n\n            However, if you need all success parameters, setting `denodeify`'s\n            second parameter to `true` causes it to return all success parameters\n            as an array:\n\n            ```javascript\n            let request = denodeify(require('request'), true);\n\n            request('http://example.com').then(function(result) {\n              // result[0] -> res\n              // result[1] -> body\n            });\n            ```\n\n            Or if you pass it an array with names it returns the parameters as a hash:\n\n            ```javascript\n            let request = denodeify(require('request'), ['res', 'body']);\n\n            request('http://example.com').then(function(result) {\n              // result.res\n              // result.body\n            });\n            ```\n\n            Sometimes you need to retain the `this`:\n\n            ```javascript\n            let app = require('express')();\n            let render = denodeify(app.render.bind(app));\n            ```\n\n            The denodified function inherits from the original function. It works in all\n            environments, except IE 10 and below. Consequently all properties of the original\n            function are available to you. However, any properties you change on the\n            denodeified function won't be changed on the original function. Example:\n\n            ```javascript\n            let request = denodeify(require('request')),\n                cookieJar = request.jar(); // <- Inheritance is used here\n\n            request('http://example.com', {jar: cookieJar}).then(function(res) {\n              // cookieJar.cookies holds now the cookies returned by example.com\n            });\n            ```\n\n            Using `denodeify` makes it easier to compose asynchronous operations instead\n            of using callbacks. For example, instead of:\n\n            ```javascript\n            let fs = require('fs');\n\n            fs.readFile('myfile.txt', function(err, data){\n              if (err) { ... } // Handle error\n              fs.writeFile('myfile2.txt', data, function(err){\n                if (err) { ... } // Handle error\n                console.log('done')\n              });\n            });\n            ```\n\n            you can chain the operations together using `then` from the returned promise:\n\n            ```javascript\n            let fs = require('fs');\n            let readFile = denodeify(fs.readFile);\n            let writeFile = denodeify(fs.writeFile);\n\n            readFile('myfile.txt').then(function(data){\n              return writeFile('myfile2.txt', data);\n            }).then(function(){\n              console.log('done')\n            }).catch(function(error){\n              // Handle error\n            });\n            ```\n\n            @method denodeify\n            @public\n            @static\n            @for rsvp\n            @param {Function} nodeFunc a 'node-style' function that takes a callback as\n            its last argument. The callback expects an error to be passed as its first\n            argument (if an error occurred, otherwise null), and the value from the\n            operation as its second argument ('function(err, value){ }').\n            @param {Boolean|Array} [options] An optional paramter that if set\n            to `true` causes the promise to fulfill with the callback's success arguments\n            as an array. This is useful if the node function has multiple success\n            paramters. If you set this paramter to an array with names, the promise will\n            fulfill with a hash with these names as keys and the success parameters as\n            values.\n            @return {Function} a function that wraps `nodeFunc` to return a `Promise`\n          */function denodeify(nodeFunc,options){let fn=function(){let l=arguments.length;let args=new Array(l+1);let promiseInput=false;for(let i=0;i<l;++i){let arg=arguments[i];// TODO: this code really needs to be cleaned up\nif(!promiseInput){if(arg!==null&&typeof arg==='object'){if(arg.constructor===Promise$2){promiseInput=true;}else{try{promiseInput=arg.then;}catch(error){let p=new Promise$2(noop);reject$2(p,error);return p;}}}else{promiseInput=false;}if(promiseInput&&promiseInput!==true){arg=wrapThenable(promiseInput,arg);}}args[i]=arg;}let promise=new Promise$2(noop);args[l]=function(err,val){if(err){reject$2(promise,err);}else if(options===undefined){resolve$3(promise,val);}else if(options===true){resolve$3(promise,arrayResult(arguments));}else if(Array.isArray(options)){resolve$3(promise,makeObject(arguments,options));}else{resolve$3(promise,val);}};if(promiseInput){return handlePromiseInput(promise,args,nodeFunc,this);}else{return handleValueInput(promise,args,nodeFunc,this);}};fn.__proto__=nodeFunc;return fn;}function handleValueInput(promise,args,nodeFunc,self){try{nodeFunc.apply(self,args);}catch(error){reject$2(promise,error);}return promise;}function handlePromiseInput(promise,args,nodeFunc,self){return Promise$2.all(args).then(args=>handleValueInput(promise,args,nodeFunc,self));}/**\n            This is a convenient alias for `Promise.all`.\n\n            @method all\n            @public\n            @static\n            @for rsvp\n            @param {Array} array Array of promises.\n            @param {String} [label] An optional label. This is useful\n            for tooling.\n          */function all(array,label){return Promise$2.all(array,label);}/**\n          @module rsvp\n          @public\n          **/class AllSettled extends Enumerator{constructor(Constructor,entries,label){super(Constructor,entries,false/* don't abort on reject */,label);}}AllSettled.prototype._setResultAt=setSettledResult;/**\n          `RSVP.allSettled` is similar to `RSVP.all`, but instead of implementing\n          a fail-fast method, it waits until all the promises have returned and\n          shows you all the results. This is useful if you want to handle multiple\n          promises' failure states together as a set.\n           Returns a promise that is fulfilled when all the given promises have been\n          settled. The return promise is fulfilled with an array of the states of\n          the promises passed into the `promises` array argument.\n           Each state object will either indicate fulfillment or rejection, and\n          provide the corresponding value or reason. The states will take one of\n          the following formats:\n           ```javascript\n          { state: 'fulfilled', value: value }\n            or\n          { state: 'rejected', reason: reason }\n          ```\n           Example:\n           ```javascript\n          let promise1 = RSVP.Promise.resolve(1);\n          let promise2 = RSVP.Promise.reject(new Error('2'));\n          let promise3 = RSVP.Promise.reject(new Error('3'));\n          let promises = [ promise1, promise2, promise3 ];\n           RSVP.allSettled(promises).then(function(array){\n            // array == [\n            //   { state: 'fulfilled', value: 1 },\n            //   { state: 'rejected', reason: Error },\n            //   { state: 'rejected', reason: Error }\n            // ]\n            // Note that for the second item, reason.message will be '2', and for the\n            // third item, reason.message will be '3'.\n          }, function(error) {\n            // Not run. (This block would only be called if allSettled had failed,\n            // for instance if passed an incorrect argument type.)\n          });\n          ```\n           @method allSettled\n          @public\n          @static\n          @for rsvp\n          @param {Array} entries\n          @param {String} [label] - optional string that describes the promise.\n          Useful for tooling.\n          @return {Promise} promise that is fulfilled with an array of the settled\n          states of the constituent promises.\n          */function allSettled(entries,label){if(!Array.isArray(entries)){return Promise$2.reject(new TypeError(\"Promise.allSettled must be called with an array\"),label);}return new AllSettled(Promise$2,entries,label).promise;}/**\n            This is a convenient alias for `Promise.race`.\n\n            @method race\n            @public\n            @static\n            @for rsvp\n            @param {Array} array Array of promises.\n            @param {String} [label] An optional label. This is useful\n            for tooling.\n           */function race(array,label){return Promise$2.race(array,label);}class PromiseHash extends Enumerator{constructor(Constructor,object){let abortOnReject=arguments.length>2&&arguments[2]!==undefined?arguments[2]:true;let label=arguments.length>3?arguments[3]:undefined;super(Constructor,object,abortOnReject,label);}_init(Constructor,object){this._result={};this._enumerate(object);}_enumerate(input){let keys=Object.keys(input);let length=keys.length;let promise=this.promise;this._remaining=length;let key,val;for(let i=0;promise._state===PENDING&&i<length;i++){key=keys[i];val=input[key];this._eachEntry(val,key,true);}this._checkFullfillment();}}/**\n            `hash` is similar to `all`, but takes an object instead of an array\n            for its `promises` argument.\n\n            Returns a promise that is fulfilled when all the given promises have been\n            fulfilled, or rejected if any of them become rejected. The returned promise\n            is fulfilled with a hash that has the same key names as the `promises` object\n            argument. If any of the values in the object are not promises, they will\n            simply be copied over to the fulfilled object.\n\n            Example:\n\n            ```javascript\n            let promises = {\n              myPromise: resolve(1),\n              yourPromise: resolve(2),\n              theirPromise: resolve(3),\n              notAPromise: 4\n            };\n\n            hash(promises).then(function(hash){\n              // hash here is an object that looks like:\n              // {\n              //   myPromise: 1,\n              //   yourPromise: 2,\n              //   theirPromise: 3,\n              //   notAPromise: 4\n              // }\n            });\n            ```\n\n            If any of the `promises` given to `hash` are rejected, the first promise\n            that is rejected will be given as the reason to the rejection handler.\n\n            Example:\n\n            ```javascript\n            let promises = {\n              myPromise: resolve(1),\n              rejectedPromise: reject(new Error('rejectedPromise')),\n              anotherRejectedPromise: reject(new Error('anotherRejectedPromise')),\n            };\n\n            hash(promises).then(function(hash){\n              // Code here never runs because there are rejected promises!\n            }, function(reason) {\n              // reason.message === 'rejectedPromise'\n            });\n            ```\n\n            An important note: `hash` is intended for plain JavaScript objects that\n            are just a set of keys and values. `hash` will NOT preserve prototype\n            chains.\n\n            Example:\n\n            ```javascript\n            import { hash, resolve } from 'rsvp';\n            function MyConstructor(){\n              this.example = resolve('Example');\n            }\n\n            MyConstructor.prototype = {\n              protoProperty: resolve('Proto Property')\n            };\n\n            let myObject = new MyConstructor();\n\n            hash(myObject).then(function(hash){\n              // protoProperty will not be present, instead you will just have an\n              // object that looks like:\n              // {\n              //   example: 'Example'\n              // }\n              //\n              // hash.hasOwnProperty('protoProperty'); // false\n              // 'undefined' === typeof hash.protoProperty\n            });\n            ```\n\n            @method hash\n            @public\n            @static\n            @for rsvp\n            @param {Object} object\n            @param {String} [label] optional string that describes the promise.\n            Useful for tooling.\n            @return {Promise} promise that is fulfilled when all properties of `promises`\n            have been fulfilled, or rejected if any of them become rejected.\n          */function hash$2(object,label){return Promise$2.resolve(object,label).then(function(object){if(object===null||typeof object!=='object'){throw new TypeError(\"Promise.hash must be called with an object\");}return new PromiseHash(Promise$2,object,label).promise;});}class HashSettled extends PromiseHash{constructor(Constructor,object,label){super(Constructor,object,false,label);}}HashSettled.prototype._setResultAt=setSettledResult;/**\n            `hashSettled` is similar to `allSettled`, but takes an object\n            instead of an array for its `promises` argument.\n\n            Unlike `all` or `hash`, which implement a fail-fast method,\n            but like `allSettled`, `hashSettled` waits until all the\n            constituent promises have returned and then shows you all the results\n            with their states and values/reasons. This is useful if you want to\n            handle multiple promises' failure states together as a set.\n\n            Returns a promise that is fulfilled when all the given promises have been\n            settled, or rejected if the passed parameters are invalid.\n\n            The returned promise is fulfilled with a hash that has the same key names as\n            the `promises` object argument. If any of the values in the object are not\n            promises, they will be copied over to the fulfilled object and marked with state\n            'fulfilled'.\n\n            Example:\n\n            ```javascript\n            import { hashSettled, resolve } from 'rsvp';\n\n            let promises = {\n              myPromise: resolve(1),\n              yourPromise: resolve(2),\n              theirPromise: resolve(3),\n              notAPromise: 4\n            };\n\n            hashSettled(promises).then(function(hash){\n              // hash here is an object that looks like:\n              // {\n              //   myPromise: { state: 'fulfilled', value: 1 },\n              //   yourPromise: { state: 'fulfilled', value: 2 },\n              //   theirPromise: { state: 'fulfilled', value: 3 },\n              //   notAPromise: { state: 'fulfilled', value: 4 }\n              // }\n            });\n            ```\n\n            If any of the `promises` given to `hash` are rejected, the state will\n            be set to 'rejected' and the reason for rejection provided.\n\n            Example:\n\n            ```javascript\n            import { hashSettled, reject, resolve } from 'rsvp';\n\n            let promises = {\n              myPromise: resolve(1),\n              rejectedPromise: reject(new Error('rejection')),\n              anotherRejectedPromise: reject(new Error('more rejection')),\n            };\n\n            hashSettled(promises).then(function(hash){\n              // hash here is an object that looks like:\n              // {\n              //   myPromise:              { state: 'fulfilled', value: 1 },\n              //   rejectedPromise:        { state: 'rejected', reason: Error },\n              //   anotherRejectedPromise: { state: 'rejected', reason: Error },\n              // }\n              // Note that for rejectedPromise, reason.message == 'rejection',\n              // and for anotherRejectedPromise, reason.message == 'more rejection'.\n            });\n            ```\n\n            An important note: `hashSettled` is intended for plain JavaScript objects that\n            are just a set of keys and values. `hashSettled` will NOT preserve prototype\n            chains.\n\n            Example:\n\n            ```javascript\n            import Promise, { hashSettled, resolve } from 'rsvp';\n\n            function MyConstructor(){\n              this.example = resolve('Example');\n            }\n\n            MyConstructor.prototype = {\n              protoProperty: Promise.resolve('Proto Property')\n            };\n\n            let myObject = new MyConstructor();\n\n            hashSettled(myObject).then(function(hash){\n              // protoProperty will not be present, instead you will just have an\n              // object that looks like:\n              // {\n              //   example: { state: 'fulfilled', value: 'Example' }\n              // }\n              //\n              // hash.hasOwnProperty('protoProperty'); // false\n              // 'undefined' === typeof hash.protoProperty\n            });\n            ```\n\n            @method hashSettled\n            @public\n            @for rsvp\n            @param {Object} object\n            @param {String} [label] optional string that describes the promise.\n            Useful for tooling.\n            @return {Promise} promise that is fulfilled when when all properties of `promises`\n            have been settled.\n            @static\n          */function hashSettled(object,label){return Promise$2.resolve(object,label).then(function(object){if(object===null||typeof object!=='object'){throw new TypeError(\"hashSettled must be called with an object\");}return new HashSettled(Promise$2,object,false,label).promise;});}/**\n            `rethrow` will rethrow an error on the next turn of the JavaScript event\n            loop in order to aid debugging.\n\n            Promises A+ specifies that any exceptions that occur with a promise must be\n            caught by the promises implementation and bubbled to the last handler. For\n            this reason, it is recommended that you always specify a second rejection\n            handler function to `then`. However, `rethrow` will throw the exception\n            outside of the promise, so it bubbles up to your console if in the browser,\n            or domain/cause uncaught exception in Node. `rethrow` will also throw the\n            error again so the error can be handled by the promise per the spec.\n\n            ```javascript\n            import { rethrow } from 'rsvp';\n\n            function throws(){\n              throw new Error('Whoops!');\n            }\n\n            let promise = new Promise(function(resolve, reject){\n              throws();\n            });\n\n            promise.catch(rethrow).then(function(){\n              // Code here doesn't run because the promise became rejected due to an\n              // error!\n            }, function (err){\n              // handle the error here\n            });\n            ```\n\n            The 'Whoops' error will be thrown on the next turn of the event loop\n            and you can watch for it in your console. You can also handle it using a\n            rejection handler given to `.then` or `.catch` on the returned promise.\n\n            @method rethrow\n            @public\n            @static\n            @for rsvp\n            @param {Error} reason reason the promise became rejected.\n            @throws Error\n            @static\n          */function rethrow(reason){setTimeout(()=>{throw reason;});throw reason;}/**\n            `defer` returns an object similar to jQuery's `$.Deferred`.\n            `defer` should be used when porting over code reliant on `$.Deferred`'s\n            interface. New code should use the `Promise` constructor instead.\n\n            The object returned from `defer` is a plain object with three properties:\n\n            * promise - an `Promise`.\n            * reject - a function that causes the `promise` property on this object to\n              become rejected\n            * resolve - a function that causes the `promise` property on this object to\n              become fulfilled.\n\n            Example:\n\n             ```javascript\n             let deferred = defer();\n\n             deferred.resolve(\"Success!\");\n\n             deferred.promise.then(function(value){\n               // value here is \"Success!\"\n             });\n             ```\n\n            @method defer\n            @public\n            @static\n            @for rsvp\n            @param {String} [label] optional string for labeling the promise.\n            Useful for tooling.\n            @return {Object}\n           */function defer(label){let deferred={resolve:undefined,reject:undefined};deferred.promise=new Promise$2((resolve,reject)=>{deferred.resolve=resolve;deferred.reject=reject;},label);return deferred;}class MapEnumerator extends Enumerator{constructor(Constructor,entries,mapFn,label){super(Constructor,entries,true,label,mapFn);}_init(Constructor,input,bool,label,mapFn){let len=input.length||0;this.length=len;this._remaining=len;this._result=new Array(len);this._mapFn=mapFn;this._enumerate(input);}_setResultAt(state,i,value,firstPass){if(firstPass){try{this._eachEntry(this._mapFn(value,i),i,false);}catch(error){this._settledAt(REJECTED,i,error,false);}}else{this._remaining--;this._result[i]=value;}}}/**\n           `map` is similar to JavaScript's native `map` method. `mapFn` is eagerly called\n            meaning that as soon as any promise resolves its value will be passed to `mapFn`.\n            `map` returns a promise that will become fulfilled with the result of running\n            `mapFn` on the values the promises become fulfilled with.\n\n            For example:\n\n            ```javascript\n            import { map, resolve } from 'rsvp';\n\n            let promise1 = resolve(1);\n            let promise2 = resolve(2);\n            let promise3 = resolve(3);\n            let promises = [ promise1, promise2, promise3 ];\n\n            let mapFn = function(item){\n              return item + 1;\n            };\n\n            map(promises, mapFn).then(function(result){\n              // result is [ 2, 3, 4 ]\n            });\n            ```\n\n            If any of the `promises` given to `map` are rejected, the first promise\n            that is rejected will be given as an argument to the returned promise's\n            rejection handler. For example:\n\n            ```javascript\n            import { map, reject, resolve } from 'rsvp';\n\n            let promise1 = resolve(1);\n            let promise2 = reject(new Error('2'));\n            let promise3 = reject(new Error('3'));\n            let promises = [ promise1, promise2, promise3 ];\n\n            let mapFn = function(item){\n              return item + 1;\n            };\n\n            map(promises, mapFn).then(function(array){\n              // Code here never runs because there are rejected promises!\n            }, function(reason) {\n              // reason.message === '2'\n            });\n            ```\n\n            `map` will also wait if a promise is returned from `mapFn`. For example,\n            say you want to get all comments from a set of blog posts, but you need\n            the blog posts first because they contain a url to those comments.\n\n            ```javscript\n            import { map } from 'rsvp';\n\n            let mapFn = function(blogPost){\n              // getComments does some ajax and returns an Promise that is fulfilled\n              // with some comments data\n              return getComments(blogPost.comments_url);\n            };\n\n            // getBlogPosts does some ajax and returns an Promise that is fulfilled\n            // with some blog post data\n            map(getBlogPosts(), mapFn).then(function(comments){\n              // comments is the result of asking the server for the comments\n              // of all blog posts returned from getBlogPosts()\n            });\n            ```\n\n            @method map\n            @public\n            @static\n            @for rsvp\n            @param {Array} promises\n            @param {Function} mapFn function to be called on each fulfilled promise.\n            @param {String} [label] optional string for labeling the promise.\n            Useful for tooling.\n            @return {Promise} promise that is fulfilled with the result of calling\n            `mapFn` on each fulfilled promise or value when they become fulfilled.\n             The promise will be rejected if any of the given `promises` become rejected.\n          */function map$2(promises,mapFn,label){if(typeof mapFn!=='function'){return Promise$2.reject(new TypeError(\"map expects a function as a second argument\"),label);}return Promise$2.resolve(promises,label).then(function(promises){if(!Array.isArray(promises)){throw new TypeError(\"map must be called with an array\");}return new MapEnumerator(Promise$2,promises,mapFn,label).promise;});}/**\n            This is a convenient alias for `Promise.resolve`.\n\n            @method resolve\n            @public\n            @static\n            @for rsvp\n            @param {*} value value that the returned promise will be resolved with\n            @param {String} [label] optional string for identifying the returned promise.\n            Useful for tooling.\n            @return {Promise} a promise that will become fulfilled with the given\n            `value`\n          */function resolve$2(value,label){return Promise$2.resolve(value,label);}/**\n            This is a convenient alias for `Promise.reject`.\n\n            @method reject\n            @public\n            @static\n            @for rsvp\n            @param {*} reason value that the returned promise will be rejected with.\n            @param {String} [label] optional string for identifying the returned promise.\n            Useful for tooling.\n            @return {Promise} a promise rejected with the given `reason`.\n          */function reject(reason,label){return Promise$2.reject(reason,label);}const EMPTY_OBJECT={};class FilterEnumerator extends MapEnumerator{_checkFullfillment(){if(this._remaining===0&&this._result!==null){let result=this._result.filter(val=>val!==EMPTY_OBJECT);fulfill(this.promise,result);this._result=null;}}_setResultAt(state,i,value,firstPass){if(firstPass){this._result[i]=value;let val,succeeded=true;try{val=this._mapFn(value,i);}catch(error){succeeded=false;this._settledAt(REJECTED,i,error,false);}if(succeeded){this._eachEntry(val,i,false);}}else{this._remaining--;if(!value){this._result[i]=EMPTY_OBJECT;}}}}/**\n           `filter` is similar to JavaScript's native `filter` method.\n           `filterFn` is eagerly called meaning that as soon as any promise\n            resolves its value will be passed to `filterFn`. `filter` returns\n            a promise that will become fulfilled with the result of running\n            `filterFn` on the values the promises become fulfilled with.\n\n            For example:\n\n            ```javascript\n            import { filter, resolve } from 'rsvp';\n\n            let promise1 = resolve(1);\n            let promise2 = resolve(2);\n            let promise3 = resolve(3);\n\n            let promises = [promise1, promise2, promise3];\n\n            let filterFn = function(item){\n              return item > 1;\n            };\n\n            filter(promises, filterFn).then(function(result){\n              // result is [ 2, 3 ]\n            });\n            ```\n\n            If any of the `promises` given to `filter` are rejected, the first promise\n            that is rejected will be given as an argument to the returned promise's\n            rejection handler. For example:\n\n            ```javascript\n            import { filter, reject, resolve } from 'rsvp';\n\n            let promise1 = resolve(1);\n            let promise2 = reject(new Error('2'));\n            let promise3 = reject(new Error('3'));\n            let promises = [ promise1, promise2, promise3 ];\n\n            let filterFn = function(item){\n              return item > 1;\n            };\n\n            filter(promises, filterFn).then(function(array){\n              // Code here never runs because there are rejected promises!\n            }, function(reason) {\n              // reason.message === '2'\n            });\n            ```\n\n            `filter` will also wait for any promises returned from `filterFn`.\n            For instance, you may want to fetch a list of users then return a subset\n            of those users based on some asynchronous operation:\n\n            ```javascript\n            import { filter, resolve } from 'rsvp';\n\n            let alice = { name: 'alice' };\n            let bob   = { name: 'bob' };\n            let users = [ alice, bob ];\n\n            let promises = users.map(function(user){\n              return resolve(user);\n            });\n\n            let filterFn = function(user){\n              // Here, Alice has permissions to create a blog post, but Bob does not.\n              return getPrivilegesForUser(user).then(function(privs){\n                return privs.can_create_blog_post === true;\n              });\n            };\n            filter(promises, filterFn).then(function(users){\n              // true, because the server told us only Alice can create a blog post.\n              users.length === 1;\n              // false, because Alice is the only user present in `users`\n              users[0] === bob;\n            });\n            ```\n\n            @method filter\n            @public\n            @static\n            @for rsvp\n            @param {Array} promises\n            @param {Function} filterFn - function to be called on each resolved value to\n            filter the final results.\n            @param {String} [label] optional string describing the promise. Useful for\n            tooling.\n            @return {Promise}\n          */function filter$1(promises,filterFn,label){if(typeof filterFn!=='function'){return Promise$2.reject(new TypeError(\"filter expects function as a second argument\"),label);}return Promise$2.resolve(promises,label).then(function(promises){if(!Array.isArray(promises)){throw new TypeError(\"filter must be called with an array\");}return new FilterEnumerator(Promise$2,promises,filterFn,label).promise;});}let len=0;let vertxNext;function asap(callback,arg){queue[len]=callback;queue[len+1]=arg;len+=2;if(len===2){// 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.\nscheduleFlush();}}const browserWindow=typeof window!=='undefined'?window:undefined;const browserGlobal=browserWindow||{};const BrowserMutationObserver=browserGlobal.MutationObserver||browserGlobal.WebKitMutationObserver;const isNode$1=typeof self==='undefined'&&typeof process!=='undefined'&&{}.toString.call(process)==='[object process]';// test for web worker but not in IE10\nconst isWorker=typeof Uint8ClampedArray!=='undefined'&&typeof importScripts!=='undefined'&&typeof MessageChannel!=='undefined';// node\nfunction useNextTick(){let nextTick=process.nextTick;// node version 0.10.x displays a deprecation warning when nextTick is used recursively\n// setImmediate should be used instead instead\nlet version=process.versions.node.match(/^(?:(\\d+)\\.)?(?:(\\d+)\\.)?(\\*|\\d+)$/);if(Array.isArray(version)&&version[1]==='0'&&version[2]==='10'){nextTick=setImmediate;}return()=>nextTick(flush);}// vertx\nfunction useVertxTimer(){if(typeof vertxNext!=='undefined'){return function(){vertxNext(flush);};}return useSetTimeout();}function useMutationObserver(){let iterations=0;let observer=new BrowserMutationObserver(flush);let node=document.createTextNode('');observer.observe(node,{characterData:true});return()=>node.data=iterations=++iterations%2;}// web worker\nfunction useMessageChannel(){let channel=new MessageChannel();channel.port1.onmessage=flush;return()=>channel.port2.postMessage(0);}function useSetTimeout(){return()=>setTimeout(flush,1);}const queue=new Array(1000);function flush(){for(let i=0;i<len;i+=2){let callback=queue[i];let arg=queue[i+1];callback(arg);queue[i]=undefined;queue[i+1]=undefined;}len=0;}function attemptVertex(){try{const vertx=Function('return this')().require('vertx');vertxNext=vertx.runOnLoop||vertx.runOnContext;return useVertxTimer();}catch(e){return useSetTimeout();}}let scheduleFlush;// Decide what async method to use to triggering processing of queued callbacks:\nif(isNode$1){scheduleFlush=useNextTick();}else if(BrowserMutationObserver){scheduleFlush=useMutationObserver();}else if(isWorker){scheduleFlush=useMessageChannel();}else if(browserWindow===undefined&&typeof require==='function'){scheduleFlush=attemptVertex();}else{scheduleFlush=useSetTimeout();}// defaults\nconfig.async=asap;config.after=cb=>setTimeout(cb,0);const cast=resolve$2;const async=(callback,arg)=>config.async(callback,arg);function on$2(){config.on(...arguments);}function off(){config.off(...arguments);}// Set up instrumentation through `window.__PROMISE_INTRUMENTATION__`\nif(typeof window!=='undefined'&&typeof window['__PROMISE_INSTRUMENTATION__']==='object'){let callbacks=window['__PROMISE_INSTRUMENTATION__'];configure('instrument',true);for(let eventName in callbacks){if(callbacks.hasOwnProperty(eventName)){on$2(eventName,callbacks[eventName]);}}}// the default export here is for backwards compat:\n//   https://github.com/tildeio/rsvp.js/issues/434\nconst RSVP={asap,cast,Promise:Promise$2,EventTarget,all,allSettled,race,hash:hash$2,hashSettled,rethrow,defer,denodeify,configure,on:on$2,off,resolve:resolve$2,reject,map:map$2,async,filter:filter$1};const rsvp=/*#__PURE__*/Object.defineProperty({__proto__:null,EventTarget,Promise:Promise$2,all,allSettled,asap,async,cast,configure,default:RSVP,defer,denodeify,filter:filter$1,hash:hash$2,hashSettled,map:map$2,off,on:on$2,race,reject,resolve:resolve$2,rethrow},Symbol.toStringTag,{value:'Module'});configure('async',(callback,promise)=>{_backburner.schedule('actions',null,callback,promise);});configure('after',cb=>{_backburner.schedule(_rsvpErrorQueue,null,cb);});on$2('error',onerrorDefault);function onerrorDefault(reason){let error=errorFor(reason);if(error){let overrideDispatch=getDispatchOverride();if(overrideDispatch){overrideDispatch(error);}else{throw error;}}}function errorFor(reason){if(!reason)return;let withErrorThrown=reason;if(withErrorThrown.errorThrown){return unwrapErrorThrown(withErrorThrown);}let withName=reason;if(withName.name==='UnrecognizedURLError'){return;}if(reason.name==='TransitionAborted'){return;}return reason;}function unwrapErrorThrown(reason){let error=reason.errorThrown;if(typeof error==='string'){error=new Error(error);}Object.defineProperty(error,'__reason_with_error_thrown__',{value:reason,enumerable:false});return error;}const emberinternalsRuntimeLibExtRsvp=/*#__PURE__*/Object.defineProperty({__proto__:null,default:rsvp,onerrorDefault},Symbol.toStringTag,{value:'Module'});// just for side effect of extending Ember.RSVP\nconst emberinternalsRuntimeIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,ActionHandler,Comparable,ContainerProxyMixin,MutableEnumerable,RSVP:rsvp,RegistryProxyMixin,TargetActionSupport,_ProxyMixin:ProxyMixin,_contentFor:contentFor,onerrorDefault},Symbol.toStringTag,{value:'Module'});const{isArray:isArray$3}=Array;/**\n           @module @ember/array\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 object is `null` or `undefined`, it will return an empty array.\n\n           ```javascript\n           import { makeArray } from '@ember/array';\n           import ArrayProxy from '@ember/array/proxy';\n\n           makeArray();            // []\n           makeArray(null);        // []\n           makeArray(undefined);   // []\n           makeArray('lindsay');   // ['lindsay']\n           makeArray([1, 2, 42]);  // [1, 2, 42]\n\n           let proxy = ArrayProxy.create({ content: [] });\n\n           makeArray(proxy) === proxy;  // false\n           ```\n\n           @method makeArray\n           @static\n           @for @ember/array\n           @param {Object} obj the object\n           @return {Array}\n           @private\n           */function makeArray(obj){if(obj===null||obj===undefined){return[];}return isArray$3(obj)?obj:[obj];}const emberArrayLibMakeArray=/*#__PURE__*/Object.defineProperty({__proto__:null,default:makeArray},Symbol.toStringTag,{value:'Module'});/**\n            @module @ember/object/core\n          */// TODO: Is this correct?\nfunction hasSetUnknownProperty(val){return typeof val==='object'&&val!==null&&typeof val.setUnknownProperty==='function';}function hasToStringExtension(val){return typeof val==='object'&&val!==null&&typeof val.toStringExtension==='function';}const reopen=Mixin.prototype.reopen;const wasApplied=new WeakSet();const prototypeMixinMap=new WeakMap();const destroyCalled=new Set();function ensureDestroyCalled(instance){if(!destroyCalled.has(instance)){instance.destroy();}}function initialize(obj,properties){let m=meta(obj);if(properties!==undefined){let concatenatedProperties=obj.concatenatedProperties;let mergedProperties=obj.mergedProperties;let keyNames=Object.keys(properties);for(let keyName of keyNames){// SAFETY: this cast as a Record is safe because all object types can be\n// indexed in JS, and we explicitly type it as returning `unknown`, so the\n// result *must* be checked below.\nlet value=properties[keyName];let possibleDesc=descriptorForProperty(obj,keyName,m);let isDescriptor=possibleDesc!==undefined;if(!isDescriptor){if(concatenatedProperties!==undefined&&concatenatedProperties.length>0&&concatenatedProperties.includes(keyName)){let baseValue=obj[keyName];if(baseValue){value=makeArray(baseValue).concat(value);}else{value=makeArray(value);}}if(mergedProperties!==undefined&&mergedProperties.length>0&&mergedProperties.includes(keyName)){let baseValue=obj[keyName];value=Object.assign({},baseValue,value);}}if(isDescriptor){possibleDesc.set(obj,keyName,value);}else if(hasSetUnknownProperty(obj)&&!(keyName in obj)){obj.setUnknownProperty(keyName,value);}else{{obj[keyName]=value;}}}}obj.init(properties);m.unsetInitializing();let observerEvents=m.observerEvents();if(observerEvents!==undefined){for(let i=0;i<observerEvents.length;i++){activateObserver(obj,observerEvents[i].event,observerEvents[i].sync);}}sendEvent(obj,'init',undefined,undefined,m);}/**\n            `CoreObject` is the base class for all Ember constructs. It establishes a\n            class system based on Ember's Mixin system, and provides the basis for the\n            Ember Object Model. `CoreObject` should generally not be used directly,\n            instead you should use `EmberObject`.\n\n            ## Usage\n\n            You can define a class by extending from `CoreObject` using the `extend`\n            method:\n\n            ```js\n            const Person = CoreObject.extend({\n              name: 'Tomster',\n            });\n            ```\n\n            For detailed usage, see the [Object Model](https://guides.emberjs.com/release/object-model/)\n            section of the guides.\n\n            ## Usage with Native Classes\n\n            Native JavaScript `class` syntax can be used to extend from any `CoreObject`\n            based class:\n\n            ```js\n            class Person extends CoreObject {\n              init() {\n                super.init(...arguments);\n                this.name = 'Tomster';\n              }\n            }\n            ```\n\n            Some notes about `class` usage:\n\n            * `new` syntax is not currently supported with classes that extend from\n              `EmberObject` or `CoreObject`. You must continue to use the `create` method\n              when making new instances of classes, even if they are defined using native\n              class syntax. If you want to use `new` syntax, consider creating classes\n              which do _not_ extend from `EmberObject` or `CoreObject`. Ember features,\n              such as computed properties and decorators, will still work with base-less\n              classes.\n            * Instead of using `this._super()`, you must use standard `super` syntax in\n              native classes. See the [MDN docs on classes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#Super_class_calls_with_super)\n              for more details.\n            * Native classes support using [constructors](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#Constructor)\n              to set up newly-created instances. Ember uses these to, among other things,\n              support features that need to retrieve other entities by name, like Service\n              injection and `getOwner`. To ensure your custom instance setup logic takes\n              place after this important work is done, avoid using the `constructor` in\n              favor of `init`.\n            * Properties passed to `create` will be available on the instance by the time\n              `init` runs, so any code that requires these values should work at that\n              time.\n            * Using native classes, and switching back to the old Ember Object model is\n              fully supported.\n\n            @class CoreObject\n            @public\n          */class CoreObject{constructor(owner){/** @internal */_defineProperty(this,OWNER$1,void 0);this[OWNER$1]=owner;// prepare prototype...\nthis.constructor.proto();let self;{self=this;}const destroyable=self;registerDestructor$1(self,ensureDestroyCalled,true);registerDestructor$1(self,()=>destroyable.willDestroy());// disable chains\nlet m=meta(self);m.setInitializing();}reopen(){for(var _len27=arguments.length,args=new Array(_len27),_key28=0;_key28<_len27;_key28++){args[_key28]=arguments[_key28];}applyMixin(this,args);return this;}/**\n              An overridable method called when objects are instantiated. By default,\n              does nothing unless it is overridden during class definition.\n               Example:\n               ```javascript\n              import EmberObject from '@ember/object';\n               const Person = EmberObject.extend({\n                init() {\n                  alert(`Name is ${this.get('name')}`);\n                }\n              });\n               let steve = Person.create({\n                name: 'Steve'\n              });\n               // alerts 'Name is Steve'.\n              ```\n               NOTE: If you do override `init` for a framework class like `Component`\n              from `@ember/component`, be sure to call `this._super(...arguments)`\n              in your `init` declaration!\n              If you don't, Ember may not have an opportunity to\n              do important setup work, and you'll see strange behavior in your\n              application.\n               @method init\n              @public\n            */init(_properties){}/**\n              Defines the properties that will be concatenated from the superclass\n              (instead of overridden).\n               By default, when you extend an Ember class a property defined in\n              the subclass overrides a property with the same name that is defined\n              in the superclass. However, there are some cases where it is preferable\n              to build up a property's value by combining the superclass' property\n              value with the subclass' value. An example of this in use within Ember\n              is the `classNames` property of `Component` from `@ember/component`.\n               Here is some sample code showing the difference between a concatenated\n              property and a normal one:\n               ```javascript\n              import EmberObject from '@ember/object';\n               const Bar = EmberObject.extend({\n                // Configure which properties to concatenate\n                concatenatedProperties: ['concatenatedProperty'],\n                 someNonConcatenatedProperty: ['bar'],\n                concatenatedProperty: ['bar']\n              });\n               const FooBar = Bar.extend({\n                someNonConcatenatedProperty: ['foo'],\n                concatenatedProperty: ['foo']\n              });\n               let fooBar = FooBar.create();\n              fooBar.get('someNonConcatenatedProperty'); // ['foo']\n              fooBar.get('concatenatedProperty'); // ['bar', 'foo']\n              ```\n               This behavior extends to object creation as well. Continuing the\n              above example:\n               ```javascript\n              let fooBar = FooBar.create({\n                someNonConcatenatedProperty: ['baz'],\n                concatenatedProperty: ['baz']\n              })\n              fooBar.get('someNonConcatenatedProperty'); // ['baz']\n              fooBar.get('concatenatedProperty'); // ['bar', 'foo', 'baz']\n              ```\n               Adding a single property that is not an array will just add it in the array:\n               ```javascript\n              let fooBar = FooBar.create({\n                concatenatedProperty: 'baz'\n              })\n              view.get('concatenatedProperty'); // ['bar', 'foo', 'baz']\n              ```\n               Using the `concatenatedProperties` property, we can tell Ember to mix the\n              content of the properties.\n               In `Component` the `classNames`, `classNameBindings` and\n              `attributeBindings` properties are concatenated.\n               This feature is available for you to use throughout the Ember object model,\n              although typical app developers are likely to use it infrequently. Since\n              it changes expectations about behavior of properties, you should properly\n              document its usage in each individual concatenated property (to not\n              mislead your users to think they can override the property in a subclass).\n               @property concatenatedProperties\n              @type Array\n              @default null\n              @public\n            *//**\n              Defines the properties that will be merged from the superclass\n              (instead of overridden).\n               By default, when you extend an Ember class a property defined in\n              the subclass overrides a property with the same name that is defined\n              in the superclass. However, there are some cases where it is preferable\n              to build up a property's value by merging the superclass property value\n              with the subclass property's value. An example of this in use within Ember\n              is the `queryParams` property of routes.\n               Here is some sample code showing the difference between a merged\n              property and a normal one:\n               ```javascript\n              import EmberObject from '@ember/object';\n               const Bar = EmberObject.extend({\n                // Configure which properties are to be merged\n                mergedProperties: ['mergedProperty'],\n                 someNonMergedProperty: {\n                  nonMerged: 'superclass value of nonMerged'\n                },\n                mergedProperty: {\n                  page: { replace: false },\n                  limit: { replace: true }\n                }\n              });\n               const FooBar = Bar.extend({\n                someNonMergedProperty: {\n                  completelyNonMerged: 'subclass value of nonMerged'\n                },\n                mergedProperty: {\n                  limit: { replace: false }\n                }\n              });\n               let fooBar = FooBar.create();\n               fooBar.get('someNonMergedProperty');\n              // => { completelyNonMerged: 'subclass value of nonMerged' }\n              //\n              // Note the entire object, including the nonMerged property of\n              // the superclass object, has been replaced\n               fooBar.get('mergedProperty');\n              // => {\n              //   page: {replace: false},\n              //   limit: {replace: false}\n              // }\n              //\n              // Note the page remains from the superclass, and the\n              // `limit` property's value of `false` has been merged from\n              // the subclass.\n              ```\n               This behavior is not available during object `create` calls. It is only\n              available at `extend` time.\n               In `Route` the `queryParams` property is merged.\n               This feature is available for you to use throughout the Ember object model,\n              although typical app developers are likely to use it infrequently. Since\n              it changes expectations about behavior of properties, you should properly\n              document its usage in each individual merged property (to not\n              mislead your users to think they can override the property in a subclass).\n               @property mergedProperties\n              @type Array\n              @default null\n              @public\n            *//**\n              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            */get isDestroyed(){return isDestroyed(this);}set isDestroyed(_value){}/**\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            */get isDestroying(){return isDestroying(this);}set isDestroying(_value){}/**\n              Destroys an object by setting the `isDestroyed` flag and removing its\n              metadata, which effectively destroys observers and bindings.\n               If you try to set a property on a destroyed object, an exception will be\n              raised.\n               Note that destruction is scheduled for the end of the run loop and does not\n              happen immediately.  It will set an isDestroying flag immediately.\n               @method destroy\n              @return {EmberObject} receiver\n              @public\n            */destroy(){// Used to ensure that manually calling `.destroy()` does not immediately call destroy again\ndestroyCalled.add(this);try{destroy(this);}finally{destroyCalled.delete(this);}return this;}/**\n              Override to implement teardown.\n               @method willDestroy\n              @public\n            */willDestroy(){}/**\n              Returns a string representation which attempts to provide more information\n              than Javascript's `toString` typically does, in a generic way for all Ember\n              objects.\n               ```javascript\n              import EmberObject from '@ember/object';\n               const Person = EmberObject.extend();\n              person = Person.create();\n              person.toString(); //=> \"<Person:ember1024>\"\n              ```\n               If the object's class is not defined on an Ember namespace, it will\n              indicate it is a subclass of the registered superclass:\n               ```javascript\n              const Student = Person.extend();\n              let student = Student.create();\n              student.toString(); //=> \"<(subclass of Person):ember1025>\"\n              ```\n               If the method `toStringExtension` is defined, its return value will be\n              included in the output.\n               ```javascript\n              const Teacher = Person.extend({\n                toStringExtension() {\n                  return this.get('fullName');\n                }\n              });\n              teacher = Teacher.create();\n              teacher.toString(); //=> \"<Teacher:ember1026:Tom Dale>\"\n              ```\n               @method toString\n              @return {String} string representation\n              @public\n            */toString(){let extension=hasToStringExtension(this)?`:${this.toStringExtension()}`:'';return`<${getFactoryFor(this)||'(unknown)'}:${guidFor(this)}${extension}>`;}/**\n              Creates a new subclass.\n               ```javascript\n              import EmberObject from '@ember/object';\n               const Person = EmberObject.extend({\n                say(thing) {\n                  alert(thing);\n                 }\n              });\n              ```\n               This defines a new subclass of EmberObject: `Person`. It contains one method: `say()`.\n               You can also create a subclass from any existing class by calling its `extend()` method.\n              For example, you might want to create a subclass of Ember's built-in `Component` class:\n               ```javascript\n              import Component from '@ember/component';\n               const PersonComponent = Component.extend({\n                tagName: 'li',\n                classNameBindings: ['isAdministrator']\n              });\n              ```\n               When defining a subclass, you can override methods but still access the\n              implementation of your parent class by calling the special `_super()` method:\n               ```javascript\n              import EmberObject from '@ember/object';\n               const Person = EmberObject.extend({\n                say(thing) {\n                  let name = this.get('name');\n                  alert(`${name} says: ${thing}`);\n                }\n              });\n               const Soldier = Person.extend({\n                say(thing) {\n                  this._super(`${thing}, sir!`);\n                },\n                march(numberOfHours) {\n                  alert(`${this.get('name')} marches for ${numberOfHours} hours.`);\n                }\n              });\n               let yehuda = Soldier.create({\n                name: 'Yehuda Katz'\n              });\n               yehuda.say('Yes');  // alerts \"Yehuda Katz says: Yes, sir!\"\n              ```\n               The `create()` on line #17 creates an *instance* of the `Soldier` class.\n              The `extend()` on line #8 creates a *subclass* of `Person`. Any instance\n              of the `Person` class will *not* have the `march()` method.\n               You can also pass `Mixin` classes to add additional properties to the subclass.\n               ```javascript\n              import EmberObject from '@ember/object';\n              import Mixin from '@ember/object/mixin';\n               const Person = EmberObject.extend({\n                say(thing) {\n                  alert(`${this.get('name')} says: ${thing}`);\n                }\n              });\n               const SingingMixin = Mixin.create({\n                sing(thing) {\n                  alert(`${this.get('name')} sings: la la la ${thing}`);\n                }\n              });\n               const BroadwayStar = Person.extend(SingingMixin, {\n                dance() {\n                  alert(`${this.get('name')} dances: tap tap tap tap `);\n                }\n              });\n              ```\n               The `BroadwayStar` class contains three methods: `say()`, `sing()`, and `dance()`.\n               @method extend\n              @static\n              @for @ember/object\n              @param {Mixin} [mixins]* One or more Mixin classes\n              @param {Object} [arguments]* Object containing values to use within the new class\n              @public\n            */static extend(){let Class=class extends this{};for(var _len28=arguments.length,mixins=new Array(_len28),_key29=0;_key29<_len28;_key29++){mixins[_key29]=arguments[_key29];}reopen.apply(Class.PrototypeMixin,mixins);return Class;}/**\n              Creates an instance of a class. Accepts either no arguments, or an object\n              containing values to initialize the newly instantiated object with.\n               ```javascript\n              import EmberObject from '@ember/object';\n               const Person = EmberObject.extend({\n                helloWorld() {\n                  alert(`Hi, my name is ${this.get('name')}`);\n                }\n              });\n               let tom = Person.create({\n                name: 'Tom Dale'\n              });\n               tom.helloWorld(); // alerts \"Hi, my name is Tom Dale\".\n              ```\n               `create` will call the `init` function if defined during\n              `AnyObject.extend`\n               If no arguments are passed to `create`, it will not set values to the new\n              instance during initialization:\n               ```javascript\n              let noName = Person.create();\n              noName.helloWorld(); // alerts undefined\n              ```\n               NOTE: For performance reasons, you cannot declare methods or computed\n              properties during `create`. You should instead declare methods and computed\n              properties when using `extend`.\n               @method create\n              @for @ember/object\n              @static\n              @param [arguments]*\n              @public\n            */static create(){for(var _len29=arguments.length,args=new Array(_len29),_key30=0;_key30<_len29;_key30++){args[_key30]=arguments[_key30];}let props=args[0];let instance;if(props!==undefined){instance=new this(getOwner$2(props));// TODO(SAFETY): at present, we cannot actually rely on this being set,\n// because a number of acceptance tests are (incorrectly? Unclear!)\n// relying on the ability to run through this path with `factory` being\n// `undefined`. It's *possible* that actually means that the type for\n// `setFactoryFor()` should allow `undefined`, but we typed it the other\n// way for good reason! Accordingly, this *casts* `factory`, and the\n// commented-out `assert()` is here in the hope that we can enable it\n// after addressing tests *or* updating the call signature here.\nlet factory=getFactoryFor(props);// assert(`missing factory when creating object ${instance}`, factory !== undefined);\nsetFactoryFor(instance,factory);}else{instance=new this();}if(args.length<=1){initialize(instance,props);}else{initialize(instance,flattenProps.apply(this,args));}// SAFETY: The `initialize` call is responsible to merge the prototype chain\n// so that this holds.\nreturn instance;}/**\n              Augments a constructor's prototype with additional\n              properties and functions:\n               ```javascript\n              import EmberObject from '@ember/object';\n               const MyObject = EmberObject.extend({\n                name: 'an object'\n              });\n               o = MyObject.create();\n              o.get('name'); // 'an object'\n               MyObject.reopen({\n                say(msg) {\n                  console.log(msg);\n                }\n              });\n               o2 = MyObject.create();\n              o2.say('hello'); // logs \"hello\"\n               o.say('goodbye'); // logs \"goodbye\"\n              ```\n               To add functions and properties to the constructor itself,\n              see `reopenClass`\n               @method reopen\n              @for @ember/object\n              @static\n              @public\n            */static reopen(){this.willReopen();for(var _len30=arguments.length,args=new Array(_len30),_key31=0;_key31<_len30;_key31++){args[_key31]=arguments[_key31];}reopen.apply(this.PrototypeMixin,args);return this;}static willReopen(){let p=this.prototype;if(wasApplied.has(p)){wasApplied.delete(p);// If the base mixin already exists and was applied, create a new mixin to\n// make sure that it gets properly applied. Reusing the same mixin after\n// the first `proto` call will cause it to get skipped.\nif(prototypeMixinMap.has(this)){prototypeMixinMap.set(this,Mixin.create(this.PrototypeMixin));}}}/**\n              Augments a constructor's own properties and functions:\n               ```javascript\n              import EmberObject from '@ember/object';\n               const MyObject = EmberObject.extend({\n                name: 'an object'\n              });\n               MyObject.reopenClass({\n                canBuild: false\n              });\n               MyObject.canBuild; // false\n              o = MyObject.create();\n              ```\n               In other words, this creates static properties and functions for the class.\n              These are only available on the class and not on any instance of that class.\n               ```javascript\n              import EmberObject from '@ember/object';\n               const Person = EmberObject.extend({\n                name: '',\n                sayHello() {\n                  alert(`Hello. My name is ${this.get('name')}`);\n                }\n              });\n               Person.reopenClass({\n                species: 'Homo sapiens',\n                 createPerson(name) {\n                  return Person.create({ name });\n                }\n              });\n               let tom = Person.create({\n                name: 'Tom Dale'\n              });\n              let yehuda = Person.createPerson('Yehuda Katz');\n               tom.sayHello(); // \"Hello. My name is Tom Dale\"\n              yehuda.sayHello(); // \"Hello. My name is Yehuda Katz\"\n              alert(Person.species); // \"Homo sapiens\"\n              ```\n               Note that `species` and `createPerson` are *not* valid on the `tom` and `yehuda`\n              variables. They are only valid on `Person`.\n               To add functions and properties to instances of\n              a constructor by extending the constructor's prototype\n              see `reopen`\n               @method reopenClass\n              @for @ember/object\n              @static\n              @public\n            */static reopenClass(){for(var _len31=arguments.length,mixins=new Array(_len31),_key32=0;_key32<_len31;_key32++){mixins[_key32]=arguments[_key32];}applyMixin(this,mixins);return this;}static detect(obj){if('function'!==typeof obj){return false;}while(obj){if(obj===this){return true;}obj=obj.superclass;}return false;}static detectInstance(obj){return obj instanceof this;}/**\n              In some cases, you may want to annotate computed properties with additional\n              metadata about how they function or what values they operate on. For\n              example, computed property functions may close over variables that are then\n              no longer available for introspection.\n               You can pass a hash of these values to a computed property like this:\n               ```javascript\n              import { computed } from '@ember/object';\n               person: computed(function() {\n                let personId = this.get('personId');\n                return Person.create({ id: personId });\n              }).meta({ type: Person })\n              ```\n               Once you've done this, you can retrieve the values saved to the computed\n              property from your class like this:\n               ```javascript\n              MyClass.metaForProperty('person');\n              ```\n               This will return the original hash that was passed to `meta()`.\n               @static\n              @method metaForProperty\n              @param key {String} property name\n              @private\n            */static metaForProperty(key){let proto=this.proto();// ensure prototype is initialized\nlet possibleDesc=descriptorForProperty(proto,key);return possibleDesc._meta||{};}/**\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            */static eachComputedProperty(callback){let binding=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this;this.proto();// ensure prototype is initialized\nlet empty={};meta(this.prototype).forEachDescriptors((name,descriptor)=>{if(descriptor.enumerable){let meta=descriptor._meta||empty;callback.call(binding,name,meta);}});}static get PrototypeMixin(){let prototypeMixin=prototypeMixinMap.get(this);if(prototypeMixin===undefined){prototypeMixin=Mixin.create();prototypeMixin.ownerConstructor=this;prototypeMixinMap.set(this,prototypeMixin);}return prototypeMixin;}static get superclass(){let c=Object.getPrototypeOf(this);return c!==Function.prototype?c:undefined;}static proto(){let p=this.prototype;if(!wasApplied.has(p)){wasApplied.add(p);let parent=this.superclass;if(parent){parent.proto();}// If the prototype mixin exists, apply it. In the case of native classes,\n// it will not exist (unless the class has been reopened).\nif(prototypeMixinMap.has(this)){this.PrototypeMixin.apply(p);}}return p;}static toString(){return`<${getFactoryFor(this)||'(unknown)'}:constructor>`;}}_defineProperty(CoreObject,\"isClass\",true);_defineProperty(CoreObject,\"isMethod\",false);_defineProperty(CoreObject,\"_onLookup\",void 0);_defineProperty(CoreObject,\"_lazyInjections\",void 0);function flattenProps(){let initProperties={};for(var _len32=arguments.length,props=new Array(_len32),_key33=0;_key33<_len32;_key33++){props[_key33]=arguments[_key33];}for(let properties of props){let keyNames=Object.keys(properties);for(let j=0,k=keyNames.length;j<k;j++){let keyName=keyNames[j];let value=properties[keyName];initProperties[keyName]=value;}}return initProperties;}const emberObjectCore=/*#__PURE__*/Object.defineProperty({__proto__:null,default:CoreObject},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/object/observable\n          *//**\n            ## Overview\n\n            This mixin provides properties and property observing functionality, core\n            features of the Ember object model.\n\n            Properties and observers allow one object to observe changes to a\n            property on another object. This is one of the fundamental ways that\n            models, controllers and views communicate with each other in an Ember\n            application.\n\n            Any object that has this mixin applied can be used in observer\n            operations. That includes `EmberObject` and most objects you will\n            interact with as you write your Ember application.\n\n            Note that you will not generally apply this mixin to classes yourself,\n            but you will use the features provided by this module frequently, so it\n            is important to understand how to use it.\n\n            ## Using `get()` and `set()`\n\n            Because of Ember's support for bindings and observers, you will always\n            access properties using the get method, and set properties using the\n            set method. This allows the observing objects to be notified and\n            computed properties to be handled properly.\n\n            More documentation about `get` and `set` are below.\n\n            ## Observing Property Changes\n\n            You typically observe property changes simply by using the `observer`\n            function in classes that you write.\n\n            For example:\n\n            ```javascript\n            import { observer } from '@ember/object';\n            import EmberObject from '@ember/object';\n\n            EmberObject.extend({\n              valueObserver: observer('value', function(sender, key, value, rev) {\n                // Executes whenever the \"value\" property changes\n                // See the addObserver method for more information about the callback arguments\n              })\n            });\n            ```\n\n            Although this is the most common way to add an observer, this capability\n            is actually built into the `EmberObject` class on top of two methods\n            defined in this mixin: `addObserver` and `removeObserver`. You can use\n            these two methods to add and remove observers yourself if you need to\n            do so at runtime.\n\n            To add an observer for a property, call:\n\n            ```javascript\n            object.addObserver('propertyKey', targetObject, targetAction)\n            ```\n\n            This will call the `targetAction` method on the `targetObject` whenever\n            the value of the `propertyKey` changes.\n\n            Note that if `propertyKey` is a computed property, the observer will be\n            called when any of the property dependencies are changed, even if the\n            resulting value of the computed property is unchanged. This is necessary\n            because computed properties are not computed until `get` is called.\n\n            @class Observable\n            @public\n          */const Observable=Mixin.create({get(keyName){return get$2(this,keyName);},getProperties(){for(var _len33=arguments.length,args=new Array(_len33),_key34=0;_key34<_len33;_key34++){args[_key34]=arguments[_key34];}return getProperties(this,...args);},set(keyName,value){return set(this,keyName,value);},setProperties(hash){return setProperties(this,hash);},/**\n              Begins a grouping of property changes.\n               You can use this method to group property changes so that notifications\n              will not be sent until the changes are finished. If you plan to make a\n              large number of changes to an object at one time, you should call this\n              method at the beginning of the changes to begin deferring change\n              notifications. When you are done making changes, call\n              `endPropertyChanges()` to deliver the deferred change notifications and end\n              deferring.\n               @method beginPropertyChanges\n              @return {Observable}\n              @private\n            */beginPropertyChanges(){beginPropertyChanges();return this;},/**\n              Ends a grouping of property changes.\n               You can use this method to group property changes so that notifications\n              will not be sent until the changes are finished. If you plan to make a\n              large number of changes to an object at one time, you should call\n              `beginPropertyChanges()` at the beginning of the changes to defer change\n              notifications. When you are done making changes, call this method to\n              deliver the deferred change notifications and end deferring.\n               @method endPropertyChanges\n              @return {Observable}\n              @private\n            */endPropertyChanges(){endPropertyChanges();return this;},notifyPropertyChange(keyName){notifyPropertyChange(this,keyName);return this;},addObserver(key,target,method,sync){addObserver(this,key,target,method,sync);return this;},removeObserver(key,target,method,sync){removeObserver(this,key,target,method,sync);return this;},/**\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            */hasObserverFor(key){return hasListeners(this,`${key}:change`);},incrementProperty(keyName){let increment=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return set(this,keyName,(parseFloat(get$2(this,keyName))||0)+increment);},decrementProperty(keyName){let decrement=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return set(this,keyName,(get$2(this,keyName)||0)-decrement);},toggleProperty(keyName){return set(this,keyName,!get$2(this,keyName));},cacheFor(keyName){let meta=peekMeta(this);return meta!==null?meta.valueFor(keyName):undefined;}});const emberObjectObservable=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Observable},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/object\n          *//**\n            `EmberObject` is the main base class for all Ember objects. It is a subclass\n            of `CoreObject` with the `Observable` mixin applied. For details,\n            see the documentation for each of these.\n\n            @class EmberObject\n            @extends CoreObject\n            @uses Observable\n            @public\n          */// eslint-disable-next-line @typescript-eslint/no-empty-interface\nclass EmberObject extends CoreObject.extend(Observable){get _debugContainerKey(){let factory=getFactoryFor(this);return factory!==undefined&&factory.fullName;}}/**\n            Decorator that turns the target function into an Action which can be accessed\n            directly by reference.\n\n            ```js\n            import Component from '@ember/component';\n            import { tracked } from '@glimmer/tracking';\n            import { action } from '@ember/object';\n\n            export default class Tooltip extends Component {\n              @tracked isShowing = false;\n\n              @action\n              toggleShowing() {\n                this.isShowing = !this.isShowing;\n              }\n            }\n            ```\n            ```hbs\n            <!-- template.hbs -->\n            <button {{on \"click\" this.toggleShowing}}>Show tooltip</button>\n\n            {{#if isShowing}}\n              <div class=\"tooltip\">\n                I'm a tooltip!\n              </div>\n            {{/if}}\n            ```\n\n            It also binds the function directly to the instance, so it can be used in any\n            context and will correctly refer to the class it came from:\n\n            ```js\n            import Component from '@ember/component';\n            import { tracked } from '@glimmer/tracking';\n            import { action } from '@ember/object';\n\n            export default class Tooltip extends Component {\n              constructor() {\n                super(...arguments);\n\n                // this.toggleShowing is still bound correctly when added to\n                // the event listener\n                document.addEventListener('click', this.toggleShowing);\n              }\n\n              @tracked isShowing = false;\n\n              @action\n              toggleShowing() {\n                this.isShowing = !this.isShowing;\n              }\n            }\n            ```\n\n            @public\n            @method action\n            @for @ember/object\n            @static\n            @param {Function|undefined} callback The function to turn into an action,\n                                                 when used in classic classes\n            @return {PropertyDecorator} property decorator instance\n          */const BINDINGS_MAP=new WeakMap();function hasProto(obj){return obj!=null&&obj.constructor!==undefined&&typeof obj.constructor.proto==='function';}function setupAction(target,key,actionFn){if(hasProto(target)){target.constructor.proto();}if(!Object.prototype.hasOwnProperty.call(target,'actions')){let parentActions=target.actions;// we need to assign because of the way mixins copy actions down when inheriting\ntarget.actions=parentActions?Object.assign({},parentActions):{};}target.actions[key]=actionFn;return{get(){let bindings=BINDINGS_MAP.get(this);if(bindings===undefined){bindings=new Map();BINDINGS_MAP.set(this,bindings);}let fn=bindings.get(actionFn);if(fn===undefined){fn=actionFn.bind(this);bindings.set(actionFn,fn);}return fn;}};}function action$1(){let actionFn;for(var _len34=arguments.length,args=new Array(_len34),_key35=0;_key35<_len34;_key35++){args[_key35]=arguments[_key35];}if(!isElementDescriptor(args)){actionFn=args[0];let decorator=function(target,key,_desc,_meta,isClassicDecorator){return setupAction(target,key,actionFn);};setClassicDecorator(decorator);return decorator;}let[target,key,desc]=args;actionFn=desc===null||desc===void 0?void 0:desc.value;return setupAction(target,key,actionFn);}// SAFETY: TS types are weird with decorators. This should work.\nsetClassicDecorator(action$1);// ..........................................................\n// OBSERVER HELPER\n//\n/**\n            Specify a method that observes property changes.\n\n            ```javascript\n            import EmberObject from '@ember/object';\n            import { observer } from '@ember/object';\n\n            export default EmberObject.extend({\n              valueObserver: observer('value', function() {\n                // Executes whenever the \"value\" property changes\n              })\n            });\n            ```\n\n            Also available as `Function.prototype.observes` if prototype extensions are\n            enabled.\n\n            @method observer\n            @for @ember/object\n            @param {String} propertyNames*\n            @param {Function} func\n            @return func\n            @public\n            @static\n          */function observer(){for(var _len35=arguments.length,args=new Array(_len35),_key36=0;_key36<_len35;_key36++){args[_key36]=arguments[_key36];}let funcOrDef=args.pop();let func;let dependentKeys;let sync;if(typeof funcOrDef==='function'){func=funcOrDef;dependentKeys=args;sync=!ENV._DEFAULT_ASYNC_OBSERVERS;}else{func=funcOrDef.fn;dependentKeys=funcOrDef.dependentKeys;sync=funcOrDef.sync;}let paths=[];for(let dependentKey of dependentKeys){expandProperties(dependentKey,path=>paths.push(path));}setObservers(func,{paths,sync});return func;}const emberObjectIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,action:action$1,computed,default:EmberObject,defineProperty,get:get$2,getProperties,notifyPropertyChange,observer,set,setProperties,trySet},Symbol.toStringTag,{value:'Module'});/**\n           * Default component template, which is a plain yield\n           */const DEFAULT_TEMPLATE_BLOCK=[[[opcodes.Yield,1,null]],[\"&default\"],!1,[]],DEFAULT_TEMPLATE={// random uuid\nid:\"1b32f5c2-7623-43d6-a0ad-9672898920a1\",moduleName:\"__default__.hbs\",block:JSON.stringify(DEFAULT_TEMPLATE_BLOCK),scope:null,isStrictMode:!0},WELL_KNOWN_EMPTY_ARRAY=Object.freeze([]),STARTER_CONSTANTS=constants(WELL_KNOWN_EMPTY_ARRAY),WELL_KNOWN_EMPTY_ARRAY_POSITION=STARTER_CONSTANTS.indexOf(WELL_KNOWN_EMPTY_ARRAY);class CompileTimeConstantImpl{constructor(){// `0` means NULL\n_defineProperty(this,\"values\",STARTER_CONSTANTS.slice());_defineProperty(this,\"indexMap\",new Map(this.values.map((value,index)=>[value,index])));}value(value){let indexMap=this.indexMap,index=indexMap.get(value);return void 0===index&&(index=this.values.push(value)-1,indexMap.set(value,index)),index;}array(values){if(0===values.length)return WELL_KNOWN_EMPTY_ARRAY_POSITION;let handles=new Array(values.length);for(let i=0;i<values.length;i++)handles[i]=this.value(values[i]);return this.value(handles);}toPool(){return this.values;}}class RuntimeConstantsImpl{constructor(pool){_defineProperty(this,\"values\",void 0);this.values=pool;}getValue(handle){return this.values[handle];}getArray(value){let handles=this.getValue(value),reified=new Array(handles.length);for(const[i,n]of enumerate(handles))reified[i]=this.getValue(n);return reified;}}class ConstantsImpl extends CompileTimeConstantImpl{constructor(){super(...arguments);_defineProperty(this,\"reifiedArrs\",{[WELL_KNOWN_EMPTY_ARRAY_POSITION]:WELL_KNOWN_EMPTY_ARRAY});_defineProperty(this,\"defaultTemplate\",templateFactory(DEFAULT_TEMPLATE)());// Used for tests and debugging purposes, and to be able to analyze large apps\n// This is why it's enabled even in production\n_defineProperty(this,\"helperDefinitionCount\",0);_defineProperty(this,\"modifierDefinitionCount\",0);_defineProperty(this,\"componentDefinitionCount\",0);_defineProperty(this,\"helperDefinitionCache\",new WeakMap());_defineProperty(this,\"modifierDefinitionCache\",new WeakMap());_defineProperty(this,\"componentDefinitionCache\",new WeakMap());}helper(definitionState){let _resolvedName=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;let isOptional=arguments.length>2?arguments[2]:undefined;let handle=this.helperDefinitionCache.get(definitionState);if(void 0===handle){let managerOrHelper=getInternalHelperManager(definitionState,isOptional);if(null===managerOrHelper)return this.helperDefinitionCache.set(definitionState,null),null;debugAssert(managerOrHelper,\"BUG: expected manager or helper\");let helper=\"function\"==typeof managerOrHelper?managerOrHelper:managerOrHelper.getHelper(definitionState);handle=this.value(helper),this.helperDefinitionCache.set(definitionState,handle),this.helperDefinitionCount++;}return handle;}modifier(definitionState){let resolvedName=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;let isOptional=arguments.length>2?arguments[2]:undefined;let handle=this.modifierDefinitionCache.get(definitionState);if(void 0===handle){let manager=getInternalModifierManager(definitionState,isOptional);if(null===manager)return this.modifierDefinitionCache.set(definitionState,null),null;let definition={resolvedName:resolvedName,manager:manager,state:definitionState};handle=this.value(definition),this.modifierDefinitionCache.set(definitionState,handle),this.modifierDefinitionCount++;}return handle;}component(definitionState,owner,isOptional){let definition=this.componentDefinitionCache.get(definitionState);if(void 0===definition){let manager=getInternalComponentManager(definitionState,isOptional);if(null===manager)return this.componentDefinitionCache.set(definitionState,null),null;debugAssert(manager,\"BUG: expected manager\");let template,capabilities=capabilityFlagsFrom(manager.getCapabilities(definitionState)),templateFactory=getComponentTemplate(definitionState),compilable=null;template=managerHasCapability(manager,capabilities,InternalComponentCapabilities.dynamicLayout)?templateFactory===null||templateFactory===void 0?void 0:templateFactory(owner):(templateFactory===null||templateFactory===void 0?void 0:templateFactory(owner))??this.defaultTemplate,void 0!==template&&(template=unwrapTemplate(template),compilable=managerHasCapability(manager,capabilities,InternalComponentCapabilities.wrapped)?template.asWrappedLayout():template.asLayout()),definition={resolvedName:null,handle:-1,// replaced momentarily\nmanager:manager,capabilities:capabilities,state:definitionState,compilable:compilable},definition.handle=this.value(definition),this.componentDefinitionCache.set(definitionState,definition),this.componentDefinitionCount++;}return definition;}resolvedComponent(resolvedDefinition,resolvedName){let definition=this.componentDefinitionCache.get(resolvedDefinition);if(void 0===definition){let{manager:manager,state:state,template:template}=resolvedDefinition,capabilities=capabilityFlagsFrom(manager.getCapabilities(resolvedDefinition)),compilable=null;managerHasCapability(manager,capabilities,InternalComponentCapabilities.dynamicLayout)||(template=template??this.defaultTemplate),null!==template&&(template=unwrapTemplate(template),compilable=managerHasCapability(manager,capabilities,InternalComponentCapabilities.wrapped)?template.asWrappedLayout():template.asLayout()),definition={resolvedName:resolvedName,handle:-1,// replaced momentarily\nmanager:manager,capabilities:capabilities,state:state,compilable:compilable},definition.handle=this.value(definition),this.componentDefinitionCache.set(resolvedDefinition,definition),this.componentDefinitionCount++;}return expect(definition,\"BUG: resolved component definitions cannot be null\");}getValue(index){return debugAssert(index>=0,`cannot get value for handle: ${index}`),this.values[index];}getArray(index){let reifiedArrs=this.reifiedArrs,reified=reifiedArrs[index];if(void 0===reified){let names=this.getValue(index);reified=new Array(names.length);for(const[i,name]of enumerate(names))reified[i]=this.getValue(name);reifiedArrs[index]=reified;}return reified;}}class RuntimeOpImpl{constructor(heap){_defineProperty(this,\"offset\",0);this.heap=heap;}get size(){return 1+((this.heap.getbyaddr(this.offset)&OPERAND_LEN_MASK)>>ARG_SHIFT);}get isMachine(){return this.heap.getbyaddr(this.offset)&MACHINE_MASK?1:0;}get type(){return this.heap.getbyaddr(this.offset)&TYPE_MASK;}get op1(){return this.heap.getbyaddr(this.offset+1);}get op2(){return this.heap.getbyaddr(this.offset+2);}get op3(){return this.heap.getbyaddr(this.offset+3);}}var TableSlotState=function(TableSlotState){return TableSlotState[TableSlotState.Allocated=0]=\"Allocated\",TableSlotState[TableSlotState.Freed=1]=\"Freed\",TableSlotState[TableSlotState.Purged=2]=\"Purged\",TableSlotState[TableSlotState.Pointer=3]=\"Pointer\",TableSlotState;}(TableSlotState||{});class RuntimeHeapImpl{constructor(serializedHeap){_defineProperty(this,\"heap\",void 0);_defineProperty(this,\"table\",void 0);let{buffer:buffer,table:table}=serializedHeap;this.heap=new Int32Array(buffer),this.table=table;}// It is illegal to close over this address, as compaction\n// may move it. However, it is legal to use this address\n// multiple times between compactions.\ngetaddr(handle){return unwrap$1(this.table[handle]);}getbyaddr(address){return expect(this.heap[address],\"Access memory out of bounds of the heap\");}sizeof(handle){return this.table,-1;}}function hydrateHeap(serializedHeap){return new RuntimeHeapImpl(serializedHeap);}/**\n           * The Heap is responsible for dynamically allocating\n           * memory in which we read/write the VM's instructions\n           * from/to. When we malloc we pass out a VMHandle, which\n           * is used as an indirect way of accessing the memory during\n           * execution of the VM. Internally we track the different\n           * regions of the memory in an int array known as the table.\n           *\n           * The table 32-bit aligned and has the following layout:\n           *\n           * | ... | hp (u32) |       info (u32)   | size (u32) |\n           * | ... |  Handle  | Scope Size | State | Size       |\n           * | ... | 32bits   | 30bits     | 2bits | 32bit      |\n           *\n           * With this information we effectively have the ability to\n           * control when we want to free memory. That being said you\n           * can not free during execution as raw address are only\n           * valid during the execution. This means you cannot close\n           * over them as you will have a bad memory access exception.\n           */class HeapImpl{constructor(){_defineProperty(this,\"offset\",0);_defineProperty(this,\"heap\",void 0);_defineProperty(this,\"handleTable\",void 0);_defineProperty(this,\"handleState\",void 0);_defineProperty(this,\"handle\",0);this.heap=new Int32Array(1048576),this.handleTable=[],this.handleState=[];}pushRaw(value){this.sizeCheck(),this.heap[this.offset++]=value;}pushOp(item){this.pushRaw(item);}pushMachine(item){this.pushRaw(item|MACHINE_MASK);}sizeCheck(){let{heap:heap}=this;if(this.offset===this.heap.length){let newHeap=new Int32Array(heap.length+1048576);newHeap.set(heap,0),this.heap=newHeap;}}getbyaddr(address){return unwrap$1(this.heap[address]);}setbyaddr(address,value){this.heap[address]=value;}malloc(){// push offset, info, size\nreturn this.handleTable.push(this.offset),this.handleTable.length-1;}finishMalloc(handle){}size(){return this.offset;}// It is illegal to close over this address, as compaction\n// may move it. However, it is legal to use this address\n// multiple times between compactions.\ngetaddr(handle){return unwrap$1(this.handleTable[handle]);}sizeof(handle){return this.handleTable,-1;}free(handle){this.handleState[handle]=TableSlotState.Freed;}/**\n            * The heap uses the [Mark-Compact Algorithm](https://en.wikipedia.org/wiki/Mark-compact_algorithm) to shift\n            * reachable memory to the bottom of the heap and freeable\n            * memory to the top of the heap. When we have shifted all\n            * the reachable memory to the top of the heap, we move the\n            * offset to the next free position.\n            */compact(){let compactedSize=0,{handleTable:handleTable,handleState:handleState,heap:heap}=this;for(let i=0;i<length;i++){let offset=unwrap$1(handleTable[i]),size=unwrap$1(handleTable[i+1])-unwrap$1(offset),state=handleState[i];if(state!==TableSlotState.Purged)if(state===TableSlotState.Freed)// transition to \"already freed\" aka \"purged\"\n// a good improvement would be to reuse\n// these slots\nhandleState[i]=TableSlotState.Purged,compactedSize+=size;else if(state===TableSlotState.Allocated){for(let j=offset;j<=i+size;j++)heap[j-compactedSize]=unwrap$1(heap[j]);handleTable[i]=offset-compactedSize;}else state===TableSlotState.Pointer&&(handleTable[i]=offset-compactedSize);}this.offset=this.offset-compactedSize;}capture(){let offset=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.offset;// Only called in eager mode\nlet buffer=function(arr,start,end){if(void 0!==arr.slice)return arr.slice(start,end);let ret=new Int32Array(end);for(;start<end;start++)ret[start]=unwrap$1(arr[start]);return ret;}(this.heap,0,offset).buffer;return{handle:this.handle,table:this.handleTable,buffer:buffer};}}class RuntimeProgramImpl{constructor(constants,heap){_defineProperty(this,\"_opcode\",void 0);this.constants=constants,this.heap=heap,this._opcode=new RuntimeOpImpl(this.heap);}opcode(offset){return this._opcode.offset=offset,this._opcode;}}function artifacts(){return{constants:new ConstantsImpl(),heap:new HeapImpl()};}const glimmerProgram=/*#__PURE__*/Object.defineProperty({__proto__:null,CompileTimeConstantImpl,ConstantsImpl,HeapImpl,RuntimeConstantsImpl,RuntimeHeapImpl,RuntimeOpImpl,RuntimeProgramImpl,artifacts,hydrateHeap},Symbol.toStringTag,{value:'Module'});/* This file is generated by build/debug.js */new Array(Op.Size).fill(null),new Array(Op.Size).fill(null);class DynamicScopeImpl{constructor(bucket){_defineProperty(this,\"bucket\",void 0);this.bucket=bucket?assign({},bucket):{};}get(key){return unwrap$1(this.bucket[key]);}set(key,reference){return this.bucket[key]=reference;}child(){return new DynamicScopeImpl(this.bucket);}}class PartialScopeImpl{static root(self){let size=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;let owner=arguments.length>2?arguments[2]:undefined;let refs=new Array(size+1).fill(UNDEFINED_REFERENCE);return new PartialScopeImpl(refs,owner,null,null,null).init({self:self});}static sized(){let size=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;let owner=arguments.length>1?arguments[1]:undefined;let refs=new Array(size+1).fill(UNDEFINED_REFERENCE);return new PartialScopeImpl(refs,owner,null,null,null);}constructor(// the 0th slot is `self`\nslots,owner,callerScope,// named arguments and blocks passed to a layout that uses eval\nevalScope,// locals in scope when the partial was invoked\npartialMap){this.slots=slots,this.owner=owner,this.callerScope=callerScope,this.evalScope=evalScope,this.partialMap=partialMap;}init(_ref57){let{self:self}=_ref57;return this.slots[0]=self,this;}getSelf(){return this.get(0);}getSymbol(symbol){return this.get(symbol);}getBlock(symbol){let block=this.get(symbol);return block===UNDEFINED_REFERENCE?null:block;}getEvalScope(){return this.evalScope;}getPartialMap(){return this.partialMap;}bind(symbol,value){this.set(symbol,value);}bindSelf(self){this.set(0,self);}bindSymbol(symbol,value){this.set(symbol,value);}bindBlock(symbol,value){this.set(symbol,value);}bindEvalScope(map){this.evalScope=map;}bindPartialMap(map){this.partialMap=map;}bindCallerScope(scope){this.callerScope=scope;}getCallerScope(){return this.callerScope;}child(){return new PartialScopeImpl(this.slots.slice(),this.owner,this.callerScope,this.evalScope,this.partialMap);}get(index){if(index>=this.slots.length)throw new RangeError(`BUG: cannot get $${index} from scope; length=${this.slots.length}`);return this.slots[index];}set(index,value){if(index>=this.slots.length)throw new RangeError(`BUG: cannot get $${index} from scope; length=${this.slots.length}`);this.slots[index]=value;}}// These symbols represent \"friend\" properties that are used inside of\n// the VM in other classes, but are not intended to be a part of\n// Glimmer's API.\nconst INNER_VM=Symbol(\"INNER_VM\"),DESTROYABLE_STACK=Symbol(\"DESTROYABLE_STACK\"),STACKS=Symbol(\"STACKS\"),REGISTERS=Symbol(\"REGISTERS\"),HEAP=Symbol(\"HEAP\"),CONSTANTS=Symbol(\"CONSTANTS\"),ARGS$1=Symbol(\"ARGS\");class CursorImpl{constructor(element,nextSibling){this.element=element,this.nextSibling=nextSibling;}}class ConcreteBounds{constructor(parentNode,first,last){this.parentNode=parentNode,this.first=first,this.last=last;}parentElement(){return this.parentNode;}firstNode(){return this.first;}lastNode(){return this.last;}}function move(bounds,reference){let parent=bounds.parentElement(),first=bounds.firstNode(),last=bounds.lastNode(),current=first;// eslint-disable-next-line no-constant-condition\nfor(;;){let next=current.nextSibling;if(parent.insertBefore(current,reference),current===last)return next;current=expect(next,\"invalid bounds\");}}function clear(bounds){let parent=bounds.parentElement(),first=bounds.firstNode(),last=bounds.lastNode(),current=first;// eslint-disable-next-line no-constant-condition\nfor(;;){let next=current.nextSibling;if(parent.removeChild(current),current===last)return next;current=expect(next,\"invalid bounds\");}}function normalizeStringValue(value){return isEmpty$2(value)?\"\":String(value);}function isEmpty$2(value){return null==value||\"function\"!=typeof value.toString;}function isSafeString(value){return\"object\"==typeof value&&null!==value&&\"function\"==typeof value.toHTML;}function isNode(value){return\"object\"==typeof value&&null!==value&&\"number\"==typeof value.nodeType;}function isString(value){return\"string\"==typeof value;}/*\n           * @method normalizeProperty\n           * @param element {HTMLElement}\n           * @param slotName {String}\n           * @returns {Object} { name, type }\n           */function normalizeProperty(element,slotName){let type,normalized;if(slotName in element)normalized=slotName,type=\"prop\";else{let lower=slotName.toLowerCase();lower in element?(type=\"prop\",normalized=lower):(type=\"attr\",normalized=slotName);}return\"prop\"!==type||\"style\"!==normalized.toLowerCase()&&!function(tagName,propName){let tag=ATTR_OVERRIDES[tagName.toUpperCase()];return tag&&tag[propName.toLowerCase()]||!1;}(element.tagName,normalized)||(type=\"attr\"),{normalized:normalized,type:type};}// properties that MUST be set as attributes, due to:\n// * browser bug\n// * strange spec outlier\nconst ATTR_OVERRIDES={INPUT:{form:!0,// Chrome 46.0.2464.0: 'autocorrect' in document.createElement('input') === false\n// Safari 8.0.7: 'autocorrect' in document.createElement('input') === false\n// Mobile Safari (iOS 8.4 simulator): 'autocorrect' in document.createElement('input') === true\nautocorrect:!0,// Chrome 54.0.2840.98: 'list' in document.createElement('input') === true\n// Safari 9.1.3: 'list' in document.createElement('input') === false\nlist:!0},// element.form is actually a legitimate readOnly property, that is to be\n// mutated, but must be mutated by setAttribute...\nSELECT:{form:!0},OPTION:{form:!0},TEXTAREA:{form:!0},LABEL:{form:!0},FIELDSET:{form:!0},LEGEND:{form:!0},OBJECT:{form:!0},OUTPUT:{form:!0},BUTTON:{form:!0}},badProtocols=[\"javascript:\",\"vbscript:\"],badTags=[\"A\",\"BODY\",\"LINK\",\"IMG\",\"IFRAME\",\"BASE\",\"FORM\"],badTagsForDataURI=[\"EMBED\"],badAttributes=[\"href\",\"src\",\"background\",\"action\"],badAttributesForDataURI=[\"src\"];function has(array,item){return-1!==array.indexOf(item);}function checkURI(tagName,attribute){return(null===tagName||has(badTags,tagName))&&has(badAttributes,attribute);}function checkDataURI(tagName,attribute){return null!==tagName&&has(badTagsForDataURI,tagName)&&has(badAttributesForDataURI,attribute);}function requiresSanitization(tagName,attribute){return checkURI(tagName,attribute)||checkDataURI(tagName,attribute);}let _protocolForUrlImplementation;function sanitizeAttributeValue(element,attribute,value){let tagName=null;if(null==value)return value;if(isSafeString(value))return value.toHTML();tagName=element?element.tagName.toUpperCase():null;let str=normalizeStringValue(value);if(checkURI(tagName,attribute)){let protocol=(url=str,_protocolForUrlImplementation||(_protocolForUrlImplementation=function(){if(\"object\"==typeof URL&&null!==URL&&// this is super annoying, TS thinks that URL **must** be a function so `URL.parse` check\n// thinks it is `never` without this `as unknown as any`\n\"function\"==typeof URL.parse){// In Ember-land the `fastboot` package sets the `URL` global to `require('url')`\n// ultimately, this should be changed (so that we can either rely on the natural `URL` global\n// that exists) but for now we have to detect the specific `FastBoot` case first\n// a future version of `fastboot` will detect if this legacy URL setup is required (by\n// inspecting Ember version) and if new enough, it will avoid shadowing the `URL` global\n// constructor with `require('url')`.\nlet nodeURL=URL;return url=>{let protocol=null;return\"string\"==typeof url&&(protocol=nodeURL.parse(url).protocol),null===protocol?\":\":protocol;};}if(\"function\"==typeof URL)return _url=>{try{return new URL(_url).protocol;}catch(error){// any non-fully qualified url string will trigger an error (because there is no\n// baseURI that we can provide; in that case we **know** that the protocol is\n// \"safe\" because it isn't specifically one of the `badProtocols` listed above\n// (and those protocols can never be the default baseURI)\nreturn\":\";}};throw new Error('@glimmer/runtime needs a valid \"globalThis.URL\"');}()),_protocolForUrlImplementation(url));if(has(badProtocols,protocol))return`unsafe:${str}`;}var url;return checkDataURI(tagName,attribute)?`unsafe:${str}`:str;}function dynamicAttribute(element,attr,namespace){let isTrusting=arguments.length>3&&arguments[3]!==undefined?arguments[3]:!1;const{tagName:tagName,namespaceURI:namespaceURI}=element,attribute={element:element,name:attr,namespace:namespace};if(namespaceURI===NS_SVG)return buildDynamicAttribute(tagName,attr,attribute);const{type:type,normalized:normalized}=normalizeProperty(element,attr);return\"attr\"===type?buildDynamicAttribute(tagName,normalized,attribute):function(tagName,name,attribute){return requiresSanitization(tagName,name)?new SafeDynamicProperty(name,attribute):function(tagName,attribute){return(\"INPUT\"===tagName||\"TEXTAREA\"===tagName)&&\"value\"===attribute;}(tagName,name)?new InputValueDynamicAttribute(name,attribute):function(tagName,attribute){return\"OPTION\"===tagName&&\"selected\"===attribute;}(tagName,name)?new OptionSelectedDynamicAttribute(name,attribute):new DefaultDynamicProperty(name,attribute);}(tagName,normalized,attribute);}function buildDynamicAttribute(tagName,name,attribute){return requiresSanitization(tagName,name)?new SafeDynamicAttribute(attribute):new SimpleDynamicAttribute(attribute);}class DynamicAttribute{constructor(attribute){this.attribute=attribute;}}class SimpleDynamicAttribute extends DynamicAttribute{set(dom,value,_env){const normalizedValue=normalizeValue(value);if(null!==normalizedValue){const{name:name,namespace:namespace}=this.attribute;dom.__setAttribute(name,normalizedValue,namespace);}}update(value,_env){const normalizedValue=normalizeValue(value),{element:element,name:name}=this.attribute;null===normalizedValue?element.removeAttribute(name):element.setAttribute(name,normalizedValue);}}class DefaultDynamicProperty extends DynamicAttribute{constructor(normalizedName,attribute){super(attribute),_defineProperty(this,\"value\",void 0),this.normalizedName=normalizedName;}set(dom,value,_env){null!=value&&(this.value=value,dom.__setProperty(this.normalizedName,value));}update(value,_env){const{element:element}=this.attribute;this.value!==value&&(element[this.normalizedName]=this.value=value,null==value&&this.removeAttribute());}removeAttribute(){// TODO this sucks but to preserve properties first and to meet current\n// semantics we must do this.\nconst{element:element,namespace:namespace}=this.attribute;namespace?element.removeAttributeNS(namespace,this.normalizedName):element.removeAttribute(this.normalizedName);}}class SafeDynamicProperty extends DefaultDynamicProperty{set(dom,value,env){const{element:element,name:name}=this.attribute,sanitized=sanitizeAttributeValue(element,name,value);super.set(dom,sanitized,env);}update(value,env){const{element:element,name:name}=this.attribute,sanitized=sanitizeAttributeValue(element,name,value);super.update(sanitized,env);}}class SafeDynamicAttribute extends SimpleDynamicAttribute{set(dom,value,env){const{element:element,name:name}=this.attribute,sanitized=sanitizeAttributeValue(element,name,value);super.set(dom,sanitized,env);}update(value,env){const{element:element,name:name}=this.attribute,sanitized=sanitizeAttributeValue(element,name,value);super.update(sanitized,env);}}class InputValueDynamicAttribute extends DefaultDynamicProperty{set(dom,value){dom.__setProperty(\"value\",normalizeStringValue(value));}update(value){const input=castToBrowser(this.attribute.element,[\"input\",\"textarea\"]),currentValue=input.value,normalizedValue=normalizeStringValue(value);currentValue!==normalizedValue&&(input.value=normalizedValue);}}class OptionSelectedDynamicAttribute extends DefaultDynamicProperty{set(dom,value){null!=value&&!1!==value&&dom.__setProperty(\"selected\",!0);}update(value){castToBrowser(this.attribute.element,\"option\").selected=!!value;}}function normalizeValue(value){return!1===value||null==value||void 0===value.toString?null:!0===value?\"\":// onclick function etc in SSR\n\"function\"==typeof value?null:String(value);}class First{constructor(node){this.node=node;}firstNode(){return this.node;}}class Last{constructor(node){this.node=node;}lastNode(){return this.node;}}const CURSOR_STACK=Symbol(\"CURSOR_STACK\");class NewElementBuilder{static forInitialRender(env,cursor){return new this(env,cursor.element,cursor.nextSibling).initialize();}static resume(env,block){let stack=new this(env,block.parentElement(),block.reset(env)).initialize();return stack.pushLiveBlock(block),stack;}constructor(env,parentNode,nextSibling){_defineProperty(this,\"dom\",void 0);_defineProperty(this,\"updateOperations\",void 0);_defineProperty(this,\"constructing\",null);_defineProperty(this,\"operations\",null);_defineProperty(this,\"env\",void 0);_defineProperty(this,CURSOR_STACK,new StackImpl());_defineProperty(this,\"modifierStack\",new StackImpl());_defineProperty(this,\"blockStack\",new StackImpl());this.pushElement(parentNode,nextSibling),this.env=env,this.dom=env.getAppendOperations(),this.updateOperations=env.getDOM();}initialize(){return this.pushSimpleBlock(),this;}debugBlocks(){return this.blockStack.toArray();}get element(){return this[CURSOR_STACK].current.element;}get nextSibling(){return this[CURSOR_STACK].current.nextSibling;}get hasBlocks(){return this.blockStack.size>0;}block(){return expect(this.blockStack.current,\"Expected a current live block\");}popElement(){this[CURSOR_STACK].pop(),expect(this[CURSOR_STACK].current,\"can't pop past the last element\");}pushSimpleBlock(){return this.pushLiveBlock(new SimpleLiveBlock(this.element));}pushUpdatableBlock(){return this.pushLiveBlock(new UpdatableBlockImpl(this.element));}pushBlockList(list){return this.pushLiveBlock(new LiveBlockList(this.element,list));}pushLiveBlock(block){let isRemote=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;let current=this.blockStack.current;return null!==current&&(isRemote||current.didAppendBounds(block)),this.__openBlock(),this.blockStack.push(block),block;}popBlock(){return this.block().finalize(this),this.__closeBlock(),expect(this.blockStack.pop(),\"Expected popBlock to return a block\");}__openBlock(){}__closeBlock(){}// todo return seems unused\nopenElement(tag){let element=this.__openElement(tag);return this.constructing=element,element;}__openElement(tag){return this.dom.createElement(tag,this.element);}flushElement(modifiers){let parent=this.element,element=expect(this.constructing,\"flushElement should only be called when constructing an element\");this.__flushElement(parent,element),this.constructing=null,this.operations=null,this.pushModifiers(modifiers),this.pushElement(element,null),this.didOpenElement(element);}__flushElement(parent,constructing){this.dom.insertBefore(parent,constructing,this.nextSibling);}closeElement(){return this.willCloseElement(),this.popElement(),this.popModifiers();}pushRemoteElement(element,guid,insertBefore){return this.__pushRemoteElement(element,guid,insertBefore);}__pushRemoteElement(element,_guid,insertBefore){if(this.pushElement(element,insertBefore),void 0===insertBefore)for(;element.lastChild;)element.removeChild(element.lastChild);let block=new RemoteLiveBlock(element);return this.pushLiveBlock(block,!0);}popRemoteElement(){const block=this.popBlock();return debugAssert(block instanceof RemoteLiveBlock,\"[BUG] expecting a RemoteLiveBlock\"),this.popElement(),block;}pushElement(element){let nextSibling=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;this[CURSOR_STACK].push(new CursorImpl(element,nextSibling));}pushModifiers(modifiers){this.modifierStack.push(modifiers);}popModifiers(){return this.modifierStack.pop();}didAppendBounds(bounds){return this.block().didAppendBounds(bounds),bounds;}didAppendNode(node){return this.block().didAppendNode(node),node;}didOpenElement(element){return this.block().openElement(element),element;}willCloseElement(){this.block().closeElement();}appendText(string){return this.didAppendNode(this.__appendText(string));}__appendText(text){let{dom:dom,element:element,nextSibling:nextSibling}=this,node=dom.createTextNode(text);return dom.insertBefore(element,node,nextSibling),node;}__appendNode(node){return this.dom.insertBefore(this.element,node,this.nextSibling),node;}__appendFragment(fragment){let first=fragment.firstChild;if(first){let ret=new ConcreteBounds(this.element,first,fragment.lastChild);return this.dom.insertBefore(this.element,fragment,this.nextSibling),ret;}{const comment=this.__appendComment(\"\");return new ConcreteBounds(this.element,comment,comment);}}__appendHTML(html){return this.dom.insertHTMLBefore(this.element,this.nextSibling,html);}appendDynamicHTML(value){let bounds=this.trustedContent(value);this.didAppendBounds(bounds);}appendDynamicText(value){let node=this.untrustedContent(value);return this.didAppendNode(node),node;}appendDynamicFragment(value){let bounds=this.__appendFragment(value);this.didAppendBounds(bounds);}appendDynamicNode(value){let node=this.__appendNode(value),bounds=new ConcreteBounds(this.element,node,node);this.didAppendBounds(bounds);}trustedContent(value){return this.__appendHTML(value);}untrustedContent(value){return this.__appendText(value);}appendComment(string){return this.didAppendNode(this.__appendComment(string));}__appendComment(string){let{dom:dom,element:element,nextSibling:nextSibling}=this,node=dom.createComment(string);return dom.insertBefore(element,node,nextSibling),node;}__setAttribute(name,value,namespace){this.dom.setAttribute(this.constructing,name,value,namespace);}__setProperty(name,value){this.constructing[name]=value;}setStaticAttribute(name,value,namespace){this.__setAttribute(name,value,namespace);}setDynamicAttribute(name,value,trusting,namespace){let attribute=dynamicAttribute(this.constructing,name,namespace,trusting);return attribute.set(this,value,this.env),attribute;}}class SimpleLiveBlock{constructor(parent){_defineProperty(this,\"first\",null);_defineProperty(this,\"last\",null);_defineProperty(this,\"nesting\",0);this.parent=parent;}parentElement(){return this.parent;}firstNode(){return expect(this.first,\"cannot call `firstNode()` while `SimpleLiveBlock` is still initializing\").firstNode();}lastNode(){return expect(this.last,\"cannot call `lastNode()` while `SimpleLiveBlock` is still initializing\").lastNode();}openElement(element){this.didAppendNode(element),this.nesting++;}closeElement(){this.nesting--;}didAppendNode(node){0===this.nesting&&(this.first||(this.first=new First(node)),this.last=new Last(node));}didAppendBounds(bounds){0===this.nesting&&(this.first||(this.first=bounds),this.last=bounds);}finalize(stack){null===this.first&&stack.appendComment(\"\");}}class RemoteLiveBlock extends SimpleLiveBlock{constructor(parent){super(parent),registerDestructor$1(this,()=>{// In general, you only need to clear the root of a hierarchy, and should never\n// need to clear any child nodes. This is an important constraint that gives us\n// a strong guarantee that clearing a subtree is a single DOM operation.\n// Because remote blocks are not normally physically nested inside of the tree\n// that they are logically nested inside, we manually clear remote blocks when\n// a logical parent is cleared.\n// HOWEVER, it is currently possible for a remote block to be physically nested\n// inside of the block it is logically contained inside of. This happens when\n// the remote block is appended to the end of the application's entire element.\n// The problem with that scenario is that Glimmer believes that it owns more of\n// the DOM than it actually does. The code is attempting to write past the end\n// of the Glimmer-managed root, but Glimmer isn't aware of that.\n// The correct solution to that problem is for Glimmer to be aware of the end\n// of the bounds that it owns, and once we make that change, this check could\n// be removed.\n// For now, a more targeted fix is to check whether the node was already removed\n// and avoid clearing the node if it was. In most cases this shouldn't happen,\n// so this might hide bugs where the code clears nested nodes unnecessarily,\n// so we should eventually try to do the correct fix.\nthis.parentElement()===this.firstNode().parentNode&&clear(this);});}}class UpdatableBlockImpl extends SimpleLiveBlock{reset(){destroy(this);let nextSibling=clear(this);return this.first=null,this.last=null,this.nesting=0,nextSibling;}}// FIXME: All the noops in here indicate a modelling problem\nclass LiveBlockList{constructor(parent,boundList){this.parent=parent,this.boundList=boundList,this.parent=parent,this.boundList=boundList;}parentElement(){return this.parent;}firstNode(){return expect(this.boundList[0],\"cannot call `firstNode()` while `LiveBlockList` is still initializing\").firstNode();}lastNode(){let boundList=this.boundList;return expect(boundList[boundList.length-1],\"cannot call `lastNode()` while `LiveBlockList` is still initializing\").lastNode();}openElement(_element){debugAssert(!1,\"Cannot openElement directly inside a block list\");}closeElement(){debugAssert(!1,\"Cannot closeElement directly inside a block list\");}didAppendNode(_node){debugAssert(!1,\"Cannot create a new node directly inside a block list\");}didAppendBounds(_bounds){}finalize(_stack){debugAssert(this.boundList.length>0,\"boundsList cannot be empty\");}}function clientBuilder(env,cursor){return NewElementBuilder.forInitialRender(env,cursor);}const APPEND_OPCODES=new class{constructor(){_defineProperty(this,\"evaluateOpcode\",new Array(Op.Size).fill(null));}add(name,evaluate){let kind=arguments.length>2&&arguments[2]!==undefined?arguments[2]:\"syscall\";this.evaluateOpcode[name]={syscall:\"machine\"!==kind,evaluate:evaluate};}debugBefore(vm,opcode){return{sp:void 0,pc:vm.fetchValue($pc),name:void 0,params:void 0,type:opcode.type,isMachine:opcode.isMachine,size:opcode.size,state:void 0};}debugAfter(vm,pre){}evaluate(vm,opcode,type){let operation=unwrap$1(this.evaluateOpcode[type]);operation.syscall?(debugAssert(!opcode.isMachine,`BUG: Mismatch between operation.syscall (${operation.syscall}) and opcode.isMachine (${opcode.isMachine}) for ${opcode.type}`),operation.evaluate(vm,opcode)):(debugAssert(opcode.isMachine,`BUG: Mismatch between operation.syscall (${operation.syscall}) and opcode.isMachine (${opcode.isMachine}) for ${opcode.type}`),operation.evaluate(vm[INNER_VM],opcode));}}(),TYPE=Symbol(\"TYPE\"),INNER=Symbol(\"INNER\"),OWNER=Symbol(\"OWNER\"),ARGS$2=Symbol(\"ARGS\"),RESOLVED=Symbol(\"RESOLVED\"),CURRIED_VALUES=new WeakSet();function isCurriedValue(value){return CURRIED_VALUES.has(value);}function isCurriedType(value,type){return isCurriedValue(value)&&value[TYPE]===type;}class CurriedValue{/** @internal */constructor(type,inner,owner,args){let resolved=arguments.length>4&&arguments[4]!==undefined?arguments[4]:!1;_defineProperty(this,TYPE,void 0);_defineProperty(this,INNER,void 0);_defineProperty(this,OWNER,void 0);_defineProperty(this,ARGS$2,void 0);_defineProperty(this,RESOLVED,void 0);CURRIED_VALUES.add(this),this[TYPE]=type,this[INNER]=inner,this[OWNER]=owner,this[ARGS$2]=args,this[RESOLVED]=resolved;}}function resolveCurriedValue(curriedValue){let positional,named,definition,owner,resolved,currentWrapper=curriedValue;// eslint-disable-next-line no-constant-condition\nfor(;;){let{[ARGS$2]:curriedArgs,[INNER]:inner}=currentWrapper;if(null!==curriedArgs){let{named:curriedNamed,positional:curriedPositional}=curriedArgs;curriedPositional.length>0&&(positional=void 0===positional?curriedPositional:curriedPositional.concat(positional)),void 0===named&&(named=[]),named.unshift(curriedNamed);}if(!isCurriedValue(inner)){// Save off the owner that this helper was curried with. Later on,\n// we'll fetch the value of this register and set it as the owner on the\n// new root scope.\ndefinition=inner,owner=currentWrapper[OWNER],resolved=currentWrapper[RESOLVED];break;}currentWrapper=inner;}return{definition:definition,owner:owner,resolved:resolved,positional:positional,named:named};}function curry(type,spec,owner,args){let resolved=arguments.length>4&&arguments[4]!==undefined?arguments[4]:!1;return new CurriedValue(type,spec,owner,args,resolved);}/** @internal */function hasCustomDebugRenderTreeLifecycle(manager){return\"getDebugCustomRenderTree\"in manager;}APPEND_OPCODES.add(Op.ChildScope,vm=>vm.pushChildScope()),APPEND_OPCODES.add(Op.PopScope,vm=>vm.popScope()),APPEND_OPCODES.add(Op.PushDynamicScope,vm=>vm.pushDynamicScope()),APPEND_OPCODES.add(Op.PopDynamicScope,vm=>vm.popDynamicScope()),APPEND_OPCODES.add(Op.Constant,(vm,_ref58)=>{let{op1:other}=_ref58;vm.stack.push(vm[CONSTANTS].getValue(decodeHandle(other)));}),APPEND_OPCODES.add(Op.ConstantReference,(vm,_ref59)=>{let{op1:other}=_ref59;vm.stack.push(createConstRef(vm[CONSTANTS].getValue(decodeHandle(other))));}),APPEND_OPCODES.add(Op.Primitive,(vm,_ref60)=>{let{op1:primitive}=_ref60;let stack=vm.stack;if(isHandle(primitive)){// it is a handle which does not already exist on the stack\nlet value=vm[CONSTANTS].getValue(decodeHandle(primitive));stack.push(value);}else// is already an encoded immediate or primitive handle\nstack.push(decodeImmediate(primitive));}),APPEND_OPCODES.add(Op.PrimitiveReference,vm=>{let ref,stack=vm.stack,value=stack.pop();ref=void 0===value?UNDEFINED_REFERENCE:null===value?NULL_REFERENCE:!0===value?TRUE_REFERENCE:!1===value?FALSE_REFERENCE:createPrimitiveRef(value),stack.push(ref);}),APPEND_OPCODES.add(Op.Dup,(vm,_ref61)=>{let{op1:register,op2:offset}=_ref61;let position=vm.fetchValue(register)-offset;vm.stack.dup(position);}),APPEND_OPCODES.add(Op.Pop,(vm,_ref62)=>{let{op1:count}=_ref62;vm.stack.pop(count);}),APPEND_OPCODES.add(Op.Load,(vm,_ref63)=>{let{op1:register}=_ref63;vm.load(register);}),APPEND_OPCODES.add(Op.Fetch,(vm,_ref64)=>{let{op1:register}=_ref64;vm.fetch(register);}),APPEND_OPCODES.add(Op.BindDynamicScope,(vm,_ref65)=>{let{op1:_names}=_ref65;let names=vm[CONSTANTS].getArray(_names);vm.bindDynamicScope(names);}),APPEND_OPCODES.add(Op.Enter,(vm,_ref66)=>{let{op1:args}=_ref66;vm.enter(args);}),APPEND_OPCODES.add(Op.Exit,vm=>{vm.exit();}),APPEND_OPCODES.add(Op.PushSymbolTable,(vm,_ref67)=>{let{op1:_table}=_ref67;vm.stack.push(vm[CONSTANTS].getValue(_table));}),APPEND_OPCODES.add(Op.PushBlockScope,vm=>{vm.stack.push(vm.scope());}),APPEND_OPCODES.add(Op.CompileBlock,vm=>{let stack=vm.stack,block=stack.pop();block?stack.push(vm.compile(block)):stack.push(null);}),APPEND_OPCODES.add(Op.InvokeYield,vm=>{let{stack:stack}=vm,handle=stack.pop(),scope=stack.pop(),table=stack.pop();debugAssert(null===table||table&&\"object\"==typeof table&&Array.isArray(table.parameters),`Expected top of stack to be Option<BlockSymbolTable>, was ${String(table)}`);let args=stack.pop();if(null===table)// To balance the pop{Frame,Scope}\nreturn vm.pushFrame(),void vm.pushScope(scope??vm.scope());let invokingScope=expect(scope,\"BUG: expected scope\");// If necessary, create a child scope\n{let locals=table.parameters,localsCount=locals.length;if(localsCount>0){invokingScope=invokingScope.child();for(let i=0;i<localsCount;i++)invokingScope.bindSymbol(unwrap$1(locals[i]),args.at(i));}}vm.pushFrame(),vm.pushScope(invokingScope),vm.call(handle);}),APPEND_OPCODES.add(Op.JumpIf,(vm,_ref68)=>{let{op1:target}=_ref68;let reference=vm.stack.pop(),value=Boolean(valueForRef(reference));isConstRef(reference)?!0===value&&vm.goto(target):(!0===value&&vm.goto(target),vm.updateWith(new Assert(reference)));}),APPEND_OPCODES.add(Op.JumpUnless,(vm,_ref69)=>{let{op1:target}=_ref69;let reference=vm.stack.pop(),value=Boolean(valueForRef(reference));isConstRef(reference)?!1===value&&vm.goto(target):(!1===value&&vm.goto(target),vm.updateWith(new Assert(reference)));}),APPEND_OPCODES.add(Op.JumpEq,(vm,_ref70)=>{let{op1:target,op2:comparison}=_ref70;vm.stack.peek()===comparison&&vm.goto(target);}),APPEND_OPCODES.add(Op.AssertSame,vm=>{let reference=vm.stack.peek();!1===isConstRef(reference)&&vm.updateWith(new Assert(reference));}),APPEND_OPCODES.add(Op.ToBoolean,vm=>{let{stack:stack}=vm,valueRef=stack.pop();stack.push(createComputeRef(()=>toBool$1(valueForRef(valueRef))));});class Assert{constructor(ref){_defineProperty(this,\"last\",void 0);this.ref=ref,this.last=valueForRef(ref);}evaluate(vm){let{last:last,ref:ref}=this;last!==valueForRef(ref)&&vm.throw();}}class AssertFilter{constructor(ref,filter){_defineProperty(this,\"last\",void 0);this.ref=ref,this.filter=filter,this.last=filter(valueForRef(ref));}evaluate(vm){let{last:last,ref:ref,filter:filter}=this;last!==filter(valueForRef(ref))&&vm.throw();}}class JumpIfNotModifiedOpcode{constructor(){_defineProperty(this,\"tag\",CONSTANT_TAG);_defineProperty(this,\"lastRevision\",INITIAL);_defineProperty(this,\"target\",void 0);}finalize(tag,target){this.target=target,this.didModify(tag);}evaluate(vm){let{tag:tag,target:target,lastRevision:lastRevision}=this;!vm.alwaysRevalidate&&validateTag(tag,lastRevision)&&(consumeTag(tag),vm.goto(expect(target,\"VM BUG: Target must be set before attempting to jump\")));}didModify(tag){this.tag=tag,this.lastRevision=valueForTag(this.tag),consumeTag(tag);}}class BeginTrackFrameOpcode{constructor(debugLabel){this.debugLabel=debugLabel;}evaluate(){beginTrackFrame(this.debugLabel);}}class EndTrackFrameOpcode{constructor(target){this.target=target;}evaluate(){let tag=endTrackFrame();this.target.didModify(tag);}}APPEND_OPCODES.add(Op.Text,(vm,_ref71)=>{let{op1:text}=_ref71;vm.elements().appendText(vm[CONSTANTS].getValue(text));}),APPEND_OPCODES.add(Op.Comment,(vm,_ref72)=>{let{op1:text}=_ref72;vm.elements().appendComment(vm[CONSTANTS].getValue(text));}),APPEND_OPCODES.add(Op.OpenElement,(vm,_ref73)=>{let{op1:tag}=_ref73;vm.elements().openElement(vm[CONSTANTS].getValue(tag));}),APPEND_OPCODES.add(Op.OpenDynamicElement,vm=>{let tagName=valueForRef(vm.stack.pop());vm.elements().openElement(tagName);}),APPEND_OPCODES.add(Op.PushRemoteElement,vm=>{let elementRef=vm.stack.pop(),insertBeforeRef=vm.stack.pop(),guidRef=vm.stack.pop(),element=valueForRef(elementRef),insertBefore=valueForRef(insertBeforeRef),guid=valueForRef(guidRef);isConstRef(elementRef)||vm.updateWith(new Assert(elementRef)),void 0===insertBefore||isConstRef(insertBeforeRef)||vm.updateWith(new Assert(insertBeforeRef));let block=vm.elements().pushRemoteElement(element,guid,insertBefore);if(block&&vm.associateDestroyable(block),void 0!==vm.env.debugRenderTree){// Note that there is nothing to update – when the args for an\n// {{#in-element}} changes it gets torn down and a new one is\n// re-created/rendered in its place (see the `Assert`s above)\nlet args=createCapturedArgs(void 0===insertBefore?{}:{insertBefore:insertBeforeRef},[elementRef]);vm.env.debugRenderTree.create(block,{type:\"keyword\",name:\"in-element\",args:args,instance:null}),registerDestructor$1(block,()=>{var _vm$env$debugRenderTr;(_vm$env$debugRenderTr=vm.env.debugRenderTree)===null||_vm$env$debugRenderTr===void 0||_vm$env$debugRenderTr.willDestroy(block);});}}),APPEND_OPCODES.add(Op.PopRemoteElement,vm=>{let bounds=vm.elements().popRemoteElement();void 0!==vm.env.debugRenderTree&&// The RemoteLiveBlock is also its bounds\nvm.env.debugRenderTree.didRender(bounds,bounds);}),APPEND_OPCODES.add(Op.FlushElement,vm=>{let operations=vm.fetchValue($t0),modifiers=null;operations&&(modifiers=operations.flush(vm),vm.loadValue($t0,null)),vm.elements().flushElement(modifiers);}),APPEND_OPCODES.add(Op.CloseElement,vm=>{let modifiers=vm.elements().closeElement();null!==modifiers&&modifiers.forEach(modifier=>{vm.env.scheduleInstallModifier(modifier);const d=modifier.manager.getDestroyable(modifier.state);null!==d&&vm.associateDestroyable(d);});}),APPEND_OPCODES.add(Op.Modifier,(vm,_ref74)=>{let{op1:handle}=_ref74;if(!1===vm.env.isInteractive)return;let owner=vm.getOwner(),args=vm.stack.pop(),definition=vm[CONSTANTS].getValue(handle),{manager:manager}=definition,{constructing:constructing}=vm.elements(),capturedArgs=args.capture(),state=manager.create(owner,expect(constructing,\"BUG: ElementModifier could not find the element it applies to\"),definition.state,capturedArgs),instance={manager:manager,state:state,definition:definition};expect(vm.fetchValue($t0),\"BUG: ElementModifier could not find operations to append to\").addModifier(vm,instance,capturedArgs);let tag=manager.getTag(state);return null!==tag?(consumeTag(tag),vm.updateWith(new UpdateModifierOpcode(tag,instance))):void 0;}),APPEND_OPCODES.add(Op.DynamicModifier,vm=>{if(!1===vm.env.isInteractive)return;let{stack:stack}=vm,ref=stack.pop(),args=stack.pop().capture(),{positional:outerPositional,named:outerNamed}=args,{constructing:constructing}=vm.elements(),initialOwner=vm.getOwner(),instanceRef=createComputeRef(()=>{let owner,hostDefinition,value=valueForRef(ref);if(!isObject(value))return;if(isCurriedType(value,CurriedTypes.Modifier)){let{definition:resolvedDefinition,owner:curriedOwner,positional:positional,named:named}=resolveCurriedValue(value);hostDefinition=resolvedDefinition,owner=curriedOwner,void 0!==positional&&(args.positional=positional.concat(outerPositional)),void 0!==named&&(args.named=Object.assign({},...named,outerNamed));}else hostDefinition=value,owner=initialOwner;let manager=getInternalModifierManager(hostDefinition,!0);if(null===manager)throw new Error(\"BUG: modifier manager expected\");let definition={resolvedName:null,manager:manager,state:hostDefinition},state=manager.create(owner,expect(constructing,\"BUG: ElementModifier could not find the element it applies to\"),definition.state,args);return{manager:manager,state:state,definition:definition};}),instance=valueForRef(instanceRef),tag=null;return void 0!==instance&&(expect(vm.fetchValue($t0),\"BUG: ElementModifier could not find operations to append to\").addModifier(vm,instance,args),tag=instance.manager.getTag(instance.state),null!==tag&&consumeTag(tag)),!isConstRef(ref)||tag?vm.updateWith(new UpdateDynamicModifierOpcode(tag,instance,instanceRef)):void 0;});class UpdateModifierOpcode{constructor(tag,modifier){_defineProperty(this,\"lastUpdated\",void 0);this.tag=tag,this.modifier=modifier,this.lastUpdated=valueForTag(tag);}evaluate(vm){let{modifier:modifier,tag:tag,lastUpdated:lastUpdated}=this;consumeTag(tag),validateTag(tag,lastUpdated)||(vm.env.scheduleUpdateModifier(modifier),this.lastUpdated=valueForTag(tag));}}class UpdateDynamicModifierOpcode{constructor(tag,instance,instanceRef){_defineProperty(this,\"lastUpdated\",void 0);this.tag=tag,this.instance=instance,this.instanceRef=instanceRef,this.lastUpdated=valueForTag(tag??CURRENT_TAG);}evaluate(vm){let{tag:tag,lastUpdated:lastUpdated,instance:instance,instanceRef:instanceRef}=this,newInstance=valueForRef(instanceRef);if(newInstance!==instance){if(void 0!==instance){let destroyable=instance.manager.getDestroyable(instance.state);null!==destroyable&&destroy(destroyable);}if(void 0!==newInstance){let{manager:manager,state:state}=newInstance,destroyable=manager.getDestroyable(state);null!==destroyable&&associateDestroyableChild(this,destroyable),tag=manager.getTag(state),null!==tag&&(this.lastUpdated=valueForTag(tag)),this.tag=tag,vm.env.scheduleInstallModifier(newInstance);}this.instance=newInstance;}else null===tag||validateTag(tag,lastUpdated)||(vm.env.scheduleUpdateModifier(instance),this.lastUpdated=valueForTag(tag));null!==tag&&consumeTag(tag);}}APPEND_OPCODES.add(Op.StaticAttr,(vm,_ref75)=>{let{op1:_name,op2:_value,op3:_namespace}=_ref75;let name=vm[CONSTANTS].getValue(_name),value=vm[CONSTANTS].getValue(_value),namespace=_namespace?vm[CONSTANTS].getValue(_namespace):null;vm.elements().setStaticAttribute(name,value,namespace);}),APPEND_OPCODES.add(Op.DynamicAttr,(vm,_ref76)=>{let{op1:_name,op2:_trusting,op3:_namespace}=_ref76;let name=vm[CONSTANTS].getValue(_name),trusting=vm[CONSTANTS].getValue(_trusting),reference=vm.stack.pop(),value=valueForRef(reference),namespace=_namespace?vm[CONSTANTS].getValue(_namespace):null,attribute=vm.elements().setDynamicAttribute(name,value,trusting,namespace);isConstRef(reference)||vm.updateWith(new UpdateDynamicAttributeOpcode(reference,attribute,vm.env));});class UpdateDynamicAttributeOpcode{constructor(reference,attribute,env){_defineProperty(this,\"updateRef\",void 0);let initialized=!1;this.updateRef=createComputeRef(()=>{let value=valueForRef(reference);!0===initialized?attribute.update(value,env):initialized=!0;}),valueForRef(this.updateRef);}evaluate(){valueForRef(this.updateRef);}}/**\n           * The VM creates a new ComponentInstance data structure for every component\n           * invocation it encounters.\n           *\n           * Similar to how a ComponentDefinition contains state about all components of a\n           * particular type, a ComponentInstance contains state specific to a particular\n           * instance of a component type. It also contains a pointer back to its\n           * component type's ComponentDefinition.\n           */APPEND_OPCODES.add(Op.PushComponentDefinition,(vm,_ref77)=>{let{op1:handle}=_ref77;let definition=vm[CONSTANTS].getValue(handle);debugAssert(!!definition,`Missing component for ${handle}`);let{manager:manager,capabilities:capabilities}=definition,instance={definition:definition,manager:manager,capabilities:capabilities,state:null,handle:null,table:null,lookup:null};vm.stack.push(instance);}),APPEND_OPCODES.add(Op.ResolveDynamicComponent,(vm,_ref78)=>{let{op1:_isStrict}=_ref78;let definition,stack=vm.stack,component=valueForRef(stack.pop()),constants=vm[CONSTANTS],owner=vm.getOwner();constants.getValue(_isStrict);if(vm.loadValue($t1,null),\"string\"==typeof component){let resolvedDefinition=function(resolver,constants,name,owner){let definition=resolver.lookupComponent(name,expect(owner,\"BUG: expected owner when looking up component\"));return constants.resolvedComponent(definition,name);}(vm.runtime.resolver,constants,component,owner);definition=expect(resolvedDefinition,`Could not find a component named \"${component}\"`);}else definition=isCurriedValue(component)?component:constants.component(component,owner);stack.push(definition);}),APPEND_OPCODES.add(Op.ResolveCurriedComponent,vm=>{let definition,stack=vm.stack,ref=stack.pop(),value=valueForRef(ref),constants=vm[CONSTANTS];if(isCurriedValue(value))definition=value;else if(definition=constants.component(value,vm.getOwner(),!0),false/* DEBUG */);stack.push(definition);}),APPEND_OPCODES.add(Op.PushDynamicComponentInstance,vm=>{let capabilities,manager,{stack:stack}=vm,definition=stack.pop();isCurriedValue(definition)?manager=capabilities=null:(manager=definition.manager,capabilities=definition.capabilities),stack.push({definition:definition,capabilities:capabilities,manager:manager,state:null,handle:null,table:null});}),APPEND_OPCODES.add(Op.PushArgs,(vm,_ref79)=>{let{op1:_names,op2:_blockNames,op3:flags}=_ref79;let stack=vm.stack,names=vm[CONSTANTS].getArray(_names),positionalCount=flags>>4,atNames=8&flags,blockNames=7&flags?vm[CONSTANTS].getArray(_blockNames):EMPTY_STRING_ARRAY;vm[ARGS$1].setup(stack,names,blockNames,positionalCount,!!atNames),stack.push(vm[ARGS$1]);}),APPEND_OPCODES.add(Op.PushEmptyArgs,vm=>{let{stack:stack}=vm;stack.push(vm[ARGS$1].empty(stack));}),APPEND_OPCODES.add(Op.CaptureArgs,vm=>{let stack=vm.stack,capturedArgs=stack.pop().capture();stack.push(capturedArgs);}),APPEND_OPCODES.add(Op.PrepareArgs,(vm,_ref80)=>{let{op1:_state}=_ref80;let stack=vm.stack,instance=vm.fetchValue(_state),args=stack.pop(),{definition:definition}=instance;if(isCurriedType(definition,CurriedTypes.Component)){debugAssert(!definition.manager,\"If the component definition was curried, we don't yet have a manager\");let constants=vm[CONSTANTS],{definition:resolvedDefinition,owner:owner,resolved:resolved,positional:positional,named:named}=resolveCurriedValue(definition);if(!0===resolved)definition=resolvedDefinition;else if(\"string\"==typeof resolvedDefinition){let resolvedValue=vm.runtime.resolver.lookupComponent(resolvedDefinition,owner);definition=constants.resolvedComponent(expect(resolvedValue,\"BUG: expected resolved component\"),resolvedDefinition);}else definition=constants.component(resolvedDefinition,owner);void 0!==named&&args.named.merge(assign({},...named)),void 0!==positional&&(args.realloc(positional.length),args.positional.prepend(positional));let{manager:manager}=definition;debugAssert(null===instance.manager,\"component instance manager should not be populated yet\"),debugAssert(null===instance.capabilities,\"component instance manager should not be populated yet\"),instance.definition=definition,instance.manager=manager,instance.capabilities=definition.capabilities,// Save off the owner that this component was curried with. Later on,\n// we'll fetch the value of this register and set it as the owner on the\n// new root scope.\nvm.loadValue($t1,owner);}let{manager:manager,state:state}=definition,capabilities=instance.capabilities;if(!managerHasCapability(manager,capabilities,InternalComponentCapabilities.prepareArgs))return void stack.push(args);let blocks=args.blocks.values,blockNames=args.blocks.names,preparedArgs=manager.prepareArgs(state,args);if(preparedArgs){args.clear();for(let i=0;i<blocks.length;i++)stack.push(blocks[i]);let{positional:positional,named:named}=preparedArgs,positionalCount=positional.length;for(let i=0;i<positionalCount;i++)stack.push(positional[i]);let names=Object.keys(named);for(let i=0;i<names.length;i++)stack.push(named[unwrap$1(names[i])]);args.setup(stack,names,blockNames,positionalCount,!1);}stack.push(args);}),APPEND_OPCODES.add(Op.CreateComponent,(vm,_ref81)=>{let{op1:flags,op2:_state}=_ref81;let instance=vm.fetchValue(_state),{definition:definition,manager:manager,capabilities:capabilities}=instance;if(!managerHasCapability(manager,capabilities,InternalComponentCapabilities.createInstance))// TODO: Closure and Main components are always invoked dynamically, so this\n// opcode may run even if this capability is not enabled. In the future we\n// should handle this in a better way.\nreturn;let dynamicScope=null;managerHasCapability(manager,capabilities,InternalComponentCapabilities.dynamicScope)&&(dynamicScope=vm.dynamicScope());let hasDefaultBlock=1&flags,args=null;managerHasCapability(manager,capabilities,InternalComponentCapabilities.createArgs)&&(args=vm.stack.peek());let self=null;managerHasCapability(manager,capabilities,InternalComponentCapabilities.createCaller)&&(self=vm.getSelf());let state=manager.create(vm.getOwner(),definition.state,args,vm.env,dynamicScope,self,!!hasDefaultBlock);// We want to reuse the `state` POJO here, because we know that the opcodes\n// only transition at exactly one place.\ninstance.state=state,managerHasCapability(manager,capabilities,InternalComponentCapabilities.updateHook)&&vm.updateWith(new UpdateComponentOpcode(state,manager,dynamicScope));}),APPEND_OPCODES.add(Op.RegisterComponentDestructor,(vm,_ref82)=>{let{op1:_state}=_ref82;let{manager:manager,state:state,capabilities:capabilities}=vm.fetchValue(_state),d=manager.getDestroyable(state);d&&vm.associateDestroyable(d);}),APPEND_OPCODES.add(Op.BeginComponentTransaction,(vm,_ref83)=>{let{op1:_state}=_ref83;let name;vm.beginCacheGroup(name),vm.elements().pushSimpleBlock();}),APPEND_OPCODES.add(Op.PutComponentOperations,vm=>{vm.loadValue($t0,new ComponentElementOperations());}),APPEND_OPCODES.add(Op.ComponentAttr,(vm,_ref84)=>{let{op1:_name,op2:_trusting,op3:_namespace}=_ref84;let name=vm[CONSTANTS].getValue(_name),trusting=vm[CONSTANTS].getValue(_trusting),reference=vm.stack.pop(),namespace=_namespace?vm[CONSTANTS].getValue(_namespace):null;vm.fetchValue($t0).setAttribute(name,reference,trusting,namespace);}),APPEND_OPCODES.add(Op.StaticComponentAttr,(vm,_ref85)=>{let{op1:_name,op2:_value,op3:_namespace}=_ref85;let name=vm[CONSTANTS].getValue(_name),value=vm[CONSTANTS].getValue(_value),namespace=_namespace?vm[CONSTANTS].getValue(_namespace):null;vm.fetchValue($t0).setStaticAttribute(name,value,namespace);});class ComponentElementOperations{constructor(){_defineProperty(this,\"attributes\",dict());_defineProperty(this,\"classes\",[]);_defineProperty(this,\"modifiers\",[]);}setAttribute(name,value,trusting,namespace){let deferred={value:value,namespace:namespace,trusting:trusting};\"class\"===name&&this.classes.push(value),this.attributes[name]=deferred;}setStaticAttribute(name,value,namespace){let deferred={value:value,namespace:namespace};\"class\"===name&&this.classes.push(value),this.attributes[name]=deferred;}addModifier(vm,modifier,capturedArgs){if(this.modifiers.push(modifier),void 0!==vm.env.debugRenderTree){const{manager:manager,definition:definition,state:state}=modifier;// TODO: we need a stable object for the debugRenderTree as the key, add support for\n// the case where the state is a primitive, or if in practice we always have/require\n// an object, then change the internal types to reflect that\nif(null===state||\"object\"!=typeof state&&\"function\"!=typeof state)return;let{element:element,constructing:constructing}=vm.elements(),name=manager.getDebugName(definition.state),instance=manager.getDebugInstance(state);debugAssert(constructing,\"Expected a constructing element in addModifier\");let bounds=new ConcreteBounds(element,constructing,constructing);vm.env.debugRenderTree.create(state,{type:\"modifier\",name:name,args:capturedArgs,instance:instance}),vm.env.debugRenderTree.didRender(state,bounds),// For tearing down the debugRenderTree\nvm.associateDestroyable(state),vm.updateWith(new DebugRenderTreeUpdateOpcode(state)),vm.updateWith(new DebugRenderTreeDidRenderOpcode(state,bounds)),registerDestructor$1(state,()=>{var _vm$env$debugRenderTr2;(_vm$env$debugRenderTr2=vm.env.debugRenderTree)===null||_vm$env$debugRenderTr2===void 0||_vm$env$debugRenderTr2.willDestroy(state);});}}flush(vm){let type,attributes=this.attributes;for(let name in this.attributes){if(\"type\"===name){type=attributes[name];continue;}let attr=unwrap$1(this.attributes[name]);\"class\"===name?setDeferredAttr(vm,\"class\",mergeClasses(this.classes),attr.namespace,attr.trusting):setDeferredAttr(vm,name,attr.value,attr.namespace,attr.trusting);}return void 0!==type&&setDeferredAttr(vm,\"type\",type.value,type.namespace,type.trusting),this.modifiers;}}function mergeClasses(classes){return 0===classes.length?\"\":1===classes.length?unwrap$1(classes[0]):function(classes){return classes.every(c=>\"string\"==typeof c);}(classes)?classes.join(\" \"):(list=classes,createComputeRef(()=>{let ret=[];for(const ref of list){let value=normalizeStringValue(\"string\"==typeof ref?ref:valueForRef(ref));value&&ret.push(value);}return 0===ret.length?null:ret.join(\" \");}));var list;}function setDeferredAttr(vm,name,value,namespace){let trusting=arguments.length>4&&arguments[4]!==undefined?arguments[4]:!1;if(\"string\"==typeof value)vm.elements().setStaticAttribute(name,value,namespace);else{let attribute=vm.elements().setDynamicAttribute(name,valueForRef(value),trusting,namespace);isConstRef(value)||vm.updateWith(new UpdateDynamicAttributeOpcode(value,attribute,vm.env));}}function bindBlock(symbolName,blockName,state,blocks,vm){let symbol=state.table.symbols.indexOf(symbolName),block=blocks.get(blockName);-1!==symbol&&vm.scope().bindBlock(symbol+1,block),state.lookup&&(state.lookup[symbolName]=block);}APPEND_OPCODES.add(Op.DidCreateElement,(vm,_ref86)=>{let{op1:_state}=_ref86;let{definition:definition,state:state}=vm.fetchValue(_state),{manager:manager}=definition,operations=vm.fetchValue($t0);manager.didCreateElement(state,expect(vm.elements().constructing,\"Expected a constructing element in DidCreateOpcode\"),operations);}),APPEND_OPCODES.add(Op.GetComponentSelf,(vm,_ref87)=>{let{op1:_state,op2:_names}=_ref87;let instance=vm.fetchValue(_state),{definition:definition,state:state}=instance,{manager:manager}=definition,selfRef=manager.getSelf(state);if(void 0!==vm.env.debugRenderTree){let args,moduleName,instance=vm.fetchValue(_state),{definition:definition,manager:manager}=instance;if(vm.stack.peek()===vm[ARGS$1])args=vm[ARGS$1].capture();else{let names=vm[CONSTANTS].getArray(_names);vm[ARGS$1].setup(vm.stack,names,[],0,!0),args=vm[ARGS$1].capture();}let compilable=definition.compilable;if(null===compilable?(debugAssert(managerHasCapability(manager,instance.capabilities,InternalComponentCapabilities.dynamicLayout),\"BUG: No template was found for this component, and the component did not have the dynamic layout capability\"),compilable=manager.getDynamicLayout(state,vm.runtime.resolver),moduleName=null!==compilable?compilable.moduleName:\"__default__.hbs\"):moduleName=compilable.moduleName,// For tearing down the debugRenderTree\nvm.associateDestroyable(instance),hasCustomDebugRenderTreeLifecycle(manager))manager.getDebugCustomRenderTree(instance.definition.state,instance.state,args,moduleName).forEach(node=>{let{bucket:bucket}=node;vm.env.debugRenderTree.create(bucket,node),registerDestructor$1(instance,()=>{var _vm$env$debugRenderTr3;(_vm$env$debugRenderTr3=vm.env.debugRenderTree)===null||_vm$env$debugRenderTr3===void 0||_vm$env$debugRenderTr3.willDestroy(bucket);}),vm.updateWith(new DebugRenderTreeUpdateOpcode(bucket));});else{let name=definition.resolvedName??manager.getDebugName(definition.state);vm.env.debugRenderTree.create(instance,{type:\"component\",name:name,args:args,template:moduleName,instance:valueForRef(selfRef)}),registerDestructor$1(instance,()=>{var _vm$env$debugRenderTr4;(_vm$env$debugRenderTr4=vm.env.debugRenderTree)===null||_vm$env$debugRenderTr4===void 0||_vm$env$debugRenderTr4.willDestroy(instance);}),vm.updateWith(new DebugRenderTreeUpdateOpcode(instance));}}vm.stack.push(selfRef);}),APPEND_OPCODES.add(Op.GetComponentTagName,(vm,_ref88)=>{let{op1:_state}=_ref88;let{definition:definition,state:state}=vm.fetchValue(_state),{manager:manager}=definition,tagName=manager.getTagName(state);// User provided value from JS, so we don't bother to encode\nvm.stack.push(tagName);}),// Dynamic Invocation Only\nAPPEND_OPCODES.add(Op.GetComponentLayout,(vm,_ref89)=>{let{op1:_state}=_ref89;let instance=vm.fetchValue(_state),{manager:manager,definition:definition}=instance,{stack:stack}=vm,{compilable:compilable}=definition;if(null===compilable){let{capabilities:capabilities}=instance;debugAssert(managerHasCapability(manager,capabilities,InternalComponentCapabilities.dynamicLayout),\"BUG: No template was found for this component, and the component did not have the dynamic layout capability\"),compilable=manager.getDynamicLayout(instance.state,vm.runtime.resolver),null===compilable&&(compilable=managerHasCapability(manager,capabilities,InternalComponentCapabilities.wrapped)?unwrapTemplate(vm[CONSTANTS].defaultTemplate).asWrappedLayout():unwrapTemplate(vm[CONSTANTS].defaultTemplate).asLayout());}let handle=compilable.compile(vm.context);stack.push(compilable.symbolTable),stack.push(handle);}),APPEND_OPCODES.add(Op.Main,(vm,_ref90)=>{let{op1:register}=_ref90;let definition=vm.stack.pop(),invocation=vm.stack.pop(),{manager:manager,capabilities:capabilities}=definition,state={definition:definition,manager:manager,capabilities:capabilities,state:null,handle:invocation.handle,table:invocation.symbolTable,lookup:null};vm.loadValue(register,state);}),APPEND_OPCODES.add(Op.PopulateLayout,(vm,_ref91)=>{let{op1:_state}=_ref91;let{stack:stack}=vm,handle=stack.pop(),table=stack.pop(),state=vm.fetchValue(_state);// In DEBUG handles could be ErrHandle objects\nstate.handle=handle,state.table=table;}),APPEND_OPCODES.add(Op.VirtualRootScope,(vm,_ref92)=>{let{op1:_state}=_ref92;let owner,{table:table,manager:manager,capabilities:capabilities,state:state}=vm.fetchValue(_state);managerHasCapability(manager,capabilities,InternalComponentCapabilities.hasSubOwner)?(owner=manager.getOwner(state),vm.loadValue($t1,null)):(// Check the temp register to see if an owner was resolved from currying\nowner=vm.fetchValue($t1),null===owner?// If an owner wasn't found, default to using the current owner. This\n// will happen for normal dynamic component invocation,\n// e.g. <SomeClassicEmberComponent/>\nowner=vm.getOwner():// Else the owner was found, so clear the temp register. This will happen\n// if we are loading a curried component, e.g. <@someCurriedComponent/>\nvm.loadValue($t1,null)),vm.pushRootScope(table.symbols.length+1,owner);}),APPEND_OPCODES.add(Op.SetupForEval,(vm,_ref93)=>{let{op1:_state}=_ref93;let state=vm.fetchValue(_state);if(state.table.hasEval){let lookup=state.lookup=dict();vm.scope().bindEvalScope(lookup);}}),APPEND_OPCODES.add(Op.SetNamedVariables,(vm,_ref94)=>{let{op1:_state}=_ref94;let state=vm.fetchValue(_state),scope=vm.scope(),args=vm.stack.peek(),callerNames=args.named.atNames;for(let i=callerNames.length-1;i>=0;i--){let atName=unwrap$1(callerNames[i]),symbol=state.table.symbols.indexOf(atName),value=args.named.get(atName,!0);-1!==symbol&&scope.bindSymbol(symbol+1,value),state.lookup&&(state.lookup[atName]=value);}}),APPEND_OPCODES.add(Op.SetBlocks,(vm,_ref95)=>{let{op1:_state}=_ref95;let state=vm.fetchValue(_state),{blocks:blocks}=vm.stack.peek();for(const[i]of enumerate(blocks.names))bindBlock(unwrap$1(blocks.symbolNames[i]),unwrap$1(blocks.names[i]),state,blocks,vm);}),// Dynamic Invocation Only\nAPPEND_OPCODES.add(Op.InvokeComponentLayout,(vm,_ref96)=>{let{op1:_state}=_ref96;let state=vm.fetchValue(_state);vm.call(state.handle);}),APPEND_OPCODES.add(Op.DidRenderLayout,(vm,_ref97)=>{let{op1:_state}=_ref97;let instance=vm.fetchValue(_state),{manager:manager,state:state,capabilities:capabilities}=instance,bounds=vm.elements().popBlock();void 0!==vm.env.debugRenderTree&&(hasCustomDebugRenderTreeLifecycle(manager)?manager.getDebugCustomRenderTree(instance.definition.state,state,EMPTY_ARGS).reverse().forEach(node=>{let{bucket:bucket}=node;vm.env.debugRenderTree.didRender(bucket,bounds),vm.updateWith(new DebugRenderTreeDidRenderOpcode(bucket,bounds));}):(vm.env.debugRenderTree.didRender(instance,bounds),vm.updateWith(new DebugRenderTreeDidRenderOpcode(instance,bounds)))),managerHasCapability(manager,capabilities,InternalComponentCapabilities.createInstance)&&(manager.didRenderLayout(state,bounds),vm.env.didCreate(instance),vm.updateWith(new DidUpdateLayoutOpcode(instance,bounds)));}),APPEND_OPCODES.add(Op.CommitComponentTransaction,vm=>{vm.commitCacheGroup();});class UpdateComponentOpcode{constructor(component,manager,dynamicScope){this.component=component,this.manager=manager,this.dynamicScope=dynamicScope;}evaluate(_vm){let{component:component,manager:manager,dynamicScope:dynamicScope}=this;manager.update(component,dynamicScope);}}class DidUpdateLayoutOpcode{constructor(component,bounds){this.component=component,this.bounds=bounds;}evaluate(vm){let{component:component,bounds:bounds}=this,{manager:manager,state:state}=component;manager.didUpdateLayout(state,bounds),vm.env.didUpdate(component);}}class DebugRenderTreeUpdateOpcode{constructor(bucket){this.bucket=bucket;}evaluate(vm){var _vm$env$debugRenderTr5;(_vm$env$debugRenderTr5=vm.env.debugRenderTree)===null||_vm$env$debugRenderTr5===void 0||_vm$env$debugRenderTr5.update(this.bucket);}}class DebugRenderTreeDidRenderOpcode{constructor(bucket,bounds){this.bucket=bucket,this.bounds=bounds;}evaluate(vm){var _vm$env$debugRenderTr6;(_vm$env$debugRenderTr6=vm.env.debugRenderTree)===null||_vm$env$debugRenderTr6===void 0||_vm$env$debugRenderTr6.didRender(this.bucket,this.bounds);}}/*\n            The calling convention is:\n\n            * 0-N block arguments at the bottom\n            * 0-N positional arguments next (left-to-right)\n            * 0-N named arguments next\n          */class VMArgumentsImpl{constructor(){_defineProperty(this,\"stack\",null);_defineProperty(this,\"positional\",new PositionalArgumentsImpl());_defineProperty(this,\"named\",new NamedArgumentsImpl());_defineProperty(this,\"blocks\",new BlockArgumentsImpl());}empty(stack){let base=stack[REGISTERS][$sp]+1;return this.named.empty(stack,base),this.positional.empty(stack,base),this.blocks.empty(stack,base),this;}setup(stack,names,blockNames,positionalCount,atNames){this.stack=stack;/*\n                 | ... | blocks      | positional  | named |\n                 | ... | b0    b1    | p0 p1 p2 p3 | n0 n1 |\n              index | ... | 4/5/6 7/8/9 | 10 11 12 13 | 14 15 |\n                         ^             ^             ^  ^\n                       bbase         pbase       nbase  sp\n              */let named=this.named,namedCount=names.length,namedBase=stack[REGISTERS][$sp]-namedCount+1;named.setup(stack,namedBase,namedCount,names,atNames);let positionalBase=namedBase-positionalCount;this.positional.setup(stack,positionalBase,positionalCount);let blocks=this.blocks,blocksCount=blockNames.length,blocksBase=positionalBase-3*blocksCount;blocks.setup(stack,blocksBase,blocksCount,blockNames);}get base(){return this.blocks.base;}get length(){return this.positional.length+this.named.length+3*this.blocks.length;}at(pos){return this.positional.at(pos);}realloc(offset){let{stack:stack}=this;if(offset>0&&null!==stack){let{positional:positional,named:named}=this,newBase=positional.base+offset;for(let i=positional.length+named.length-1;i>=0;i--)stack.copy(i+positional.base,i+newBase);positional.base+=offset,named.base+=offset,stack[REGISTERS][$sp]+=offset;}}capture(){let positional=0===this.positional.length?EMPTY_POSITIONAL:this.positional.capture();return{named:0===this.named.length?EMPTY_NAMED:this.named.capture(),positional:positional};}clear(){let{stack:stack,length:length}=this;length>0&&null!==stack&&stack.pop(length);}}const EMPTY_REFERENCES=emptyArray();class PositionalArgumentsImpl{constructor(){_defineProperty(this,\"base\",0);_defineProperty(this,\"length\",0);_defineProperty(this,\"stack\",null);_defineProperty(this,\"_references\",null);}empty(stack,base){this.stack=stack,this.base=base,this.length=0,this._references=EMPTY_REFERENCES;}setup(stack,base,length){this.stack=stack,this.base=base,this.length=length,this._references=0===length?EMPTY_REFERENCES:null;}at(position){let{base:base,length:length,stack:stack}=this;return position<0||position>=length?UNDEFINED_REFERENCE:stack.get(position,base);}capture(){return this.references;}prepend(other){let additions=other.length;if(additions>0){let{base:base,length:length,stack:stack}=this;this.base=base-=additions,this.length=length+additions;for(let i=0;i<additions;i++)stack.set(other[i],i,base);this._references=null;}}get references(){let references=this._references;if(!references){let{stack:stack,base:base,length:length}=this;references=this._references=stack.slice(base,base+length);}return references;}}class NamedArgumentsImpl{constructor(){_defineProperty(this,\"base\",0);_defineProperty(this,\"length\",0);_defineProperty(this,\"_references\",null);_defineProperty(this,\"_names\",EMPTY_STRING_ARRAY);_defineProperty(this,\"_atNames\",EMPTY_STRING_ARRAY);}empty(stack,base){this.stack=stack,this.base=base,this.length=0,this._references=EMPTY_REFERENCES,this._names=EMPTY_STRING_ARRAY,this._atNames=EMPTY_STRING_ARRAY;}setup(stack,base,length,names,atNames){this.stack=stack,this.base=base,this.length=length,0===length?(this._references=EMPTY_REFERENCES,this._names=EMPTY_STRING_ARRAY,this._atNames=EMPTY_STRING_ARRAY):(this._references=null,atNames?(this._names=null,this._atNames=names):(this._names=names,this._atNames=null));}get names(){let names=this._names;return names||(names=this._names=this._atNames.map(this.toSyntheticName)),names;}get atNames(){let atNames=this._atNames;return atNames||(atNames=this._atNames=this._names.map(this.toAtName)),atNames;}has(name){return-1!==this.names.indexOf(name);}get(name){let atNames=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;let{base:base,stack:stack}=this,idx=(atNames?this.atNames:this.names).indexOf(name);if(-1===idx)return UNDEFINED_REFERENCE;let ref=stack.get(idx,base);return ref;}capture(){let{names:names,references:references}=this,map=dict();for(const[i,name]of enumerate(names))map[name]=unwrap$1(references[i]);return map;}merge(other){let keys=Object.keys(other);if(keys.length>0){let{names:names,length:length,stack:stack}=this,newNames=names.slice();for(const name of keys)-1===newNames.indexOf(name)&&(length=newNames.push(name),stack.push(other[name]));this.length=length,this._references=null,this._names=newNames,this._atNames=null;}}get references(){let references=this._references;if(!references){let{base:base,length:length,stack:stack}=this;references=this._references=stack.slice(base,base+length);}return references;}toSyntheticName(name){return name.slice(1);}toAtName(name){return`@${name}`;}}function toSymbolName(name){return`&${name}`;}const EMPTY_BLOCK_VALUES=emptyArray();class BlockArgumentsImpl{constructor(){_defineProperty(this,\"internalValues\",null);_defineProperty(this,\"_symbolNames\",null);_defineProperty(this,\"internalTag\",null);_defineProperty(this,\"names\",EMPTY_STRING_ARRAY);_defineProperty(this,\"length\",0);_defineProperty(this,\"base\",0);}empty(stack,base){this.stack=stack,this.names=EMPTY_STRING_ARRAY,this.base=base,this.length=0,this._symbolNames=null,this.internalTag=CONSTANT_TAG,this.internalValues=EMPTY_BLOCK_VALUES;}setup(stack,base,length,names){this.stack=stack,this.names=names,this.base=base,this.length=length,this._symbolNames=null,0===length?(this.internalTag=CONSTANT_TAG,this.internalValues=EMPTY_BLOCK_VALUES):(this.internalTag=null,this.internalValues=null);}get values(){let values=this.internalValues;if(!values){let{base:base,length:length,stack:stack}=this;values=this.internalValues=stack.slice(base,base+3*length);}return values;}has(name){return-1!==this.names.indexOf(name);}get(name){let idx=this.names.indexOf(name);if(-1===idx)return null;let{base:base,stack:stack}=this,table=stack.get(3*idx,base),scope=stack.get(3*idx+1,base),handle=stack.get(3*idx+2,base);return null===handle?null:[handle,scope,table];}capture(){return new CapturedBlockArgumentsImpl(this.names,this.values);}get symbolNames(){let symbolNames=this._symbolNames;return null===symbolNames&&(symbolNames=this._symbolNames=this.names.map(toSymbolName)),symbolNames;}}class CapturedBlockArgumentsImpl{constructor(names,values){_defineProperty(this,\"length\",void 0);this.names=names,this.values=values,this.length=names.length;}has(name){return-1!==this.names.indexOf(name);}get(name){let idx=this.names.indexOf(name);return-1===idx?null:[this.values[3*idx+2],this.values[3*idx+1],this.values[3*idx]];}}function createCapturedArgs(named,positional){return{named:named,positional:positional};}function reifyNamed(named){let reified=dict();for(const[key,value]of Object.entries(named))reified[key]=valueForRef(value);return reified;}function reifyPositional(positional){return positional.map(valueForRef);}function reifyArgs(args){return{named:reifyNamed(args.named),positional:reifyPositional(args.positional)};}const ARGUMENT_ERROR=Symbol(\"ARGUMENT_ERROR\");function isArgumentError(arg){return null!==arg&&\"object\"==typeof arg&&arg[ARGUMENT_ERROR];}function ArgumentErrorImpl(error){return{[ARGUMENT_ERROR]:!0,error:error};}function reifyArgsDebug(args){return{named:function(named){let reified=dict();for(const[key,value]of Object.entries(named))try{reified[key]=valueForRef(value);}catch(e){reified[key]=ArgumentErrorImpl(e);}return reified;}(args.named),positional:(positional=args.positional,positional.map(p=>{try{return valueForRef(p);}catch(e){return ArgumentErrorImpl(e);}}))};var positional;}const EMPTY_NAMED=Object.freeze(Object.create(null)),EMPTY_POSITIONAL=EMPTY_REFERENCES,EMPTY_ARGS=createCapturedArgs(EMPTY_NAMED,EMPTY_POSITIONAL);function castToString(value){return\"string\"==typeof value?value:\"function\"!=typeof value.toString?\"\":String(value);}function resolveHelper(definition,ref){let helper,managerOrHelper=getInternalHelperManager(definition,!0);if(null===managerOrHelper?helper=null:(helper=\"function\"==typeof managerOrHelper?managerOrHelper:managerOrHelper.getHelper(definition),debugAssert(managerOrHelper,\"BUG: expected manager or helper\")),false/* DEBUG */);return helper;}function isUndefinedReference(input){return debugAssert(Array.isArray(input)||input===UNDEFINED_REFERENCE,\"a reference other than UNDEFINED_REFERENCE is illegal here\"),input===UNDEFINED_REFERENCE;}APPEND_OPCODES.add(Op.Curry,(vm,_ref98)=>{let{op1:type,op2:_isStrict}=_ref98;let stack=vm.stack,definition=stack.pop(),capturedArgs=stack.pop(),owner=vm.getOwner();vm.runtime.resolver;vm.loadValue($v0,function(type,inner,owner,args,resolver,isStrict){let lastValue,curriedDefinition;return createComputeRef(()=>{let value=valueForRef(inner);if(value===lastValue)return curriedDefinition;if(isCurriedType(value,type))curriedDefinition=args?curry(type,value,owner,args):args;else if(type===CurriedTypes.Component&&\"string\"==typeof value&&value){curriedDefinition=curry(type,value,owner,args);}else curriedDefinition=isObject(value)?curry(type,value,owner,args):null;return lastValue=value,curriedDefinition;});}(type,definition,owner,capturedArgs));}),APPEND_OPCODES.add(Op.DynamicHelper,vm=>{let helperRef,stack=vm.stack,ref=stack.pop(),args=stack.pop().capture(),initialOwner=vm.getOwner(),helperInstanceRef=createComputeRef(()=>{void 0!==helperRef&&destroy(helperRef);let definition=valueForRef(ref);if(isCurriedType(definition,CurriedTypes.Helper)){let{definition:resolvedDef,owner:owner,positional:positional,named:named}=resolveCurriedValue(definition),helper=resolveHelper(resolvedDef);void 0!==named&&(args.named=assign({},...named,args.named)),void 0!==positional&&(args.positional=positional.concat(args.positional)),helperRef=helper(args,owner),associateDestroyableChild(helperInstanceRef,helperRef);}else if(isObject(definition)){let helper=resolveHelper(definition);helperRef=helper(args,initialOwner),_hasDestroyableChildren(helperRef)&&associateDestroyableChild(helperInstanceRef,helperRef);}else helperRef=UNDEFINED_REFERENCE;}),helperValueRef=createComputeRef(()=>(valueForRef(helperInstanceRef),valueForRef(helperRef)));vm.associateDestroyable(helperInstanceRef),vm.loadValue($v0,helperValueRef);}),APPEND_OPCODES.add(Op.Helper,(vm,_ref99)=>{let{op1:handle}=_ref99;let stack=vm.stack,value=vm[CONSTANTS].getValue(handle)(stack.pop().capture(),vm.getOwner(),vm.dynamicScope());_hasDestroyableChildren(value)&&vm.associateDestroyable(value),vm.loadValue($v0,value);}),APPEND_OPCODES.add(Op.GetVariable,(vm,_ref100)=>{let{op1:symbol}=_ref100;let expr=vm.referenceForSymbol(symbol);vm.stack.push(expr);}),APPEND_OPCODES.add(Op.SetVariable,(vm,_ref101)=>{let{op1:symbol}=_ref101;let expr=vm.stack.pop();vm.scope().bindSymbol(symbol,expr);}),APPEND_OPCODES.add(Op.SetBlock,(vm,_ref102)=>{let{op1:symbol}=_ref102;let handle=vm.stack.pop(),scope=vm.stack.pop(),table=vm.stack.pop();vm.scope().bindBlock(symbol,[handle,scope,table]);}),APPEND_OPCODES.add(Op.ResolveMaybeLocal,(vm,_ref103)=>{let{op1:_name}=_ref103;let name=vm[CONSTANTS].getValue(_name),ref=vm.scope().getPartialMap()[name];void 0===ref&&(ref=childRefFor(vm.getSelf(),name)),vm.stack.push(ref);}),APPEND_OPCODES.add(Op.RootScope,(vm,_ref104)=>{let{op1:symbols}=_ref104;vm.pushRootScope(symbols,vm.getOwner());}),APPEND_OPCODES.add(Op.GetProperty,(vm,_ref105)=>{let{op1:_key}=_ref105;let key=vm[CONSTANTS].getValue(_key),expr=vm.stack.pop();vm.stack.push(childRefFor(expr,key));}),APPEND_OPCODES.add(Op.GetBlock,(vm,_ref106)=>{let{op1:_block}=_ref106;let{stack:stack}=vm,block=vm.scope().getBlock(_block);stack.push(block);}),APPEND_OPCODES.add(Op.SpreadBlock,vm=>{let{stack:stack}=vm,block=stack.pop();if(block&&!isUndefinedReference(block)){let[handleOrCompilable,scope,table]=block;stack.push(table),stack.push(scope),stack.push(handleOrCompilable);}else stack.push(null),stack.push(null),stack.push(null);}),APPEND_OPCODES.add(Op.HasBlock,vm=>{let{stack:stack}=vm,block=stack.pop();block&&!isUndefinedReference(block)?stack.push(TRUE_REFERENCE):stack.push(FALSE_REFERENCE);}),APPEND_OPCODES.add(Op.HasBlockParams,vm=>{// FIXME(mmun): should only need to push the symbol table\nvm.stack.pop(),vm.stack.pop();let table=vm.stack.pop(),hasBlockParams=table&&table.parameters.length;vm.stack.push(hasBlockParams?TRUE_REFERENCE:FALSE_REFERENCE);}),APPEND_OPCODES.add(Op.Concat,(vm,_ref107)=>{let{op1:count}=_ref107;let out=new Array(count);for(let i=count;i>0;i--)out[i-1]=vm.stack.pop();var partsRefs;vm.stack.push((partsRefs=out,createComputeRef(()=>{const parts=[];for(const ref of partsRefs){const value=valueForRef(ref);null!=value&&parts.push(castToString(value));}return parts.length>0?parts.join(\"\"):null;})));}),APPEND_OPCODES.add(Op.IfInline,vm=>{let condition=vm.stack.pop(),truthy=vm.stack.pop(),falsy=vm.stack.pop();vm.stack.push(createComputeRef(()=>!0===toBool$1(valueForRef(condition))?valueForRef(truthy):valueForRef(falsy)));}),APPEND_OPCODES.add(Op.Not,vm=>{let ref=vm.stack.pop();vm.stack.push(createComputeRef(()=>!toBool$1(valueForRef(ref))));}),APPEND_OPCODES.add(Op.GetDynamicVar,vm=>{let scope=vm.dynamicScope(),stack=vm.stack,nameRef=stack.pop();stack.push(createComputeRef(()=>{let name=String(valueForRef(nameRef));return valueForRef(scope.get(name));}));}),APPEND_OPCODES.add(Op.Log,vm=>{let{positional:positional}=vm.stack.pop().capture();vm.loadValue($v0,createComputeRef(()=>{// eslint-disable-next-line no-console\nconsole.log(...reifyPositional(positional));}));});class DynamicTextContent{constructor(node,reference,lastValue){this.node=node,this.reference=reference,this.lastValue=lastValue;}evaluate(){let normalized,value=valueForRef(this.reference),{lastValue:lastValue}=this;value!==lastValue&&(normalized=isEmpty$2(value)?\"\":isString(value)?value:String(value),normalized!==lastValue)&&(this.node.nodeValue=this.lastValue=normalized);}}function toContentType(value){return function(value){return isString(value)||isEmpty$2(value)||\"boolean\"==typeof value||\"number\"==typeof value;}(value)?ContentType.String:isCurriedType(value,CurriedTypes.Component)||hasInternalComponentManager(value)?ContentType.Component:isCurriedType(value,CurriedTypes.Helper)||hasInternalHelperManager(value)?ContentType.Helper:isSafeString(value)?ContentType.SafeString:function(value){return isNode(value)&&11===value.nodeType;}(value)?ContentType.Fragment:isNode(value)?ContentType.Node:ContentType.String;}function toDynamicContentType(value){if(!isObject(value))return ContentType.String;if(isCurriedType(value,CurriedTypes.Component)||hasInternalComponentManager(value))return ContentType.Component;return ContentType.Helper;}function debugCallback(context,get){// eslint-disable-next-line no-console\nconsole.info(\"Use `context`, and `get(<path>)` to debug this template.\"),get(\"this\");}APPEND_OPCODES.add(Op.ContentType,vm=>{let reference=vm.stack.peek();vm.stack.push(toContentType(valueForRef(reference))),isConstRef(reference)||vm.updateWith(new AssertFilter(reference,toContentType));}),APPEND_OPCODES.add(Op.DynamicContentType,vm=>{let reference=vm.stack.peek();vm.stack.push(toDynamicContentType(valueForRef(reference))),isConstRef(reference)||vm.updateWith(new AssertFilter(reference,toDynamicContentType));}),APPEND_OPCODES.add(Op.AppendHTML,vm=>{let reference=vm.stack.pop(),rawValue=valueForRef(reference),value=isEmpty$2(rawValue)?\"\":String(rawValue);vm.elements().appendDynamicHTML(value);}),APPEND_OPCODES.add(Op.AppendSafeHTML,vm=>{let reference=vm.stack.pop(),rawValue=valueForRef(reference).toHTML(),value=isEmpty$2(rawValue)?\"\":rawValue;vm.elements().appendDynamicHTML(value);}),APPEND_OPCODES.add(Op.AppendText,vm=>{let reference=vm.stack.pop(),rawValue=valueForRef(reference),value=isEmpty$2(rawValue)?\"\":String(rawValue),node=vm.elements().appendDynamicText(value);isConstRef(reference)||vm.updateWith(new DynamicTextContent(node,reference,value));}),APPEND_OPCODES.add(Op.AppendDocumentFragment,vm=>{let reference=vm.stack.pop(),value=valueForRef(reference);vm.elements().appendDynamicFragment(value);}),APPEND_OPCODES.add(Op.AppendNode,vm=>{let reference=vm.stack.pop(),value=valueForRef(reference);vm.elements().appendDynamicNode(value);});let callback=debugCallback;// For testing purposes\nfunction setDebuggerCallback(cb){callback=cb;}function resetDebuggerCallback(){callback=debugCallback;}class ScopeInspector{constructor(scope,symbols,debugInfo){_defineProperty(this,\"locals\",dict());this.scope=scope;for(const slot of debugInfo){let name=unwrap$1(symbols[slot-1]),ref=scope.getSymbol(slot);this.locals[name]=ref;}}get(path){let ref,{scope:scope,locals:locals}=this,parts=path.split(\".\"),[head,...tail]=path.split(\".\"),evalScope=scope.getEvalScope();return\"this\"===head?ref=scope.getSelf():locals[head]?ref=unwrap$1(locals[head]):0===head.indexOf(\"@\")&&evalScope[head]?ref=evalScope[head]:(ref=this.scope.getSelf(),tail=parts),tail.reduce((r,part)=>childRefFor(r,part),ref);}}APPEND_OPCODES.add(Op.Debugger,(vm,_ref108)=>{let{op1:_symbols,op2:_debugInfo}=_ref108;let symbols=vm[CONSTANTS].getArray(_symbols),debugInfo=vm[CONSTANTS].getArray(decodeHandle(_debugInfo)),inspector=new ScopeInspector(vm.scope(),symbols,debugInfo);callback(valueForRef(vm.getSelf()),path=>valueForRef(inspector.get(path)));}),APPEND_OPCODES.add(Op.EnterList,(vm,_ref109)=>{let{op1:relativeStart,op2:elseTarget}=_ref109;let stack=vm.stack,listRef=stack.pop(),keyRef=stack.pop(),keyValue=valueForRef(keyRef),key=null===keyValue?\"@identity\":String(keyValue),iteratorRef=createIteratorRef(listRef,key),iterator=valueForRef(iteratorRef);vm.updateWith(new AssertFilter(iteratorRef,iterator=>iterator.isEmpty())),!0===iterator.isEmpty()?// TODO: Fix this offset, should be accurate\nvm.goto(elseTarget+1):(vm.enterList(iteratorRef,relativeStart),vm.stack.push(iterator));}),APPEND_OPCODES.add(Op.ExitList,vm=>{vm.exitList();}),APPEND_OPCODES.add(Op.Iterate,(vm,_ref110)=>{let{op1:breaks}=_ref110;let item=vm.stack.peek().next();null!==item?vm.registerItem(vm.enterItem(item)):vm.goto(breaks);});const CAPABILITIES$3={dynamicLayout:!1,dynamicTag:!1,prepareArgs:!1,createArgs:!1,attributeHook:!1,elementHook:!1,createCaller:!1,dynamicScope:!1,updateHook:!1,createInstance:!1,wrapped:!1,willDestroy:!1,hasSubOwner:!1};class TemplateOnlyComponentManager{getCapabilities(){return CAPABILITIES$3;}getDebugName(_ref111){let{name:name}=_ref111;return name;}getSelf(){return NULL_REFERENCE;}getDestroyable(){return null;}}const TEMPLATE_ONLY_COMPONENT_MANAGER=new TemplateOnlyComponentManager();// This is only exported for types, don't use this class directly\nclass TemplateOnlyComponentDefinition{constructor(){let moduleName=arguments.length>0&&arguments[0]!==undefined?arguments[0]:\"@glimmer/component/template-only\";let name=arguments.length>1&&arguments[1]!==undefined?arguments[1]:\"(unknown template-only component)\";this.moduleName=moduleName,this.name=name;}toString(){return this.moduleName;}}/**\n            This utility function is used to declare a given component has no backing class. When the rendering engine detects this it\n            is able to perform a number of optimizations. Templates that are associated with `templateOnly()` will be rendered _as is_\n            without adding a wrapping `<div>` (or any of the other element customization behaviors of [@ember/component](/ember/release/classes/Component)).\n            Specifically, this means that the template will be rendered as \"outer HTML\".\n\n            In general, this method will be used by build time tooling and would not be directly written in an application. However,\n            at times it may be useful to use directly to leverage the \"outer HTML\" semantics mentioned above. For example, if an addon would like\n            to use these semantics for its templates but cannot be certain it will only be consumed by applications that have enabled the\n            `template-only-glimmer-components` optional feature.\n\n            @example\n\n            ```js\n            import { templateOnlyComponent } from '@glimmer/runtime';\n\n            export default templateOnlyComponent();\n            ```\n\n            @public\n            @method templateOnly\n            @param {String} moduleName the module name that the template only component represents, this will be used for debugging purposes\n            @category EMBER_GLIMMER_SET_COMPONENT_TEMPLATE\n          */function templateOnlyComponent(moduleName,name){return new TemplateOnlyComponentDefinition(moduleName,name);}// http://www.w3.org/TR/html/syntax.html#html-integration-point\nsetInternalComponentManager(TEMPLATE_ONLY_COMPONENT_MANAGER,TemplateOnlyComponentDefinition.prototype);const SVG_INTEGRATION_POINTS={foreignObject:1,desc:1,title:1},BLACKLIST_TABLE=Object.create(null);// 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\nclass DOMOperations{// Set by this.setupUselessElement() in constructor\nconstructor(document){this.document=document,this.setupUselessElement();}// split into separate method so that NodeDOMTreeConstruction\n// can override it.\nsetupUselessElement(){this.uselessElement=this.document.createElement(\"div\");}createElement(tag,context){let isElementInSVGNamespace,isHTMLIntegrationPoint;if(context?(isElementInSVGNamespace=context.namespaceURI===NS_SVG||\"svg\"===tag,isHTMLIntegrationPoint=!!SVG_INTEGRATION_POINTS[context.tagName]):(isElementInSVGNamespace=\"svg\"===tag,isHTMLIntegrationPoint=!1),isElementInSVGNamespace&&!isHTMLIntegrationPoint){// FIXME: This does not properly handle <font> with color, face, or\n// size attributes, which is also disallowed by the spec. We should fix\n// this.\nif(BLACKLIST_TABLE[tag])throw new Error(`Cannot create a ${tag} inside an SVG context`);return this.document.createElementNS(NS_SVG,tag);}return this.document.createElement(tag);}insertBefore(parent,node,reference){parent.insertBefore(node,reference);}insertHTMLBefore(parent,nextSibling,html){if(\"\"===html){const comment=this.createComment(\"\");return parent.insertBefore(comment,nextSibling),new ConcreteBounds(parent,comment,comment);}const prev=nextSibling?nextSibling.previousSibling:parent.lastChild;let last;if(null===nextSibling)parent.insertAdjacentHTML(INSERT_BEFORE_END,html),last=expect(parent.lastChild,\"bug in insertAdjacentHTML?\");else if(nextSibling instanceof HTMLElement)nextSibling.insertAdjacentHTML(\"beforebegin\",html),last=expect(nextSibling.previousSibling,\"bug in insertAdjacentHTML?\");else{// Non-element nodes do not support insertAdjacentHTML, so add an\n// element and call it on that element. Then remove the element.\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\nconst{uselessElement:uselessElement}=this;parent.insertBefore(uselessElement,nextSibling),uselessElement.insertAdjacentHTML(INSERT_BEFORE_BEGIN,html),last=expect(uselessElement.previousSibling,\"bug in insertAdjacentHTML?\"),parent.removeChild(uselessElement);}const first=expect(prev?prev.nextSibling:parent.firstChild,\"bug in insertAdjacentHTML?\");return new ConcreteBounds(parent,first,last);}createTextNode(text){return this.document.createTextNode(text);}createComment(data){return this.document.createComment(data);}}// Patch:    insertAdjacentHTML on SVG Fix\n// Browsers: Safari, IE, Edge, Firefox ~33-34\n// Reason:   insertAdjacentHTML does not exist on SVG elements in Safari. It is\n//           present but throws an exception on IE and Edge. Old versions of\n//           Firefox create nodes in the incorrect namespace.\n// Fix:      Since IE and Edge silently fail to create SVG nodes using\n//           innerHTML, and because Firefox may create nodes in the incorrect\n//           namespace using innerHTML on SVG elements, an HTML-string wrapping\n//           approach is used. A pre/post SVG tag is added to the string, then\n//           that whole string is added to a div. The created nodes are plucked\n//           out and applied to the target location on DOM.\nfunction applySVGInnerHTMLFix(document,DOMClass,svgNamespace){if(!document)return DOMClass;if(!function(document,svgNamespace){const svg=document.createElementNS(svgNamespace,\"svg\");try{svg.insertAdjacentHTML(INSERT_BEFORE_END,\"<circle></circle>\");}catch(e){// IE, Edge: Will throw, insertAdjacentHTML is unsupported on SVG\n// Safari: Will throw, insertAdjacentHTML is not present on SVG\n}finally{// FF: Old versions will create a node in the wrong namespace\nreturn 1!==svg.childNodes.length||castToBrowser(unwrap$1(svg.firstChild),\"SVG\").namespaceURI!==NS_SVG;// eslint-disable-next-line no-unsafe-finally\n}}// Patch:    Adjacent text node merging fix\n// Browsers: IE, Edge, Firefox w/o inspector open\n// Reason:   These browsers will merge adjacent text nodes. For example given\n//           <div>Hello</div> with div.insertAdjacentHTML(' world') browsers\n//           with proper behavior will populate div.childNodes with two items.\n//           These browsers will populate it with one merged node instead.\n// Fix:      Add these nodes to a wrapper element, then iterate the childNodes\n//           of that wrapper and move the nodes to their target location. Note\n//           that potential SVG bugs will have been handled before this fix.\n//           Note that this fix must only apply to the previous text node, as\n//           the base implementation of `insertHTMLBefore` already handles\n//           following text nodes correctly.\n(document,svgNamespace))return DOMClass;const div=document.createElement(\"div\");return class extends DOMClass{insertHTMLBefore(parent,nextSibling,html){return\"\"===html||parent.namespaceURI!==svgNamespace?super.insertHTMLBefore(parent,nextSibling,html):function(parent,div,html,reference){let source;// This is important, because descendants of the <foreignObject> integration\n// point are parsed in the HTML namespace\nif(debugAssert(\"\"!==html,\"html cannot be empty\"),\"FOREIGNOBJECT\"===parent.tagName.toUpperCase()){// IE, Edge: also do not correctly support using `innerHTML` on SVG\n// namespaced elements. So here a wrapper is used.\nconst wrappedHtml=\"<svg><foreignObject>\"+html+\"</foreignObject></svg>\";clearElement(div),div.insertAdjacentHTML(INSERT_AFTER_BEGIN,wrappedHtml),source=div.firstChild.firstChild;}else{// IE, Edge: also do not correctly support using `innerHTML` on SVG\n// namespaced elements. So here a wrapper is used.\nconst wrappedHtml=\"<svg>\"+html+\"</svg>\";clearElement(div),div.insertAdjacentHTML(INSERT_AFTER_BEGIN,wrappedHtml),source=div.firstChild;}return function(source,target,nextSibling){const first=expect(source.firstChild,\"source is empty\");let last=first,current=first;for(;current;){const next=current.nextSibling;target.insertBefore(current,nextSibling),last=current,current=next;}return new ConcreteBounds(target,first,last);}(source,parent,reference);}(parent,div,html,nextSibling);}};}function applyTextNodeMergingFix(document,DOMClass){return document&&function(document){const mergingTextDiv=document.createElement(\"div\");return mergingTextDiv.appendChild(document.createTextNode(\"first\")),mergingTextDiv.insertAdjacentHTML(INSERT_BEFORE_END,\"second\"),2!==mergingTextDiv.childNodes.length;}(document)?class extends DOMClass{constructor(document){super(document),_defineProperty(this,\"uselessComment\",void 0),this.uselessComment=document.createComment(\"\");}insertHTMLBefore(parent,nextSibling,html){if(\"\"===html)return super.insertHTMLBefore(parent,nextSibling,html);let didSetUselessComment=!1;const nextPrevious=nextSibling?nextSibling.previousSibling:parent.lastChild;nextPrevious&&nextPrevious instanceof Text&&(didSetUselessComment=!0,parent.insertBefore(this.uselessComment,nextSibling));const bounds=super.insertHTMLBefore(parent,nextSibling,html);return didSetUselessComment&&parent.removeChild(this.uselessComment),bounds;}}:DOMClass;}const doc$1=\"undefined\"==typeof document?null:castToSimple(document);let appliedTreeConstruction=class extends DOMOperations{createElementNS(namespace,tag){return this.document.createElementNS(namespace,tag);}setAttribute(element,name,value){let namespace=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null;namespace?element.setAttributeNS(namespace,name,value):element.setAttribute(name,value);}};appliedTreeConstruction=applyTextNodeMergingFix(doc$1,appliedTreeConstruction),appliedTreeConstruction=applySVGInnerHTMLFix(doc$1,appliedTreeConstruction,NS_SVG);const DOMTreeConstruction=appliedTreeConstruction;[\"b\",\"big\",\"blockquote\",\"body\",\"br\",\"center\",\"code\",\"dd\",\"div\",\"dl\",\"dt\",\"em\",\"embed\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"head\",\"hr\",\"i\",\"img\",\"li\",\"listing\",\"main\",\"meta\",\"nobr\",\"ol\",\"p\",\"pre\",\"ruby\",\"s\",\"small\",\"span\",\"strong\",\"strike\",\"sub\",\"sup\",\"table\",\"tt\",\"u\",\"ul\",\"var\"].forEach(tag=>BLACKLIST_TABLE[tag]=1);const WHITESPACE=/[\\t\\n\\v\\f\\r \\xA0\\u{1680}\\u{180e}\\u{2000}-\\u{200a}\\u{2028}\\u{2029}\\u{202f}\\u{205f}\\u{3000}\\u{feff}]/u,doc=\"undefined\"==typeof document?null:castToSimple(document);function isWhitespace(string){return WHITESPACE.test(string);}class DOMChangesImpl extends DOMOperations{constructor(document){super(document),_defineProperty(this,\"namespace\",void 0),this.document=document,this.namespace=null;}setAttribute(element,name,value){element.setAttribute(name,value);}removeAttribute(element,name){element.removeAttribute(name);}insertAfter(element,node,reference){this.insertBefore(element,node,reference.nextSibling);}}let helper$3=DOMChangesImpl;helper$3=applyTextNodeMergingFix(doc,helper$3),helper$3=applySVGInnerHTMLFix(doc,helper$3,NS_SVG);const DOMChanges=helper$3;let GUID=0;class Ref{constructor(value){_defineProperty(this,\"id\",GUID++);_defineProperty(this,\"value\",void 0);this.value=value;}get(){return this.value;}release(){this.value=null;}toString(){let label=`Ref ${this.id}`;if(null===this.value)return`${label} (released)`;try{return`${label}: ${this.value}`;}catch{return label;}}}class DebugRenderTreeImpl{constructor(){_defineProperty(this,\"stack\",new StackImpl());_defineProperty(this,\"refs\",new WeakMap());_defineProperty(this,\"roots\",new Set());_defineProperty(this,\"nodes\",new WeakMap());}begin(){this.reset();}create(state,node){let internalNode=assign({},node,{bounds:null,refs:new Set()});this.nodes.set(state,internalNode),this.appendChild(internalNode,state),this.enter(state);}update(state){this.enter(state);}didRender(state,bounds){this.nodeFor(state).bounds=bounds,this.exit();}willDestroy(state){expect(this.refs.get(state),\"BUG: missing ref\").release();}commit(){this.reset();}capture(){return this.captureRefs(this.roots);}reset(){if(0!==this.stack.size){// We probably encountered an error during the rendering loop. This will\n// likely trigger undefined behavior and memory leaks as the error left\n// things in an inconsistent state. It is recommended that the user\n// refresh the page.\n// TODO: We could warn here? But this happens all the time in our tests?\n// Clean up the root reference to prevent errors from happening if we\n// attempt to capture the render tree (Ember Inspector may do this)\nlet root=expect(this.stack.toArray()[0],\"expected root state when resetting render tree\"),ref=this.refs.get(root);for(void 0!==ref&&this.roots.delete(ref);!this.stack.isEmpty();)this.stack.pop();}}enter(state){this.stack.push(state);}exit(){this.stack.pop();}nodeFor(state){return expect(this.nodes.get(state),\"BUG: missing node\");}appendChild(node,state){let parent=this.stack.current,ref=new Ref(state);if(this.refs.set(state,ref),parent){let parentNode=this.nodeFor(parent);parentNode.refs.add(ref),node.parent=parentNode;}else this.roots.add(ref);}captureRefs(refs){let captured=[];return refs.forEach(ref=>{let state=ref.get();state?captured.push(this.captureNode(`render-node:${ref.id}`,state)):refs.delete(ref);}),captured;}captureNode(id,state){let node=this.nodeFor(state),{type:type,name:name,args:args,instance:instance,refs:refs}=node,template=this.captureTemplate(node),bounds=this.captureBounds(node),children=this.captureRefs(refs);return{id:id,type:type,name:name,args:reifyArgsDebug(args),instance:instance,template:template,bounds:bounds,children:children};}captureTemplate(_ref112){let{template:template}=_ref112;return template||null;}captureBounds(node){let bounds=expect(node.bounds,\"BUG: missing bounds\");return{parentElement:bounds.parentElement(),firstNode:bounds.firstNode(),lastNode:bounds.lastNode()};}}const TRANSACTION=Symbol(\"TRANSACTION\");class TransactionImpl{constructor(){_defineProperty(this,\"scheduledInstallModifiers\",[]);_defineProperty(this,\"scheduledUpdateModifiers\",[]);_defineProperty(this,\"createdComponents\",[]);_defineProperty(this,\"updatedComponents\",[]);}didCreate(component){this.createdComponents.push(component);}didUpdate(component){this.updatedComponents.push(component);}scheduleInstallModifier(modifier){this.scheduledInstallModifiers.push(modifier);}scheduleUpdateModifier(modifier){this.scheduledUpdateModifiers.push(modifier);}commit(){let{createdComponents:createdComponents,updatedComponents:updatedComponents}=this;for(const{manager:manager,state:state}of createdComponents)manager.didCreate(state);for(const{manager:manager,state:state}of updatedComponents)manager.didUpdate(state);let{scheduledInstallModifiers:scheduledInstallModifiers,scheduledUpdateModifiers:scheduledUpdateModifiers}=this;for(const{manager:manager,state:state,definition:definition}of scheduledInstallModifiers){let modifierTag=manager.getTag(state);if(null!==modifierTag){let tag=track(()=>manager.install(state));UPDATE_TAG(modifierTag,tag);}else manager.install(state);}for(const{manager:manager,state:state,definition:definition}of scheduledUpdateModifiers){let modifierTag=manager.getTag(state);if(null!==modifierTag){let tag=track(()=>manager.update(state));UPDATE_TAG(modifierTag,tag);}else manager.update(state);}}}class EnvironmentImpl{constructor(options,delegate){_defineProperty(this,TRANSACTION,null);_defineProperty(this,\"updateOperations\",void 0);// Delegate methods and values\n_defineProperty(this,\"isInteractive\",void 0);_defineProperty(this,\"isArgumentCaptureError\",void 0);_defineProperty(this,\"debugRenderTree\",void 0);if(this.delegate=delegate,this.isInteractive=delegate.isInteractive,this.debugRenderTree=this.delegate.enableDebugTooling?new DebugRenderTreeImpl():void 0,this.isArgumentCaptureError=this.delegate.enableDebugTooling?isArgumentError:void 0,options.appendOperations)this.appendOperations=options.appendOperations,this.updateOperations=options.updateOperations;else if(options.document)this.appendOperations=new DOMTreeConstruction(options.document),this.updateOperations=new DOMChangesImpl(options.document);else;}getAppendOperations(){return this.appendOperations;}getDOM(){return expect(this.updateOperations,\"Attempted to get DOM updateOperations, but they were not provided by the environment. You may be attempting to rerender in an environment which does not support rerendering, such as SSR.\");}begin(){var _this$debugRenderTree;debugAssert(!this[TRANSACTION],\"A glimmer transaction was begun, but one already exists. You may have a nested transaction, possibly caused by an earlier runtime exception while rendering. Please check your console for the stack trace of any prior exceptions.\"),(_this$debugRenderTree=this.debugRenderTree)!==null&&_this$debugRenderTree!==void 0&&_this$debugRenderTree.begin(),this[TRANSACTION]=new TransactionImpl();}get transaction(){return expect(this[TRANSACTION],\"must be in a transaction\");}didCreate(component){this.transaction.didCreate(component);}didUpdate(component){this.transaction.didUpdate(component);}scheduleInstallModifier(modifier){this.isInteractive&&this.transaction.scheduleInstallModifier(modifier);}scheduleUpdateModifier(modifier){this.isInteractive&&this.transaction.scheduleUpdateModifier(modifier);}commit(){var _this$debugRenderTree2;let transaction=this.transaction;this[TRANSACTION]=null,transaction.commit(),(_this$debugRenderTree2=this.debugRenderTree)!==null&&_this$debugRenderTree2!==void 0&&_this$debugRenderTree2.commit(),this.delegate.onTransactionCommit();}}function runtimeContext(options,delegate,artifacts,resolver){return{env:new EnvironmentImpl(options,delegate),program:new RuntimeProgramImpl(artifacts.constants,artifacts.heap),resolver:resolver};}function inTransaction(env,block){if(env[TRANSACTION])block();else{env.begin();try{block();}finally{env.commit();}}}function internalHelper$1(helper){return setInternalHelperManager(helper,{});}/**\n             Use the `{{array}}` helper to create an array to pass as an option to your\n             components.\n\n             ```handlebars\n             <MyComponent @people={{array\n               'Tom Dale'\n               'Yehuda Katz'\n               this.myOtherPerson}}\n             />\n             ```\n              or\n             ```handlebars\n             {{my-component people=(array\n               'Tom Dale'\n               'Yehuda Katz'\n               this.myOtherPerson)\n             }}\n             ```\n\n             Would result in an object such as:\n\n             ```js\n             ['Tom Dale', 'Yehuda Katz', this.get('myOtherPerson')]\n             ```\n\n             Where the 3rd item in the array is bound to updates of the `myOtherPerson` property.\n\n             @method array\n             @param {Array} options\n             @return {Array} Array\n             @public\n           */const array$1=internalHelper$1(_ref113=>{let{positional:positional}=_ref113;return createComputeRef(()=>reifyPositional(positional),null,\"array\");}),normalizeTextValue=value=>(value=>null==value||\"function\"!=typeof value.toString)(value)?\"\":String(value),concat$1=internalHelper$1(_ref114=>{let{positional:positional}=_ref114;return createComputeRef(()=>reifyPositional(positional).map(normalizeTextValue).join(\"\"),null,\"concat\");}),context=buildUntouchableThis(),fn$1=internalHelper$1(_ref115=>{let{positional:positional}=_ref115;let callbackRef=positional[0];return createComputeRef(()=>function(){let[fn,...args]=reifyPositional(positional);for(var _len36=arguments.length,invocationArgs=new Array(_len36),_key37=0;_key37<_len36;_key37++){invocationArgs[_key37]=arguments[_key37];}if(isInvokableRef(callbackRef)){let value=args.length>0?args[0]:invocationArgs[0];return updateRef(callbackRef,value);}return fn.call(context,...args,...invocationArgs);},null,\"fn\");}),get$1=internalHelper$1(_ref116=>{let{positional:positional}=_ref116;let sourceRef=positional[0]??UNDEFINED_REFERENCE,pathRef=positional[1]??UNDEFINED_REFERENCE;return createComputeRef(()=>{let source=valueForRef(sourceRef);if(isDict(source))return getPath$1(source,String(valueForRef(pathRef)));},value=>{let source=valueForRef(sourceRef);if(isDict(source))return setPath(source,String(valueForRef(pathRef)),value);},\"get\");}),hash$1=internalHelper$1(_ref117=>{let{named:named}=_ref117;let ref=createComputeRef(()=>reifyNamed(named),null,\"hash\"),children=new Map();// Setup the children so that templates can bypass getting the value of\n// the reference and treat children lazily\nfor(let name in named)children.set(name,named[name]);return ref.children=children,ref;});function getArgs(proxy){return getValue(proxy.argsCache);}class SimpleArgsProxy{constructor(context){let computeArgs=arguments.length>1&&arguments[1]!==undefined?arguments[1]:()=>EMPTY_ARGS;_defineProperty(this,\"argsCache\",void 0);let argsCache=createCache(()=>computeArgs(context));this.argsCache=argsCache;}get named(){return getArgs(this).named||EMPTY_NAMED;}get positional(){return getArgs(this).positional||EMPTY_POSITIONAL;}}////////////\nfunction invokeHelper$1(context,definition,computeArgs){const owner=getOwner$3(context),internalManager=getInternalHelperManager(definition);const manager=internalManager.getDelegateFor(owner);let cache,args=new SimpleArgsProxy(context,computeArgs),bucket=manager.createHelper(definition,args);if(!hasValue(manager))throw new Error(\"TODO: unreachable, to be implemented with hasScheduledEffect\");if(cache=createCache(()=>{return manager.getValue(bucket);}),associateDestroyableChild(context,cache),hasDestroyable(manager)){let destroyable=manager.getDestroyable(bucket);associateDestroyableChild(cache,destroyable);}return cache;}class OnModifierState{constructor(element,args){_defineProperty(this,\"tag\",createUpdatableTag());_defineProperty(this,\"element\",void 0);_defineProperty(this,\"args\",void 0);_defineProperty(this,\"listener\",null);this.element=element,this.args=args,registerDestructor$1(this,()=>{let{element:element,listener:listener}=this;if(listener){let{eventName:eventName,callback:callback,options:options}=listener;removeEventListener(element,eventName,callback,options);}});}// Update this.listener if needed\nupdateListener(){let{element:element,args:args,listener:listener}=this;debugAssert(args.positional[0],\"You must pass a valid DOM event name as the first argument to the `on` modifier\");let eventName=valueForRef(args.positional[0]);debugAssert(args.positional[1],\"You must pass a function as the second argument to the `on` modifier\");let once,passive,capture,userProvidedCallback=valueForRef(args.positional[1]);{let{once:_once,passive:_passive,capture:_capture}=args.named;_once&&(once=valueForRef(_once)),_passive&&(passive=valueForRef(_passive)),_capture&&(capture=valueForRef(_capture));}let options,shouldUpdate=!1;if(shouldUpdate=null===listener||eventName!==listener.eventName||userProvidedCallback!==listener.userProvidedCallback||once!==listener.once||passive!==listener.passive||capture!==listener.capture,// we want to handle both `true` and `false` because both have a meaning:\n// https://bugs.chromium.org/p/chromium/issues/detail?id=770208\nshouldUpdate&&(void 0===once&&void 0===passive&&void 0===capture||(options={once:once,passive:passive,capture:capture})),shouldUpdate){let callback=userProvidedCallback;this.listener={eventName:eventName,callback:callback,userProvidedCallback:userProvidedCallback,once:once,passive:passive,capture:capture,options:options},listener&&removeEventListener(element,listener.eventName,listener.callback,listener.options),function(element,eventName,callback,options){adds++,element.addEventListener(eventName,callback,options);}/**\n                The `{{on}}` modifier lets you easily add event listeners (it uses\n                [EventTarget.addEventListener](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n                internally).\n                For example, if you'd like to run a function on your component when a `<button>`\n                in the components template is clicked you might do something like:\n                ```app/components/like-post.hbs\n                <button {{on 'click' this.saveLike}}>Like this post!</button>\n                ```\n                ```app/components/like-post.js\n                import Component from '@glimmer/component';\n                import { action } from '@ember/object';\n                export default class LikePostComponent extends Component {\n                saveLike = () => {\n                // someone likes your post!\n                // better send a request off to your server...\n                }\n                }\n                ```\n                ### Arguments\n                `{{on}}` accepts two positional arguments, and a few named arguments.\n                The positional arguments are:\n                - `event` -- the name to use when calling `addEventListener`\n                - `callback` -- the function to be passed to `addEventListener`\n                The named arguments are:\n                - capture -- a `true` value indicates that events of this type will be dispatched\n                to the registered listener before being dispatched to any EventTarget beneath it\n                in the DOM tree.\n                - once -- indicates that the listener should be invoked at most once after being\n                added. If true, the listener would be automatically removed when invoked.\n                - passive -- if `true`, indicates that the function specified by listener will never\n                call preventDefault(). If a passive listener does call preventDefault(), the user\n                agent will do nothing other than generate a console warning. See\n                [Improving scrolling performance with passive listeners](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Improving_scrolling_performance_with_passive_listeners)\n                to learn more.\n                The callback function passed to `{{on}}` will receive any arguments that are passed\n                to the event handler. Most commonly this would be the `event` itself.\n                If you would like to pass additional arguments to the function you should use\n                the `{{fn}}` helper.\n                For example, in our example case above if you'd like to pass in the post that\n                was being liked when the button is clicked you could do something like:\n                ```app/components/like-post.hbs\n                <button {{on 'click' (fn this.saveLike @post)}}>Like this post!</button>\n                ```\n                In this case, the `saveLike` function will receive two arguments: the click event\n                and the value of `@post`.\n                ### Function Context\n                In the example above, we used an arrow function to ensure that `likePost` is\n                properly bound to the `items-list`, but let's explore what happens if we\n                left out the arrow function:\n                ```app/components/like-post.js\n                import Component from '@glimmer/component';\n                export default class LikePostComponent extends Component {\n                saveLike() {\n                // ...snip...\n                }\n                }\n                ```\n                In this example, when the button is clicked `saveLike` will be invoked,\n                it will **not** have access to the component instance. In other\n                words, it will have no `this` context, so please make sure your functions\n                are bound (via an arrow function or other means) before passing into `on`!\n                @method on\n                @public\n                */(element,eventName,callback,options);}}}let adds=0,removes=0;function removeEventListener(element,eventName,callback,options){removes++,element.removeEventListener(eventName,callback,options);}const on$1=setInternalModifierManager(new class{getDebugName(){return\"on\";}getDebugInstance(){return null;}get counters(){return{adds:adds,removes:removes};}create(_owner,element,_state,args){return new OnModifierState(element,args);}getTag(_ref118){let{tag:tag}=_ref118;return tag;}install(state){state.updateListener();}update(state){state.updateListener();}getDestroyable(state){return state;}}(),{});class LowLevelVM{constructor(stack,heap,program,externs,registers){_defineProperty(this,\"currentOpSize\",0);this.stack=stack,this.heap=heap,this.program=program,this.externs=externs,this.registers=registers;}fetchRegister(register){return this.registers[register];}loadRegister(register,value){this.registers[register]=value;}setPc(pc){debugAssert(\"number\"==typeof pc&&!isNaN(pc),\"pc is set to a number\"),this.registers[$pc]=pc;}// Start a new frame and save $ra and $fp on the stack\npushFrame(){this.stack.push(this.registers[$ra]),this.stack.push(this.registers[$fp]),this.registers[$fp]=this.registers[$sp]-1;}// Restore $ra, $sp and $fp\npopFrame(){this.registers[$sp]=this.registers[$fp]-1,this.registers[$ra]=this.stack.get(0),this.registers[$fp]=this.stack.get(1);}pushSmallFrame(){this.stack.push(this.registers[$ra]);}popSmallFrame(){this.registers[$ra]=this.stack.pop();}// Jump to an address in `program`\ngoto(offset){this.setPc(this.target(offset));}target(offset){return this.registers[$pc]+offset-this.currentOpSize;}// Save $pc into $ra, then jump to a new address in `program` (jal in MIPS)\ncall(handle){debugAssert(handle<4294967295,\"Jumping to placeholder address\"),this.registers[$ra]=this.registers[$pc],this.setPc(this.heap.getaddr(handle));}// Put a specific `program` address in $ra\nreturnTo(offset){this.registers[$ra]=this.target(offset);}// Return to the `program` address stored in $ra\nreturn(){this.setPc(this.registers[$ra]);}nextStatement(){let{registers:registers,program:program}=this,pc=registers[$pc];if(debugAssert(\"number\"==typeof pc,\"pc is a number\"),-1===pc)return null;// We have to save off the current operations size so that\n// when we do a jump we can calculate the correct offset\n// to where we are going. We can't simply ask for the size\n// in a jump because we have have already incremented the\n// program counter to the next instruction prior to executing.\nlet opcode=program.opcode(pc),operationSize=this.currentOpSize=opcode.size;return this.registers[$pc]+=operationSize,opcode;}evaluateOuter(opcode,vm){this.evaluateInner(opcode,vm);}evaluateInner(opcode,vm){opcode.isMachine?this.evaluateMachine(opcode):this.evaluateSyscall(opcode,vm);}evaluateMachine(opcode){switch(opcode.type){case MachineOp.PushFrame:return this.pushFrame();case MachineOp.PopFrame:return this.popFrame();case MachineOp.InvokeStatic:return this.call(opcode.op1);case MachineOp.InvokeVirtual:return this.call(this.stack.pop());case MachineOp.Jump:return this.goto(opcode.op1);case MachineOp.Return:return this.return();case MachineOp.ReturnTo:return this.returnTo(opcode.op1);}}evaluateSyscall(opcode,vm){APPEND_OPCODES.evaluate(vm,opcode,opcode.type);}}class UpdatingVM{constructor(env,_ref119){let{alwaysRevalidate=!1}=_ref119;_defineProperty(this,\"env\",void 0);_defineProperty(this,\"dom\",void 0);_defineProperty(this,\"alwaysRevalidate\",void 0);_defineProperty(this,\"frameStack\",new StackImpl());this.env=env,this.dom=env.getDOM(),this.alwaysRevalidate=alwaysRevalidate;}execute(opcodes,handler){this._execute(opcodes,handler);}_execute(opcodes,handler){let{frameStack:frameStack}=this;for(this.try(opcodes,handler);!frameStack.isEmpty();){let opcode=this.frame.nextStatement();void 0!==opcode?opcode.evaluate(this):frameStack.pop();}}get frame(){return expect(this.frameStack.current,\"bug: expected a frame\");}goto(index){this.frame.goto(index);}try(ops,handler){this.frameStack.push(new UpdatingVMFrame(ops,handler));}throw(){this.frame.handleException(),this.frameStack.pop();}}class ResumableVMStateImpl{constructor(state,resumeCallback){this.state=state,this.resumeCallback=resumeCallback;}resume(runtime,builder){return this.resumeCallback(runtime,this.state,builder);}}class BlockOpcode{constructor(state,runtime,bounds,children){_defineProperty(this,\"children\",void 0);_defineProperty(this,\"bounds\",void 0);this.state=state,this.runtime=runtime,this.children=children,this.bounds=bounds;}parentElement(){return this.bounds.parentElement();}firstNode(){return this.bounds.firstNode();}lastNode(){return this.bounds.lastNode();}evaluate(vm){vm.try(this.children,null);}}class TryOpcode extends BlockOpcode{constructor(){super(...arguments);_defineProperty(this,\"type\",\"try\");}// Hides property on base class\nevaluate(vm){vm.try(this.children,this);}handleException(){let{state:state,bounds:bounds,runtime:runtime}=this;destroyChildren(this);let elementStack=NewElementBuilder.resume(runtime.env,bounds),vm=state.resume(runtime,elementStack),updating=[],children=this.children=[],result=vm.execute(vm=>{vm.pushUpdating(updating),vm.updateWith(this),vm.pushUpdating(children);});associateDestroyableChild(this,result.drop);}}class ListItemOpcode extends TryOpcode{constructor(state,runtime,bounds,key,memo,value){super(state,runtime,bounds,[]),_defineProperty(this,\"retained\",!1),_defineProperty(this,\"index\",-1),this.key=key,this.memo=memo,this.value=value;}updateReferences(item){this.retained=!0,updateRef(this.value,item.value),updateRef(this.memo,item.memo);}shouldRemove(){return!this.retained;}reset(){this.retained=!1;}}class ListBlockOpcode extends BlockOpcode{constructor(state,runtime,bounds,children,iterableRef){super(state,runtime,bounds,children),_defineProperty(this,\"type\",\"list-block\"),_defineProperty(this,\"opcodeMap\",new Map()),_defineProperty(this,\"marker\",null),_defineProperty(this,\"lastIterator\",void 0),this.iterableRef=iterableRef,this.lastIterator=valueForRef(iterableRef);}initializeChild(opcode){opcode.index=this.children.length-1,this.opcodeMap.set(opcode.key,opcode);}evaluate(vm){let iterator=valueForRef(this.iterableRef);if(this.lastIterator!==iterator){let{bounds:bounds}=this,{dom:dom}=vm,marker=this.marker=dom.createComment(\"\");dom.insertAfter(bounds.parentElement(),marker,expect(bounds.lastNode(),\"can't insert after an empty bounds\")),this.sync(iterator),this.parentElement().removeChild(marker),this.marker=null,this.lastIterator=iterator;}// Run now-updated updating opcodes\nsuper.evaluate(vm);}sync(iterator){let{opcodeMap:itemMap,children:children}=this,currentOpcodeIndex=0,seenIndex=0;// eslint-disable-next-line no-constant-condition\nfor(this.children=this.bounds.boundList=[];;){let item=iterator.next();if(null===item)break;let opcode=children[currentOpcodeIndex],{key:key}=item;// Items that have already been found and moved will already be retained,\n// we can continue until we find the next unretained item\nfor(;void 0!==opcode&&!0===opcode.retained;)opcode=children[++currentOpcodeIndex];if(void 0!==opcode&&opcode.key===key)this.retainItem(opcode,item),currentOpcodeIndex++;else if(itemMap.has(key)){let itemOpcode=itemMap.get(key);// The item opcode was seen already, so we should move it.\nif(itemOpcode.index<seenIndex)this.moveItem(itemOpcode,item,opcode);else{// Update the seen index, we are going to be moving this item around\n// so any other items that come before it will likely need to move as\n// well.\nseenIndex=itemOpcode.index;let seenUnretained=!1;// iterate through all of the opcodes between the current position and\n// the position of the item's opcode, and determine if they are all\n// retained.\nfor(let i=currentOpcodeIndex+1;i<seenIndex;i++)if(!1===unwrap$1(children[i]).retained){seenUnretained=!0;break;}// If we have seen only retained opcodes between this and the matching\n// opcode, it means that all the opcodes in between have been moved\n// already, and we can safely retain this item's opcode.\n!1===seenUnretained?(this.retainItem(itemOpcode,item),currentOpcodeIndex=seenIndex+1):(this.moveItem(itemOpcode,item,opcode),currentOpcodeIndex++);}}else this.insertItem(item,opcode);}for(const opcode of children)!1===opcode.retained?this.deleteItem(opcode):opcode.reset();}retainItem(opcode,item){let{children:children}=this;updateRef(opcode.memo,item.memo),updateRef(opcode.value,item.value),opcode.retained=!0,opcode.index=children.length,children.push(opcode);}insertItem(item,before){let{opcodeMap:opcodeMap,bounds:bounds,state:state,runtime:runtime,children:children}=this,{key:key}=item,nextSibling=void 0===before?this.marker:before.firstNode(),elementStack=NewElementBuilder.forInitialRender(runtime.env,{element:bounds.parentElement(),nextSibling:nextSibling});state.resume(runtime,elementStack).execute(vm=>{vm.pushUpdating();let opcode=vm.enterItem(item);opcode.index=children.length,children.push(opcode),opcodeMap.set(key,opcode),associateDestroyableChild(this,opcode);});}moveItem(opcode,item,before){let currentSibling,nextSibling,{children:children}=this;updateRef(opcode.memo,item.memo),updateRef(opcode.value,item.value),opcode.retained=!0,void 0===before?move(opcode,this.marker):(currentSibling=opcode.lastNode().nextSibling,nextSibling=before.firstNode(),// Items are moved throughout the algorithm, so there are cases where the\n// the items already happen to be siblings (e.g. an item in between was\n// moved before this move happened). Check to see if they are siblings\n// first before doing the move.\ncurrentSibling!==nextSibling&&move(opcode,nextSibling)),opcode.index=children.length,children.push(opcode);}deleteItem(opcode){destroy(opcode),clear(opcode),this.opcodeMap.delete(opcode.key);}}class UpdatingVMFrame{constructor(ops,exceptionHandler){_defineProperty(this,\"current\",0);this.ops=ops,this.exceptionHandler=exceptionHandler;}goto(index){this.current=index;}nextStatement(){return this.ops[this.current++];}handleException(){this.exceptionHandler&&this.exceptionHandler.handleException();}}class RenderResultImpl{constructor(env,updating,bounds,drop){this.env=env,this.updating=updating,this.bounds=bounds,this.drop=drop,associateDestroyableChild(this,drop),registerDestructor$1(this,()=>clear(this.bounds));}rerender(){let{alwaysRevalidate=!1}=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{alwaysRevalidate:!1};let{env:env,updating:updating}=this;new UpdatingVM(env,{alwaysRevalidate:alwaysRevalidate}).execute(updating,this);}parentElement(){return this.bounds.parentElement();}firstNode(){return this.bounds.firstNode();}lastNode(){return this.bounds.lastNode();}handleException(){throw\"this should never happen\";}}class EvaluationStackImpl{static restore(snapshot){return new this(snapshot.slice(),[0,-1,snapshot.length-1,0]);}// fp -> sp\nconstructor(){let stack=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];let registers=arguments.length>1?arguments[1]:undefined;_defineProperty(this,REGISTERS,void 0);this.stack=stack,this[REGISTERS]=registers;}push(value){this.stack[++this[REGISTERS][$sp]]=value;}dup(){let position=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this[REGISTERS][$sp];this.stack[++this[REGISTERS][$sp]]=this.stack[position];}copy(from,to){this.stack[to]=this.stack[from];}pop(){let n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:1;let top=this.stack[this[REGISTERS][$sp]];return this[REGISTERS][$sp]-=n,top;}peek(){let offset=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;return this.stack[this[REGISTERS][$sp]-offset];}get(offset){let base=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this[REGISTERS][$fp];return this.stack[base+offset];}set(value,offset){let base=arguments.length>2&&arguments[2]!==undefined?arguments[2]:this[REGISTERS][$fp];this.stack[base+offset]=value;}slice(start,end){return this.stack.slice(start,end);}capture(items){let end=this[REGISTERS][$sp]+1,start=end-items;return this.stack.slice(start,end);}reset(){this.stack.length=0;}toArray(){return this.stack.slice(this[REGISTERS][$fp],this[REGISTERS][$sp]+1);}}/**\n           * This interface is used by internal opcodes, and is more stable than\n           * the implementation of the Append VM itself.\n           */class Stacks{constructor(){_defineProperty(this,\"scope\",new StackImpl());_defineProperty(this,\"dynamicScope\",new StackImpl());_defineProperty(this,\"updating\",new StackImpl());_defineProperty(this,\"cache\",new StackImpl());_defineProperty(this,\"list\",new StackImpl());}}class VM{get stack(){return this[INNER_VM].stack;}/* Registers */get pc(){return this[INNER_VM].fetchRegister($pc);}// Fetch a value from a register onto the stack\nfetch(register){let value=this.fetchValue(register);this.stack.push(value);}// Load a value from the stack into a register\nload(register){let value=this.stack.pop();this.loadValue(register,value);}// Fetch a value from a register\nfetchValue(register){if(isLowLevelRegister(register))return this[INNER_VM].fetchRegister(register);switch(register){case $s0:return this.s0;case $s1:return this.s1;case $t0:return this.t0;case $t1:return this.t1;case $v0:return this.v0;}}// Load a value into a register\nloadValue(register,value){switch(isLowLevelRegister(register)&&this[INNER_VM].loadRegister(register,value),register){case $s0:this.s0=value;break;case $s1:this.s1=value;break;case $t0:this.t0=value;break;case $t1:this.t1=value;break;case $v0:this.v0=value;}}/**\n            * Migrated to Inner\n            */// Start a new frame and save $ra and $fp on the stack\npushFrame(){this[INNER_VM].pushFrame();}// Restore $ra, $sp and $fp\npopFrame(){this[INNER_VM].popFrame();}// Jump to an address in `program`\ngoto(offset){this[INNER_VM].goto(offset);}// Save $pc into $ra, then jump to a new address in `program` (jal in MIPS)\ncall(handle){this[INNER_VM].call(handle);}// Put a specific `program` address in $ra\nreturnTo(offset){this[INNER_VM].returnTo(offset);}// Return to the `program` address stored in $ra\nreturn(){this[INNER_VM].return();}/**\n            * End of migrated.\n            */constructor(runtime,_ref120,elementStack,context){let{pc:pc,scope:scope,dynamicScope:dynamicScope,stack:stack}=_ref120;_defineProperty(this,STACKS,new Stacks());_defineProperty(this,HEAP,void 0);_defineProperty(this,\"destructor\",void 0);_defineProperty(this,DESTROYABLE_STACK,new StackImpl());_defineProperty(this,CONSTANTS,void 0);_defineProperty(this,ARGS$1,void 0);_defineProperty(this,INNER_VM,void 0);_defineProperty(this,\"s0\",null);_defineProperty(this,\"s1\",null);_defineProperty(this,\"t0\",null);_defineProperty(this,\"t1\",null);_defineProperty(this,\"v0\",null);_defineProperty(this,\"resume\",void 0);this.runtime=runtime,this.elementStack=elementStack,this.context=context,this.resume=initVM(context);let evalStack=EvaluationStackImpl.restore(stack);debugAssert(\"number\"==typeof pc,\"pc is a number\"),evalStack[REGISTERS][$pc]=pc,evalStack[REGISTERS][$sp]=stack.length-1,evalStack[REGISTERS][$fp]=-1,this[HEAP]=this.program.heap,this[CONSTANTS]=this.program.constants,this.elementStack=elementStack,this[STACKS].scope.push(scope),this[STACKS].dynamicScope.push(dynamicScope),this[ARGS$1]=new VMArgumentsImpl(),this[INNER_VM]=new LowLevelVM(evalStack,this[HEAP],runtime.program,{debugBefore:opcode=>APPEND_OPCODES.debugBefore(this,opcode),debugAfter:state=>{APPEND_OPCODES.debugAfter(this,state);}},evalStack[REGISTERS]),this.destructor={},this[DESTROYABLE_STACK].push(this.destructor);}static initial(runtime,context,_ref121){let{handle:handle,self:self,dynamicScope:dynamicScope,treeBuilder:treeBuilder,numSymbols:numSymbols,owner:owner}=_ref121;let scope=PartialScopeImpl.root(self,numSymbols,owner),state=vmState(runtime.program.heap.getaddr(handle),scope,dynamicScope),vm=initVM(context)(runtime,state,treeBuilder);return vm.pushUpdating(),vm;}static empty(runtime,_ref122,context){let{handle:handle,treeBuilder:treeBuilder,dynamicScope:dynamicScope,owner:owner}=_ref122;let vm=initVM(context)(runtime,vmState(runtime.program.heap.getaddr(handle),PartialScopeImpl.root(UNDEFINED_REFERENCE,0,owner),dynamicScope),treeBuilder);return vm.pushUpdating(),vm;}compile(block){return unwrapHandle(block.compile(this.context));}get program(){return this.runtime.program;}get env(){return this.runtime.env;}captureState(args){let pc=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this[INNER_VM].fetchRegister($pc);return{pc:pc,scope:this.scope(),dynamicScope:this.dynamicScope(),stack:this.stack.capture(args)};}capture(args){let pc=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this[INNER_VM].fetchRegister($pc);return new ResumableVMStateImpl(this.captureState(args,pc),this.resume);}beginCacheGroup(name){let opcodes=this.updating(),guard=new JumpIfNotModifiedOpcode();opcodes.push(guard),opcodes.push(new BeginTrackFrameOpcode(name)),this[STACKS].cache.push(guard),beginTrackFrame();}commitCacheGroup(){let opcodes=this.updating(),guard=expect(this[STACKS].cache.pop(),\"VM BUG: Expected a cache group\"),tag=endTrackFrame();opcodes.push(new EndTrackFrameOpcode(guard)),guard.finalize(tag,opcodes.length);}enter(args){let state=this.capture(args),block=this.elements().pushUpdatableBlock(),tryOpcode=new TryOpcode(state,this.runtime,block,[]);this.didEnter(tryOpcode);}enterItem(_ref123){let{key:key,value:value,memo:memo}=_ref123;let{stack:stack}=this,valueRef=createIteratorItemRef(value),memoRef=createIteratorItemRef(memo);stack.push(valueRef),stack.push(memoRef);let state=this.capture(2),block=this.elements().pushUpdatableBlock(),opcode=new ListItemOpcode(state,this.runtime,block,key,memoRef,valueRef);return this.didEnter(opcode),opcode;}registerItem(opcode){this.listBlock().initializeChild(opcode);}enterList(iterableRef,offset){let updating=[],addr=this[INNER_VM].target(offset),state=this.capture(0,addr),list=this.elements().pushBlockList(updating),opcode=new ListBlockOpcode(state,this.runtime,list,updating,iterableRef);this[STACKS].list.push(opcode),this.didEnter(opcode);}didEnter(opcode){this.associateDestroyable(opcode),this[DESTROYABLE_STACK].push(opcode),this.updateWith(opcode),this.pushUpdating(opcode.children);}exit(){this[DESTROYABLE_STACK].pop(),this.elements().popBlock(),this.popUpdating();}exitList(){this.exit(),this[STACKS].list.pop();}pushUpdating(){let list=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];this[STACKS].updating.push(list);}popUpdating(){return expect(this[STACKS].updating.pop(),\"can't pop an empty stack\");}updateWith(opcode){this.updating().push(opcode);}listBlock(){return expect(this[STACKS].list.current,\"expected a list block\");}associateDestroyable(child){let parent=expect(this[DESTROYABLE_STACK].current,\"Expected destructor parent\");associateDestroyableChild(parent,child);}tryUpdating(){return this[STACKS].updating.current;}updating(){return expect(this[STACKS].updating.current,\"expected updating opcode on the updating opcode stack\");}elements(){return this.elementStack;}scope(){return expect(this[STACKS].scope.current,\"expected scope on the scope stack\");}dynamicScope(){return expect(this[STACKS].dynamicScope.current,\"expected dynamic scope on the dynamic scope stack\");}pushChildScope(){this[STACKS].scope.push(this.scope().child());}pushDynamicScope(){let child=this.dynamicScope().child();return this[STACKS].dynamicScope.push(child),child;}pushRootScope(size,owner){let scope=PartialScopeImpl.sized(size,owner);return this[STACKS].scope.push(scope),scope;}pushScope(scope){this[STACKS].scope.push(scope);}popScope(){this[STACKS].scope.pop();}popDynamicScope(){this[STACKS].dynamicScope.pop();}/// SCOPE HELPERS\ngetOwner(){return this.scope().owner;}getSelf(){return this.scope().getSelf();}referenceForSymbol(symbol){return this.scope().getSymbol(symbol);}/// EXECUTION\nexecute(initialize){return this._execute(initialize);}_execute(initialize){let result;initialize&&initialize(this);do{result=this.next();}while(!result.done);return result.value;}next(){let result,{env:env,elementStack:elementStack}=this,opcode=this[INNER_VM].nextStatement();return null!==opcode?(this[INNER_VM].evaluateOuter(opcode,this),result={done:!1,value:null}):(// Unload the stack\nthis.stack.reset(),result={done:!0,value:new RenderResultImpl(env,this.popUpdating(),elementStack.popBlock(),this.destructor)}),result;}bindDynamicScope(names){let scope=this.dynamicScope();for(const name of reverse(names))scope.set(name,this.stack.pop());}}function vmState(pc,scope,dynamicScope){return{pc:pc,scope:scope,dynamicScope:dynamicScope,stack:[]};}function initVM(context){return(runtime,state,builder)=>new VM(runtime,state,builder,context);}class TemplateIteratorImpl{constructor(vm){this.vm=vm;}next(){return this.vm.next();}sync(){return this.vm.execute();}}function renderSync(env,iterator){let result;return inTransaction(env,()=>result=iterator.sync()),result;}function renderMain(runtime,context,owner,self,treeBuilder,layout){let dynamicScope=arguments.length>6&&arguments[6]!==undefined?arguments[6]:new DynamicScopeImpl();let handle=unwrapHandle(layout.compile(context)),numSymbols=layout.symbolTable.symbols.length,vm=VM.initial(runtime,context,{self:self,dynamicScope:dynamicScope,treeBuilder:treeBuilder,handle:handle,numSymbols:numSymbols,owner:owner});return new TemplateIteratorImpl(vm);}function renderComponent(runtime,treeBuilder,context,owner,definition){let args=arguments.length>5&&arguments[5]!==undefined?arguments[5]:{};let dynamicScope=arguments.length>6&&arguments[6]!==undefined?arguments[6]:new DynamicScopeImpl();return function(vm,context,owner,definition,args){// Get a list of tuples of argument names and references, like\n// [['title', reference], ['name', reference]]\nconst argList=Object.keys(args).map(key=>[key,args[key]]),blockNames=[\"main\",\"else\",\"attrs\"],argNames=argList.map(_ref124=>{let[name]=_ref124;return`@${name}`;});let reified=vm[CONSTANTS].component(definition,owner);vm.pushFrame();// Push blocks on to the stack, three stack values per block\nfor(let i=0;i<3*blockNames.length;i++)vm.stack.push(null);vm.stack.push(null),// For each argument, push its backing reference on to the stack\nargList.forEach(_ref125=>{let[,reference]=_ref125;vm.stack.push(reference);}),// Configure VM based on blocks and args just pushed on to the stack.\nvm[ARGS$1].setup(vm.stack,argNames,blockNames,0,!0);const compilable=expect(reified.compilable,\"BUG: Expected the root component rendered with renderComponent to have an associated template, set with setComponentTemplate\"),invocation={handle:unwrapHandle(compilable.compile(context)),symbolTable:compilable.symbolTable};// Needed for the Op.Main opcode: arguments, component invocation object, and\n// component definition.\nreturn vm.stack.push(vm[ARGS$1]),vm.stack.push(invocation),vm.stack.push(reified),new TemplateIteratorImpl(vm);}(VM.empty(runtime,{treeBuilder:treeBuilder,handle:context.stdlib.main,dynamicScope:dynamicScope,owner:owner},context),context,owner,definition,function(record){const root=createConstRef(record);return Object.keys(record).reduce((acc,key)=>(acc[key]=childRefFor(root,key),acc),{});}(args));}const SERIALIZATION_FIRST_NODE_STRING=\"%+b:0%\";function isSerializationFirstNode(node){return\"%+b:0%\"===node.nodeValue;}class RehydratingCursor extends CursorImpl{constructor(element,nextSibling,startingBlockDepth){super(element,nextSibling),_defineProperty(this,\"candidate\",null),_defineProperty(this,\"openBlockDepth\",void 0),_defineProperty(this,\"injectedOmittedNode\",!1),this.startingBlockDepth=startingBlockDepth,this.openBlockDepth=startingBlockDepth-1;}}class RehydrateBuilder extends NewElementBuilder{constructor(env,parentNode,nextSibling){if(super(env,parentNode,nextSibling),_defineProperty(this,\"unmatchedAttributes\",null),_defineProperty(this,\"blockDepth\",0),_defineProperty(this,\"startingBlockOffset\",void 0),nextSibling)throw new Error(\"Rehydration with nextSibling not supported\");let node=this.currentCursor.element.firstChild;for(;null!==node&&!isOpenBlock(node);)node=node.nextSibling;debugAssert(node,\"Must have opening comment for rehydration.\"),this.candidate=node;const startingBlockOffset=getBlockDepth(node);if(0!==startingBlockOffset){// We are rehydrating from a partial tree and not the root component\n// We need to add an extra block before the first block to rehydrate correctly\n// The extra block is needed since the renderComponent API creates a synthetic component invocation which generates the extra block\nconst newBlockDepth=startingBlockOffset-1,newCandidate=this.dom.createComment(`%+b:${newBlockDepth}%`);node.parentNode.insertBefore(newCandidate,this.candidate);let closingNode=node.nextSibling;for(;null!==closingNode&&(!isCloseBlock(closingNode)||getBlockDepth(closingNode)!==startingBlockOffset);)closingNode=closingNode.nextSibling;debugAssert(closingNode,\"Must have closing comment for starting block comment\");const newClosingBlock=this.dom.createComment(`%-b:${newBlockDepth}%`);node.parentNode.insertBefore(newClosingBlock,closingNode.nextSibling),this.candidate=newCandidate,this.startingBlockOffset=newBlockDepth;}else this.startingBlockOffset=0;}get currentCursor(){return this[CURSOR_STACK].current;}get candidate(){return this.currentCursor?this.currentCursor.candidate:null;}set candidate(node){this.currentCursor.candidate=node;}disableRehydration(nextSibling){const currentCursor=this.currentCursor;// rehydration will be disabled until we either:\n// * hit popElement (and return to using the parent elements cursor)\n// * hit closeBlock and the next sibling is a close block comment\n//   matching the expected openBlockDepth\ncurrentCursor.candidate=null,currentCursor.nextSibling=nextSibling;}enableRehydration(candidate){const currentCursor=this.currentCursor;currentCursor.candidate=candidate,currentCursor.nextSibling=null;}pushElement(element){let nextSibling=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;const cursor=new RehydratingCursor(element,nextSibling,this.blockDepth||0);/**\n              * <div>   <---------------  currentCursor.element\n              *   <!--%+b:1%--> <-------  would have been removed during openBlock\n              *   <div> <---------------  currentCursor.candidate -> cursor.element\n              *     <!--%+b:2%--> <-----  currentCursor.candidate.firstChild -> cursor.candidate\n              *     Foo\n              *     <!--%-b:2%-->\n              *   </div>\n              *   <!--%-b:1%-->  <------  becomes currentCursor.candidate\n              */null!==this.candidate&&(cursor.candidate=element.firstChild,this.candidate=element.nextSibling),this[CURSOR_STACK].push(cursor);}// clears until the end of the current container\n// either the current open block or higher\nclearMismatch(candidate){let current=candidate;const currentCursor=this.currentCursor;if(null!==currentCursor){const openBlockDepth=currentCursor.openBlockDepth;if(openBlockDepth>=currentCursor.startingBlockDepth)for(;current&&!(isCloseBlock(current)&&openBlockDepth>=getBlockDepthWithOffset(current,this.startingBlockOffset));)current=this.remove(current);else for(;null!==current;)current=this.remove(current);// current cursor parentNode should be openCandidate if element\n// or openCandidate.parentNode if comment\nthis.disableRehydration(current);}}__openBlock(){const{currentCursor:currentCursor}=this;if(null===currentCursor)return;const blockDepth=this.blockDepth;this.blockDepth++;const{candidate:candidate}=currentCursor;if(null===candidate)return;const{tagName:tagName}=currentCursor.element;isOpenBlock(candidate)&&getBlockDepthWithOffset(candidate,this.startingBlockOffset)===blockDepth?(this.candidate=this.remove(candidate),currentCursor.openBlockDepth=blockDepth):\"TITLE\"!==tagName&&\"SCRIPT\"!==tagName&&\"STYLE\"!==tagName&&this.clearMismatch(candidate);}__closeBlock(){const{currentCursor:currentCursor}=this;if(null===currentCursor)return;// openBlock is the last rehydrated open block\nconst openBlockDepth=currentCursor.openBlockDepth;// this currently is the expected next open block depth\nthis.blockDepth--;const{candidate:candidate}=currentCursor;let isRehydrating=!1;if(null!==candidate)//assert(\n//  openBlockDepth === this.blockDepth,\n//  'when rehydrating, openBlockDepth should match this.blockDepth here'\n//);\nif(isRehydrating=!0,isCloseBlock(candidate)&&getBlockDepthWithOffset(candidate,this.startingBlockOffset)===openBlockDepth){const nextSibling=this.remove(candidate);this.candidate=nextSibling,currentCursor.openBlockDepth--;}else// close the block and clear mismatch in parent container\n// we will be either at the end of the element\n// or at the end of our containing block\nthis.clearMismatch(candidate),isRehydrating=!1;if(!1===isRehydrating){// check if nextSibling matches our expected close block\n// if so, we remove the close block comment and\n// restore rehydration after clearMismatch disabled\nconst nextSibling=currentCursor.nextSibling;if(null!==nextSibling&&isCloseBlock(nextSibling)&&getBlockDepthWithOffset(nextSibling,this.startingBlockOffset)===this.blockDepth){// restore rehydration state\nconst candidate=this.remove(nextSibling);this.enableRehydration(candidate),currentCursor.openBlockDepth--;}}}__appendNode(node){const{candidate:candidate}=this;// This code path is only used when inserting precisely one node. It needs more\n// comparison logic, but we can probably lean on the cases where this code path\n// is actually used.\nreturn candidate||super.__appendNode(node);}__appendHTML(html){const candidateBounds=this.markerBounds();if(candidateBounds){const first=candidateBounds.firstNode(),last=candidateBounds.lastNode(),newBounds=new ConcreteBounds(this.element,first.nextSibling,last.previousSibling),possibleEmptyMarker=this.remove(first);return this.remove(last),null!==possibleEmptyMarker&&isEmpty$1(possibleEmptyMarker)&&(this.candidate=this.remove(possibleEmptyMarker),null!==this.candidate&&this.clearMismatch(this.candidate)),newBounds;}return super.__appendHTML(html);}remove(node){const element=expect(node.parentNode,\"cannot remove a detached node\"),next=node.nextSibling;return element.removeChild(node),next;}markerBounds(){const _candidate=this.candidate;if(_candidate&&isMarker(_candidate)){const first=_candidate;let last=expect(first.nextSibling,\"BUG: serialization markers must be paired\");for(;last&&!isMarker(last);)last=expect(last.nextSibling,\"BUG: serialization markers must be paired\");return new ConcreteBounds(this.element,first,last);}return null;}__appendText(string){const{candidate:candidate}=this;return candidate?3===candidate.nodeType?(candidate.nodeValue!==string&&(candidate.nodeValue=string),this.candidate=candidate.nextSibling,candidate):8===(node=candidate).nodeType&&\"%|%\"===node.nodeValue||isEmpty$1(candidate)&&\"\"===string?(this.candidate=this.remove(candidate),this.__appendText(string)):(this.clearMismatch(candidate),super.__appendText(string)):super.__appendText(string);var node;}__appendComment(string){const _candidate=this.candidate;return _candidate&&8===_candidate.nodeType?(_candidate.nodeValue!==string&&(_candidate.nodeValue=string),this.candidate=_candidate.nextSibling,_candidate):(_candidate&&this.clearMismatch(_candidate),super.__appendComment(string));}__openElement(tag){const _candidate=this.candidate;if(_candidate&&isElement(_candidate)&&function(candidate,tag){return candidate.namespaceURI===NS_SVG?candidate.tagName===tag:candidate.tagName===tag.toUpperCase();}(_candidate,tag))return this.unmatchedAttributes=[].slice.call(_candidate.attributes),_candidate;if(_candidate){if(isElement(_candidate)&&\"TBODY\"===_candidate.tagName)return this.pushElement(_candidate,null),this.currentCursor.injectedOmittedNode=!0,this.__openElement(tag);this.clearMismatch(_candidate);}return super.__openElement(tag);}__setAttribute(name,value,namespace){const unmatched=this.unmatchedAttributes;if(unmatched){const attr=findByName(unmatched,name);if(attr)return attr.value!==value&&(attr.value=value),void unmatched.splice(unmatched.indexOf(attr),1);}return super.__setAttribute(name,value,namespace);}__setProperty(name,value){const unmatched=this.unmatchedAttributes;if(unmatched){const attr=findByName(unmatched,name);if(attr)return attr.value!==value&&(attr.value=value),void unmatched.splice(unmatched.indexOf(attr),1);}return super.__setProperty(name,value);}__flushElement(parent,constructing){const{unmatchedAttributes:unmatched}=this;if(unmatched){for(const attr of unmatched)this.constructing.removeAttribute(attr.name);this.unmatchedAttributes=null;}else super.__flushElement(parent,constructing);}willCloseElement(){const{candidate:candidate,currentCursor:currentCursor}=this;null!==candidate&&this.clearMismatch(candidate),currentCursor&&currentCursor.injectedOmittedNode&&this.popElement(),super.willCloseElement();}getMarker(element,guid){const marker=element.querySelector(`script[glmr=\"${guid}\"]`);return marker?castToSimple(marker):null;}__pushRemoteElement(element,cursorId,insertBefore){const marker=this.getMarker(castToBrowser(element,\"HTML\"),cursorId);// when insertBefore is not present, we clear the element\nif(debugAssert(!marker||marker.parentNode===element,\"expected remote element marker's parent node to match remote element\"),void 0===insertBefore){for(;null!==element.firstChild&&element.firstChild!==marker;)this.remove(element.firstChild);insertBefore=null;}const cursor=new RehydratingCursor(element,null,this.blockDepth);this[CURSOR_STACK].push(cursor),null===marker?this.disableRehydration(insertBefore):this.candidate=this.remove(marker);const block=new RemoteLiveBlock(element);return this.pushLiveBlock(block,!0);}didAppendBounds(bounds){if(super.didAppendBounds(bounds),this.candidate){const last=bounds.lastNode();this.candidate=last&&last.nextSibling;}return bounds;}}function isOpenBlock(node){return node.nodeType===COMMENT_NODE&&0===node.nodeValue.lastIndexOf(\"%+b:\",0);}function isCloseBlock(node){return node.nodeType===COMMENT_NODE&&0===node.nodeValue.lastIndexOf(\"%-b:\",0);}function getBlockDepth(node){return parseInt(node.nodeValue.slice(4),10);}function getBlockDepthWithOffset(node,offset){return getBlockDepth(node)-offset;}function isElement(node){return 1===node.nodeType;}function isMarker(node){return 8===node.nodeType&&\"%glmr%\"===node.nodeValue;}function isEmpty$1(node){return 8===node.nodeType&&\"% %\"===node.nodeValue;}function findByName(array,name){for(const attr of array)if(attr.name===name)return attr;}function rehydrationBuilder(env,cursor){return RehydrateBuilder.forInitialRender(env,cursor);}const glimmerRuntime=/*#__PURE__*/Object.defineProperty({__proto__:null,ConcreteBounds,CurriedValue,CursorImpl,DOMChanges,DOMTreeConstruction,DynamicAttribute,DynamicScopeImpl,EMPTY_ARGS,EMPTY_NAMED,EMPTY_POSITIONAL,EnvironmentImpl,IDOMChanges:DOMChangesImpl,LowLevelVM:VM,NewElementBuilder,PartialScopeImpl,RehydrateBuilder,RemoteLiveBlock,SERIALIZATION_FIRST_NODE_STRING,SimpleDynamicAttribute,TEMPLATE_ONLY_COMPONENT_MANAGER,TemplateOnlyComponent:TemplateOnlyComponentDefinition,TemplateOnlyComponentManager,UpdatableBlockImpl,UpdatingVM,array:array$1,clear,clientBuilder,concat:concat$1,createCapturedArgs,curry,destroy,dynamicAttribute,fn:fn$1,get:get$1,hash:hash$1,inTransaction,invokeHelper:invokeHelper$1,isDestroyed,isDestroying,isSerializationFirstNode,isWhitespace,normalizeProperty,on:on$1,registerDestructor:registerDestructor$1,rehydrationBuilder,reifyArgs,reifyNamed,reifyPositional,renderComponent,renderMain,renderSync,resetDebuggerCallback,runtimeContext,setDebuggerCallback,templateOnlyComponent},Symbol.toStringTag,{value:'Module'});// In normal TypeScript, this modifier is essentially an opaque token that just\n// needs to be importable. Declaring it with a unique interface like this,\n// however, gives tools like Glint (that *do* have a richer notion of what it\n// is) a place to install more detailed type information.\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\n// SAFETY: at the time of writing, the cast here is from `{}` to `OnModifier`,\n// which makes it strictly safer to use outside this module because it is not\n// usable as \"any non-null item\", which is what `{}` means, without loss of any\n// information from the type itself.\nconst on=on$1;const InputTemplate=templateFactory(/*\n            <input\n            {{!-- for compatibility --}}\n            id={{this.id}}\n            class={{this.class}}\n\n            ...attributes\n\n            type={{this.type}}\n            checked={{this.checked}}\n            value={{this.value}}\n\n            {{on \"change\" this.change}}\n            {{on \"input\" this.input}}\n            {{on \"keyup\" this.keyUp}}\n            {{on \"paste\" this.valueDidChange}}\n            {{on \"cut\" this.valueDidChange}}\n          />\n          */{\"id\":\"4z3DuGQ3\",\"block\":\"[[[11,\\\"input\\\"],[16,1,[30,0,[\\\"id\\\"]]],[16,0,[30,0,[\\\"class\\\"]]],[17,1],[16,4,[30,0,[\\\"type\\\"]]],[16,\\\"checked\\\",[30,0,[\\\"checked\\\"]]],[16,2,[30,0,[\\\"value\\\"]]],[4,[32,0],[\\\"change\\\",[30,0,[\\\"change\\\"]]],null],[4,[32,0],[\\\"input\\\",[30,0,[\\\"input\\\"]]],null],[4,[32,0],[\\\"keyup\\\",[30,0,[\\\"keyUp\\\"]]],null],[4,[32,0],[\\\"paste\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[4,[32,0],[\\\"cut\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[12],[13]],[\\\"&attrs\\\"],false,[]]\",\"moduleName\":\"packages/@ember/-internals/glimmer/lib/templates/input.hbs\",\"scope\":()=>[on],\"isStrictMode\":true});function NOOP$3(){}class InternalComponent{// Override this\nstatic toString(){return'internal component';}constructor(owner,args,caller){this.owner=owner;this.args=args;this.caller=caller;setOwner$1(this,owner);}/**\n             * The default HTML id attribute. We don't really _need_ one, this is just\n             * added for compatibility as it's hard to tell if people rely on it being\n             * present, and it doens't really hurt.\n             *\n             * However, don't rely on this internally, like passing it to `getElementId`.\n             * This can be (and often is) overriden by passing an `id` attribute on the\n             * invocation, which shadows this default id via `...attributes`.\n             */get id(){return guidFor(this);}/**\n             * The default HTML class attribute. Similar to the above, we don't _need_\n             * them, they are just added for compatibility as it's similarly hard to tell\n             * if people rely on it in their CSS etc, and it doens't really hurt.\n             */get class(){return'ember-view';}validateArguments(){for(let name of Object.keys(this.args.named)){if(!this.isSupportedArgument(name)){this.onUnsupportedArgument(name);}}}named(name){let ref=this.args.named[name];return ref?valueForRef(ref):undefined;}positional(index){let ref=this.args.positional[index];return ref?valueForRef(ref):undefined;}listenerFor(name){let listener=this.named(name);if(listener){return listener;}else{return NOOP$3;}}isSupportedArgument(_name){return false;}onUnsupportedArgument(_name){}toString(){return`<${this.constructor}:${guidFor(this)}>`;}}const OPAQUE_CONSTRUCTOR_MAP=new WeakMap();function opaquify(constructor,template){let _opaque={// Factory interface\ncreate(){throw assert$1();},toString(){return constructor.toString();}};let opaque=_opaque;OPAQUE_CONSTRUCTOR_MAP.set(opaque,constructor);setInternalComponentManager(INTERNAL_COMPONENT_MANAGER,opaque);setComponentTemplate(template,opaque);return opaque;}function deopaquify(opaque){let constructor=OPAQUE_CONSTRUCTOR_MAP.get(opaque);return constructor;}const CAPABILITIES$2={dynamicLayout:false,dynamicTag:false,prepareArgs:false,createArgs:true,attributeHook:false,elementHook:false,createCaller:true,dynamicScope:false,updateHook:false,createInstance:true,wrapped:false,willDestroy:false,hasSubOwner:false};class InternalManager{getCapabilities(){return CAPABILITIES$2;}create(owner,definition,args,_env,_dynamicScope,caller){let ComponentClass=deopaquify(definition);let instance=new ComponentClass(owner,args.capture(),valueForRef(caller));untrack(instance['validateArguments'].bind(instance));return instance;}didCreate(){}didUpdate(){}didRenderLayout(){}didUpdateLayout(){}getDebugName(definition){return definition.toString();}getSelf(instance){return createConstRef(instance);}getDestroyable(instance){return instance;}}const INTERNAL_COMPONENT_MANAGER=new InternalManager();var __defProp=Object.defineProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:true});};// src/runtime.ts\nvar runtime_exports={};__export(runtime_exports,{c:()=>decorateClass,f:()=>decorateFieldV1,g:()=>decorateFieldV2,i:()=>initializeDeferredDecorator,m:()=>decorateMethodV1,n:()=>decorateMethodV2,p:()=>decoratePOJO});var deferred=/* @__PURE__ */new WeakMap();function deferDecorator(proto,prop,desc){let map=deferred.get(proto);if(!map){map=/* @__PURE__ */new Map();deferred.set(proto,map);}map.set(prop,desc);}function findDeferredDecorator(target,prop){let cursor=target.prototype;while(cursor){var _deferred$get;let desc=(_deferred$get=deferred.get(cursor))===null||_deferred$get===void 0?void 0:_deferred$get.get(prop);if(desc){return desc;}cursor=cursor.prototype;}}function decorateFieldV1(target,prop,decorators,initializer){return decorateFieldV2(target.prototype,prop,decorators,initializer);}function decorateFieldV2(prototype,prop,decorators,initializer){let desc={configurable:true,enumerable:true,writable:true,initializer:null};if(initializer){desc.initializer=initializer;}for(let decorator of decorators){desc=decorator(prototype,prop,desc)||desc;}if(desc.initializer===void 0){Object.defineProperty(prototype,prop,desc);}else{deferDecorator(prototype,prop,desc);}}function decorateMethodV1(_ref126,prop,decorators){let{prototype}=_ref126;return decorateMethodV2(prototype,prop,decorators);}function decorateMethodV2(prototype,prop,decorators){const origDesc=Object.getOwnPropertyDescriptor(prototype,prop);let desc={...origDesc};for(let decorator of decorators){desc=decorator(prototype,prop,desc)||desc;}if(desc.initializer!==void 0){desc.value=desc.initializer?desc.initializer.call(prototype):void 0;desc.initializer=void 0;}Object.defineProperty(prototype,prop,desc);}function initializeDeferredDecorator(target,prop){let desc=findDeferredDecorator(target.constructor,prop);if(desc){Object.defineProperty(target,prop,{enumerable:desc.enumerable,configurable:desc.configurable,writable:desc.writable,value:desc.initializer?desc.initializer.call(target):void 0});}}function decorateClass(target,decorators){return decorators.reduce((accum,decorator)=>decorator(accum)||accum,target);}function decoratePOJO(pojo,decorated){for(let[type,prop,decorators]of decorated){if(type===\"field\"){decoratePojoField(pojo,prop,decorators);}else{decorateMethodV2(pojo,prop,decorators);}}return pojo;}function decoratePojoField(pojo,prop,decorators){let desc={configurable:true,enumerable:true,writable:true,initializer:()=>{var _Object$getOwnPropert;return(_Object$getOwnPropert=Object.getOwnPropertyDescriptor(pojo,prop))===null||_Object$getOwnPropert===void 0?void 0:_Object$getOwnPropert.value;}};for(let decorator of decorators){desc=decorator(pojo,prop,desc)||desc;}if(desc.initializer){desc.value=desc.initializer.call(pojo);delete desc.initializer;}Object.defineProperty(pojo,prop,desc);}const UNINITIALIZED=Object.freeze({});function elementForEvent(event){return event.target;}function valueForEvent(event){return elementForEvent(event).value;}function devirtualize(callback){return event=>callback(valueForEvent(event),event);}function valueFrom(reference){if(reference===undefined){return new LocalValue(undefined);}else if(isConstRef(reference)){return new LocalValue(valueForRef(reference));}else if(isUpdatableRef(reference)){return new UpstreamValue(reference);}else{return new ForkedValue(reference);}}var _value2=/*#__PURE__*/new WeakMap();class LocalValue{constructor(value){_classPrivateFieldInitSpec(this,_value2,(initializeDeferredDecorator(this,\"value\"),void 0));this.value=value;}get(){return this.value;}set(value){this.value=value;}}_LocalValue=LocalValue;decorateFieldV2(_LocalValue.prototype,\"value\",[tracked]);class UpstreamValue{constructor(reference){this.reference=reference;}get(){return valueForRef(this.reference);}set(value){updateRef(this.reference,value);}}class ForkedValue{constructor(reference){_defineProperty(this,\"local\",void 0);_defineProperty(this,\"upstream\",void 0);_defineProperty(this,\"lastUpstreamValue\",UNINITIALIZED);this.upstream=new UpstreamValue(reference);}get(){let upstreamValue=this.upstream.get();if(upstreamValue!==this.lastUpstreamValue){this.lastUpstreamValue=upstreamValue;this.local=new LocalValue(upstreamValue);}return this.local.get();}set(value){this.local.set(value);}}class AbstractInput extends InternalComponent{constructor(){super(...arguments);_defineProperty(this,\"_value\",valueFrom(this.args.named['value']));}validateArguments(){super.validateArguments();}get value(){return this._value.get();}set value(value){this._value.set(value);}valueDidChange(event){this.value=valueForEvent(event);}/**\n             * The `change` and `input` actions need to be overridden in the `Input`\n             * subclass. Unfortunately, some ember-source builds currently uses babel\n             * loose mode to transpile its classes. Having the `@action` decorator on the\n             * super class creates a getter on the prototype, and when the subclass\n             * overrides the method, the loose mode transpilation would emit something\n             * like `Subclass.prototype['change'] = function change() { ... }`, which\n             * fails because `prototype['change']` is getter-only/readonly. The correct\n             * solution is to use `Object.defineProperty(prototype, 'change', ...)` but\n             * that requires disabling loose mode. For now, the workaround is to add the\n             * decorator only on the subclass. This is more of a configuration issue on\n             * our own builds and doesn't really affect apps.\n             *//* @action */change(event){this.valueDidChange(event);}/* @action */input(event){this.valueDidChange(event);}keyUp(event){switch(event.key){case'Enter':this.listenerFor('enter')(event);this.listenerFor('insert-newline')(event);break;case'Escape':this.listenerFor('escape-press')(event);break;}}listenerFor(name){let listener=super.listenerFor(name);if(this.isVirtualEventListener(name,listener)){return devirtualize(listener);}else{return listener;}}isVirtualEventListener(name,_listener){let virtualEvents=['enter','insert-newline','escape-press'];return virtualEvents.indexOf(name)!==-1;}}/**\n          @module @ember/component\n          */_AbstractInput=AbstractInput;decorateMethodV2(_AbstractInput.prototype,\"valueDidChange\",[action$1]);decorateMethodV2(_AbstractInput.prototype,\"keyUp\",[action$1]);let isValidInputType;if(hasDOM){const INPUT_TYPES=Object.create(null);const INPUT_ELEMENT=document.createElement('input');INPUT_TYPES['']=false;INPUT_TYPES['text']=true;INPUT_TYPES['checkbox']=true;isValidInputType=type=>{let isValid=INPUT_TYPES[type];if(isValid===undefined){try{INPUT_ELEMENT.type=type;isValid=INPUT_ELEMENT.type===type;}catch(_e){isValid=false;}finally{INPUT_ELEMENT.type='text';}INPUT_TYPES[type]=isValid;}return isValid;};}else{isValidInputType=type=>type!=='';}/**\n            See [Ember.Templates.components.Input](/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input).\n\n            @method input\n            @for Ember.Templates.helpers\n            @param {Hash} options\n            @public\n            *//**\n            An opaque interface which can be imported and used in strict-mode\n            templates to call <Input>.\n\n            See [Ember.Templates.components.Input](/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input).\n\n            @for @ember/component\n            @method Input\n            @see {Ember.Templates.components.Input}\n            @public\n          **//**\n            The `Input` component lets you create an HTML `<input>` element.\n\n            ```handlebars\n            <Input @value=\"987\" />\n            ```\n\n            creates an `<input>` element with `type=\"text\"` and value set to 987.\n\n            ### Text field\n\n            If no `type` argument is specified, a default of type 'text' is used.\n\n            ```handlebars\n            Search:\n            <Input @value={{this.searchWord}} />\n            ```\n\n            In this example, the initial value in the `<input>` will be set to the value of\n            `this.searchWord`. If the user changes the text, the value of `this.searchWord` will also be\n            updated.\n\n            ### Actions\n\n            The `Input` component takes a number of arguments with callbacks that are invoked in response to\n            user events.\n\n            * `enter`\n            * `insert-newline`\n            * `escape-press`\n            * `focus-in`\n            * `focus-out`\n            * `key-down`\n            * `key-press`\n            * `key-up`\n\n            These callbacks are passed to `Input` like this:\n\n            ```handlebars\n            <Input @value={{this.searchWord}} @enter={{this.query}} />\n            ```\n\n            Starting with Ember Octane, we recommend using the `{{on}}` modifier to call actions\n            on specific events, such as the input event.\n\n            ```handlebars\n            <label for=\"input-name\">Name:</label>\n            <Input\n              @id=\"input-name\"\n              @value={{this.name}}\n              {{on \"input\" this.validateName}}\n            />\n            ```\n\n            The event name (e.g. `focusout`, `input`, `keydown`) always follows the casing\n            that the HTML standard uses.\n\n            ### `<input>` HTML Attributes to Avoid\n\n            In most cases, if you want to pass an attribute to the underlying HTML `<input>` element, you\n            can pass the attribute directly, just like any other Ember component.\n\n            ```handlebars\n            <Input @type=\"text\" size=\"10\" />\n            ```\n\n            In this example, the `size` attribute will be applied to the underlying `<input>` element in the\n            outputted HTML.\n\n            However, there are a few attributes where you **must** use the `@` version.\n\n            * `@type`: This argument is used to control which Ember component is used under the hood\n            * `@value`: The `@value` argument installs a two-way binding onto the element. If you wanted a\n              one-way binding, use `<input>` with the `value` property and the `input` event instead.\n            * `@checked` (for checkboxes): like `@value`, the `@checked` argument installs a two-way binding\n              onto the element. If you wanted a one-way binding, use `<input type=\"checkbox\">` with\n              `checked` and the `input` event instead.\n\n            ### Checkbox\n\n            To create an `<input type=\"checkbox\">`:\n\n            ```handlebars\n            Emberize Everything:\n            <Input @type=\"checkbox\" @checked={{this.isEmberized}} name=\"isEmberized\" />\n            ```\n\n            This will bind the checked state of this checkbox to the value of `isEmberized` -- if either one\n            changes, it will be reflected in the other.\n\n            @method Input\n            @for Ember.Templates.components\n            @param {Hash} options\n            @public\n          */class _Input extends AbstractInput{constructor(){super(...arguments);_defineProperty(this,\"_checked\",valueFrom(this.args.named['checked']));}static toString(){return'Input';}/**\n             * The HTML class attribute.\n             */get class(){if(this.isCheckbox){return'ember-checkbox ember-view';}else{return'ember-text-field ember-view';}}/**\n             * The HTML type attribute.\n             */get type(){let type=this.named('type');if(type===null||type===undefined){return'text';}return isValidInputType(type)?type:'text';}get isCheckbox(){return this.named('type')==='checkbox';}get checked(){if(this.isCheckbox){return this._checked.get();}else{return undefined;}}set checked(checked){this._checked.set(checked);}change(event){if(this.isCheckbox){this.checkedDidChange(event);}else{super.change(event);}}input(event){if(!this.isCheckbox){super.input(event);}}checkedDidChange(event){let element=event.target;this.checked=element.checked;}isSupportedArgument(name){let supportedArguments=['type','value','checked','enter','insert-newline','escape-press'];return supportedArguments.indexOf(name)!==-1||super.isSupportedArgument(name);}}_Input2=_Input;decorateMethodV2(_Input2.prototype,\"change\",[action$1]);decorateMethodV2(_Input2.prototype,\"input\",[action$1]);decorateMethodV2(_Input2.prototype,\"checkedDidChange\",[action$1]);const Input=opaquify(_Input,InputTemplate);/**\n          @module ember\n          */function isSimpleClick(event){if(!(event instanceof MouseEvent)){return false;}let modifier=event.shiftKey||event.metaKey||event.altKey||event.ctrlKey;let secondaryClick=event.which>1;// IE9 may return undefined\nreturn!modifier&&!secondaryClick;}function constructStyleDeprecationMessage(affectedStyle){return''+'Binding style attributes may introduce cross-site scripting vulnerabilities; '+'please ensure that values being bound are properly escaped. For more information, '+'including how to disable this warning, see '+'https://deprecations.emberjs.com/v1.x/#toc_binding-style-attributes. '+'Style affected: \"'+affectedStyle+'\"';}/**\n            @private\n            @method getRootViews\n            @param {Object} owner\n          */function getRootViews(owner){let registry=owner.lookup('-view-registry:main');let rootViews=[];Object.keys(registry).forEach(id=>{let view=registry[id];if(view.parentView===null){rootViews.push(view);}});return rootViews;}/**\n            @private\n            @method getViewId\n            @param {Ember.View} view\n           */function getViewId(view){if(view.tagName!==''&&view.elementId){return view.elementId;}else{return guidFor(view);}}const ELEMENT_VIEW=new WeakMap();const VIEW_ELEMENT=new WeakMap();function getElementView(element){return ELEMENT_VIEW.get(element)||null;}/**\n            @private\n            @method getViewElement\n            @param {Ember.View} view\n           */function getViewElement(view){return VIEW_ELEMENT.get(view)||null;}function setElementView(element,view){ELEMENT_VIEW.set(element,view);}function setViewElement(view,element){VIEW_ELEMENT.set(view,element);}// These are not needed for GC, but for correctness. We want to be able to\n// null-out these links while the objects are still live. Specifically, in\n// this case, we want to prevent access to the element (and vice verse) during\n// destruction.\nfunction clearElementView(element){ELEMENT_VIEW.delete(element);}function clearViewElement(view){VIEW_ELEMENT.delete(view);}const CHILD_VIEW_IDS=new WeakMap();/**\n            @private\n            @method getChildViews\n            @param {Ember.View} view\n          */function getChildViews(view){let owner=getOwner$2(view);let registry=owner.lookup('-view-registry:main');return collectChildViews(view,registry);}function initChildViews(view){let childViews=new Set();CHILD_VIEW_IDS.set(view,childViews);return childViews;}function addChildView(parent,child){let childViews=CHILD_VIEW_IDS.get(parent);if(childViews===undefined){childViews=initChildViews(parent);}childViews.add(getViewId(child));}function collectChildViews(view,registry){let views=[];let childViews=CHILD_VIEW_IDS.get(view);if(childViews!==undefined){childViews.forEach(id=>{let view=registry[id];if(view&&!view.isDestroying&&!view.isDestroyed){views.push(view);}});}return views;}/**\n            @private\n            @method getViewBounds\n            @param {Ember.View} view\n          */function getViewBounds(view){return view.renderer.getBounds(view);}/**\n            @private\n            @method getViewRange\n            @param {Ember.View} view\n          */function getViewRange(view){let bounds=getViewBounds(view);let range=document.createRange();range.setStartBefore(bounds.firstNode);range.setEndAfter(bounds.lastNode);return range;}/**\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          */function getViewClientRects(view){let range=getViewRange(view);return range.getClientRects();}/**\n            `getViewBoundingClientRect` provides information about the position of the\n            bounding border box edges of a view relative to the viewport.\n\n            It is only intended to be used by development tools like the Ember Inspector\n            and may not work on older browsers.\n\n            @private\n            @method getViewBoundingClientRect\n            @param {Ember.View} view\n          */function getViewBoundingClientRect(view){let range=getViewRange(view);return range.getBoundingClientRect();}/**\n            Determines if the element matches the specified selector.\n\n            @private\n            @method matches\n            @param {DOMElement} el\n            @param {String} selector\n          */const elMatches=typeof Element!=='undefined'?Element.prototype.matches:undefined;function matches(el,selector){return elMatches.call(el,selector);}function contains(a,b){if(a.contains!==undefined){return a.contains(b);}let current=b.parentNode;while(current&&(current=current.parentNode)){if(current===a){return true;}}return false;}const emberinternalsViewsLibSystemUtils=/*#__PURE__*/Object.defineProperty({__proto__:null,addChildView,clearElementView,clearViewElement,collectChildViews,constructStyleDeprecationMessage,contains,elMatches,getChildViews,getElementView,getRootViews,getViewBoundingClientRect,getViewBounds,getViewClientRects,getViewElement,getViewId,getViewRange,initChildViews,isSimpleClick,matches,setElementView,setViewElement},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          */function ActionManager(){}/**\n            Global action id hash.\n\n            @private\n            @property registeredActions\n            @type Object\n          */ActionManager.registeredActions={};const emberinternalsViewsLibSystemActionManager=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ActionManager},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          */const ROOT_ELEMENT_CLASS='ember-application';/**\n            `Ember.EventDispatcher` handles delegating browser events to their\n            corresponding `Ember.Views.` For example, when you click on a view,\n            `Ember.EventDispatcher` ensures that that view's `mouseDown` method gets\n            called.\n\n            @class EventDispatcher\n            @namespace Ember\n            @private\n            @extends EmberObject\n          */class EventDispatcher extends EmberObject{constructor(){super(...arguments);/**\n              The set of events names (and associated handler function names) to be setup\n              and dispatched by the `EventDispatcher`. Modifications to this list can be done\n              at setup time, generally via the `Application.customEvents` hash.\n               To add new events to be listened to:\n               ```javascript\n              import Application from '@ember/application';\n               let App = Application.create({\n                customEvents: {\n                  paste: 'paste'\n                }\n              });\n              ```\n               To prevent default events from being listened to:\n               ```javascript\n              import Application from '@ember/application';\n               let App = Application.create({\n                customEvents: {\n                  mouseenter: null,\n                  mouseleave: null\n                }\n              });\n              ```\n              @property events\n              @type Object\n              @private\n            */_defineProperty(this,\"events\",{touchstart:'touchStart',touchmove:'touchMove',touchend:'touchEnd',touchcancel:'touchCancel',keydown:'keyDown',keyup:'keyUp',keypress:'keyPress',mousedown:'mouseDown',mouseup:'mouseUp',contextmenu:'contextMenu',click:'click',dblclick:'doubleClick',focusin:'focusIn',focusout:'focusOut',submit:'submit',input:'input',change:'change',dragstart:'dragStart',drag:'drag',dragenter:'dragEnter',dragleave:'dragLeave',dragover:'dragOver',drop:'drop',dragend:'dragEnd'});/**\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            */_defineProperty(this,\"rootElement\",'body');_defineProperty(this,\"_eventHandlers\",Object.create(null));_defineProperty(this,\"_didSetup\",false);_defineProperty(this,\"finalEventNameMapping\",null);_defineProperty(this,\"_sanitizedRootElement\",null);_defineProperty(this,\"lazyEvents\",new Map());_defineProperty(this,\"_reverseEventNameMapping\",null);}/**\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            */setup(addedEvents,_rootElement){let events=this.finalEventNameMapping={...get$2(this,'events'),...addedEvents};this._reverseEventNameMapping=Object.keys(events).reduce((result,key)=>{let eventName=events[key];return eventName?{...result,[eventName]:key}:result;},{});let lazyEvents=this.lazyEvents;if(_rootElement!==undefined&&_rootElement!==null){set(this,'rootElement',_rootElement);}let specifiedRootElement=get$2(this,'rootElement');let rootElement=typeof specifiedRootElement!=='string'?specifiedRootElement:document.querySelector(specifiedRootElement);rootElement.classList.add(ROOT_ELEMENT_CLASS);this._sanitizedRootElement=rootElement;// setup event listeners for the non-lazily setup events\nfor(let event in events){if(Object.prototype.hasOwnProperty.call(events,event)){lazyEvents.set(event,events[event]??null);}}this._didSetup=true;}/**\n              Setup event listeners for the given browser event name\n               @private\n              @method setupHandlerForBrowserEvent\n              @param event the name of the event in the browser\n            */setupHandlerForBrowserEvent(event){this.setupHandler(this._sanitizedRootElement,event,this.finalEventNameMapping[event]??null);}/**\n              Setup event listeners for the given Ember event name (camel case)\n               @private\n              @method setupHandlerForEmberEvent\n              @param eventName\n            */setupHandlerForEmberEvent(eventName){var _this$_reverseEventNa;let event=(_this$_reverseEventNa=this._reverseEventNameMapping)===null||_this$_reverseEventNa===void 0?void 0:_this$_reverseEventNa[eventName];if(event){this.setupHandler(this._sanitizedRootElement,event,eventName);}}/**\n              Registers an event listener on the rootElement. If the given event is\n              triggered, the provided event handler will be triggered on the target view.\n               If the target view does not implement the event handler, or if the handler\n              returns `false`, the parent view will be called. The event will continue to\n              bubble to each successive parent view until it reaches the top.\n               @private\n              @method setupHandler\n              @param {Element} rootElement\n              @param {String} event the name of the event in the browser\n              @param {String} eventName the name of the method to call on the view\n            */setupHandler(rootElement,event,eventName){if(eventName===null||!this.lazyEvents.has(event)){return;// nothing to do\n}let viewHandler=(target,event)=>{let view=getElementView(target);let result=true;if(view){// SAFETY: As currently written, this is not safe. Though it seems to always be true.\nresult=view.handleEvent(eventName,event);}return result;};let actionHandler=(target,event)=>{let actionId=target.getAttribute('data-ember-action');let actions;// 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.\nif(actionId===''){actions=[];for(let attr of target.attributes){let attrName=attr.name;if(attrName.indexOf('data-ember-action-')===0){let action=ActionManager.registeredActions[attr.value];actions.push(action);}}}else if(actionId){// FIXME: This branch is never called in tests. Improve tests or remove\nlet actionState=ActionManager.registeredActions[actionId];if(actionState){actions=[actionState];}}// 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.\nif(!actions){// FIXME: This branch is never called in tests. Improve tests or remove\nreturn;}let result=true;for(let index=0;index<actions.length;index++){let action=actions[index];if(action&&action.eventName===eventName){// return false if any of the action handlers returns false\nresult=action.handler(event)&&result;}}return result;};let handleEvent=this._eventHandlers[event]=event=>{let target=event.target;do{if(getElementView(target)){if(viewHandler(target,event)===false){event.preventDefault();event.stopPropagation();break;}else if(event.cancelBubble===true){break;}}else if(typeof target.hasAttribute==='function'&&target.hasAttribute('data-ember-action')){if(actionHandler(target,event)===false){break;}}target=target.parentNode;}while(target instanceof Element);};rootElement.addEventListener(event,handleEvent);this.lazyEvents.delete(event);}destroy(){if(this._didSetup===false){return;}let rootElement=this._sanitizedRootElement;if(!rootElement){return;}for(let event in this._eventHandlers){rootElement.removeEventListener(event,this._eventHandlers[event]);}rootElement.classList.remove(ROOT_ELEMENT_CLASS);return this._super(...arguments);}toString(){return'(EventDispatcher)';}}const emberinternalsViewsLibSystemEventDispatcher=/*#__PURE__*/Object.defineProperty({__proto__:null,default:EventDispatcher},Symbol.toStringTag,{value:'Module'});const ComponentLookup=EmberObject.extend({componentFor(name,owner){let fullName=`component:${name}`;return owner.factoryFor(fullName);},layoutFor(name,owner,options){let templateFullName=`template:components/${name}`;return owner.lookup(templateFullName,options);}});const emberinternalsViewsLibComponentLookup=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ComponentLookup},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/object/evented\n          *//**\n            This mixin allows for Ember objects to subscribe to and emit events.\n\n            ```app/utils/person.js\n            import EmberObject from '@ember/object';\n            import Evented from '@ember/object/evented';\n\n            export default EmberObject.extend(Evented, {\n              greet() {\n                // ...\n                this.trigger('greet');\n              }\n            });\n            ```\n\n            ```javascript\n            var person = Person.create();\n\n            person.on('greet', function() {\n              console.log('Our person has greeted');\n            });\n\n            person.greet();\n\n            // outputs: 'Our person has greeted'\n            ```\n\n            You can also chain multiple event subscriptions:\n\n            ```javascript\n            person.on('greet', function() {\n              console.log('Our person has greeted');\n            }).one('greet', function() {\n              console.log('Offer one-time special');\n            }).off('event', this, forgetThis);\n            ```\n\n            @class Evented\n            @public\n           */const Evented=Mixin.create({on(name,target,method){addListener(this,name,target,method);return this;},one(name,target,method){addListener(this,name,target,method,true);return this;},trigger(name){for(var _len37=arguments.length,args=new Array(_len37>1?_len37-1:0),_key38=1;_key38<_len37;_key38++){args[_key38-1]=arguments[_key38];}sendEvent(this,name,args);},off(name,target,method){removeListener(this,name,target,method);return this;},has(name){return hasListeners(this,name);}});const emberObjectEvented=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Evented,on:on$3},Symbol.toStringTag,{value:'Module'});// Here we have runtime shenanigans to add debug-only errors to the class in dev\n// builds. Those runtime shenanigans produce the need for type-level shenanigans\n// to match: if we just assign without an explicit type annotation on the `let`\n// binding below for `FrameworkObject`, TS gets stuck because this creates\n// `FrameworkObject` with a class expression (rather than the usual class\n// declaration form). That in turn means TS needs to be able to fully name the\n// type produced by the class expression, which includes the `OWNER` symbol from\n// `@glimmer/owner`.\n//\n// By explicitly giving the declaration a type when assigning it the class\n// expression, instead of relying on inference, TS no longer needs to name the\n// `OWNER` property key from the super class, eliminating the private name\n// shenanigans.\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\nlet FrameworkObject=class FrameworkObject extends EmberObject{};const emberObjectinternals=/*#__PURE__*/Object.defineProperty({__proto__:null,FrameworkObject,cacheFor:getCachedValueFor,guidFor},Symbol.toStringTag,{value:'Module'});/* eslint no-console:off *//* global console *//**\n          @module @ember/instrumentation\n          @private\n          *//**\n            The purpose of the Ember Instrumentation module is\n            to provide efficient, general-purpose instrumentation\n            for Ember.\n\n            Subscribe to a listener by using `subscribe`:\n\n            ```javascript\n            import { subscribe } from '@ember/instrumentation';\n\n            subscribe(\"render\", {\n              before(name, timestamp, payload) {\n\n              },\n\n              after(name, timestamp, payload) {\n\n              }\n            });\n            ```\n\n            If you return a value from the `before` callback, that same\n            value will be passed as a fourth parameter to the `after`\n            callback.\n\n            Instrument a block of code by using `instrument`:\n\n            ```javascript\n            import { instrument } from '@ember/instrumentation';\n\n            instrument(\"render.handlebars\", payload, function() {\n              // rendering logic\n            }, binding);\n            ```\n\n            Event names passed to `instrument` are namespaced\n            by periods, from more general to more specific. Subscribers\n            can listen for events by whatever level of granularity they\n            are interested in.\n\n            In the above example, the event is `render.handlebars`,\n            and the subscriber listened for all events beginning with\n            `render`. It would receive callbacks for events named\n            `render`, `render.handlebars`, `render.container`, or\n            even `render.handlebars.layout`.\n\n            @class Instrumentation\n            @static\n            @private\n          */let subscribers=[];let cache={};function populateListeners(name){let listeners=[];for(let subscriber of subscribers){if(subscriber.regex.test(name)){listeners.push(subscriber.object);}}cache[name]=listeners;return listeners;}const time=(()=>{let perf='undefined'!==typeof window?window.performance||{}:{};let fn=perf.now||perf.mozNow||perf.webkitNow||perf.msNow||perf.oNow;return fn?fn.bind(perf):Date.now;})();function isCallback$1(value){return typeof value==='function';}/**\n            Notifies event's subscribers, calls `before` and `after` hooks.\n\n            @method instrument\n            @for @ember/instrumentation\n            @static\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          */function instrument(name,p1,p2,p3){let _payload;let callback;let binding;if(arguments.length<=3&&isCallback$1(p1)){callback=p1;binding=p2;}else{_payload=p1;callback=p2;binding=p3;}// fast path\nif(subscribers.length===0){return callback.call(binding);}// avoid allocating the payload in fast path\nlet payload=_payload||{};let finalizer=_instrumentStart(name,()=>payload);if(finalizer===NOOP$2){return callback.call(binding);}else{return withFinalizer(callback,finalizer,payload,binding);}}function flaggedInstrument(_name,_payload,callback){return callback();}function withFinalizer(callback,finalizer,payload,binding){try{return callback.call(binding);}catch(e){payload.exception=e;throw e;}finally{finalizer();}}function NOOP$2(){}// private for now\nfunction _instrumentStart(name,payloadFunc,payloadArg){if(subscribers.length===0){return NOOP$2;}let listeners=cache[name];if(!listeners){listeners=populateListeners(name);}if(listeners.length===0){return NOOP$2;}let payload=payloadFunc(payloadArg);let STRUCTURED_PROFILE=ENV.STRUCTURED_PROFILE;let timeName;if(STRUCTURED_PROFILE){timeName=`${name}: ${payload.object}`;console.time(timeName);}let beforeValues=[];let timestamp=time();for(let listener of listeners){beforeValues.push(listener.before(name,timestamp,payload));}const constListeners=listeners;return function _instrumentEnd(){let timestamp=time();for(let i=0;i<constListeners.length;i++){let listener=constListeners[i];if(typeof listener.after==='function'){listener.after(name,timestamp,payload,beforeValues[i]);}}if(STRUCTURED_PROFILE){console.timeEnd(timeName);}};}/**\n            Subscribes to a particular event or instrumented block of code.\n\n            @method subscribe\n            @for @ember/instrumentation\n            @static\n\n            @param {String} [pattern] Namespaced event name.\n            @param {Object} [object] Before and After hooks.\n\n            @return {Subscriber}\n            @private\n          */function subscribe(pattern,object){let paths=pattern.split('.');let regexes=[];for(let path of paths){if(path==='*'){regexes.push('[^\\\\.]*');}else{regexes.push(path);}}let regex=regexes.join('\\\\.');regex=`${regex}(\\\\..*)?`;let subscriber={pattern,regex:new RegExp(`^${regex}$`),object};subscribers.push(subscriber);cache={};return subscriber;}/**\n            Unsubscribes from a particular event or instrumented block of code.\n\n            @method unsubscribe\n            @for @ember/instrumentation\n            @static\n\n            @param {Object} [subscriber]\n            @private\n          */function unsubscribe(subscriber){let index=0;for(let i=0;i<subscribers.length;i++){if(subscribers[i]===subscriber){index=i;}}subscribers.splice(index,1);cache={};}/**\n            Resets `Instrumentation` by flushing list of subscribers.\n\n            @method reset\n            @for @ember/instrumentation\n            @static\n            @private\n          */function reset(){subscribers.length=0;cache={};}const emberInstrumentationIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,_instrumentStart,flaggedInstrument,instrument,reset,subscribe,subscribers,unsubscribe},Symbol.toStringTag,{value:'Module'});const DEFAULT=Object.freeze({// appendChild is only legal while rendering the buffer.\nappendChild(){throw new Error(\"You can't use appendChild outside of the rendering process\");},// Handle events from `Ember.EventDispatcher`\nhandleEvent(){return true;// continue event propagation\n},rerender(){},destroy(){}});const PRE_RENDER=Object.freeze({...DEFAULT});const HAS_ELEMENT=Object.freeze({...DEFAULT,rerender(view){view.renderer.rerender();},destroy(view){view.renderer.remove(view);},// Handle events from `Ember.EventDispatcher`\nhandleEvent(view,eventName,event){if(view.has(eventName)){// Handler should be able to re-dispatch events, so we don't\n// preventDefault or stopPropagation.\nreturn flaggedInstrument(`interaction.${eventName}`,{event,view},()=>{return join(view,view.trigger,eventName,event);});}else{return true;// continue event propagation\n}}});const IN_DOM=Object.freeze({...HAS_ELEMENT,enter(view){// Register the view for event handling. This hash is used by\n// Ember.EventDispatcher to dispatch incoming events.\nview.renderer.register(view);}});const DESTROYING=Object.freeze({...DEFAULT,appendChild(){throw new Error(\"You can't call appendChild on a view being destroyed\");},rerender(){throw new Error(\"You can't call rerender on a view being destroyed\");}});/*\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          */const states=Object.freeze({preRender:PRE_RENDER,inDOM:IN_DOM,hasElement:HAS_ELEMENT,destroying:DESTROYING});const emberinternalsViewsLibViewsStates=/*#__PURE__*/Object.defineProperty({__proto__:null,default:states},Symbol.toStringTag,{value:'Module'});var _renderer=/*#__PURE__*/new WeakMap();class CoreView extends FrameworkObject.extend(Evented,ActionHandler){constructor(){super(...arguments);_defineProperty(this,\"isView\",true);_defineProperty(this,\"_superTrigger\",void 0);_defineProperty(this,\"_superHas\",void 0);_classPrivateFieldInitSpec(this,_renderer,(initializeDeferredDecorator(this,\"renderer\"),void 0));}/**\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            */init(properties){super.init(properties);// Handle methods from Evented\n// The native class inheritance will not work for mixins. To work around this,\n// we copy the existing trigger and has methods provided by the mixin and swap in the\n// new ones from our class.\nthis._superTrigger=this.trigger;this.trigger=this._trigger;this._superHas=this.has;this.has=this._has;this.parentView??(this.parentView=null);this._state='preRender';this._currentState=this._states.preRender;}instrumentDetails(hash){hash['object']=this.toString();hash['containerKey']=this._debugContainerKey;hash['view']=this;return hash;}/**\n              Override the default event firing from `Evented` to\n              also call methods with the given name.\n               @method trigger\n              @param name {String}\n              @private\n            */// Changed to `trigger` on init\n_trigger(name){for(var _len38=arguments.length,args=new Array(_len38>1?_len38-1:0),_key39=1;_key39<_len38;_key39++){args[_key39-1]=arguments[_key39];}this._superTrigger(name,...args);let method=this[name];if(typeof method==='function'){return method.apply(this,args);}}// Changed to `has` on init\n_has(name){return typeof this[name]==='function'||this._superHas(name);}}// Declare on the prototype to have a single shared value.\n_CoreView=CoreView;decorateFieldV2(_CoreView.prototype,\"renderer\",[inject$2('renderer','-dom')]);_defineProperty(CoreView,\"isViewFactory\",true);CoreView.prototype._states=states;const emberinternalsViewsLibViewsCoreView=/*#__PURE__*/Object.defineProperty({__proto__:null,default:CoreView},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          */const EMPTY_ARRAY$2=Object.freeze([]);/**\n            @class ClassNamesSupport\n            @namespace Ember\n            @private\n          */const ClassNamesSupport=Mixin.create({concatenatedProperties:['classNames','classNameBindings'],init(){this._super(...arguments);},/**\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            */classNames:EMPTY_ARRAY$2,/**\n              A list of properties of the view to apply as class names. If the property\n              is a string value, the value of that string will be applied as a class\n              name.\n               ```javascript\n              // Applies the 'high' class to the view element\n              import Component from '@ember/component';\n              Component.extend({\n                classNameBindings: ['priority'],\n                priority: 'high'\n              });\n              ```\n               If the value of the property is a Boolean, the name of that property is\n              added as a dasherized class name.\n               ```javascript\n              // Applies the 'is-urgent' class to the view element\n              import Component from '@ember/component';\n              Component.extend({\n                classNameBindings: ['isUrgent'],\n                isUrgent: true\n              });\n              ```\n               If you would prefer to use a custom value instead of the dasherized\n              property name, you can pass a binding like this:\n               ```javascript\n              // Applies the 'urgent' class to the view element\n              import Component from '@ember/component';\n              Component.extend({\n                classNameBindings: ['isUrgent:urgent'],\n                isUrgent: true\n              });\n              ```\n               If you would like to specify a class that should only be added when the\n              property is false, you can declare a binding like this:\n               ```javascript\n              // Applies the 'disabled' class to the view element\n              import Component from '@ember/component';\n              Component.extend({\n                classNameBindings: ['isEnabled::disabled'],\n                isEnabled: false\n              });\n              ```\n               This list of properties is inherited from the component's superclasses as well.\n               @property classNameBindings\n              @type Array\n              @default []\n              @public\n            */classNameBindings:EMPTY_ARRAY$2});const emberinternalsViewsLibMixinsClassNamesSupport=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ClassNamesSupport},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          */const ChildViewsSupport=Mixin.create({/**\n              Array of child views. You should never edit this array directly.\n               @property childViews\n              @type Array\n              @default []\n              @private\n            */childViews:nativeDescDecorator({configurable:false,enumerable:false,get(){return getChildViews(this);}}),appendChild(view){addChildView(this,view);}});const emberinternalsViewsLibMixinsChildViewsSupport=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ChildViewsSupport},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          */const ViewStateSupport=Mixin.create({_transitionTo(state){let priorState=this._currentState;let currentState=this._currentState=this._states[state];this._state=state;if(priorState&&priorState.exit){priorState.exit(this);}if(currentState.enter){currentState.enter(this);}}});const emberinternalsViewsLibMixinsViewStateSupport=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ViewStateSupport},Symbol.toStringTag,{value:'Module'});function K$1(){return this;}/**\n           @class ViewMixin\n           @namespace Ember\n           @private\n          */const ViewMixin=Mixin.create({/**\n             A list of properties of the view to apply as attributes. If the property\n             is a string value, the value of that string will be applied as the value\n             for an attribute of the property's name.\n              The following example creates a tag like `<div priority=\"high\" />`.\n              ```app/components/my-component.js\n             import Component from '@ember/component';\n              export default Component.extend({\n                attributeBindings: ['priority'],\n                priority: 'high'\n              });\n             ```\n              If the value of the property is a Boolean, the attribute is treated as\n             an HTML Boolean attribute. It will be present if the property is `true`\n             and omitted if the property is `false`.\n              The following example creates markup like `<div visible />`.\n              ```app/components/my-component.js\n             import Component from '@ember/component';\n              export default Component.extend({\n                attributeBindings: ['visible'],\n                visible: true\n              });\n             ```\n              If you would prefer to use a custom value instead of the property name,\n             you can create the same markup as the last example with a binding like\n             this:\n              ```app/components/my-component.js\n             import Component from '@ember/component';\n              export default Component.extend({\n                attributeBindings: ['isVisible:visible'],\n                isVisible: true\n              });\n             ```\n              This list of attributes is inherited from the component's superclasses,\n             as well.\n              @property attributeBindings\n             @type Array\n             @default []\n             @public\n             */concatenatedProperties:['attributeBindings'],// ..........................................................\n// TEMPLATE SUPPORT\n//\n/**\n             Return the nearest ancestor that is an instance of the provided\n             class or mixin.\n              @method nearestOfType\n             @param {Class,Mixin} klass Subclass of Ember.View (or Ember.View itself),\n             or an instance of Mixin.\n             @return Ember.View\n             @deprecated use `yield` and contextual components for composition instead.\n             @private\n             */nearestOfType(klass){let view=this.parentView;let isOfType=klass instanceof Mixin?view=>klass.detect(view):view=>klass.detect(view.constructor);while(view){if(isOfType(view)){return view;}view=view.parentView;}return;},/**\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             */nearestWithProperty(property){let view=this.parentView;while(view){if(property in view){return view;}view=view.parentView;}},/**\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             */rerender(){return this._currentState.rerender(this);},// ..........................................................\n// ELEMENT SUPPORT\n//\n/**\n             Returns the current DOM element for the view.\n               @property element\n              @type DOMElement\n              @public\n            */element:nativeDescDecorator({configurable:false,enumerable:false,get(){return this.renderer.getElement(this);}}),/**\n             Appends the view's element to the specified parent element.\n              Note that this method just schedules the view to be appended; the DOM\n             element will not be appended to the given element until all bindings have\n             finished synchronizing.\n              This is not typically a function that you will need to call directly when\n             building your application. If you do need to use `appendTo`, be sure that\n             the target element you are providing is associated with an `Application`\n             and does not have an ancestor element that is associated with an Ember view.\n              @method appendTo\n             @param {String|DOMElement} A selector, element, HTML string\n             @return {Ember.View} receiver\n             @private\n             */appendTo(selector){let target;if(hasDOM){target=typeof selector==='string'?document.querySelector(selector):selector;}else{target=selector;}// SAFETY: SimpleElement is supposed to be a subset of Element so this _should_ be safe.\n// However, the types are more specific in some places which necessitates the `as`.\nthis.renderer.appendTo(this,target);return this;},/**\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             */append(){return this.appendTo(document.body);},/**\n             The HTML `id` of the view's element in the DOM. You can provide this\n             value yourself but it must be unique (just as in HTML):\n              ```handlebars\n             {{my-component elementId=\"a-really-cool-id\"}}\n             ```\n              If not manually set a default value will be provided by the framework.\n              Once rendered an element's `elementId` is considered immutable and you\n             should never change it. If you need to compute a dynamic value for the\n             `elementId`, you should do this when the component or element is being\n             instantiated:\n              ```app/components/my-component.js\n             import Component from '@ember/component';\n              export default Component.extend({\n                init() {\n                  this._super(...arguments);\n                  let index = this.get('index');\n                  this.set('elementId', 'component-id' + index);\n                }\n              });\n             ```\n              @property elementId\n             @type String\n             @public\n             */elementId:null,/**\n             Called when a view is going to insert an element into the DOM.\n              @event willInsertElement\n             @public\n             */willInsertElement:K$1,/**\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             */didInsertElement:K$1,/**\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             */willClearRender:K$1,/**\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             */destroy(){this._super(...arguments);this._currentState.destroy(this);},/**\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             */willDestroyElement:K$1,/**\n             Called after the element of the view is destroyed.\n              @event willDestroyElement\n             @public\n             */didDestroyElement:K$1,/**\n             Called when the parentView property has changed.\n              @event parentViewDidChange\n             @private\n             */parentViewDidChange:K$1,// ..........................................................\n// STANDARD RENDER PROPERTIES\n//\n/**\n             Tag name for the view's outer element. The tag name is only used when an\n             element is first created. If you change the `tagName` for an element, you\n             must destroy and recreate the view element.\n              By default, the render buffer will use a `<div>` tag for views.\n              If the tagName is `''`, the view will be tagless, with no outer element.\n             Component properties that depend on the presence of an outer element, such\n             as `classNameBindings` and `attributeBindings`, do not work with tagless\n             components. Tagless components cannot implement methods to handle events,\n             and their `element` property has a `null` value.\n              @property tagName\n             @type String\n             @default null\n             @public\n             */// We leave this null by default so we can tell the difference between\n// the default case and a user-specified tag.\ntagName:null,// .......................................................\n// CORE DISPLAY METHODS\n//\n/**\n             Setup a view, but do not finish waking it up.\n              * configure `childViews`\n             * register the view with the global views hash, which is used for event\n             dispatch\n              @method init\n             @private\n             */init(){this._super(...arguments);if(!this.elementId&&this.tagName!==''){this.elementId=guidFor(this);}},// .......................................................\n// EVENT HANDLING\n//\n/**\n             Handle events from `EventDispatcher`\n              @method handleEvent\n             @param eventName {String}\n             @param evt {Event}\n             @private\n             */handleEvent(eventName,evt){return this._currentState.handleEvent(this,eventName,evt);}});const emberinternalsViewsLibMixinsViewSupport=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ViewMixin},Symbol.toStringTag,{value:'Module'});/**\n           @module ember\n          *//**\n           @class ActionSupport\n           @namespace Ember\n           @private\n          */const ActionSupport=Mixin.create({send(actionName){for(var _len39=arguments.length,args=new Array(_len39>1?_len39-1:0),_key40=1;_key40<_len39;_key40++){args[_key40-1]=arguments[_key40];}let action=this.actions&&this.actions[actionName];if(action){let shouldBubble=action.apply(this,args)===true;if(!shouldBubble){return;}}let target=get$2(this,'target');if(target){target.send(...arguments);}}});const emberinternalsViewsLibMixinsActionSupport=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ActionSupport},Symbol.toStringTag,{value:'Module'});const MUTABLE_CELL=Symbol('MUTABLE_CELL');const emberinternalsViewsLibCompatAttrs=/*#__PURE__*/Object.defineProperty({__proto__:null,MUTABLE_CELL},Symbol.toStringTag,{value:'Module'});const emberinternalsViewsIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,ActionManager,ActionSupport,ChildViewsSupport,ClassNamesSupport,ComponentLookup,CoreView,EventDispatcher,MUTABLE_CELL,ViewMixin,ViewStateSupport,addChildView,clearElementView,clearViewElement,constructStyleDeprecationMessage,getChildViews,getElementView,getRootViews,getViewBoundingClientRect,getViewBounds,getViewClientRects,getViewElement,getViewId,isSimpleClick,setElementView,setViewElement},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/engine\n          */const ENGINE_PARENT=Symbol('ENGINE_PARENT');/**\n            `getEngineParent` retrieves an engine instance's parent instance.\n\n            @method getEngineParent\n            @param {EngineInstance} engine An engine instance.\n            @return {EngineInstance} The parent engine instance.\n            @for @ember/engine\n            @static\n            @private\n          */function getEngineParent(engine){return engine[ENGINE_PARENT];}/**\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          */function setEngineParent(engine,parent){engine[ENGINE_PARENT]=parent;}const emberEngineLibEngineParent=/*#__PURE__*/Object.defineProperty({__proto__:null,ENGINE_PARENT,getEngineParent,setEngineParent},Symbol.toStringTag,{value:'Module'});/**\n           @module @ember/service\n           @public\n           *//**\n            @method inject\n            @static\n            @since 1.10.0\n            @for @ember/service\n            @param {String} name (optional) name of the service to inject, defaults to\n                   the property's name\n            @return {ComputedDecorator} injection decorator instance\n            @public\n          */function inject$1(){for(var _len40=arguments.length,args=new Array(_len40),_key41=0;_key41<_len40;_key41++){args[_key41]=arguments[_key41];}return inject$2('service',...args);}/**\n            Creates a property that lazily looks up a service in the container. There are\n            no restrictions as to what objects a service can be injected into.\n\n            Example:\n\n            ```app/routes/application.js\n            import Route from '@ember/routing/route';\n            import { service } from '@ember/service';\n\n            export default class ApplicationRoute extends Route {\n              @service('auth') authManager;\n\n              model() {\n                return this.authManager.findCurrentUser();\n              }\n            }\n            ```\n\n            Classic Class Example:\n\n            ```app/routes/application.js\n            import Route from '@ember/routing/route';\n            import { service } from '@ember/service';\n\n            export default Route.extend({\n              authManager: service('auth'),\n\n              model() {\n                return this.get('authManager').findCurrentUser();\n              }\n            });\n            ```\n\n            This example will create an `authManager` property on the application route\n            that looks up the `auth` service in the container, making it easily accessible\n            in the `model` hook.\n\n            @method service\n            @static\n            @since 4.1.0\n            @for @ember/service\n            @param {String} name (optional) name of the service to inject, defaults to\n                   the property's name\n            @return {ComputedDecorator} injection decorator instance\n            @public\n          */function service(){for(var _len41=arguments.length,args=new Array(_len41),_key42=0;_key42<_len41;_key42++){args[_key42]=arguments[_key42];}return inject$2('service',...args);}/**\n            @class Service\n            @extends EmberObject\n            @since 1.10.0\n            @public\n          */class Service extends FrameworkObject{}/**\n            A type registry for Ember `Service`s. Meant to be declaration-merged so string\n            lookups resolve to the correct type.\n\n            Blueprints should include such a declaration merge for TypeScript:\n\n            ```ts\n            import Service from '@ember/service';\n\n            export default class ExampleService extends Service {\n              // ...\n            }\n\n            declare module '@ember/service' {\n              export interface Registry {\n                example: ExampleService;\n              }\n            }\n            ```\n\n            Then `@service` can check that the service is registered correctly, and APIs\n            like `owner.lookup('service:example')` can return `ExampleService`.\n           */// NOTE: this cannot be `Record<string, Service | undefined>`, convenient as\n// that would be for end users, because there is no actual contract to that\n// effect with Ember -- and in the future this choice would allow us to have\n// registered services which have no base class.\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\n_defineProperty(Service,\"isServiceFactory\",true);const emberServiceIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Service,inject:inject$1,service},Symbol.toStringTag,{value:'Module'});const LinkToTemplate=templateFactory(/*\n            <a\n            {{!-- for compatibility --}}\n            id={{this.id}}\n            class={{this.class}}\n\n            {{!-- deprecated attribute bindings --}}\n            role={{this.role}}\n            title={{this.title}}\n            rel={{this.rel}}\n            tabindex={{this.tabindex}}\n            target={{this.target}}\n\n            ...attributes\n\n            href={{this.href}}\n\n            {{on 'click' this.click}}\n          >{{yield}}</a>\n          */{\"id\":\"Ub0nir+H\",\"block\":\"[[[11,3],[16,1,[30,0,[\\\"id\\\"]]],[16,0,[30,0,[\\\"class\\\"]]],[16,\\\"role\\\",[30,0,[\\\"role\\\"]]],[16,\\\"title\\\",[30,0,[\\\"title\\\"]]],[16,\\\"rel\\\",[30,0,[\\\"rel\\\"]]],[16,\\\"tabindex\\\",[30,0,[\\\"tabindex\\\"]]],[16,\\\"target\\\",[30,0,[\\\"target\\\"]]],[17,1],[16,6,[30,0,[\\\"href\\\"]]],[4,[32,0],[\\\"click\\\",[30,0,[\\\"click\\\"]]],null],[12],[18,2,null],[13]],[\\\"&attrs\\\",\\\"&default\\\"],false,[\\\"yield\\\"]]\",\"moduleName\":\"packages/@ember/-internals/glimmer/lib/templates/link-to.hbs\",\"scope\":()=>[on],\"isStrictMode\":true});const EMPTY_ARRAY$1=[];const EMPTY_QUERY_PARAMS={};function isMissing(value){return value===null||value===undefined;}function isPresent$1(value){return!isMissing(value);}function isQueryParams(value){return typeof value==='object'&&value!==null&&value['isQueryParams']===true;}/**\n            The `LinkTo` component renders a link to the supplied `routeName` passing an optionally\n            supplied model to the route as its `model` context of the route. The block for `LinkTo`\n            becomes the contents of the rendered element:\n\n            ```handlebars\n            <LinkTo @route='photoGallery'>\n              Great Hamster Photos\n            </LinkTo>\n            ```\n\n            This will result in:\n\n            ```html\n            <a href=\"/hamster-photos\">\n              Great Hamster Photos\n            </a>\n            ```\n\n            ### Disabling the `LinkTo` component\n\n            The `LinkTo` component can be disabled by using the `disabled` argument. A disabled link\n            doesn't result in a transition when activated, and adds the `disabled` class to the `<a>`\n            element.\n\n            (The class name to apply to the element can be overridden by using the `disabledClass`\n            argument)\n\n            ```handlebars\n            <LinkTo @route='photoGallery' @disabled={{true}}>\n              Great Hamster Photos\n            </LinkTo>\n            ```\n\n            ### Handling `href`\n\n            `<LinkTo>` will use your application's Router to fill the element's `href` property with a URL\n            that matches the path to the supplied `routeName`.\n\n            ### Handling current route\n\n            The `LinkTo` component will apply a CSS class name of 'active' when the application's current\n            route matches the supplied routeName. For example, if the application's current route is\n            'photoGallery.recent', then the following invocation of `LinkTo`:\n\n            ```handlebars\n            <LinkTo @route='photoGallery.recent'>\n              Great Hamster Photos\n            </LinkTo>\n            ```\n\n            will result in\n\n            ```html\n            <a href=\"/hamster-photos/this-week\" class=\"active\">\n              Great Hamster Photos\n            </a>\n            ```\n\n            The CSS class used for active classes can be customized by passing an `activeClass` argument:\n\n            ```handlebars\n            <LinkTo @route='photoGallery.recent' @activeClass=\"current-url\">\n              Great Hamster Photos\n            </LinkTo>\n            ```\n\n            ```html\n            <a href=\"/hamster-photos/this-week\" class=\"current-url\">\n              Great Hamster Photos\n            </a>\n            ```\n\n            ### Keeping a link active for other routes\n\n            If you need a link to be 'active' even when it doesn't match the current route, you can use the\n            `current-when` argument.\n\n            ```handlebars\n            <LinkTo @route='photoGallery' @current-when='photos'>\n              Photo Gallery\n            </LinkTo>\n            ```\n\n            This may be helpful for keeping links active for:\n\n            * non-nested routes that are logically related\n            * some secondary menu approaches\n            * 'top navigation' with 'sub navigation' scenarios\n\n            A link will be active if `current-when` is `true` or the current\n            route is the route this link would transition to.\n\n            To match multiple routes 'space-separate' the routes:\n\n            ```handlebars\n            <LinkTo @route='gallery' @current-when='photos drawings paintings'>\n              Art Gallery\n            </LinkTo>\n            ```\n\n            ### Supplying a model\n\n            An optional `model` argument can be used for routes whose\n            paths contain dynamic segments. This argument will become\n            the model context of the linked route:\n\n            ```javascript\n            Router.map(function() {\n              this.route(\"photoGallery\", {path: \"hamster-photos/:photo_id\"});\n            });\n            ```\n\n            ```handlebars\n            <LinkTo @route='photoGallery' @model={{this.aPhoto}}>\n              {{aPhoto.title}}\n            </LinkTo>\n            ```\n\n            ```html\n            <a href=\"/hamster-photos/42\">\n              Tomster\n            </a>\n            ```\n\n            ### Supplying multiple models\n\n            For deep-linking to route paths that contain multiple\n            dynamic segments, the `models` argument can be used.\n\n            As the router transitions through the route path, each\n            supplied model argument will become the context for the\n            route with the dynamic segments:\n\n            ```javascript\n            Router.map(function() {\n              this.route(\"photoGallery\", { path: \"hamster-photos/:photo_id\" }, function() {\n                this.route(\"comment\", {path: \"comments/:comment_id\"});\n              });\n            });\n            ```\n\n            This argument will become the model context of the linked route:\n\n            ```handlebars\n            <LinkTo @route='photoGallery.comment' @models={{array this.aPhoto this.comment}}>\n              {{comment.body}}\n            </LinkTo>\n            ```\n\n            ```html\n            <a href=\"/hamster-photos/42/comments/718\">\n              A+++ would snuggle again.\n            </a>\n            ```\n\n            ### Supplying an explicit dynamic segment value\n\n            If you don't have a model object available to pass to `LinkTo`,\n            an optional string or integer argument can be passed for routes whose\n            paths contain dynamic segments. This argument will become the value\n            of the dynamic segment:\n\n            ```javascript\n            Router.map(function() {\n              this.route(\"photoGallery\", { path: \"hamster-photos/:photo_id\" });\n            });\n            ```\n\n            ```handlebars\n            <LinkTo @route='photoGallery' @model={{aPhotoId}}>\n              {{this.aPhoto.title}}\n            </LinkTo>\n            ```\n\n            ```html\n            <a href=\"/hamster-photos/42\">\n              Tomster\n            </a>\n            ```\n\n            When transitioning into the linked route, the `model` hook will\n            be triggered with parameters including this passed identifier.\n\n            ### Supplying query parameters\n\n            If you need to add optional key-value pairs that appear to the right of the ? in a URL,\n            you can use the `query` argument.\n\n            ```handlebars\n            <LinkTo @route='photoGallery' @query={{hash page=1 per_page=20}}>\n              Great Hamster Photos\n            </LinkTo>\n            ```\n\n            This will result in:\n\n            ```html\n            <a href=\"/hamster-photos?page=1&per_page=20\">\n              Great Hamster Photos\n            </a>\n            ```\n\n            @for Ember.Templates.components\n            @method LinkTo\n            @public\n          *//**\n            @module @ember/routing\n          *//**\n            See [Ember.Templates.components.LinkTo](/ember/release/classes/Ember.Templates.components/methods/input?anchor=LinkTo).\n\n            @for Ember.Templates.helpers\n            @method link-to\n            @see {Ember.Templates.components.LinkTo}\n            @public\n          **//**\n            An opaque interface which can be imported and used in strict-mode\n            templates to call <LinkTo>.\n\n            See [Ember.Templates.components.LinkTo](/ember/release/classes/Ember.Templates.components/methods/input?anchor=LinkTo).\n\n            @for @ember/routing\n            @method LinkTo\n            @see {Ember.Templates.components.LinkTo}\n            @public\n          **/var _routing=/*#__PURE__*/new WeakMap();class _LinkTo extends InternalComponent{constructor(){super(...arguments);_classPrivateFieldInitSpec(this,_routing,(initializeDeferredDecorator(this,\"routing\"),void 0));// GH #17963\n_defineProperty(this,\"currentRouteCache\",createCache(()=>{consumeTag(tagFor(this.routing,'currentState'));return untrack(()=>this.routing.currentRouteName);}));}static toString(){return'LinkTo';}validateArguments(){super.validateArguments();}get class(){let classes='ember-view';if(this.isActive){classes+=this.classFor('active');if(this.willBeActive===false){classes+=' ember-transitioning-out';}}else if(this.willBeActive){classes+=' ember-transitioning-in';}if(this.isLoading){classes+=this.classFor('loading');}if(this.isDisabled){classes+=this.classFor('disabled');}return classes;}get href(){if(this.isLoading){return'#';}let{routing,route,models,query}=this;// TODO: can we narrow this down to QP changes only?\nconsumeTag(tagFor(routing,'currentState'));{return routing.generateURL(route,models,query);}}click(event){if(!isSimpleClick(event)){return;}let element=event.currentTarget;let isSelf=element.target===''||element.target==='_self';if(isSelf){this.preventDefault(event);}else{return;}if(this.isDisabled){return;}if(this.isLoading){return;}let{routing,route,models,query,replace}=this;let payload={routeName:route,queryParams:query,transition:undefined};flaggedInstrument('interaction.link-to',payload,()=>{payload.transition=routing.transitionTo(route,models,query,replace);});}get route(){if('route'in this.args.named){let route=this.named('route');return route&&this.namespaceRoute(route);}else{return this.currentRoute;}}get currentRoute(){return getValue(this.currentRouteCache);}// TODO: not sure why generateURL takes {}[] instead of unknown[]\nget models(){if('models'in this.args.named){let models=this.named('models');return models;}else if('model'in this.args.named){return[this.named('model')];}else{return EMPTY_ARRAY$1;}}get query(){if('query'in this.args.named){let query=this.named('query');return{...query};}else{return EMPTY_QUERY_PARAMS;}}get replace(){return this.named('replace')===true;}get isActive(){return this.isActiveForState(this.routing.currentState);}get willBeActive(){let current=this.routing.currentState;let target=this.routing.targetState;if(current===target){return null;}else{return this.isActiveForState(target);}}get isLoading(){return isMissing(this.route)||this.models.some(model=>isMissing(model));}get isDisabled(){return Boolean(this.named('disabled'));}get isEngine(){let owner=this.owner;return getEngineParent(owner)!==undefined;}get engineMountPoint(){let owner=this.owner;return owner.mountPoint;}classFor(state){let className=this.named(`${state}Class`);if(className===true||isMissing(className)){return` ${state}`;}else if(className){return` ${className}`;}else{return'';}}namespaceRoute(route){let{engineMountPoint}=this;if(engineMountPoint===undefined){return route;}else if(route==='application'){return engineMountPoint;}else{return`${engineMountPoint}.${route}`;}}isActiveForState(state){if(!isPresent$1(state)){return false;}if(this.isLoading){return false;}let currentWhen=this.named('current-when');if(typeof currentWhen==='boolean'){return currentWhen;}else if(typeof currentWhen==='string'){let{models,routing}=this;return currentWhen.split(' ').some(route=>routing.isActiveForRoute(models,undefined,this.namespaceRoute(route),state));}else{let{route,models,query,routing}=this;return routing.isActiveForRoute(models,query,route,state);}}preventDefault(event){event.preventDefault();}isSupportedArgument(name){let supportedArguments=['route','model','models','query','replace','disabled','current-when','activeClass','loadingClass','disabledClass'];return supportedArguments.indexOf(name)!==-1||super.isSupportedArgument(name);}}_LinkTo2=_LinkTo;decorateFieldV2(_LinkTo2.prototype,\"routing\",[service('-routing')]);decorateMethodV2(_LinkTo2.prototype,\"click\",[action$1]);let{prototype}=_LinkTo;let descriptorFor=(target,property)=>{if(target){return Object.getOwnPropertyDescriptor(target,property)||descriptorFor(Object.getPrototypeOf(target),property);}else{return null;}};// @href\n{let superOnUnsupportedArgument=prototype['onUnsupportedArgument'];Object.defineProperty(prototype,'onUnsupportedArgument',{configurable:true,enumerable:false,value:function onUnsupportedArgument(name){if(name==='href');else{superOnUnsupportedArgument.call(this,name);}}});}// QP\n{let superModelsDescriptor=descriptorFor(prototype,'models');let superModelsGetter=superModelsDescriptor.get;Object.defineProperty(prototype,'models',{configurable:true,enumerable:false,get:function models(){let models=superModelsGetter.call(this);if(models.length>0&&!('query'in this.args.named)){if(isQueryParams(models[models.length-1])){models=models.slice(0,-1);}}return models;}});let superQueryDescriptor=descriptorFor(prototype,'query');let superQueryGetter=superQueryDescriptor.get;Object.defineProperty(prototype,'query',{configurable:true,enumerable:false,get:function query(){if('query'in this.args.named){let qp=superQueryGetter.call(this);if(isQueryParams(qp)){return qp.values??EMPTY_QUERY_PARAMS;}else{return qp;}}else{let models=superModelsGetter.call(this);if(models.length>0){let qp=models[models.length-1];if(isQueryParams(qp)&&qp.values!==null){return qp.values;}}return EMPTY_QUERY_PARAMS;}}});}// Positional Arguments\n{let superOnUnsupportedArgument=prototype['onUnsupportedArgument'];Object.defineProperty(prototype,'onUnsupportedArgument',{configurable:true,enumerable:false,value:function onUnsupportedArgument(name){if(name!=='params'){superOnUnsupportedArgument.call(this,name);}}});}const LinkTo=opaquify(_LinkTo,LinkToTemplate);const TextareaTemplate=templateFactory(/*\n            <textarea\n            {{!-- for compatibility --}}\n            id={{this.id}}\n            class={{this.class}}\n\n            ...attributes\n\n            value={{this.value}}\n\n            {{on \"change\" this.change}}\n            {{on \"input\" this.input}}\n            {{on \"keyup\" this.keyUp}}\n            {{on \"paste\" this.valueDidChange}}\n            {{on \"cut\" this.valueDidChange}}\n          />\n          */{\"id\":\"112WKCh2\",\"block\":\"[[[11,\\\"textarea\\\"],[16,1,[30,0,[\\\"id\\\"]]],[16,0,[30,0,[\\\"class\\\"]]],[17,1],[16,2,[30,0,[\\\"value\\\"]]],[4,[32,0],[\\\"change\\\",[30,0,[\\\"change\\\"]]],null],[4,[32,0],[\\\"input\\\",[30,0,[\\\"input\\\"]]],null],[4,[32,0],[\\\"keyup\\\",[30,0,[\\\"keyUp\\\"]]],null],[4,[32,0],[\\\"paste\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[4,[32,0],[\\\"cut\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[12],[13]],[\\\"&attrs\\\"],false,[]]\",\"moduleName\":\"packages/@ember/-internals/glimmer/lib/templates/textarea.hbs\",\"scope\":()=>[on],\"isStrictMode\":true});/**\n          @module @ember/component\n          */class _Textarea extends AbstractInput{static toString(){return'Textarea';}get class(){return'ember-text-area ember-view';}// See abstract-input.ts for why these are needed\nchange(event){super.change(event);}input(event){super.input(event);}isSupportedArgument(name){let supportedArguments=['type','value','enter','insert-newline','escape-press'];return supportedArguments.indexOf(name)!==-1||super.isSupportedArgument(name);}}_Textarea2=_Textarea;decorateMethodV2(_Textarea2.prototype,\"change\",[action$1]);decorateMethodV2(_Textarea2.prototype,\"input\",[action$1]);const Textarea=opaquify(_Textarea,TextareaTemplate);function isTemplateFactory(template){return typeof template==='function';}function referenceForParts(rootRef,parts){let isAttrs=parts[0]==='attrs';// TODO deprecate this\nif(isAttrs){parts.shift();if(parts.length===1){return childRefFor(rootRef,parts[0]);}}return childRefFromParts(rootRef,parts);}function parseAttributeBinding(microsyntax){let colonIndex=microsyntax.indexOf(':');if(colonIndex===-1){return[microsyntax,microsyntax,true];}else{let prop=microsyntax.substring(0,colonIndex);let attribute=microsyntax.substring(colonIndex+1);return[prop,attribute,false];}}function installAttributeBinding(component,rootRef,parsed,operations){let[prop,attribute,isSimple]=parsed;if(attribute==='id'){// SAFETY: `get` could not infer the type of `prop` and just gave us `unknown`.\n//         we may want to throw an error in the future if the value isn't string or null/undefined.\nlet elementId=get$2(component,prop);if(elementId===undefined||elementId===null){elementId=component.elementId;}let elementIdRef=createPrimitiveRef(elementId);operations.setAttribute('id',elementIdRef,true,null);return;}let isPath=prop.indexOf('.')>-1;let reference=isPath?referenceForParts(rootRef,prop.split('.')):childRefFor(rootRef,prop);operations.setAttribute(attribute,reference,false,null);}function createClassNameBindingRef(rootRef,microsyntax,operations){let parts=microsyntax.split(':');let[prop,truthy,falsy]=parts;let isStatic=prop==='';if(isStatic){operations.setAttribute('class',createPrimitiveRef(truthy),true,null);}else{let isPath=prop.indexOf('.')>-1;let parts=isPath?prop.split('.'):[];let value=isPath?referenceForParts(rootRef,parts):childRefFor(rootRef,prop);let ref;if(truthy===undefined){ref=createSimpleClassNameBindingRef(value,isPath?parts[parts.length-1]:prop);}else{ref=createColonClassNameBindingRef(value,truthy,falsy);}operations.setAttribute('class',ref,false,null);}}function createSimpleClassNameBindingRef(inner,path){let dasherizedPath;return createComputeRef(()=>{let value=valueForRef(inner);if(value===true){return dasherizedPath||(dasherizedPath=dasherize(path));}else if(value||value===0){return String(value);}else{return null;}});}function createColonClassNameBindingRef(inner,truthy,falsy){return createComputeRef(()=>{return valueForRef(inner)?truthy:falsy;});}function NOOP$1(){}/**\n            @module ember\n          *//**\n            Represents the internal state of the component.\n\n            @class ComponentStateBucket\n            @private\n          */class ComponentStateBucket{constructor(component,args,argsTag,finalizer,hasWrappedElement,isInteractive){_defineProperty(this,\"classRef\",null);_defineProperty(this,\"rootRef\",void 0);_defineProperty(this,\"argsRevision\",void 0);this.component=component;this.args=args;this.argsTag=argsTag;this.finalizer=finalizer;this.hasWrappedElement=hasWrappedElement;this.isInteractive=isInteractive;this.classRef=null;this.argsRevision=args===null?0:valueForTag(argsTag);this.rootRef=createConstRef(component);registerDestructor$1(this,()=>this.willDestroy(),true);registerDestructor$1(this,()=>this.component.destroy());}willDestroy(){let{component,isInteractive}=this;if(isInteractive){beginUntrackFrame();component.trigger('willDestroyElement');component.trigger('willClearRender');endUntrackFrame();let element=getViewElement(component);if(element){clearElementView(element);clearViewElement(component);}}component.renderer.unregister(component);}finalize(){let{finalizer}=this;finalizer();this.finalizer=NOOP$1;}}function internalHelper(helper){return setInternalHelperManager(helper,{});}/**\n          @module ember\n          */const ACTIONS=new WeakSet();/**\n            The `{{action}}` helper provides a way to pass triggers for behavior (usually\n            just a function) between components, and into components from controllers.\n\n            ### Passing functions with the action helper\n\n            There are three contexts an action helper can be used in. The first two\n            contexts to discuss are attribute context, and Handlebars value context.\n\n            ```handlebars\n            {{! An example of attribute context }}\n            <div onclick={{action \"save\"}}></div>\n            {{! Examples of Handlebars value context }}\n            {{input on-input=(action \"save\")}}\n            {{yield (action \"refreshData\") andAnotherParam}}\n            ```\n\n            In these contexts,\n            the helper is called a \"closure action\" helper. Its behavior is simple:\n            If passed a function name, read that function off the `actions` property\n            of the current context. Once that function is read, or immediately if a function was\n            passed, create a closure over that function and any arguments.\n            The resulting value of an action helper used this way is simply a function.\n\n            For example, in the attribute context:\n\n            ```handlebars\n            {{! An example of attribute context }}\n            <div onclick={{action \"save\"}}></div>\n            ```\n\n            The resulting template render logic would be:\n\n            ```js\n            var div = document.createElement('div');\n            var actionFunction = (function(context){\n              return function() {\n                return context.actions.save.apply(context, arguments);\n              };\n            })(context);\n            div.onclick = actionFunction;\n            ```\n\n            Thus when the div is clicked, the action on that context is called.\n            Because the `actionFunction` is just a function, closure actions can be\n            passed between components and still execute in the correct context.\n\n            Here is an example action handler on a component:\n\n            ```app/components/my-component.js\n            import Component from '@glimmer/component';\n            import { action } from '@ember/object';\n\n            export default class extends Component {\n              @action\n              save() {\n                this.model.save();\n              }\n            }\n            ```\n\n            Actions are always looked up on the `actions` property of the current context.\n            This avoids collisions in the naming of common actions, such as `destroy`.\n            Two options can be passed to the `action` helper when it is used in this way.\n\n            * `target=someProperty` will look to `someProperty` instead of the current\n              context for the `actions` hash. This can be useful when targeting a\n              service for actions.\n            * `value=\"target.value\"` will read the path `target.value` off the first\n              argument to the action when it is called and rewrite the first argument\n              to be that value. This is useful when attaching actions to event listeners.\n\n            ### Invoking an action\n\n            Closure actions curry both their scope and any arguments. When invoked, any\n            additional arguments are added to the already curried list.\n            Actions are presented in JavaScript as callbacks, and are\n            invoked like any other JavaScript function.\n\n            For example\n\n            ```app/components/update-name.js\n            import Component from '@glimmer/component';\n            import { action } from '@ember/object';\n\n            export default class extends Component {\n              @action\n              setName(model, name) {\n                model.set('name', name);\n              }\n            }\n            ```\n\n            ```app/components/update-name.hbs\n            {{input on-input=(action (action 'setName' @model) value=\"target.value\")}}\n            ```\n\n            The first argument (`@model`) was curried over, and the run-time argument (`event`)\n            becomes a second argument. Action calls can be nested this way because each simply\n            returns a function. Any function can be passed to the `{{action}}` helper, including\n            other actions.\n\n            Actions invoked with `sendAction` have the same currying behavior as demonstrated\n            with `on-input` above. For example:\n\n            ```app/components/my-input.js\n            import Component from '@glimmer/component';\n            import { action } from '@ember/object';\n\n            export default class extends Component {\n              @action\n              setName(model, name) {\n                model.set('name', name);\n              }\n            }\n            ```\n\n            ```handlebars\n            <MyInput @submit={{action 'setName' @model}} />\n            ```\n\n            or\n\n            ```handlebars\n            {{my-input submit=(action 'setName' @model)}}\n            ```\n\n            ```app/components/my-component.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              click() {\n                // Note that model is not passed, it was curried in the template\n                this.submit('bob');\n              }\n            });\n            ```\n\n            ### Attaching actions to DOM elements\n\n            The third context of the `{{action}}` helper can be called \"element space\".\n            For example:\n\n            ```handlebars\n            {{! An example of element space }}\n            <div {{action \"save\"}}></div>\n            ```\n\n            Used this way, the `{{action}}` helper provides a useful shortcut for\n            registering an HTML element in a template for a single DOM event and\n            forwarding that interaction to the template's context (controller or component).\n            If the context of a template is a controller, actions used this way will\n            bubble to routes when the controller does not implement the specified action.\n            Once an action hits a route, it will bubble through the route hierarchy.\n\n            ### Event Propagation\n\n            `{{action}}` helpers called in element space can control event bubbling. Note\n            that the closure style actions cannot.\n\n            Events triggered through the action helper will automatically have\n            `.preventDefault()` called on them. You do not need to do so in your event\n            handlers. If you need to allow event propagation (to handle file inputs for\n            example) you can supply the `preventDefault=false` option to the `{{action}}` helper:\n\n            ```handlebars\n            <div {{action \"sayHello\" preventDefault=false}}>\n              <input type=\"file\" />\n              <input type=\"checkbox\" />\n            </div>\n            ```\n\n            To disable bubbling, pass `bubbles=false` to the helper:\n\n            ```handlebars\n            <button {{action 'edit' post bubbles=false}}>Edit</button>\n            ```\n\n            To disable bubbling with closure style actions you must create your own\n            wrapper helper that makes use of `event.stopPropagation()`:\n\n            ```handlebars\n            <div onclick={{disable-bubbling (action \"sayHello\")}}>Hello</div>\n            ```\n\n            ```app/helpers/disable-bubbling.js\n            import { helper } from '@ember/component/helper';\n\n            export function disableBubbling([action]) {\n              return function(event) {\n                event.stopPropagation();\n                return action(event);\n              };\n            }\n            export default helper(disableBubbling);\n            ```\n\n            If you need the default handler to trigger you should either register your\n            own event handler, or use event methods on your view class. See\n            [\"Responding to Browser Events\"](/ember/release/classes/Component)\n            in the documentation for `Component` for more information.\n\n            ### Specifying DOM event type\n\n            `{{action}}` helpers called in element space can specify an event type.\n            By default the `{{action}}` helper registers for DOM `click` events. You can\n            supply an `on` option to the helper to specify a different DOM event name:\n\n            ```handlebars\n            <div {{action \"anActionName\" on=\"doubleClick\"}}>\n              click me\n            </div>\n            ```\n\n            See [\"Event Names\"](/ember/release/classes/Component) for a list of\n            acceptable DOM event names.\n\n            ### Specifying whitelisted modifier keys\n\n            `{{action}}` helpers called in element space can specify modifier keys.\n            By default the `{{action}}` helper will ignore click events with pressed modifier\n            keys. You can supply an `allowedKeys` option to specify which keys should not be ignored.\n\n            ```handlebars\n            <div {{action \"anActionName\" allowedKeys=\"alt\"}}>\n              click me\n            </div>\n            ```\n\n            This way the action will fire when clicking with the alt key pressed down.\n            Alternatively, supply \"any\" to the `allowedKeys` option to accept any combination of modifier keys.\n\n            ```handlebars\n            <div {{action \"anActionName\" allowedKeys=\"any\"}}>\n              click me with any key pressed\n            </div>\n            ```\n\n            ### Specifying a Target\n\n            A `target` option can be provided to the helper to change\n            which object will receive the method call. This option must be a path\n            to an object, accessible in the current context:\n\n            ```app/templates/application.hbs\n            <div {{action \"anActionName\" target=someService}}>\n              click me\n            </div>\n            ```\n\n            ```app/controllers/application.js\n            import Controller from '@ember/controller';\n            import { service } from '@ember/service';\n\n            export default class extends Controller {\n              @service someService;\n            }\n            ```\n\n            @method action\n            @deprecated\n            @for Ember.Templates.helpers\n            @public\n          */const action=internalHelper(args=>{deprecateUntil(`Usage of the \\`(action)\\` helper is deprecated. Migrate to native functions and function invocation.`,DEPRECATIONS.DEPRECATE_TEMPLATE_ACTION);let{named,positional}=args;// 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.\nlet[context,action,...restArgs]=positional;action.debugLabel;let target='target'in named?named['target']:context;let processArgs=makeArgsProcessor('value'in named&&named['value']||false,restArgs);let fn;if(isInvokableRef(action)){fn=makeClosureAction(action,action,invokeRef,processArgs);}else{fn=makeDynamicClosureAction(valueForRef(context),// SAFETY: glimmer-vm should expose narrowing utilities for references\n//         as is, `target` is still `Reference<unknown>`.\n//         however, we never even tried to narrow `target`, so this is potentially risky code.\ntarget,// SAFETY: glimmer-vm should expose narrowing utilities for references\n//         as is, `action` is still `Reference<unknown>`\naction,processArgs);}ACTIONS.add(fn);return createUnboundRef(fn);});function NOOP(args){return args;}function makeArgsProcessor(valuePathRef,actionArgsRef){let mergeArgs;if(actionArgsRef.length>0){mergeArgs=args=>{return actionArgsRef.map(valueForRef).concat(args);};}let readValue;if(valuePathRef){readValue=args=>{let valuePath=valueForRef(valuePathRef);if(valuePath&&args.length>0){args[0]=get$2(args[0],valuePath);}return args;};}if(mergeArgs&&readValue){return args=>{return readValue(mergeArgs(args));};}else{return mergeArgs||readValue||NOOP;}}function makeDynamicClosureAction(context,targetRef,actionRef,processArgs,debugKey){const action=valueForRef(actionRef);return function(){return makeClosureAction(context,valueForRef(targetRef),action,processArgs)(...arguments);};}function makeClosureAction(context,target,action,processArgs,debugKey){let self;let fn;if(typeof action==='string'){var _target$actions;self=target;let value=(_target$actions=target.actions)===null||_target$actions===void 0?void 0:_target$actions[action];fn=value;}else if(typeof action==='function'){self=context;fn=action;}else;return function(){for(var _len42=arguments.length,args=new Array(_len42),_key43=0;_key43<_len42;_key43++){args[_key43]=arguments[_key43];}let payload={target:self,args,label:'@glimmer/closure-action'};return flaggedInstrument('interaction.ember-action',payload,()=>{return join(self,fn,...processArgs(args));});};}// The code above:\n// 1. Finds an action function, usually on the `actions` hash\n// 2. Calls it with the target as the correct `this` context\n// Previously, `UPDATE_REFERENCED_VALUE` was a method on the reference itself,\n// so this made a bit more sense. Now, it isn't, and so we need to create a\n// function that can have `this` bound to it when called. This allows us to use\n// the same codepath to call `updateRef` on the reference.\nfunction invokeRef(value){updateRef(this,value);}// ComponentArgs takes EvaluatedNamedArgs and converts them into the\n// inputs needed by CurlyComponents (attrs and props, with mutable\n// cells, etc).\nfunction processComponentArgs(namedArgs){let attrs=Object.create(null);let props=Object.create(null);for(let name in namedArgs){let ref=namedArgs[name];let value=valueForRef(ref);let isAction=typeof value==='function'&&ACTIONS.has(value);if(isUpdatableRef(ref)&&!isAction){attrs[name]=new MutableCell(ref,value);}else{attrs[name]=value;}props[name]=value;}props.attrs=attrs;return props;}const REF=Symbol('REF');class MutableCell{constructor(ref,value){_defineProperty(this,\"value\",void 0);_defineProperty(this,MUTABLE_CELL,void 0);_defineProperty(this,REF,void 0);this[MUTABLE_CELL]=true;this[REF]=ref;this.value=value;}update(val){updateRef(this[REF],val);}}const ARGS=enumerableSymbol('ARGS');const HAS_BLOCK=enumerableSymbol('HAS_BLOCK');const DIRTY_TAG=Symbol('DIRTY_TAG');const IS_DISPATCHING_ATTRS=Symbol('IS_DISPATCHING_ATTRS');const BOUNDS=Symbol('BOUNDS');const EMBER_VIEW_REF=createPrimitiveRef('ember-view');function aliasIdToElementId(args,props){if(args.named.has('id')){props.elementId=props.id;}}// We must traverse the attributeBindings in reverse keeping track of\n// what has already been applied. This is essentially refining the concatenated\n// properties applying right to left.\nfunction applyAttributeBindings(attributeBindings,component,rootRef,operations){let seen=[];let i=attributeBindings.length-1;while(i!==-1){let binding=attributeBindings[i];let parsed=parseAttributeBinding(binding);let attribute=parsed[1];if(seen.indexOf(attribute)===-1){seen.push(attribute);installAttributeBinding(component,rootRef,parsed,operations);}i--;}if(seen.indexOf('id')===-1){let id=component.elementId?component.elementId:guidFor(component);operations.setAttribute('id',createPrimitiveRef(id),false,null);}}class CurlyComponentManager{templateFor(component){let{layout,layoutName}=component;let owner=getOwner$2(component);let factory;if(layout===undefined){if(layoutName!==undefined){let _factory=owner.lookup(`template:${layoutName}`);factory=_factory;}else{return null;}}else if(isTemplateFactory(layout)){factory=layout;}else{// no layout was found, use the default layout\nreturn null;}return unwrapTemplate(factory(owner)).asWrappedLayout();}getDynamicLayout(bucket){return this.templateFor(bucket.component);}getTagName(state){let{component,hasWrappedElement}=state;if(!hasWrappedElement){return null;}return component&&component.tagName||'div';}getCapabilities(){return CURLY_CAPABILITIES;}prepareArgs(ComponentClass,args){if(args.named.has('__ARGS__')){let{__ARGS__,...rest}=args.named.capture();let __args__=valueForRef(__ARGS__);let prepared={positional:__args__.positional,named:{...rest,...__args__.named}};return prepared;}const{positionalParams}=ComponentClass.class??ComponentClass;// early exits\nif(positionalParams===undefined||positionalParams===null||args.positional.length===0){return null;}let named;if(typeof positionalParams==='string'){let captured=args.positional.capture();named={[positionalParams]:createComputeRef(()=>reifyPositional(captured))};Object.assign(named,args.named.capture());}else if(Array.isArray(positionalParams)&&positionalParams.length>0){const count=Math.min(positionalParams.length,args.positional.length);named={};Object.assign(named,args.named.capture());for(let i=0;i<count;i++){let name=positionalParams[i];named[name]=args.positional.at(i);}}else{return null;}return{positional:EMPTY_ARRAY$4,named};}/*\n             * This hook is responsible for actually instantiating the component instance.\n             * It also is where we perform additional bookkeeping to support legacy\n             * features like exposed by view mixins like ChildViewSupport, ActionSupport,\n             * etc.\n             */create(owner,ComponentClass,args,_ref127,dynamicScope,callerSelfRef,hasBlock){let{isInteractive}=_ref127;// Get the nearest concrete component instance from the scope. \"Virtual\"\n// components will be skipped.\nlet parentView=dynamicScope.view;// Capture the arguments, which tells Glimmer to give us our own, stable\n// copy of the Arguments object that is safe to hold on to between renders.\nlet capturedArgs=args.named.capture();beginTrackFrame();let props=processComponentArgs(capturedArgs);props[ARGS]=capturedArgs;let argsTag=endTrackFrame();// Alias `id` argument to `elementId` property on the component instance.\naliasIdToElementId(args,props);// Set component instance's parentView property to point to nearest concrete\n// component.\nprops.parentView=parentView;// Set whether this component was invoked with a block\n// (`{{#my-component}}{{/my-component}}`) or without one\n// (`{{my-component}}`).\nprops[HAS_BLOCK]=hasBlock;// Save the current `this` context of the template as the component's\n// `_target`, so bubbled actions are routed to the right place.\nprops._target=valueForRef(callerSelfRef);setOwner$1(props,owner);// caller:\n// <FaIcon @name=\"bug\" />\n//\n// callee:\n// <i class=\"fa-{{@name}}\"></i>\n// Now that we've built up all of the properties to set on the component instance,\n// actually create it.\nbeginUntrackFrame();let component=ComponentClass.create(props);let finalizer=_instrumentStart('render.component',initialRenderInstrumentDetails,component);// We become the new parentView for downstream components, so save our\n// component off on the dynamic scope.\ndynamicScope.view=component;// Unless we're the root component, we need to add ourselves to our parent\n// component's childViews array.\nif(parentView!==null&&parentView!==undefined){addChildView(parentView,component);}component.trigger('didReceiveAttrs');let hasWrappedElement=component.tagName!=='';// We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\nif(!hasWrappedElement){if(isInteractive){component.trigger('willRender');}component._transitionTo('hasElement');if(isInteractive){component.trigger('willInsertElement');}}// Track additional lifecycle metadata about this component in a state bucket.\n// Essentially we're saving off all the state we'll need in the future.\nlet bucket=new ComponentStateBucket(component,capturedArgs,argsTag,finalizer,hasWrappedElement,isInteractive);if(args.named.has('class')){bucket.classRef=args.named.get('class');}if(isInteractive&&hasWrappedElement){component.trigger('willRender');}endUntrackFrame();// consume every argument so we always run again\nconsumeTag(bucket.argsTag);consumeTag(component[DIRTY_TAG]);return bucket;}getDebugName(definition){var _definition$class;return definition.fullName||definition.normalizedName||((_definition$class=definition.class)===null||_definition$class===void 0?void 0:_definition$class.name)||definition.name;}getSelf(_ref128){let{rootRef}=_ref128;return rootRef;}didCreateElement(_ref129,element,operations){let{component,classRef,isInteractive,rootRef}=_ref129;setViewElement(component,element);setElementView(element,component);let{attributeBindings,classNames,classNameBindings}=component;if(attributeBindings&&attributeBindings.length){applyAttributeBindings(attributeBindings,component,rootRef,operations);}else{let id=component.elementId?component.elementId:guidFor(component);operations.setAttribute('id',createPrimitiveRef(id),false,null);}if(classRef){const ref=createSimpleClassNameBindingRef(classRef);operations.setAttribute('class',ref,false,null);}if(classNames&&classNames.length){classNames.forEach(name=>{operations.setAttribute('class',createPrimitiveRef(name),false,null);});}if(classNameBindings&&classNameBindings.length){classNameBindings.forEach(binding=>{createClassNameBindingRef(rootRef,binding,operations);});}operations.setAttribute('class',EMBER_VIEW_REF,false,null);if('ariaRole'in component){operations.setAttribute('role',childRefFor(rootRef,'ariaRole'),false,null);}component._transitionTo('hasElement');if(isInteractive){beginUntrackFrame();component.trigger('willInsertElement');endUntrackFrame();}}didRenderLayout(bucket,bounds){bucket.component[BOUNDS]=bounds;bucket.finalize();}didCreate(_ref130){let{component,isInteractive}=_ref130;if(isInteractive){component._transitionTo('inDOM');component.trigger('didInsertElement');component.trigger('didRender');}}update(bucket){let{component,args,argsTag,argsRevision,isInteractive}=bucket;bucket.finalizer=_instrumentStart('render.component',rerenderInstrumentDetails,component);beginUntrackFrame();if(args!==null&&!validateTag(argsTag,argsRevision)){beginTrackFrame();let props=processComponentArgs(args);argsTag=bucket.argsTag=endTrackFrame();bucket.argsRevision=valueForTag(argsTag);component[IS_DISPATCHING_ATTRS]=true;component.setProperties(props);component[IS_DISPATCHING_ATTRS]=false;component.trigger('didUpdateAttrs');component.trigger('didReceiveAttrs');}if(isInteractive){component.trigger('willUpdate');component.trigger('willRender');}endUntrackFrame();consumeTag(argsTag);consumeTag(component[DIRTY_TAG]);}didUpdateLayout(bucket){bucket.finalize();}didUpdate(_ref131){let{component,isInteractive}=_ref131;if(isInteractive){component.trigger('didUpdate');component.trigger('didRender');}}getDestroyable(bucket){return bucket;}}function initialRenderInstrumentDetails(component){return component.instrumentDetails({initialRender:true});}function rerenderInstrumentDetails(component){return component.instrumentDetails({initialRender:false});}const CURLY_CAPABILITIES={dynamicLayout:true,dynamicTag:true,prepareArgs:true,createArgs:true,attributeHook:true,elementHook:true,createCaller:true,dynamicScope:true,updateHook:true,createInstance:true,wrapped:true,willDestroy:true,hasSubOwner:false};const CURLY_COMPONENT_MANAGER=new CurlyComponentManager();function isCurlyManager(manager){return manager===CURLY_COMPONENT_MANAGER;}// Keep track of which component classes have already been processed for lazy event setup.\nlet lazyEventsProcessed=new WeakMap();/**\n          @module @ember/component\n          */// A zero-runtime-overhead private symbol to use in branding the component to\n// preserve its type parameter.\n/**\n            A component is a reusable UI element that consists of a `.hbs` template and an\n            optional JavaScript class that defines its behavior. For example, someone\n            might make a `button` in the template and handle the click behavior in the\n            JavaScript file that shares the same name as the template.\n\n            Components are broken down into two categories:\n\n            - Components _without_ JavaScript, that are based only on a template. These\n              are called Template-only or TO components.\n            - Components _with_ JavaScript, which consist of a template and a backing\n              class.\n\n            Ember ships with two types of JavaScript classes for components:\n\n            1. Glimmer components, imported from `@glimmer/component`, which are the\n               default component's for Ember Octane (3.15) and more recent editions.\n            2. Classic components, imported from `@ember/component`, which were the\n               default for older editions of Ember (pre 3.15).\n\n            Below is the documentation for Classic components. If you are looking for the\n            API documentation for Template-only or Glimmer components, it is [available\n            here](/ember/release/modules/@glimmer%2Fcomponent).\n\n            ## Defining a Classic Component\n\n            If you want to customize the component in order to handle events, transform\n            arguments or maintain internal state, you implement a subclass of `Component`.\n\n            One example is to add computed properties to your component:\n\n            ```app/components/person-profile.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              displayName: computed('person.title', 'person.firstName', 'person.lastName', function() {\n                let { title, firstName, lastName } = this.person;\n\n                if (title) {\n                  return `${title} ${lastName}`;\n                } else {\n                  return `${firstName} ${lastName}`;\n                }\n              })\n            });\n            ```\n\n            And then use it in the component's template:\n\n            ```app/templates/components/person-profile.hbs\n            <h1>{{this.displayName}}</h1>\n            {{yield}}\n            ```\n\n            ## Customizing a Classic Component's HTML Element in JavaScript\n\n            ### HTML Tag\n\n            The default HTML tag name used for a component's HTML representation is `div`.\n            This can be customized by setting the `tagName` property.\n\n            Consider the following component class:\n\n            ```app/components/emphasized-paragraph.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              tagName: 'em'\n            });\n            ```\n\n            When invoked, this component would produce output that looks something like\n            this:\n\n            ```html\n            <em id=\"ember1\" class=\"ember-view\"></em>\n            ```\n\n            ### HTML `class` Attribute\n\n            The HTML `class` attribute of a component's tag can be set by providing a\n            `classNames` property that is set to an array of strings:\n\n            ```app/components/my-widget.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              classNames: ['my-class', 'my-other-class']\n            });\n            ```\n\n            Invoking this component will produce output that looks like this:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view my-class my-other-class\"></div>\n            ```\n\n            `class` attribute values can also be set by providing a `classNameBindings`\n            property set to an array of properties names for the component. The return\n            value of these properties will be added as part of the value for the\n            components's `class` attribute. These properties can be computed properties:\n\n            ```app/components/my-widget.js\n            import Component from '@ember/component';\n            import { computed } from '@ember/object';\n\n            export default Component.extend({\n              classNames: ['my-class', 'my-other-class'],\n              classNameBindings: ['propertyA', 'propertyB'],\n\n              propertyA: 'from-a',\n              propertyB: computed(function() {\n                if (someLogic) { return 'from-b'; }\n              })\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view my-class my-other-class from-a from-b\"></div>\n            ```\n\n            Note that `classNames` and `classNameBindings` is in addition to the `class`\n            attribute passed with the angle bracket invocation syntax. Therefore, if this\n            component was invoked like so:\n\n            ```handlebars\n            <MyWidget class=\"from-invocation\" />\n            ```\n\n            The resulting HTML will look similar to this:\n\n            ```html\n            <div id=\"ember1\" class=\"from-invocation ember-view my-class my-other-class from-a from-b\"></div>\n            ```\n\n            If the value of a class name binding returns a boolean the property name\n            itself will be used as the class name if the property is true. The class name\n            will not be added if the value is `false` or `undefined`.\n\n            ```app/components/my-widget.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              classNameBindings: ['hovered'],\n\n              hovered: true\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view hovered\"></div>\n            ```\n\n            ### Custom Class Names for Boolean Values\n\n            When using boolean class name bindings you can supply a string value other\n            than the property name for use as the `class` HTML attribute by appending the\n            preferred value after a \":\" character when defining the binding:\n\n            ```app/components/my-widget.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              classNameBindings: ['awesome:so-very-cool'],\n\n              awesome: true\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view so-very-cool\"></div>\n            ```\n\n            Boolean value class name bindings whose property names are in a\n            camelCase-style format will be converted to a dasherized format:\n\n            ```app/components/my-widget.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              classNameBindings: ['isUrgent'],\n\n              isUrgent: true\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view is-urgent\"></div>\n            ```\n\n            Class name bindings can also refer to object values that are found by\n            traversing a path relative to the component itself:\n\n            ```app/components/my-widget.js\n            import Component from '@ember/component';\n            import EmberObject from '@ember/object';\n\n            export default Component.extend({\n              classNameBindings: ['messages.empty'],\n\n              messages: EmberObject.create({\n                empty: true\n              })\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view empty\"></div>\n            ```\n\n            If you want to add a class name for a property which evaluates to true and and\n            a different class name if it evaluates to false, you can pass a binding like\n            this:\n\n            ```app/components/my-widget.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              classNameBindings: ['isEnabled:enabled:disabled'],\n              isEnabled: true\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view enabled\"></div>\n            ```\n\n            When isEnabled is `false`, the resulting HTML representation looks like this:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view disabled\"></div>\n            ```\n\n            This syntax offers the convenience to add a class if a property is `false`:\n\n            ```app/components/my-widget.js\n            import Component from '@ember/component';\n\n            // Applies no class when isEnabled is true and class 'disabled' when isEnabled is false\n            export default Component.extend({\n              classNameBindings: ['isEnabled::disabled'],\n              isEnabled: true\n            });\n            ```\n\n            Invoking this component when the `isEnabled` property is true will produce\n            HTML that looks like:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view\"></div>\n            ```\n\n            Invoking it when the `isEnabled` property on the component is `false` will\n            produce HTML that looks like:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view disabled\"></div>\n            ```\n\n            Updates to the value of a class name binding will result in automatic update\n            of the  HTML `class` attribute in the component's rendered HTML\n            representation. If the value becomes `false` or `undefined` the class name\n            will be removed.\n\n            Both `classNames` and `classNameBindings` are concatenated properties. See\n            [EmberObject](/ember/release/classes/EmberObject) documentation for more\n            information about concatenated properties.\n\n            ### Other HTML Attributes\n\n            The HTML attribute section of a component's tag can be set by providing an\n            `attributeBindings` property set to an array of property names on the\n            component. The return value of these properties will be used as the value of\n            the component's HTML associated attribute:\n\n            ```app/components/my-anchor.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              tagName: 'a',\n              attributeBindings: ['href'],\n\n              href: 'http://google.com'\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n            ```\n\n            One property can be mapped on to another by placing a \":\" between the source\n            property and the destination property:\n\n            ```app/components/my-anchor.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              tagName: 'a',\n              attributeBindings: ['url:href'],\n\n              url: 'http://google.com'\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n            ```\n\n            HTML attributes passed with angle bracket invocations will take precedence\n            over those specified in `attributeBindings`. Therefore, if this component was\n            invoked like so:\n\n            ```handlebars\n            <MyAnchor href=\"http://bing.com\" @url=\"http://google.com\" />\n            ```\n\n            The resulting HTML will looks like this:\n\n            ```html\n            <a id=\"ember1\" class=\"ember-view\" href=\"http://bing.com\"></a>\n            ```\n\n            Note that the `href` attribute is ultimately set to `http://bing.com`, despite\n            it having attribute binidng to the `url` property, which was set to\n            `http://google.com`.\n\n            Namespaced attributes (e.g. `xlink:href`) are supported, but have to be\n            mapped, since `:` is not a valid character for properties in Javascript:\n\n            ```app/components/my-use.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              tagName: 'use',\n              attributeBindings: ['xlinkHref:xlink:href'],\n\n              xlinkHref: '#triangle'\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <use xlink:href=\"#triangle\"></use>\n            ```\n\n            If the value of a property monitored by `attributeBindings` is a boolean, the\n            attribute will be present or absent depending on the value:\n\n            ```app/components/my-text-input.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              tagName: 'input',\n              attributeBindings: ['disabled'],\n\n              disabled: false\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <input id=\"ember1\" class=\"ember-view\" />\n            ```\n\n            `attributeBindings` can refer to computed properties:\n\n            ```app/components/my-text-input.js\n            import Component from '@ember/component';\n            import { computed } from '@ember/object';\n\n            export default Component.extend({\n              tagName: 'input',\n              attributeBindings: ['disabled'],\n\n              disabled: computed(function() {\n                if (someLogic) {\n                  return true;\n                } else {\n                  return false;\n                }\n              })\n            });\n            ```\n\n            To prevent setting an attribute altogether, use `null` or `undefined` as the\n            value of the property used in `attributeBindings`:\n\n            ```app/components/my-text-input.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              tagName: 'form',\n              attributeBindings: ['novalidate'],\n              novalidate: null\n            });\n            ```\n\n            Updates to the property of an attribute binding will result in automatic\n            update of the  HTML attribute in the component's HTML output.\n\n            `attributeBindings` is a concatenated property. See\n            [EmberObject](/ember/release/classes/EmberObject) documentation for more\n            information about concatenated properties.\n\n            ## Layouts\n\n            The `layout` property can be used to dynamically specify a template associated\n            with a component class, instead of relying on Ember to link together a\n            component class and a template based on file names.\n\n            In general, applications should not use this feature, but it's commonly used\n            in addons for historical reasons.\n\n            The `layout` property should be set to the default export of a template\n            module, which is the name of a template file without the `.hbs` extension.\n\n            ```app/templates/components/person-profile.hbs\n            <h1>Person's Title</h1>\n            <div class='details'>{{yield}}</div>\n            ```\n\n            ```app/components/person-profile.js\n              import Component from '@ember/component';\n              import layout from '../templates/components/person-profile';\n\n              export default Component.extend({\n                layout\n              });\n            ```\n\n            If you invoke the component:\n\n            ```handlebars\n            <PersonProfile>\n              <h2>Chief Basket Weaver</h2>\n              <h3>Fisherman Industries</h3>\n            </PersonProfile>\n            ```\n\n            or\n\n            ```handlebars\n            {{#person-profile}}\n              <h2>Chief Basket Weaver</h2>\n              <h3>Fisherman Industries</h3>\n            {{/person-profile}}\n            ```\n\n            It will result in the following HTML output:\n\n            ```html\n            <h1>Person's Title</h1>\n              <div class=\"details\">\n              <h2>Chief Basket Weaver</h2>\n              <h3>Fisherman Industries</h3>\n            </div>\n            ```\n\n            ## Handling Browser Events\n\n            There are two ways to handle user-initiated events:\n\n            ### Using the `on` modifier to capture browser events\n\n            In a component's template, you can attach an event handler to any element with the `on` modifier:\n\n            ```handlebars\n            <button {{on 'click' this.doSomething}} />\n            ```\n\n            This will call the function on your component:\n\n            ```js\n            import Component from '@ember/component';\n\n            export default class ExampleComponent extends Component {\n              doSomething = (event) => {\n                // `event` is the native click Event\n                console.log('clicked on the button');\n              };\n            });\n            ```\n\n            See the [Guide on Component event\n            handlers](https://guides.emberjs.com/release/components/component-state-and-actions/#toc_html-modifiers-and-actions)\n            and the [API docs for `on`](../Ember.Templates.helpers/methods/on?anchor=on)\n            for more details.\n\n            ### Event Handler Methods\n\n            Components can also respond to user-initiated events by implementing a method\n            that matches the event name. This approach is appropriate when the same event\n            should be handled by all instances of the same component.\n\n            An event object will be passed as the argument to the event handler method.\n\n            ```app/components/my-widget.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              click(event) {\n                // `event.target` is either the component's element or one of its children\n                let tag = event.target.tagName.toLowerCase();\n                console.log('clicked on a `<${tag}>` HTML element!');\n              }\n            });\n            ```\n\n            In this example, whenever the user clicked anywhere inside the component, it\n            will log a message to the console.\n\n            It is possible to handle event types other than `click` by implementing the\n            following event handler methods. In addition, custom events can be registered\n            by using `Application.customEvents`.\n\n            Touch events:\n\n            * `touchStart`\n            * `touchMove`\n            * `touchEnd`\n            * `touchCancel`\n\n            Keyboard events:\n\n            * `keyDown`\n            * `keyUp`\n            * `keyPress`\n\n            Mouse events:\n\n            * `mouseDown`\n            * `mouseUp`\n            * `contextMenu`\n            * `click`\n            * `doubleClick`\n            * `focusIn`\n            * `focusOut`\n\n            Form events:\n\n            * `submit`\n            * `change`\n            * `focusIn`\n            * `focusOut`\n            * `input`\n\n            Drag and drop events:\n\n            * `dragStart`\n            * `drag`\n            * `dragEnter`\n            * `dragLeave`\n            * `dragOver`\n            * `dragEnd`\n            * `drop`\n\n            @class Component\n            @extends Ember.CoreView\n            @uses Ember.TargetActionSupport\n            @uses Ember.ClassNamesSupport\n            @uses Ember.ActionSupport\n            @uses Ember.ViewMixin\n            @uses Ember.ViewStateSupport\n            @public\n          */// This type param is used in the class, so must appear here.\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nclass Component extends CoreView.extend(ChildViewsSupport,ViewStateSupport,ClassNamesSupport,TargetActionSupport,ActionSupport,ViewMixin,{// These need to be overridable via extend/create but should still\n// have a default. Defining them here is the best way to achieve that.\ndidReceiveAttrs(){},didRender(){},didUpdate(){},didUpdateAttrs(){},willRender(){},willUpdate(){}}){constructor(){super(...arguments);_defineProperty(this,\"isComponent\",true);_defineProperty(this,\"__dispatcher\",void 0);}// SAFETY: this has no runtime existence whatsoever; it is a \"phantom type\"\n// here to preserve the type param.\n// SAFTEY: This is set in `init`.\ninit(properties){super.init(properties);// Handle methods from ViewMixin.\n// The native class inheritance will not work for mixins. To work around this,\n// we copy the existing rerender method provided by the mixin and swap in the\n// new rerender method from our class.\nthis._superRerender=this.rerender;this.rerender=this._rerender;this[IS_DISPATCHING_ATTRS]=false;this[DIRTY_TAG]=createTag();this[BOUNDS]=null;const eventDispatcher=this._dispatcher;if(eventDispatcher){let lazyEventsProcessedForComponentClass=lazyEventsProcessed.get(eventDispatcher);if(!lazyEventsProcessedForComponentClass){lazyEventsProcessedForComponentClass=new WeakSet();lazyEventsProcessed.set(eventDispatcher,lazyEventsProcessedForComponentClass);}let proto=Object.getPrototypeOf(this);if(!lazyEventsProcessedForComponentClass.has(proto)){let lazyEvents=eventDispatcher.lazyEvents;lazyEvents.forEach((mappedEventName,event)=>{if(mappedEventName!==null&&typeof this[mappedEventName]==='function'){eventDispatcher.setupHandlerForBrowserEvent(event);}});lazyEventsProcessedForComponentClass.add(proto);}}}get _dispatcher(){if(this.__dispatcher===undefined){let owner=getOwner$2(this);if(owner.lookup('-environment:main').isInteractive){let dispatcher=owner.lookup('event_dispatcher:main');this.__dispatcher=dispatcher;}else{// In FastBoot we have no EventDispatcher. Set to null to not try again to look it up.\nthis.__dispatcher=null;}}return this.__dispatcher;}on(name,target,method){var _this$_dispatcher;(_this$_dispatcher=this._dispatcher)===null||_this$_dispatcher===void 0||_this$_dispatcher.setupHandlerForEmberEvent(name);// The `on` method here comes from the Evented mixin. Since this mixin\n// is applied to the parent of this class, however, we are still able\n// to use `super`.\nreturn super.on(name,target,method);}// Changed to `rerender` on init\n_rerender(){DIRTY_TAG$1(this[DIRTY_TAG]);this._superRerender();}[PROPERTY_DID_CHANGE](key,value){if(this[IS_DISPATCHING_ATTRS]){return;}let args=this[ARGS];let reference=args!==undefined?args[key]:undefined;if(reference!==undefined&&isUpdatableRef(reference)){updateRef(reference,arguments.length===2?value:get$2(this,key));}}getAttr(key){// TODO Intimate API should be deprecated\nreturn this.get(key);}/**\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              */readDOMAttr(name){// TODO revisit this\nlet _element=getViewElement(this);let element=_element;let isSVG=element.namespaceURI==='http://www.w3.org/2000/svg';let{type,normalized}=normalizeProperty(element,name);if(isSVG||type==='attr'){return element.getAttribute(normalized);}return element[normalized];}// --- Declarations which support mixins ---\n// We use `declare` on these properties, even though they are optional, so\n// that they do not get created on the class *at all* when emitting the\n// transpiled code. Otherwise, since declared class properties are equivalent\n// to calling `defineProperty` in the class constructor, they would \"stomp\"\n// the properties supplied by mixins.\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               ```app/components/my-component.js\n              import Component from '@ember/component';\n               let MyComponent = Component.extend();\n               MyComponent.reopenClass({\n                positionalParams: ['name', 'age']\n              });\n               export default MyComponent;\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               ```app/components/my-component.js\n              import Component from '@ember/component';\n               let MyComponent = Component.extend();\n               MyComponent.reopenClass({\n                positionalParams: 'names'\n              });\n               export default MyComponent;\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                 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                 ```app/components/my-component.js\n                 import Component from '@ember/component';\n                 let MyComponent = Component.extend();\n                 MyComponent.reopenClass({\n                 positionalParams: ['name', 'age']\n                 });\n                 export default MyComponent;\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                 ```app/components/my-component.js\n                 import Component from '@ember/component';\n                 let MyComponent = Component.extend();\n                 MyComponent.reopenClass({\n                 positionalParams: 'names'\n                 });\n                 export default MyComponent;\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              Layout can be used to wrap content in a component.\n              @property layout\n              @type Function\n              @public\n            *//**\n              The name of the layout to lookup if no layout is provided.\n              By default `Component` will lookup a template with this name in\n              `Ember.TEMPLATES` (a shared global object).\n              @property layoutName\n              @type String\n              @default undefined\n              @private\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              [https://www.w3.org/TR/wai-aria/#roles_categorization](https://www.w3.org/TR/wai-aria/#roles_categorization)\n               @property ariaRole\n              @type String\n              @default undefined\n              @public\n              */static toString(){return'@ember/component';}}// We continue to use reopenClass here so that positionalParams can be overridden with reopenClass in subclasses.\n_defineProperty(Component,\"isComponentFactory\",true);Component.reopenClass({positionalParams:[]});setInternalComponentManager(CURLY_COMPONENT_MANAGER,Component);/**\n          @module @ember/component\n          */const RECOMPUTE_TAG=Symbol('RECOMPUTE_TAG');// Signature type utilities\n// Implements Ember's `Factory` interface and tags it for narrowing/checking.\nconst IS_CLASSIC_HELPER=Symbol('IS_CLASSIC_HELPER');// A zero-runtime-overhead private symbol to use in branding the component to\n// preserve its type parameter.\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            ```app/templates/application.hbs\n            <Cost @cents={{230}} />\n            ```\n\n            ```app/components/cost.hbs\n            <div>{{format-currency @cents currency=\"$\"}}</div>\n            ```\n\n            Additionally a helper can be called as a nested helper.\n            In this example, we show the formatted currency value if the `showMoney`\n            named argument is truthy.\n\n            ```handlebars\n            {{if @showMoney (format-currency @cents currency=\"$\")}}\n            ```\n\n            Helpers defined using a class must provide a `compute` function. For example:\n\n            ```app/helpers/format-currency.js\n            import Helper from '@ember/component/helper';\n\n            export default class extends Helper {\n              compute([cents], { currency }) {\n                return `${currency}${cents * 0.01}`;\n              }\n            }\n            ```\n\n            Each time the input to a helper changes, the `compute` function will be\n            called again.\n\n            As instances, these helpers also have access to the container and will accept\n            injected dependencies.\n\n            Additionally, class helpers can call `recompute` to force a new computation.\n\n            @class Helper\n            @extends CoreObject\n            @public\n            @since 1.13.0\n          */// ESLint doesn't understand declaration merging.\n/* eslint-disable import/export */class Helper extends FrameworkObject{// SAFETY: this is initialized in `init`, rather than `constructor`. It is\n// safe to `declare` like this *if and only if* nothing uses the constructor\n// directly in this class, since nothing else can run before `init`.\n// SAFETY: this has no runtime existence whatsoever; it is a \"phantom type\"\n// here to preserve the type param.\ninit(properties){super.init(properties);this[RECOMPUTE_TAG]=createTag();}/**\n              On a class-based helper, it may be useful to force a recomputation of that\n              helpers value. This is akin to `rerender` on a component.\n               For example, this component will rerender when the `currentUser` on a\n              session service changes:\n               ```app/helpers/current-user-email.js\n              import Helper from '@ember/component/helper'\n              import { service } from '@ember/service'\n              import { observer } from '@ember/object'\n               export default Helper.extend({\n                session: service(),\n                 onNewUser: observer('session.currentUser', function() {\n                  this.recompute();\n                }),\n                 compute() {\n                  return this.get('session.currentUser.email');\n                }\n              });\n              ```\n               @method recompute\n              @public\n              @since 1.13.0\n            */recompute(){join(()=>DIRTY_TAG$1(this[RECOMPUTE_TAG]));}}/* eslint-enable import/export */_defineProperty(Helper,\"isHelperFactory\",true);_defineProperty(Helper,IS_CLASSIC_HELPER,true);// `packages/ember/index.js` was setting `Helper.helper`. This seems like\n// a bad idea and probably not something we want. We've moved that definition\n// here, but it should definitely be reviewed and probably removed.\n/** @deprecated */_defineProperty(Helper,\"helper\",helper$2);function isClassicHelper(obj){return obj[IS_CLASSIC_HELPER]===true;}class ClassicHelperManager{constructor(owner){_defineProperty(this,\"capabilities\",helperCapabilities('3.23',{hasValue:true,hasDestroyable:true}));_defineProperty(this,\"ownerInjection\",void 0);let ownerInjection={};setOwner$1(ownerInjection,owner);this.ownerInjection=ownerInjection;}createHelper(definition,args){let instance=isFactoryManager(definition)?definition.create():definition.create(this.ownerInjection);return{instance,args};}getDestroyable(_ref132){let{instance}=_ref132;return instance;}getValue(_ref133){let{instance,args}=_ref133;let{positional,named}=args;let ret=instance.compute(positional,named);consumeTag(instance[RECOMPUTE_TAG]);return ret;}getDebugName(definition){return getDebugName((definition.class||definition)['prototype']);}}function isFactoryManager(obj){return obj!=null&&'class'in obj;}setHelperManager$1(owner=>{return new ClassicHelperManager(owner);},Helper);const CLASSIC_HELPER_MANAGER=getInternalHelperManager(Helper);///////////\nclass Wrapper{constructor(compute){_defineProperty(this,\"isHelperFactory\",true);this.compute=compute;}create(){// needs new instance or will leak containers\nreturn{compute:this.compute};}}class SimpleClassicHelperManager{constructor(){_defineProperty(this,\"capabilities\",helperCapabilities('3.23',{hasValue:true}));}createHelper(definition,args){return()=>definition.compute.call(null,args.positional,args.named);}getValue(fn){return fn();}getDebugName(definition){return getDebugName(definition.compute);}}const SIMPLE_CLASSIC_HELPER_MANAGER=new SimpleClassicHelperManager();setHelperManager$1(()=>SIMPLE_CLASSIC_HELPER_MANAGER,Wrapper.prototype);/*\n            Function-based helpers need to present with a constructor signature so that\n            type parameters can be preserved when `helper()` is passed a generic function\n            (this is particularly key for checking helper invocations with Glint).\n            Accordingly, we define an abstract class and declaration merge it with the\n            interface; this inherently provides an `abstract` constructor. Since it is\n            `abstract`, it is not callable, which is important since end users should not\n            be able to do `let myHelper = helper(someFn); new myHelper()`.\n           *//**\n           * The type of a function-based helper.\n           *\n           * @note This is *not* user-constructible: it is exported only so that the type\n           *   returned by the `helper` function can be named (and indeed can be exported\n           *   like `export default helper(...)` safely).\n           */// Making `FunctionBasedHelper` an alias this way allows callers to name it in\n// terms meaningful to *them*, while preserving the type behavior described on\n// the `abstract class FunctionBasedHelperInstance` below.\n// This abstract class -- specifically, its `protected abstract __concrete__`\n// member -- prevents subclasses from doing `class X extends helper(..)`, since\n// that is an error at runtime. While it is rare that people would type that, it\n// is not impossible and we use this to give them early signal via the types for\n// a behavior which will break (and in a somewhat inscrutable way!) at runtime.\n//\n// This is needful because we lie about what this actually is for Glint's sake:\n// a function-based helper returns a `Factory<SimpleHelper>`, which is designed\n// to be \"opaque\" from a consumer's POV, i.e. not user-callable or constructible\n// but only useable in a template (or via `invokeHelper()` which also treats it\n// as a fully opaque `object` from a type POV). But Glint needs a `Helper<S>` to\n// make it work the same way as class-based helpers. (Note that this does not\n// hold for plain functions as helpers, which it can handle distinctly.) This\n// signature thus makes it so that the item is usable *as* a `Helper` in Glint,\n// but without letting end users treat it as a helper class instance.\n/**\n            In many cases it is not necessary to use the full `Helper` class.\n            The `helper` method create pure-function helpers without instances.\n            For example:\n\n            ```app/helpers/format-currency.js\n            import { helper } from '@ember/component/helper';\n\n            export default helper(function([cents], {currency}) {\n              return `${currency}${cents * 0.01}`;\n            });\n            ```\n\n            @static\n            @param {Function} helper The helper function\n            @method helper\n            @for @ember/component/helper\n            @public\n            @since 1.13.0\n          */// This overload allows users to write types directly on the callback passed to\n// the `helper` function and infer the resulting type correctly.\n// This overload allows users to provide a `Signature` type explicitly at the\n// helper definition site, e.g. `helper<Sig>((pos, named) => {...})`. **Note:**\n// this overload must appear second, since TS' inference engine will not\n// correctly infer the type of `S` here from the types on the supplied callback.\nfunction helper$2(helperFn){// SAFETY: this is completely lies, in two ways:\n//\n// 1. `Wrapper` is a `Factory<SimpleHelper<S>>`, but from the perspective of\n//    any external callers (i.e. Ember *users*), it is quite important that\n//    the `Factory` relationship be hidden, because it is not public API for\n//    an end user to call `.create()` on a helper created this way. Instead,\n//    we provide them an `abstract new` signature (which means it cannot be\n//    directly constructed by calling `new` on it) and which does not have the\n//    `.create()` signature on it anymore.\n//\n// 2. The produced type here ends up being a subtype of `Helper`, which is not\n//    strictly true. This is necessary for the sake of Glint, which provides\n//    its information by way of a \"declaration merge\" with `Helper<S>` in the\n//    case of items produced by `helper()`.\n//\n// Long-term, this entire construct can go away in favor of deprecating the\n// `helper()` invocation in favor of using plain functions.\nreturn new Wrapper(helperFn);}/**\n          @module @ember/template\n          *//**\n            A wrapper around a string that has been marked as safe (\"trusted\"). **When\n            rendered in HTML, Ember will not perform any escaping.**\n\n            Note:\n\n            1. This does not *make* the string safe; it means that some code in your\n               application has *marked* it as safe using the `htmlSafe()` function.\n\n            2. The only public API for getting a `SafeString` is calling `htmlSafe()`. It\n               is *not* user-constructible.\n\n            If a string contains user inputs or other untrusted data, you must sanitize\n            the string before using the `htmlSafe` method. Otherwise your code is\n            vulnerable to [Cross-Site Scripting][xss]. There are many open source\n            sanitization libraries to choose from, both for front end and server-side\n            sanitization.\n\n            [xss]: https://owasp.org/www-community/attacks/DOM_Based_XSS\n\n            ```javascript\n            import { htmlSafe } from '@ember/template';\n\n            let someTrustedOrSanitizedString = \"<div>Hello!</div>\"\n\n            htmlSafe(someTrustedorSanitizedString);\n            ```\n\n            @for @ember/template\n            @class SafeString\n            @since 4.12.0\n            @public\n           */class SafeString{constructor(string){_defineProperty(this,\"__string\",void 0);this.__string=string;}/**\n              Get the string back to use as a string.\n               @public\n              @method toString\n              @returns {String} The string marked as trusted\n             */toString(){return`${this.__string}`;}/**\n              Get the wrapped string as HTML to use without escaping.\n               @public\n              @method toHTML\n              @returns {String} the trusted string, without any escaping applied\n             */toHTML(){return this.toString();}}const escape={'&':'&amp;','<':'&lt;','>':'&gt;','\"':'&quot;',\"'\":'&#x27;','`':'&#x60;','=':'&#x3D;'};const possible=/[&<>\"'`=]/;const badChars=/[&<>\"'`=]/g;function escapeChar(chr){return escape[chr];}function escapeExpression(string){let s;if(typeof string!=='string'){// don't escape SafeStrings, since they're already safe\nif(isHTMLSafe(string)){return string.toHTML();}else if(string===null||string===undefined){return'';}else if(!string){return String(string);}// 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.\ns=String(string);}else{s=string;}if(!possible.test(s)){return s;}// SAFETY: this is technically a lie, but it's a true lie as long as the\n// invariant it depends on is upheld: `escapeChar` will always return a string\n// as long as its input is one of the characters in `escape`, and it will only\n// be called if it matches one of the characters in the `badChar` regex, which\n// is hand-maintained to match the set escaped. (It would be nice if TS could\n// \"see\" into the regex to see how this works, but that'd be quite a lot of\n// extra fanciness.)\nreturn s.replace(badChars,escapeChar);}/**\n            Use this method to indicate that a string should be rendered as HTML\n            when the string is used in a template. To say this another way,\n            strings marked with `htmlSafe` will not be HTML escaped.\n\n            A word of warning -   The `htmlSafe` method does not make the string safe;\n            it only tells the framework to treat the string as if it is safe to render\n            as HTML. If a string contains user inputs or other untrusted\n            data, you must sanitize the string before using the `htmlSafe` method.\n            Otherwise your code is vulnerable to\n            [Cross-Site Scripting](https://owasp.org/www-community/attacks/DOM_Based_XSS).\n            There are many open source sanitization libraries to choose from,\n            both for front end and server-side sanitization.\n\n            ```javascript\n            import { htmlSafe } from '@ember/template';\n\n            const someTrustedOrSanitizedString = \"<div>Hello!</div>\"\n\n            htmlSafe(someTrustedorSanitizedString)\n            ```\n\n            @method htmlSafe\n            @for @ember/template\n            @param str {String} The string to treat as trusted.\n            @static\n            @return {SafeString} A string that will not be HTML escaped by Handlebars.\n            @public\n          */function htmlSafe(str){if(str===null||str===undefined){str='';}else if(typeof str!=='string'){str=String(str);}return new SafeString(str);}/**\n            Detects if a string was decorated using `htmlSafe`.\n\n            ```javascript\n            import { htmlSafe, isHTMLSafe } from '@ember/template';\n\n            let plainString = 'plain string';\n            let safeString = htmlSafe('<div>someValue</div>');\n\n            isHTMLSafe(plainString); // false\n            isHTMLSafe(safeString);  // true\n            ```\n\n            @method isHTMLSafe\n            @for @ember/template\n            @static\n            @return {Boolean} `true` if the string was decorated with `htmlSafe`, `false` otherwise.\n            @public\n          */function isHTMLSafe(str){return str!==null&&typeof str==='object'&&'toHTML'in str&&typeof str.toHTML==='function';}/**\n          @module @ember/engine\n          *//**\n            The `EngineInstance` encapsulates all of the stateful aspects of a\n            running `Engine`.\n\n            @public\n            @class EngineInstance\n            @extends EmberObject\n            @uses RegistryProxyMixin\n            @uses ContainerProxyMixin\n          */// Note on types: since `EngineInstance` uses `RegistryProxyMixin` and\n// `ContainerProxyMixin`, which respectively implement the same `RegistryMixin`\n// and `ContainerMixin` types used to define `InternalOwner`, this is the same\n// type as `InternalOwner` from TS's POV. The point of the explicit `extends`\n// clauses for `InternalOwner` and `Owner` is to keep us honest: if this stops\n// type checking, we have broken part of our public API contract. Medium-term,\n// the goal here is to `EngineInstance` simple be `Owner`.\nclass EngineInstance extends EmberObject.extend(RegistryProxyMixin,ContainerProxyMixin){constructor(){super(...arguments);/**\n              The base `Engine` for which this is an instance.\n               @property {Engine} engine\n              @private\n            */_defineProperty(this,ENGINE_PARENT,void 0);_defineProperty(this,\"_booted\",false);_defineProperty(this,\"_bootPromise\",null);}/**\n             @private\n             @method setupRegistry\n             @param {Registry} registry\n             @param {BootOptions} options\n             */// This is effectively an \"abstract\" method: it defines the contract a\n// subclass (e.g. `ApplicationInstance`) must follow to implement this\n// behavior, but an `EngineInstance` has no behavior of its own here.\nstatic setupRegistry(_registry,_options){}init(properties){super.init(properties);// Ensure the guid gets setup for this instance\nguidFor(this);this.base??(this.base=this.application);// Create a per-instance registry that will use the application's registry\n// as a fallback for resolving registrations.\nlet registry=this.__registry__=new Registry({fallback:this.base.__registry__});// Create a per-instance container from the instance's registry\nthis.__container__=registry.container({owner:this});this._booted=false;}/**\n              Initialize the `EngineInstance` and return a promise that resolves\n              with the instance itself when the boot process is complete.\n               The primary task here is to run any registered instance initializers.\n               See the documentation on `BootOptions` for the options it takes.\n               @public\n              @method boot\n              @param options {Object}\n              @return {Promise<EngineInstance,Error>}\n            */boot(options){if(this._bootPromise){return this._bootPromise;}this._bootPromise=new rsvp.Promise(resolve=>{resolve(this._bootSync(options));});return this._bootPromise;}/**\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            */_bootSync(options){if(this._booted){return this;}this.cloneParentDependencies();this.setupRegistry(options);this.base.runInstanceInitializers(this);this._booted=true;return this;}setupRegistry(){let options=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.__container__.lookup('-environment:main');this.constructor.setupRegistry(this.__registry__,options);}/**\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             */unregister(fullName){this.__container__.reset(fullName);// We overwrote this method from RegistryProxyMixin.\nthis.__registry__.unregister(fullName);}/**\n              Build a new `EngineInstance` that's a child of this instance.\n               Engines must be registered by name with their parent engine\n              (or application).\n               @private\n              @method buildChildEngineInstance\n              @param name {String} the registered name of the engine.\n              @param options {Object} options provided to the engine instance.\n              @return {EngineInstance,Error}\n            */buildChildEngineInstance(name){let options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let ChildEngine=this.lookup(`engine:${name}`);if(!ChildEngine){throw new Error(`You attempted to mount the engine '${name}', but it is not registered with its parent.`);}let engineInstance=ChildEngine.buildInstance(options);setEngineParent(engineInstance,this);return engineInstance;}/**\n              Clone dependencies shared between an engine instance and its parent.\n               @private\n              @method cloneParentDependencies\n            */cloneParentDependencies(){const parent=getEngineParent(this);let registrations=['route:basic','service:-routing'];registrations.forEach(key=>{let registration=parent.resolveRegistration(key);this.register(key,registration);});let env=parent.lookup('-environment:main');this.register('-environment:main',env,{instantiate:false});// The type annotation forces TS to (a) validate that these match and (b)\n// *notice* that they match, e.g. below on the `singletons.push()`.\nlet singletons=['router:main',privatize`-bucket-cache:main`,'-view-registry:main',`renderer:-dom`,'service:-document'];if(env['isInteractive']){singletons.push('event_dispatcher:main');}singletons.forEach(key=>{// SAFETY: We already expect this to be a singleton\nlet singleton=parent.lookup(key);this.register(key,singleton,{instantiate:false});});}}const emberEngineInstance=/*#__PURE__*/Object.defineProperty({__proto__:null,default:EngineInstance},Symbol.toStringTag,{value:'Module'});function instrumentationPayload$1(def){// \"main\" used to be the outlet name, keeping it around for compatibility\nreturn{object:`${def.name}:main`};}const CAPABILITIES$1={dynamicLayout:false,dynamicTag:false,prepareArgs:false,createArgs:false,attributeHook:false,elementHook:false,createCaller:false,dynamicScope:true,updateHook:false,createInstance:true,wrapped:false,willDestroy:false,hasSubOwner:false};class OutletComponentManager{create(_owner,definition,_args,env,dynamicScope){let parentStateRef=dynamicScope.get('outletState');let currentStateRef=definition.ref;dynamicScope.set('outletState',currentStateRef);let state={self:createConstRef(definition.controller),finalize:_instrumentStart('render.outlet',instrumentationPayload$1,definition)};if(env.debugRenderTree!==undefined){state.outletBucket={};let parentState=valueForRef(parentStateRef);let parentOwner=parentState&&parentState.render&&parentState.render.owner;let currentOwner=valueForRef(currentStateRef).render.owner;if(parentOwner&&parentOwner!==currentOwner){let mountPoint=currentOwner.mountPoint;state.engine=currentOwner;if(mountPoint){state.engineBucket={mountPoint};}}}return state;}getDebugName(_ref134){let{name}=_ref134;return name;}getDebugCustomRenderTree(definition,state,args){let nodes=[];nodes.push({bucket:state.outletBucket,type:'outlet',// \"main\" used to be the outlet name, keeping it around for compatibility\nname:'main',args:EMPTY_ARGS,instance:undefined,template:undefined});if(state.engineBucket){nodes.push({bucket:state.engineBucket,type:'engine',name:state.engineBucket.mountPoint,args:EMPTY_ARGS,instance:state.engine,template:undefined});}nodes.push({bucket:state,type:'route-template',name:definition.name,args:args,instance:definition.controller,template:unwrapTemplate(definition.template).moduleName});return nodes;}getCapabilities(){return CAPABILITIES$1;}getSelf(_ref135){let{self}=_ref135;return self;}didCreate(){}didUpdate(){}didRenderLayout(state){state.finalize();}didUpdateLayout(){}getDestroyable(){return null;}}const OUTLET_MANAGER=new OutletComponentManager();class OutletComponentDefinition{constructor(state){let manager=arguments.length>1&&arguments[1]!==undefined?arguments[1]:OUTLET_MANAGER;// handle is not used by this custom definition\n_defineProperty(this,\"handle\",-1);_defineProperty(this,\"resolvedName\",void 0);_defineProperty(this,\"compilable\",void 0);_defineProperty(this,\"capabilities\",void 0);this.state=state;this.manager=manager;let capabilities=manager.getCapabilities();this.capabilities=capabilityFlagsFrom(capabilities);this.compilable=capabilities.wrapped?unwrapTemplate(state.template).asWrappedLayout():unwrapTemplate(state.template).asLayout();this.resolvedName=state.name;}}function createRootOutlet(outletView){return new OutletComponentDefinition(outletView.state);}class RootComponentManager extends CurlyComponentManager{constructor(component){super();_defineProperty(this,\"component\",void 0);this.component=component;}create(_owner,_state,_args,_ref136,dynamicScope){let{isInteractive}=_ref136;let component=this.component;let finalizer=_instrumentStart('render.component',initialRenderInstrumentDetails,component);dynamicScope.view=component;let hasWrappedElement=component.tagName!=='';// We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\nif(!hasWrappedElement){if(isInteractive){component.trigger('willRender');}component._transitionTo('hasElement');if(isInteractive){component.trigger('willInsertElement');}}let bucket=new ComponentStateBucket(component,null,CONSTANT_TAG,finalizer,hasWrappedElement,isInteractive);consumeTag(component[DIRTY_TAG]);return bucket;}}// ROOT is the top-level template it has nothing but one yield.\n// it is supposed to have a dummy element\nconst ROOT_CAPABILITIES={dynamicLayout:true,dynamicTag:true,prepareArgs:false,createArgs:false,attributeHook:true,elementHook:true,createCaller:true,dynamicScope:true,updateHook:true,createInstance:true,wrapped:true,willDestroy:false,hasSubOwner:false};class RootComponentDefinition{constructor(component){// handle is not used by this custom definition\n_defineProperty(this,\"handle\",-1);_defineProperty(this,\"resolvedName\",'-top-level');_defineProperty(this,\"state\",void 0);_defineProperty(this,\"manager\",void 0);_defineProperty(this,\"capabilities\",capabilityFlagsFrom(ROOT_CAPABILITIES));_defineProperty(this,\"compilable\",null);this.manager=new RootComponentManager(component);let factory=getFactoryFor(component);this.state=factory;}}const EMPTY_ATTRS=[];function indexOfAttribute(attributes,namespaceURI,localName){for(let i=0;i<attributes.length;i++){const attr=attributes[i];if(attr.namespaceURI===namespaceURI&&attr.localName===localName){return i;}}return-1;}function adjustAttrName(namespaceURI,localName){return namespaceURI===\"http://www.w3.org/1999/xhtml\"/* HTML */?localName.toLowerCase():localName;}function getAttribute(attributes,namespaceURI,localName){const index=indexOfAttribute(attributes,namespaceURI,localName);return index===-1?null:attributes[index].value;}function removeAttribute(attributes,namespaceURI,localName){const index=indexOfAttribute(attributes,namespaceURI,localName);if(index!==-1){attributes.splice(index,1);}}// https://dom.spec.whatwg.org/#dom-element-setattributens\nfunction setAttribute(element,namespaceURI,prefix,localName,value){if(typeof value!=='string'){value=''+value;}let{attributes}=element;if(attributes===EMPTY_ATTRS){attributes=element.attributes=[];}else{const index=indexOfAttribute(attributes,namespaceURI,localName);if(index!==-1){attributes[index].value=value;return;}}attributes.push({localName,name:prefix===null?localName:prefix+':'+localName,namespaceURI,prefix,specified:true,value});}class ChildNodes{constructor(node){this.node=node;this.stale=true;this._length=0;}get length(){if(this.stale){this.stale=false;let len=0;let child=this.node.firstChild;for(;child!==null;len++){this[len]=child;child=child.nextSibling;}const oldLen=this._length;this._length=len;for(;len<oldLen;len++){delete this[len];}}return this._length;}item(index){return index<this.length?this[index]:null;}}function cloneNode(node,deep){const clone=nodeFrom(node);if(deep){let child=node.firstChild;let nextChild=child;while(child!==null){nextChild=child.nextSibling;clone.appendChild(child.cloneNode(true));child=nextChild;}}return clone;}function nodeFrom(node){let namespaceURI;if(node.nodeType===1/* ELEMENT_NODE */){namespaceURI=node.namespaceURI;}const clone=new SimpleNodeImpl(node.ownerDocument,node.nodeType,node.nodeName,node.nodeValue,namespaceURI);if(node.nodeType===1/* ELEMENT_NODE */){clone.attributes=copyAttrs(node.attributes);}return clone;}function copyAttrs(attrs){if(attrs===EMPTY_ATTRS){return EMPTY_ATTRS;}const copy=[];for(let i=0;i<attrs.length;i++){const attr=attrs[i];copy.push({localName:attr.localName,name:attr.name,namespaceURI:attr.namespaceURI,prefix:attr.prefix,specified:true,value:attr.value});}return copy;}function insertBefore(parentNode,newChild,refChild){invalidate(parentNode);insertBetween(parentNode,newChild,refChild===null?parentNode.lastChild:refChild.previousSibling,refChild);}function removeChild(parentNode,oldChild){invalidate(parentNode);removeBetween(parentNode,oldChild,oldChild.previousSibling,oldChild.nextSibling);}function invalidate(parentNode){const childNodes=parentNode._childNodes;if(childNodes!==undefined){childNodes.stale=true;}}function insertBetween(parentNode,newChild,previousSibling,nextSibling){if(newChild.nodeType===11/* DOCUMENT_FRAGMENT_NODE */){insertFragment(newChild,parentNode,previousSibling,nextSibling);return;}if(newChild.parentNode!==null){removeChild(newChild.parentNode,newChild);}newChild.parentNode=parentNode;newChild.previousSibling=previousSibling;newChild.nextSibling=nextSibling;if(previousSibling===null){parentNode.firstChild=newChild;}else{previousSibling.nextSibling=newChild;}if(nextSibling===null){parentNode.lastChild=newChild;}else{nextSibling.previousSibling=newChild;}}function removeBetween(parentNode,oldChild,previousSibling,nextSibling){oldChild.parentNode=null;oldChild.previousSibling=null;oldChild.nextSibling=null;if(previousSibling===null){parentNode.firstChild=nextSibling;}else{previousSibling.nextSibling=nextSibling;}if(nextSibling===null){parentNode.lastChild=previousSibling;}else{nextSibling.previousSibling=previousSibling;}}function insertFragment(fragment,parentNode,previousSibling,nextSibling){const firstChild=fragment.firstChild;if(firstChild===null){return;}fragment.firstChild=null;fragment.lastChild=null;let lastChild=firstChild;let newChild=firstChild;firstChild.previousSibling=previousSibling;if(previousSibling===null){parentNode.firstChild=firstChild;}else{previousSibling.nextSibling=firstChild;}while(newChild!==null){newChild.parentNode=parentNode;lastChild=newChild;newChild=newChild.nextSibling;}lastChild.nextSibling=nextSibling;if(nextSibling===null){parentNode.lastChild=lastChild;}else{nextSibling.previousSibling=lastChild;}}function parseQualifiedName(qualifiedName){let localName=qualifiedName;let prefix=null;const i=qualifiedName.indexOf(':');if(i!==-1){prefix=qualifiedName.slice(0,i);localName=qualifiedName.slice(i+1);}return[prefix,localName];}class SimpleNodeImpl{constructor(ownerDocument,nodeType,nodeName,nodeValue,namespaceURI){this.ownerDocument=ownerDocument;this.nodeType=nodeType;this.nodeName=nodeName;this.nodeValue=nodeValue;this.namespaceURI=namespaceURI;this.parentNode=null;this.previousSibling=null;this.nextSibling=null;this.firstChild=null;this.lastChild=null;this.attributes=EMPTY_ATTRS;/**\n               * @internal\n               */this._childNodes=undefined;}get tagName(){return this.nodeName;}get childNodes(){let children=this._childNodes;if(children===undefined){children=this._childNodes=new ChildNodes(this);}return children;}cloneNode(deep){return cloneNode(this,deep===true);}appendChild(newChild){insertBefore(this,newChild,null);return newChild;}insertBefore(newChild,refChild){insertBefore(this,newChild,refChild);return newChild;}removeChild(oldChild){removeChild(this,oldChild);return oldChild;}insertAdjacentHTML(position,html){const raw=new SimpleNodeImpl(this.ownerDocument,-1/* RAW_NODE */,'#raw',html,void 0);let parentNode;let nextSibling;switch(position){case'beforebegin':parentNode=this.parentNode;nextSibling=this;break;case'afterbegin':parentNode=this;nextSibling=this.firstChild;break;case'beforeend':parentNode=this;nextSibling=null;break;case'afterend':parentNode=this.parentNode;nextSibling=this.nextSibling;break;default:throw new Error('invalid position');}if(parentNode===null){throw new Error(`${position} requires a parentNode`);}insertBefore(parentNode,raw,nextSibling);}getAttribute(name){const localName=adjustAttrName(this.namespaceURI,name);return getAttribute(this.attributes,null,localName);}getAttributeNS(namespaceURI,localName){return getAttribute(this.attributes,namespaceURI,localName);}setAttribute(name,value){const localName=adjustAttrName(this.namespaceURI,name);setAttribute(this,null,null,localName,value);}setAttributeNS(namespaceURI,qualifiedName,value){const[prefix,localName]=parseQualifiedName(qualifiedName);setAttribute(this,namespaceURI,prefix,localName,value);}removeAttribute(name){const localName=adjustAttrName(this.namespaceURI,name);removeAttribute(this.attributes,null,localName);}removeAttributeNS(namespaceURI,localName){removeAttribute(this.attributes,namespaceURI,localName);}get doctype(){return this.firstChild;}get documentElement(){return this.lastChild;}get head(){return this.documentElement.firstChild;}get body(){return this.documentElement.lastChild;}createElement(name){return new SimpleNodeImpl(this,1/* ELEMENT_NODE */,name.toUpperCase(),null,\"http://www.w3.org/1999/xhtml\"/* HTML */);}createElementNS(namespace,qualifiedName){// Node name is case-preserving in XML contexts, but returns canonical uppercase form in HTML contexts\n// https://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-104682815\nconst nodeName=namespace===\"http://www.w3.org/1999/xhtml\"/* HTML */?qualifiedName.toUpperCase():qualifiedName;// we don't care to parse the qualified name because we only support HTML documents\n// which don't support prefixed elements\nreturn new SimpleNodeImpl(this,1/* ELEMENT_NODE */,nodeName,null,namespace);}createTextNode(text){return new SimpleNodeImpl(this,3/* TEXT_NODE */,'#text',text,void 0);}createComment(text){return new SimpleNodeImpl(this,8/* COMMENT_NODE */,'#comment',text,void 0);}/**\n             * Backwards compat\n             * @deprecated\n             */createRawHTMLSection(text){return new SimpleNodeImpl(this,-1/* RAW_NODE */,'#raw',text,void 0);}createDocumentFragment(){return new SimpleNodeImpl(this,11/* DOCUMENT_FRAGMENT_NODE */,'#document-fragment',null,void 0);}}function createHTMLDocument(){// dom.d.ts types ownerDocument as Document but for a document ownerDocument is null\nconst document=new SimpleNodeImpl(null,9/* DOCUMENT_NODE */,'#document',null,\"http://www.w3.org/1999/xhtml\"/* HTML */);const doctype=new SimpleNodeImpl(document,10/* DOCUMENT_TYPE_NODE */,'html',null,\"http://www.w3.org/1999/xhtml\"/* HTML */);const html=new SimpleNodeImpl(document,1/* ELEMENT_NODE */,'HTML',null,\"http://www.w3.org/1999/xhtml\"/* HTML */);const head=new SimpleNodeImpl(document,1/* ELEMENT_NODE */,'HEAD',null,\"http://www.w3.org/1999/xhtml\"/* HTML */);const body=new SimpleNodeImpl(document,1/* ELEMENT_NODE */,'BODY',null,\"http://www.w3.org/1999/xhtml\"/* HTML */);html.appendChild(head);html.appendChild(body);document.appendChild(doctype);document.appendChild(html);return document;}const simpleDomDocument=/*#__PURE__*/Object.defineProperty({__proto__:null,default:createHTMLDocument},Symbol.toStringTag,{value:'Module'});class NodeDOMTreeConstruction extends DOMTreeConstruction{// Hides property on base class\nconstructor(doc){super(doc||createHTMLDocument());}// override to prevent usage of `this.document` until after the constructor\nsetupUselessElement(){}insertHTMLBefore(parent,reference,html){let raw=this.document.createRawHTMLSection(html);return parent.insertBefore(raw,reference),new ConcreteBounds(parent,raw,raw);}// override to avoid SVG detection/work when in node (this is not needed in SSR)\ncreateElement(tag){return this.document.createElement(tag);}// override to avoid namespace shenanigans when in node (this is not needed in SSR)\nsetAttribute(element,name,value){element.setAttribute(name,value);}}const NEEDS_EXTRA_CLOSE=new WeakMap();class SerializeBuilder extends NewElementBuilder{constructor(){super(...arguments);_defineProperty(this,\"serializeBlockDepth\",0);}__openBlock(){let{tagName:tagName}=this.element;if(\"TITLE\"!==tagName&&\"SCRIPT\"!==tagName&&\"STYLE\"!==tagName){let depth=this.serializeBlockDepth++;this.__appendComment(`%+b:${depth}%`);}super.__openBlock();}__closeBlock(){let{tagName:tagName}=this.element;if(super.__closeBlock(),\"TITLE\"!==tagName&&\"SCRIPT\"!==tagName&&\"STYLE\"!==tagName){let depth=--this.serializeBlockDepth;this.__appendComment(`%-b:${depth}%`);}}__appendHTML(html){let{tagName:tagName}=this.element;if(\"TITLE\"===tagName||\"SCRIPT\"===tagName||\"STYLE\"===tagName)return super.__appendHTML(html);// Do we need to run the html tokenizer here?\nlet first=this.__appendComment(\"%glmr%\");if(\"TABLE\"===tagName){let openIndex=html.indexOf(\"<\");openIndex>-1&&\"tr\"===html.slice(openIndex+1,openIndex+3)&&(html=`<tbody>${html}</tbody>`);}\"\"===html?this.__appendComment(\"% %\"):super.__appendHTML(html);let last=this.__appendComment(\"%glmr%\");return new ConcreteBounds(this.element,first,last);}__appendText(string){let{tagName:tagName}=this.element,current=function(cursor){let{element:element,nextSibling:nextSibling}=cursor;return null===nextSibling?element.lastChild:nextSibling.previousSibling;}(this);return\"TITLE\"===tagName||\"SCRIPT\"===tagName||\"STYLE\"===tagName?super.__appendText(string):\"\"===string?this.__appendComment(\"% %\"):(current&&3===current.nodeType&&this.__appendComment(\"%|%\"),super.__appendText(string));}closeElement(){return NEEDS_EXTRA_CLOSE.has(this.element)&&(NEEDS_EXTRA_CLOSE.delete(this.element),super.closeElement()),super.closeElement();}openElement(tag){return\"tr\"===tag&&\"TBODY\"!==this.element.tagName&&\"THEAD\"!==this.element.tagName&&\"TFOOT\"!==this.element.tagName&&(this.openElement(\"tbody\"),// This prevents the closeBlock comment from being re-parented\n// under the auto inserted tbody. Rehydration builder needs to\n// account for the insertion since it is injected here and not\n// really in the template.\nNEEDS_EXTRA_CLOSE.set(this.constructing,!0),this.flushElement(null)),super.openElement(tag);}pushRemoteElement(element,cursorId){let insertBefore=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null;let{dom:dom}=this,script=dom.createElement(\"script\");return script.setAttribute(\"glmr\",cursorId),dom.insertBefore(element,script,insertBefore),super.pushRemoteElement(element,cursorId,insertBefore);}}function serializeBuilder(env,cursor){return SerializeBuilder.forInitialRender(env,cursor);}const glimmerNode=/*#__PURE__*/Object.defineProperty({__proto__:null,NodeDOMTreeConstruction,serializeBuilder},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          *//**\n            The `{{#each}}` helper loops over elements in a collection. It is an extension\n            of the base Handlebars `{{#each}}` helper.\n\n            The default behavior of `{{#each}}` is to yield its inner block once for every\n            item in an array passing the item as the first block parameter.\n\n            Assuming the `@developers` argument contains this array:\n\n            ```javascript\n            [{ name: 'Yehuda' },{ name: 'Tom' }, { name: 'Paul' }];\n            ```\n\n            ```handlebars\n            <ul>\n              {{#each @developers as |person|}}\n                <li>Hello, {{person.name}}!</li>\n              {{/each}}\n            </ul>\n            ```\n\n            The same rules apply to arrays of primitives.\n\n            ```javascript\n            ['Yehuda', 'Tom', 'Paul']\n            ```\n\n            ```handlebars\n            <ul>\n              {{#each @developerNames as |name|}}\n                <li>Hello, {{name}}!</li>\n              {{/each}}\n            </ul>\n            ```\n\n            During iteration, the index of each item in the array is provided as a second block\n            parameter.\n\n            ```handlebars\n            <ul>\n              {{#each @developers as |person index|}}\n                <li>Hello, {{person.name}}! You're number {{index}} in line</li>\n              {{/each}}\n            </ul>\n            ```\n\n            ### Specifying Keys\n\n            In order to improve rendering speed, Ember will try to reuse the DOM elements\n            where possible. Specifically, if the same item is present in the array both\n            before and after the change, its DOM output will be reused.\n\n            The `key` option is used to tell Ember how to determine if the items in the\n            array being iterated over with `{{#each}}` has changed between renders. By\n            default the item's object identity is used.\n\n            This is usually sufficient, so in most cases, the `key` option is simply not\n            needed. However, in some rare cases, the objects' identities may change even\n            though they represent the same underlying data.\n\n            For example:\n\n            ```javascript\n            people.map(person => {\n              return { ...person, type: 'developer' };\n            });\n            ```\n\n            In this case, each time the `people` array is `map`-ed over, it will produce\n            an new array with completely different objects between renders. In these cases,\n            you can help Ember determine how these objects related to each other with the\n            `key` option:\n\n            ```handlebars\n            <ul>\n              {{#each @developers key=\"name\" as |person|}}\n                <li>Hello, {{person.name}}!</li>\n              {{/each}}\n            </ul>\n            ```\n\n            By doing so, Ember will use the value of the property specified (`person.name`\n            in the example) to find a \"match\" from the previous render. That is, if Ember\n            has previously seen an object from the `@developers` array with a matching\n            name, its DOM elements will be re-used.\n\n            There are two special values for `key`:\n\n              * `@index` - The index of the item in the array.\n              * `@identity` - The item in the array itself.\n\n            ### {{else}} condition\n\n            `{{#each}}` can have a matching `{{else}}`. The contents of this block will render\n            if the collection is empty.\n\n            ```handlebars\n            <ul>\n              {{#each @developers as |person|}}\n                <li>{{person.name}} is available!</li>\n              {{else}}\n                <li>Sorry, nobody is available for this task.</li>\n              {{/each}}\n            </ul>\n            ```\n\n            @method each\n            @for Ember.Templates.helpers\n            @public\n           *//**\n            The `{{each-in}}` helper loops over properties on an object.\n\n            For example, given this component definition:\n\n            ```app/components/developer-details.js\n            import Component from '@glimmer/component';\n            import { tracked } from '@glimmer/tracking';\n\n            export default class extends Component {\n              @tracked developer = {\n                \"name\": \"Shelly Sails\",\n                \"age\": 42\n              };\n            }\n            ```\n\n            This template would display all properties on the `developer`\n            object in a list:\n\n            ```app/components/developer-details.hbs\n            <ul>\n              {{#each-in this.developer as |key value|}}\n                <li>{{key}}: {{value}}</li>\n              {{/each-in}}\n            </ul>\n            ```\n\n            Outputting their name and age:\n\n            ```html\n            <ul>\n              <li>name: Shelly Sails</li>\n              <li>age: 42</li>\n            </ul>\n            ```\n\n            @method each-in\n            @for Ember.Templates.helpers\n            @public\n            @since 2.1.0\n          */class EachInWrapper{constructor(inner){this.inner=inner;}}const eachIn=internalHelper(_ref137=>{let{positional}=_ref137;const inner=positional[0];return createComputeRef(()=>{let iterable=valueForRef(inner);consumeTag(tagForObject(iterable));if(isProxy(iterable)){// this is because the each-in doesn't actually get(proxy, 'key') but bypasses it\n// and the proxy's tag is lazy updated on access\niterable=contentFor(iterable);}return new EachInWrapper(iterable);});});function toIterator(iterable){if(iterable instanceof EachInWrapper){return toEachInIterator(iterable.inner);}else{return toEachIterator(iterable);}}function toEachInIterator(iterable){if(!isIndexable(iterable)){return null;}if(Array.isArray(iterable)||isEmberArray(iterable)){return ObjectIterator.fromIndexable(iterable);}else if(isNativeIterable(iterable)){return MapLikeNativeIterator.from(iterable);}else if(hasForEach(iterable)){return ObjectIterator.fromForEachable(iterable);}else{return ObjectIterator.fromIndexable(iterable);}}function toEachIterator(iterable){if(!isObject$1(iterable)){return null;}if(Array.isArray(iterable)){return ArrayIterator.from(iterable);}else if(isEmberArray(iterable)){return EmberArrayIterator.from(iterable);}else if(isNativeIterable(iterable)){return ArrayLikeNativeIterator.from(iterable);}else if(hasForEach(iterable)){return ArrayIterator.fromForEachable(iterable);}else{return null;}}class BoundedIterator{constructor(length){_defineProperty(this,\"position\",0);this.length=length;}isEmpty(){return false;}memoFor(position){return position;}next(){let{length,position}=this;if(position>=length){return null;}let value=this.valueFor(position);let memo=this.memoFor(position);this.position++;return{value,memo};}}class ArrayIterator extends BoundedIterator{static from(iterable){return iterable.length>0?new this(iterable):null;}static fromForEachable(object){let array=[];object.forEach(item=>array.push(item));return this.from(array);}constructor(array){super(array.length);this.array=array;}valueFor(position){return this.array[position];}}class EmberArrayIterator extends BoundedIterator{static from(iterable){return iterable.length>0?new this(iterable):null;}constructor(array){super(array.length);this.array=array;}valueFor(position){return objectAt(this.array,position);}}class ObjectIterator extends BoundedIterator{static fromIndexable(obj){let keys=Object.keys(obj);if(keys.length===0){return null;}else{let values=[];for(let key of keys){let value;value=obj[key];// Add the tag of the returned value if it is an array, since arrays\n// should always cause updates if they are consumed and then changed\nif(isTracking()){consumeTag(tagFor(obj,key));if(Array.isArray(value)){consumeTag(tagFor(value,'[]'));}}values.push(value);}return new this(keys,values);}}static fromForEachable(obj){let keys=[];let values=[];let length=0;let isMapLike=false;// Not using an arrow function here so we can get an accurate `arguments`\nobj.forEach(function(value,key){isMapLike=isMapLike||arguments.length>=2;if(isMapLike){keys.push(key);}values.push(value);length++;});if(length===0){return null;}else if(isMapLike){return new this(keys,values);}else{return new ArrayIterator(values);}}constructor(keys,values){super(values.length);this.keys=keys;this.values=values;}valueFor(position){return this.values[position];}memoFor(position){return this.keys[position];}}class NativeIterator{static from(iterable){let iterator=iterable[Symbol.iterator]();let result=iterator.next();let{done}=result;if(done){return null;}else{return new this(iterator,result);}}constructor(iterable,result){_defineProperty(this,\"position\",0);this.iterable=iterable;this.result=result;}isEmpty(){return false;}next(){let{iterable,result,position}=this;if(result.done){return null;}let value=this.valueFor(result,position);let memo=this.memoFor(result,position);this.position++;this.result=iterable.next();return{value,memo};}}class ArrayLikeNativeIterator extends NativeIterator{valueFor(result){return result.value;}memoFor(_result,position){return position;}}class MapLikeNativeIterator extends NativeIterator{valueFor(result){return result.value[1];}memoFor(result){return result.value[0];}}function hasForEach(value){return value!=null&&typeof value['forEach']==='function';}function isNativeIterable(value){return value!=null&&typeof value[Symbol.iterator]==='function';}function isIndexable(value){return value!==null&&(typeof value==='object'||typeof value==='function');}/**\n           @module @ember/utils\n          *//**\n            Returns true if the passed value is null or undefined. This avoids errors\n            from JSLint complaining about use of ==, which can be technically\n            confusing.\n\n            ```javascript\n            isNone(null);          // true\n            isNone(undefined);     // true\n            isNone('');            // false\n            isNone([]);            // false\n            isNone(function() {}); // false\n            ```\n\n            @method isNone\n            @static\n            @for @ember/utils\n            @param {Object} obj Value to test\n            @return {Boolean}\n            @public\n          */function isNone(obj){return obj===null||obj===undefined;}const emberUtilsLibIsNone=/*#__PURE__*/Object.defineProperty({__proto__:null,default:isNone},Symbol.toStringTag,{value:'Module'});/**\n           @module @ember/utils\n          *//**\n            Verifies that a value is `null` or `undefined`, an empty string, or an empty\n            array.\n\n            Constrains the rules on `isNone` by returning true for empty strings and\n            empty arrays.\n\n            If the value is an object with a `size` property of type number, it is used\n            to check emptiness.\n\n            ```javascript\n            isEmpty(null);             // true\n            isEmpty(undefined);        // true\n            isEmpty('');               // true\n            isEmpty([]);               // true\n            isEmpty({ size: 0});       // true\n            isEmpty({});               // false\n            isEmpty('Adam Hawkins');   // false\n            isEmpty([0,1,2]);          // false\n            isEmpty('\\n\\t');           // false\n            isEmpty('  ');             // false\n            isEmpty({ size: 1 })       // false\n            isEmpty({ size: () => 0 }) // false\n            ```\n\n            @method isEmpty\n            @static\n            @for @ember/utils\n            @param {Object} obj Value to test\n            @return {Boolean}\n            @public\n          */function isEmpty(obj){if(obj===null||obj===undefined){return true;}if(!hasUnknownProperty(obj)&&typeof obj.size==='number'){return!obj.size;}if(typeof obj==='object'){let size=get$2(obj,'size');if(typeof size==='number'){return!size;}let length=get$2(obj,'length');if(typeof length==='number'){return!length;}}if(typeof obj.length==='number'&&typeof obj!=='function'){return!obj.length;}return false;}const emberUtilsLibIsEmpty=/*#__PURE__*/Object.defineProperty({__proto__:null,default:isEmpty},Symbol.toStringTag,{value:'Module'});/**\n           @module @ember/utils\n          *//**\n            A value is blank if it is empty or a whitespace string.\n\n            ```javascript\n            import { isBlank } from '@ember/utils';\n\n            isBlank(null);            // true\n            isBlank(undefined);       // true\n            isBlank('');              // true\n            isBlank([]);              // true\n            isBlank('\\n\\t');          // true\n            isBlank('  ');            // true\n            isBlank({});              // false\n            isBlank('\\n\\t Hello');    // false\n            isBlank('Hello world');   // false\n            isBlank([1,2,3]);         // false\n            ```\n\n            @method isBlank\n            @static\n            @for @ember/utils\n            @param {Object} obj Value to test\n            @return {Boolean}\n            @since 1.5.0\n            @public\n          */function isBlank(obj){return isEmpty(obj)||typeof obj==='string'&&/\\S/.test(obj)===false;}const emberUtilsLibIsBlank=/*#__PURE__*/Object.defineProperty({__proto__:null,default:isBlank},Symbol.toStringTag,{value:'Module'});/**\n           @module @ember/utils\n          *//**\n            A value is present if it not `isBlank`.\n\n            ```javascript\n            isPresent(null);            // false\n            isPresent(undefined);       // false\n            isPresent('');              // false\n            isPresent('  ');            // false\n            isPresent('\\n\\t');          // false\n            isPresent([]);              // false\n            isPresent({ length: 0 });   // false\n            isPresent(false);           // true\n            isPresent(true);            // true\n            isPresent('string');        // true\n            isPresent(0);               // true\n            isPresent(function() {});   // true\n            isPresent({});              // true\n            isPresent('\\n\\t Hello');    // true\n            isPresent([1, 2, 3]);       // true\n            ```\n\n            @method isPresent\n            @static\n            @for @ember/utils\n            @param {Object} obj Value to test\n            @return {Boolean}\n            @since 1.8.0\n            @public\n          */function isPresent(obj){return!isBlank(obj);}const emberUtilsLibIsPresent=/*#__PURE__*/Object.defineProperty({__proto__:null,default:isPresent},Symbol.toStringTag,{value:'Module'});/**\n           @module @ember/utils\n          *//**\n            Compares two objects, returning true if they are equal.\n\n            ```javascript\n            import { isEqual } from '@ember/utils';\n\n            isEqual('hello', 'hello');                   // true\n            isEqual(1, 2);                               // false\n            ```\n\n            `isEqual` is a more specific comparison than a triple equal comparison.\n            It will call the `isEqual` instance method on the objects being\n            compared, allowing finer control over when objects should be considered\n            equal to each other.\n\n            ```javascript\n            import { isEqual } from '@ember/utils';\n            import EmberObject from '@ember/object';\n\n            let Person = EmberObject.extend({\n              isEqual(other) { return this.ssn == other.ssn; }\n            });\n\n            let personA = Person.create({name: 'Muhammad Ali', ssn: '123-45-6789'});\n            let personB = Person.create({name: 'Cassius Clay', ssn: '123-45-6789'});\n\n            isEqual(personA, personB); // true\n            ```\n\n            Due to the expense of array comparisons, collections will never be equal to\n            each other even if each of their items are equal to each other.\n\n            ```javascript\n            import { isEqual } from '@ember/utils';\n\n            isEqual([4, 2], [4, 2]);                     // false\n            ```\n\n            @method isEqual\n            @for @ember/utils\n            @static\n            @param {Object} a first object to compare\n            @param {Object} b second object to compare\n            @return {Boolean}\n            @public\n          */function isEqual(a,b){if(a&&typeof a.isEqual==='function'){return a.isEqual(b);}if(a instanceof Date&&b instanceof Date){return a.getTime()===b.getTime();}return a===b;}const emberUtilsLibIsEqual=/*#__PURE__*/Object.defineProperty({__proto__:null,default:isEqual},Symbol.toStringTag,{value:'Module'});// ........................................\n// TYPING & ARRAY MESSAGING\n//\nconst TYPE_MAP={'[object Boolean]':'boolean','[object Number]':'number','[object String]':'string','[object Function]':'function','[object AsyncFunction]':'function','[object Array]':'array','[object Date]':'date','[object RegExp]':'regexp','[object Object]':'object','[object FileList]':'filelist'};const{toString}=Object.prototype;/**\n           @module @ember/utils\n          *//**\n            Returns a consistent type for the passed object.\n\n            Use this instead of the built-in `typeof` to get the type of an item.\n            It will return the same result across all browsers and includes a bit\n            more detail. Here is what will be returned:\n\n                | Return Value  | Meaning                                              |\n                |---------------|------------------------------------------------------|\n                | 'string'      | String primitive or String object.                   |\n                | 'number'      | Number primitive or Number object.                   |\n                | 'boolean'     | Boolean primitive or Boolean object.                 |\n                | 'null'        | Null value                                           |\n                | 'undefined'   | Undefined value                                      |\n                | 'function'    | A function                                           |\n                | 'array'       | An instance of Array                                 |\n                | 'regexp'      | An instance of RegExp                                |\n                | 'date'        | An instance of Date                                  |\n                | 'filelist'    | An instance of FileList                              |\n                | 'class'       | An Ember class (created using EmberObject.extend())  |\n                | 'instance'    | An Ember object instance                             |\n                | 'error'       | An instance of the Error object                      |\n                | 'object'      | A JavaScript object not inheriting from EmberObject  |\n\n            Examples:\n\n            ```javascript\n            import { A } from '@ember/array';\n            import { typeOf } from '@ember/utils';\n            import EmberObject from '@ember/object';\n\n            typeOf();                       // 'undefined'\n            typeOf(null);                   // 'null'\n            typeOf(undefined);              // 'undefined'\n            typeOf('michael');              // 'string'\n            typeOf(new String('michael'));  // 'string'\n            typeOf(101);                    // 'number'\n            typeOf(new Number(101));        // 'number'\n            typeOf(true);                   // 'boolean'\n            typeOf(new Boolean(true));      // 'boolean'\n            typeOf(A);                      // 'function'\n            typeOf(A());                    // 'array'\n            typeOf([1, 2, 90]);             // 'array'\n            typeOf(/abc/);                  // 'regexp'\n            typeOf(new Date());             // 'date'\n            typeOf(event.target.files);     // 'filelist'\n            typeOf(EmberObject.extend());   // 'class'\n            typeOf(EmberObject.create());   // 'instance'\n            typeOf(new Error('teamocil'));  // 'error'\n\n            // 'normal' JavaScript object\n            typeOf({ a: 'b' });             // 'object'\n            ```\n\n            @method typeOf\n            @for @ember/utils\n            @param item the item to check\n            @return {String} the type\n            @public\n            @static\n          */function typeOf(item){if(item===null){return'null';}if(item===undefined){return'undefined';}let ret=TYPE_MAP[toString.call(item)]||'object';if(ret==='function'){if(CoreObject.detect(item)){ret='class';}}else if(ret==='object'){if(item instanceof Error){ret='error';}else if(item instanceof CoreObject){ret='instance';}else if(item instanceof Date){ret='date';}}return ret;}const emberUtilsLibTypeOf=/*#__PURE__*/Object.defineProperty({__proto__:null,default:typeOf},Symbol.toStringTag,{value:'Module'});const TYPE_ORDER={undefined:0,null:1,boolean:2,number:3,string:4,array:5,object:6,instance:7,function:8,class:9,date:10,regexp:11,filelist:12,error:13};//\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  `------'`\nfunction spaceship(a,b){// SAFETY: `Math.sign` always returns `-1` for negative, `0` for zero, and `1`\n// for positive numbers. (The extra precision is useful for the way we use\n// this in the context of `compare`.)\nreturn Math.sign(a-b);}/**\n           @module @ember/utils\n          *//**\n           Compares two javascript values and returns:\n\n            - -1 if the first is smaller than the second,\n            - 0 if both are equal,\n            - 1 if the first is greater than the second.\n\n            ```javascript\n            import { compare } from '@ember/utils';\n\n            compare('hello', 'hello');  // 0\n            compare('abc', 'dfg');      // -1\n            compare(2, 1);              // 1\n            ```\n\n           If the types of the two objects are different precedence occurs in the\n           following order, with types earlier in the list considered `<` types\n           later in the list:\n\n            - undefined\n            - null\n            - boolean\n            - number\n            - string\n            - array\n            - object\n            - instance\n            - function\n            - class\n            - date\n\n            ```javascript\n            import { compare } from '@ember/utils';\n\n            compare('hello', 50);       // 1\n            compare(50, 'hello');       // -1\n            ```\n\n           @method compare\n           @for @ember/utils\n           @static\n           @param {Object} v First value to compare\n           @param {Object} w Second value to compare\n           @return {Number} -1 if v < w, 0 if v = w and 1 if v > w.\n           @public\n          */function compare(v,w){if(v===w){return 0;}let type1=typeOf(v);let type2=typeOf(w);if(type1==='instance'&&isComparable(v)&&v.constructor.compare){return v.constructor.compare(v,w);}if(type2==='instance'&&isComparable(w)&&w.constructor.compare){// SAFETY: Multiplying by a negative just changes the sign\nreturn w.constructor.compare(w,v)*-1;}let res=spaceship(TYPE_ORDER[type1],TYPE_ORDER[type2]);if(res!==0){return res;}// types are equal - so we have to check values now\nswitch(type1){case'boolean':return spaceship(Number(v),Number(w));case'number':return spaceship(v,w);case'string':return spaceship(v.localeCompare(w),0);case'array':{let vLen=v.length;let wLen=w.length;let len=Math.min(vLen,wLen);for(let i=0;i<len;i++){let r=compare(v[i],w[i]);if(r!==0){return r;}}// all elements are equal now\n// shorter array should be ordered first\nreturn spaceship(vLen,wLen);}case'instance':if(isComparable(v)&&v.compare){return v.compare(v,w);}return 0;case'date':return spaceship(v.getTime(),w.getTime());default:return 0;}}function isComparable(value){return Comparable.detect(value);}const emberUtilsLibCompare=/*#__PURE__*/Object.defineProperty({__proto__:null,default:compare},Symbol.toStringTag,{value:'Module'});const emberUtilsIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,compare,isBlank,isEmpty,isEqual,isNone,isPresent,typeOf},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/array\n          */const EMPTY_ARRAY=Object.freeze([]);const identityFunction=item=>item;function uniqBy$1(array){let keyOrFunc=arguments.length>1&&arguments[1]!==undefined?arguments[1]:identityFunction;let ret=A();let seen=new Set();let getter=typeof keyOrFunc==='function'?keyOrFunc:item=>get$2(item,keyOrFunc);array.forEach(item=>{let val=getter(item);if(!seen.has(val)){seen.add(val);ret.push(item);}});return ret;}function iter(){for(var _len43=arguments.length,args=new Array(_len43),_key44=0;_key44<_len43;_key44++){args[_key44]=arguments[_key44];}let valueProvided=args.length===2;let[key,value]=args;return valueProvided?item=>value===get$2(item,key):item=>Boolean(get$2(item,key));}function findIndex(array,predicate,startAt){let len=array.length;for(let index=startAt;index<len;index++){// SAFETY: Because we're checking the index this value should always be set.\nlet item=objectAt(array,index);if(predicate(item,index,array)){return index;}}return-1;}function find(array,callback){let target=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null;let predicate=callback.bind(target);let index=findIndex(array,predicate,0);return index===-1?undefined:objectAt(array,index);}function any(array,callback){let target=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null;let predicate=callback.bind(target);return findIndex(array,predicate,0)!==-1;}function every(array,callback){let target=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null;let cb=callback.bind(target);let predicate=(item,index,array)=>!cb(item,index,array);return findIndex(array,predicate,0)===-1;}function indexOf$1(array,val){let startAt=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0;let withNaNCheck=arguments.length>3?arguments[3]:undefined;let len=array.length;if(startAt<0){startAt+=len;}// SameValueZero comparison (NaN !== NaN)\nlet predicate=withNaNCheck&&val!==val?item=>item!==item:item=>item===val;return findIndex(array,predicate,startAt);}function removeAt(array,index,len){replace(array,index,len??1,EMPTY_ARRAY);return array;}function insertAt(array,index,item){replace(array,index,0,[item]);return item;}/**\n            Returns true if the passed object is an array or Array-like.\n\n            Objects are considered Array-like if any of the following are true:\n\n              - the object is a native Array\n              - the object has an objectAt property\n              - the object is an Object, and has a length property\n\n            Unlike `typeOf` this method returns true even if the passed object is\n            not formally an array but appears to be array-like (i.e. implements `Array`)\n\n            ```javascript\n            import { isArray } from '@ember/array';\n            import ArrayProxy from '@ember/array/proxy';\n\n            isArray();                                      // false\n            isArray([]);                                    // true\n            isArray(ArrayProxy.create({ content: [] }));    // true\n            ```\n\n            @method isArray\n            @static\n            @for @ember/array\n            @param {Object} obj The object to test\n            @return {Boolean} true if the passed object is an array or Array-like\n            @public\n          */function isArray$2(obj){// SAFETY: Property read checks are safe if it's an object\nif(!obj||obj.setInterval){return false;}if(Array.isArray(obj)||EmberArray.detect(obj)){return true;}let type=typeOf(obj);if('array'===type){return true;}// SAFETY: Property read checks are safe if it's an object\nlet length=obj.length;if(typeof length==='number'&&length===length&&'object'===type){return true;}return false;}/*\n            This allows us to define computed properties that are not enumerable.\n            The primary reason this is important is that when `NativeArray` is\n            applied to `Array.prototype` we need to ensure that we do not add _any_\n            new enumerable properties.\n          */function nonEnumerableComputed(callback){let property=computed(callback);property.enumerable=false;return property;}function mapBy$1(key){return this.map(next=>get$2(next,key));}// ..........................................................\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 class that can be instantiated to\n            implement array-like behavior. This class uses the Array Mixin by way of\n            the MutableArray mixin, which allows observable changes to be made to the\n            underlying array.\n\n            This mixin defines methods specifically for collections that provide\n            index-ordered access to their contents. When you are designing code that\n            needs to accept any kind of Array-like object, you should use these methods\n            instead of Array primitives because these will properly notify observers of\n            changes to the array.\n\n            Although these methods are efficient, they do add a layer of indirection to\n            your application so it is a good idea to use them only when you need the\n            flexibility of using both true JavaScript arrays and \"virtual\" arrays such\n            as controllers and collections.\n\n            You can use the methods defined in this module to access and modify array\n            contents in an observable-friendly way. You can also be notified whenever\n            the membership of an array changes by using `.observes('myArray.[]')`.\n\n            To support `EmberArray` in your own class, you must override two\n            primitives to use it: `length()` and `objectAt()`.\n\n            @class EmberArray\n            @uses Enumerable\n            @since Ember 0.9.0\n            @public\n          */const EmberArray=Mixin.create(Enumerable,{init(){this._super(...arguments);setEmberArray(this);},objectsAt(indexes){return indexes.map(idx=>objectAt(this,idx));},'[]':nonEnumerableComputed({get(){return this;},set(_key,value){this.replace(0,this.length,value);return this;}}),firstObject:nonEnumerableComputed(function(){return objectAt(this,0);}).readOnly(),lastObject:nonEnumerableComputed(function(){return objectAt(this,this.length-1);}).readOnly(),// Add any extra methods to EmberArray that are native to the built-in Array.\nslice(){let beginIndex=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;let endIndex=arguments.length>1?arguments[1]:undefined;let ret=A();let length=this.length;if(beginIndex<0){beginIndex=length+beginIndex;}let validatedEndIndex;if(endIndex===undefined||endIndex>length){validatedEndIndex=length;}else if(endIndex<0){validatedEndIndex=length+endIndex;}else{validatedEndIndex=endIndex;}while(beginIndex<validatedEndIndex){ret[ret.length]=objectAt(this,beginIndex++);}return ret;},indexOf(object,startAt){return indexOf$1(this,object,startAt,false);},lastIndexOf(object,startAt){let len=this.length;if(startAt===undefined||startAt>=len){startAt=len-1;}if(startAt<0){startAt+=len;}for(let idx=startAt;idx>=0;idx--){if(objectAt(this,idx)===object){return idx;}}return-1;},forEach(callback){let target=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;let length=this.length;for(let index=0;index<length;index++){let item=this.objectAt(index);callback.call(target,item,index,this);}return this;},getEach:mapBy$1,setEach(key,value){return this.forEach(item=>set(item,key,value));},map(callback){let target=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;let ret=A();this.forEach((x,idx,i)=>ret[idx]=callback.call(target,x,idx,i));return ret;},mapBy:mapBy$1,filter(callback){let target=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;let ret=A();this.forEach((x,idx,i)=>{if(callback.call(target,x,idx,i)){ret.push(x);}});return ret;},reject(callback){let target=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;return this.filter(function(){// @ts-expect-error TS doesn't like us using arguments like this\nreturn!callback.apply(target,arguments);});},filterBy(){// @ts-expect-error TS doesn't like the ...arguments spread here.\nreturn this.filter(iter(...arguments));},rejectBy(){// @ts-expect-error TS doesn't like the ...arguments spread here.\nreturn this.reject(iter(...arguments));},find(callback){let target=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;return find(this,callback,target);},findBy(){// @ts-expect-error TS doesn't like the ...arguments spread here.\nlet callback=iter(...arguments);return find(this,callback);},every(callback){let target=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;return every(this,callback,target);},isEvery(){// @ts-expect-error TS doesn't like the ...arguments spread here.\nlet callback=iter(...arguments);return every(this,callback);},any(callback){let target=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;return any(this,callback,target);},isAny(){// @ts-expect-error TS doesn't like us using arguments like this\nlet callback=iter(...arguments);return any(this,callback);},// FIXME: When called without initialValue, behavior does not match native behavior\nreduce(callback,initialValue){let ret=initialValue;this.forEach(function(item,i){ret=callback(ret,item,i,this);},this);return ret;},invoke(methodName){for(var _len44=arguments.length,args=new Array(_len44>1?_len44-1:0),_key45=1;_key45<_len44;_key45++){args[_key45-1]=arguments[_key45];}let ret=A();// SAFETY: This is not entirely safe and the code will not work with Ember proxies\nthis.forEach(item=>{var _item$methodName;return ret.push((_item$methodName=item[methodName])===null||_item$methodName===void 0?void 0:_item$methodName.call(item,...args));});return ret;},toArray(){return this.map(item=>item);},compact(){return this.filter(value=>value!=null);},includes(object,startAt){return indexOf$1(this,object,startAt,true)!==-1;},sortBy(){let sortKeys=arguments;return this.toArray().sort((a,b)=>{for(let i=0;i<sortKeys.length;i++){let key=sortKeys[i];let propA=get$2(a,key);let propB=get$2(b,key);// return 1 or -1 else continue to the next sortKey\nlet compareValue=compare(propA,propB);if(compareValue){return compareValue;}}return 0;});},uniq(){return uniqBy$1(this);},uniqBy(key){return uniqBy$1(this,key);},without(value){if(!this.includes(value)){return this;// nothing to do\n}// SameValueZero comparison (NaN !== NaN)\nlet predicate=value===value?item=>item!==value:item=>item===item;return this.filter(predicate);}});/**\n            This mixin defines the API for modifying array-like objects. These methods\n            can be applied only to a collection that keeps its items in an ordered set.\n            It builds upon the Array mixin and adds methods to modify the array.\n            One concrete implementations of this class include ArrayProxy.\n\n            It is important to use the methods in this class to modify arrays so that\n            changes are observable. This allows the binding system in Ember to function\n            correctly.\n\n\n            Note that an Array can change even if it does not implement this mixin.\n            For example, one might implement a SparseArray that cannot be directly\n            modified, but if its underlying enumerable changes, it will change also.\n\n            @class MutableArray\n            @uses EmberArray\n            @uses MutableEnumerable\n            @public\n          */const MutableArray=Mixin.create(EmberArray,MutableEnumerable,{clear(){let len=this.length;if(len===0){return this;}this.replace(0,len,EMPTY_ARRAY);return this;},insertAt(idx,object){insertAt(this,idx,object);return this;},removeAt(start,len){return removeAt(this,start,len);},pushObject(obj){return insertAt(this,this.length,obj);},pushObjects(objects){this.replace(this.length,0,objects);return this;},popObject(){let len=this.length;if(len===0){return null;}let ret=objectAt(this,len-1);this.removeAt(len-1,1);return ret;},shiftObject(){if(this.length===0){return null;}let ret=objectAt(this,0);this.removeAt(0);return ret;},unshiftObject(obj){return insertAt(this,0,obj);},unshiftObjects(objects){this.replace(0,0,objects);return this;},reverseObjects(){let len=this.length;if(len===0){return this;}let objects=this.toArray().reverse();this.replace(0,len,objects);return this;},setObjects(objects){if(objects.length===0){return this.clear();}let len=this.length;this.replace(0,len,objects);return this;},removeObject(obj){let loc=this.length||0;while(--loc>=0){let curObject=objectAt(this,loc);if(curObject===obj){this.removeAt(loc);}}return this;},removeObjects(objects){beginPropertyChanges();for(let i=objects.length-1;i>=0;i--){// SAFETY: Due to the loop structure we know this will always exist.\nthis.removeObject(objects[i]);}endPropertyChanges();return this;},addObject(obj){let included=this.includes(obj);if(!included){this.pushObject(obj);}return this;},addObjects(objects){beginPropertyChanges();objects.forEach(obj=>this.addObject(obj));endPropertyChanges();return this;}});/**\n            Creates an `Ember.NativeArray` from an Array-like object.\n            Does not modify the original object's contents. `A()` is not needed if\n            `EmberENV.EXTEND_PROTOTYPES` is `true` (the default value). However,\n            it is recommended that you use `A()` when creating addons for\n            ember or when you can not guarantee that `EmberENV.EXTEND_PROTOTYPES`\n            will be `true`.\n\n            Example\n\n            ```app/components/my-component.js\n            import Component from '@ember/component';\n            import { A } from '@ember/array';\n\n            export default Component.extend({\n              tagName: 'ul',\n              classNames: ['pagination'],\n\n              init() {\n                this._super(...arguments);\n\n                if (!this.get('content')) {\n                  this.set('content', A());\n                  this.set('otherContent', A([1,2,3]));\n                }\n              }\n            });\n            ```\n\n            @method A\n            @static\n            @for @ember/array\n            @return {Ember.NativeArray}\n            @public\n          */// Add Ember.Array to Array.prototype. Remove methods with native\n// implementations and supply some more optimized versions of generic methods\n// because they are so common.\n/**\n          @module ember\n          *//**\n           * The final definition of NativeArray removes all native methods. This is the list of removed methods\n           * when run in Chrome 106.\n           *//**\n           * These additional items must be redefined since `Omit` causes methods that return `this` to return the\n           * type at the time of the Omit.\n           */// This is the same as MutableArray, but removes the actual native methods that exist on Array.prototype.\n/**\n            The NativeArray mixin contains the properties needed to make the native\n            Array support MutableArray and all of its dependent APIs. Unless you\n            have `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Array` set to\n            false, this will be applied automatically. Otherwise you can apply the mixin\n            at anytime by calling `Ember.NativeArray.apply(Array.prototype)`.\n\n            @class Ember.NativeArray\n            @uses MutableArray\n            @uses Observable\n            @public\n          */let NativeArray=Mixin.create(MutableArray,Observable,{objectAt(idx){return this[idx];},// primitive for array support.\nreplace(start,deleteCount){let items=arguments.length>2&&arguments[2]!==undefined?arguments[2]:EMPTY_ARRAY;replaceInNativeArray(this,start,deleteCount,items);return this;}});// Remove any methods implemented natively so we don't override them\nconst ignore=['length'];NativeArray.keys().forEach(methodName=>{// SAFETY: It's safe to read unknown properties from an object\nif(Array.prototype[methodName]){ignore.push(methodName);}});NativeArray=NativeArray.without(...ignore);let A;if(ENV.EXTEND_PROTOTYPES.Array){NativeArray.apply(Array.prototype,true);A=function(arr){return arr||[];};}else{A=function(arr){if(isEmberArray(arr)){// SAFETY: If it's a true native array and it is also an EmberArray then it should be an Ember NativeArray\nreturn arr;}else{// SAFETY: This will return an NativeArray but TS can't infer that.\nreturn NativeArray.apply(arr??[]);}};}const emberArrayIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,get A(){return A;},MutableArray,get NativeArray(){return NativeArray;},default:EmberArray,isArray:isArray$2,makeArray,removeAt,uniqBy:uniqBy$1},Symbol.toStringTag,{value:'Module'});function toBool(predicate){if(isProxy(predicate)){consumeTag(tagForProperty(predicate,'content'));return Boolean(get$2(predicate,'isTruthy'));}else if(isArray$2(predicate)){consumeTag(tagForProperty(predicate,'[]'));return predicate.length!==0;}else if(isHTMLSafe(predicate)){return Boolean(predicate.toString());}else{return Boolean(predicate);}}///////////\n// Setup global context\nsetGlobalContext({FEATURES:{DEFAULT_HELPER_MANAGER:true},scheduleRevalidate(){_backburner.ensureInstance();},toBool,toIterator,getProp:_getProp,setProp:_setProp,getPath:get$2,setPath:set,scheduleDestroy(destroyable,destructor){schedule('actions',null,destructor,destroyable);},scheduleDestroyed(finalizeDestructor){schedule('destroy',null,finalizeDestructor);},warnIfStyleNotTrusted(value){},assert(test,msg,options){},deprecate(msg,test,options){}});///////////\n// Define environment delegate\nclass EmberEnvironmentDelegate{constructor(owner,isInteractive){_defineProperty(this,\"enableDebugTooling\",ENV._DEBUG_RENDER_TREE);this.owner=owner;this.isInteractive=isInteractive;}onTransactionCommit(){}}/**\n          @module ember\n          */const disallowDynamicResolution=internalHelper(_ref138=>{let{positional,named}=_ref138;const nameOrValueRef=positional[0];let typeRef=named['type'];let locRef=named['loc'];let originalRef=named['original'];// assert('[BUG] expecting a string literal for the `type` argument', isConstRef(typeRef));\n// assert('[BUG] expecting a string literal for the `loc` argument', isConstRef(locRef));\n// assert('[BUG] expecting a string literal for the `original` argument', isConstRef(originalRef));\nvalueForRef(typeRef);valueForRef(locRef);valueForRef(originalRef);return createComputeRef(()=>{let nameOrValue=valueForRef(nameOrValueRef);return nameOrValue;});});let helper$1;{helper$1=args=>{let arg=args.positional[0];return arg;};}const inElementNullCheckHelper=internalHelper(helper$1);const normalizeClassHelper=internalHelper(_ref139=>{let{positional}=_ref139;return createComputeRef(()=>{let classNameArg=positional[0];let valueArg=positional[1];let classNameParts=valueForRef(classNameArg).split('.');let className=classNameParts[classNameParts.length-1];let value=valueForRef(valueArg);if(value===true){return dasherize(className);}else if(!value&&value!==0){return'';}else{return String(value);}});});/**\n            @module ember\n          */const resolve$1=internalHelper((_ref140,owner)=>{var _owner$factoryFor;let{positional}=_ref140;let fullNameRef=positional[0];let fullName=valueForRef(fullNameRef);return createConstRef((_owner$factoryFor=owner.factoryFor(fullName))===null||_owner$factoryFor===void 0?void 0:_owner$factoryFor.class);});/**\n          @module ember\n          *//**\n            This reference is used to get the `[]` tag of iterables, so we can trigger\n            updates to `{{each}}` when it changes. It is put into place by a template\n            transform at build time, similar to the (-each-in) helper\n          */const trackArray=internalHelper(_ref141=>{let{positional}=_ref141;const inner=positional[0];return createComputeRef(()=>{let iterable=valueForRef(inner);if(isObject$1(iterable)){consumeTag(tagForProperty(iterable,'[]'));}return iterable;});});/**\n          @module ember\n          *//**\n            The `mut` helper lets you __clearly specify__ that a child `Component` can update the\n            (mutable) value passed to it, which will __change the value of the parent component__.\n\n            To specify that a parameter is mutable, when invoking the child `Component`:\n\n            ```handlebars\n            <MyChild @childClickCount={{fn (mut totalClicks)}} />\n            ```\n\n             or\n\n            ```handlebars\n            {{my-child childClickCount=(mut totalClicks)}}\n            ```\n\n            The child `Component` can then modify the parent's value just by modifying its own\n            property:\n\n            ```javascript\n            // my-child.js\n            export default Component.extend({\n              click() {\n                this.incrementProperty('childClickCount');\n              }\n            });\n            ```\n\n            Note that for curly components (`{{my-component}}`) the bindings are already mutable,\n            making the `mut` unnecessary.\n\n            Additionally, the `mut` helper can be combined with the `fn` helper to\n            mutate a value. For example:\n\n            ```handlebars\n            <MyChild @childClickCount={{this.totalClicks}} @click-count-change={{fn (mut totalClicks))}} />\n            ```\n\n            or\n\n            ```handlebars\n            {{my-child childClickCount=totalClicks click-count-change=(fn (mut totalClicks))}}\n            ```\n\n            The child `Component` would invoke the function with the new click value:\n\n            ```javascript\n            // my-child.js\n            export default Component.extend({\n              click() {\n                this.get('click-count-change')(this.get('childClickCount') + 1);\n              }\n            });\n            ```\n\n            The `mut` helper changes the `totalClicks` value to what was provided as the `fn` argument.\n\n            The `mut` helper, when used with `fn`, will return a function that\n            sets the value passed to `mut` to its first argument. As an example, we can create a\n            button that increments a value passing the value directly to the `fn`:\n\n            ```handlebars\n            {{! inc helper is not provided by Ember }}\n            <button onclick={{fn (mut count) (inc count)}}>\n              Increment count\n            </button>\n            ```\n\n            @method mut\n            @param {Object} [attr] the \"two-way\" attribute that can be modified.\n            @for Ember.Templates.helpers\n            @public\n          */const mut=internalHelper(_ref142=>{let{positional}=_ref142;let ref=positional[0];return createInvokableRef(ref);});/**\n          @module ember\n          *//**\n            The `readonly` helper let's you specify that a binding is one-way only,\n            instead of two-way.\n            When you pass a `readonly` binding from an outer context (e.g. parent component),\n            to to an inner context (e.g. child component), you are saying that changing that\n            property in the inner context does not change the value in the outer context.\n\n            To specify that a binding is read-only, when invoking the child `Component`:\n\n            ```app/components/my-parent.js\n            export default Component.extend({\n              totalClicks: 3\n            });\n            ```\n\n            ```app/templates/components/my-parent.hbs\n            {{log totalClicks}} // -> 3\n            <MyChild @childClickCount={{readonly totalClicks}} />\n            ```\n            ```\n            {{my-child childClickCount=(readonly totalClicks)}}\n            ```\n\n            Now, when you update `childClickCount`:\n\n            ```app/components/my-child.js\n            export default Component.extend({\n              click() {\n                this.incrementProperty('childClickCount');\n              }\n            });\n            ```\n\n            The value updates in the child component, but not the parent component:\n\n            ```app/templates/components/my-child.hbs\n            {{log childClickCount}} //-> 4\n            ```\n\n            ```app/templates/components/my-parent.hbs\n            {{log totalClicks}} //-> 3\n            <MyChild @childClickCount={{readonly totalClicks}} />\n            ```\n            or\n            ```app/templates/components/my-parent.hbs\n            {{log totalClicks}} //-> 3\n            {{my-child childClickCount=(readonly totalClicks)}}\n            ```\n\n            ### Objects and Arrays\n\n            When passing a property that is a complex object (e.g. object, array) instead of a primitive object (e.g. number, string),\n            only the reference to the object is protected using the readonly helper.\n            This means that you can change properties of the object both on the parent component, as well as the child component.\n            The `readonly` binding behaves similar to the `const` keyword in JavaScript.\n\n            Let's look at an example:\n\n            First let's set up the parent component:\n\n            ```app/components/my-parent.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              clicks: null,\n\n              init() {\n                this._super(...arguments);\n                this.set('clicks', { total: 3 });\n              }\n            });\n            ```\n\n            ```app/templates/components/my-parent.hbs\n            {{log clicks.total}} //-> 3\n            <MyChild @childClicks={{readonly clicks}} />\n            ```\n            ```app/templates/components/my-parent.hbs\n            {{log clicks.total}} //-> 3\n            {{my-child childClicks=(readonly clicks)}}\n            ```\n\n            Now, if you update the `total` property of `childClicks`:\n\n            ```app/components/my-child.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              click() {\n                this.get('clicks').incrementProperty('total');\n              }\n            });\n            ```\n\n            You will see the following happen:\n\n            ```app/templates/components/my-parent.hbs\n            {{log clicks.total}} //-> 4\n            <MyChild @childClicks={{readonly clicks}} />\n            ```\n            or\n            ```app/templates/components/my-parent.hbs\n            {{log clicks.total}} //-> 4\n            {{my-child childClicks=(readonly clicks)}}\n            ```\n\n            ```app/templates/components/my-child.hbs\n            {{log childClicks.total}} //-> 4\n            ```\n\n            @method readonly\n            @param {Object} [attr] the read-only attribute.\n            @for Ember.Templates.helpers\n            @private\n          */const readonly=internalHelper(_ref143=>{let{positional}=_ref143;let firstArg=positional[0];return createReadOnlyRef(firstArg);});/**\n          @module ember\n          *//**\n            The `{{unbound}}` helper disconnects the one-way binding of a property,\n            essentially freezing its value at the moment of rendering. For example,\n            in this example the display of the variable `name` will not change even\n            if it is set with a new value:\n\n            ```handlebars\n            {{unbound this.name}}\n            ```\n\n            Like any helper, the `unbound` helper can accept a nested helper expression.\n            This allows for custom helpers to be rendered unbound:\n\n            ```handlebars\n            {{unbound (some-custom-helper)}}\n            {{unbound (capitalize this.name)}}\n            {{! You can use any helper, including unbound, in a nested expression }}\n            {{capitalize (unbound this.name)}}\n            ```\n\n            The `unbound` helper only accepts a single argument, and it return an\n            unbound value.\n\n            @method unbound\n            @for Ember.Templates.helpers\n            @public\n          */const unbound=internalHelper(_ref144=>{let{positional,named}=_ref144;return createUnboundRef(valueForRef(positional[0]));});/**\n          @module ember\n          */const uniqueId$1=internalHelper(()=>{// SAFETY: glimmer-vm should change the signature of createUnboundRef to use a generic\n//         so that the type param to `Reference<?>` can infer from the first argument.\n//\n// NOTE: constRef is an optimization so we don't let the VM create extra wrappers,\n//       tracking frames, etc.\nreturn createConstRef(uniqueId$2());});// From https://gist.github.com/selfish/fef2c0ba6cdfe07af76e64cecd74888b\n//\n// This code should be reasonably fast, and provide a unique value every time\n// it's called, which is what we need here. It produces a string formatted as a\n// standard UUID, which avoids accidentally turning Ember-specific\n// implementation details into an intimate API. It also ensures that the UUID\n// always starts with a letter, to avoid creating invalid IDs with a numeric\n// digit at the start.\nfunction uniqueId$2(){// @ts-expect-error this one-liner abuses weird JavaScript semantics that\n// TypeScript (legitimately) doesn't like, but they're nonetheless valid and\n// specced.\nreturn([3e7]+-1e3+-4e3+-2e3+-1e11).replace(/[0-3]/g,a=>(a*4^Math.random()*16>>(a&2)).toString(16));}const MODIFIERS=['alt','shift','meta','ctrl'];const POINTER_EVENT_TYPE_REGEX=/^click|mouse|touch/;function isAllowedEvent(event,allowedKeys){if(allowedKeys===null||allowedKeys===undefined){if(POINTER_EVENT_TYPE_REGEX.test(event.type)){return isSimpleClick(event);}else{allowedKeys='';}}if(allowedKeys.indexOf('any')>=0){return true;}for(let i=0;i<MODIFIERS.length;i++){if(event[MODIFIERS[i]+'Key']&&allowedKeys.indexOf(MODIFIERS[i])===-1){return false;}}return true;}let ActionHelper={// registeredActions is re-exported for compatibility with older plugins\n// that were using this undocumented API.\nregisteredActions:ActionManager.registeredActions,registerAction(actionState){let{actionId}=actionState;ActionManager.registeredActions[actionId]=actionState;return actionId;},unregisterAction(actionState){let{actionId}=actionState;delete ActionManager.registeredActions[actionId];}};class ActionState{constructor(element,owner,actionId,actionArgs,namedArgs,positionalArgs){_defineProperty(this,\"element\",void 0);_defineProperty(this,\"owner\",void 0);_defineProperty(this,\"actionId\",void 0);_defineProperty(this,\"actionName\",void 0);_defineProperty(this,\"actionArgs\",void 0);_defineProperty(this,\"namedArgs\",void 0);_defineProperty(this,\"positional\",void 0);_defineProperty(this,\"implicitTarget\",void 0);_defineProperty(this,\"eventName\",void 0);_defineProperty(this,\"tag\",createUpdatableTag());this.element=element;this.owner=owner;this.actionId=actionId;this.actionArgs=actionArgs;this.namedArgs=namedArgs;this.positional=positionalArgs;this.eventName=this.getEventName();registerDestructor$1(this,()=>ActionHelper.unregisterAction(this));}getEventName(){let{on}=this.namedArgs;return on!==undefined?valueForRef(on):'click';}getActionArgs(){let result=new Array(this.actionArgs.length);for(let i=0;i<this.actionArgs.length;i++){result[i]=valueForRef(this.actionArgs[i]);}return result;}getTarget(){let{implicitTarget,namedArgs}=this;let{target}=namedArgs;return target!==undefined?valueForRef(target):valueForRef(implicitTarget);}handler(event){let{actionName,namedArgs}=this;let{bubbles,preventDefault,allowedKeys}=namedArgs;let bubblesVal=bubbles!==undefined?valueForRef(bubbles):undefined;let preventDefaultVal=preventDefault!==undefined?valueForRef(preventDefault):undefined;let allowedKeysVal=allowedKeys!==undefined?valueForRef(allowedKeys):undefined;let target=this.getTarget();let shouldBubble=bubblesVal!==false;if(!isAllowedEvent(event,allowedKeysVal)){return true;}if(preventDefaultVal!==false){event.preventDefault();}if(!shouldBubble){event.stopPropagation();}join(()=>{let args=this.getActionArgs();let payload={args,target,name:null};if(isInvokableRef(actionName)){flaggedInstrument('interaction.ember-action',payload,()=>{updateRef(actionName,args[0]);});return;}if(typeof actionName==='function'){flaggedInstrument('interaction.ember-action',payload,()=>{actionName.apply(target,args);});return;}payload.name=actionName;if(target.send){flaggedInstrument('interaction.ember-action',payload,()=>{target.send.apply(target,[actionName,...args]);});}else{flaggedInstrument('interaction.ember-action',payload,()=>{target[actionName].apply(target,args);});}});return shouldBubble;}}class ActionModifierManager{create(owner,element,_state,_ref145){let{named,positional}=_ref145;let actionArgs=[];// The first two arguments are (1) `this` and (2) the action name.\n// Everything else is a param.\nfor(let i=2;i<positional.length;i++){actionArgs.push(positional[i]);}let actionId=uuid$1();return new ActionState(element,owner,actionId,actionArgs,named,positional);}getDebugInstance(){return null;}getDebugName(){return'action';}install(actionState){deprecateUntil(`Usage of the \\`{{action}}\\` modifier is deprecated. Migrate to native functions and function invocation.`,DEPRECATIONS.DEPRECATE_TEMPLATE_ACTION);let{element,actionId,positional}=actionState;let actionName;let actionNameRef;let implicitTarget;if(positional.length>1){implicitTarget=positional[0];actionNameRef=positional[1];if(isInvokableRef(actionNameRef)){actionName=actionNameRef;}else{actionName=valueForRef(actionNameRef);}}actionState.actionName=actionName;actionState.implicitTarget=implicitTarget;this.ensureEventSetup(actionState);ActionHelper.registerAction(actionState);element.setAttribute('data-ember-action','');element.setAttribute(`data-ember-action-${actionId}`,String(actionId));}update(actionState){let{positional}=actionState;let actionNameRef=positional[1];if(!isInvokableRef(actionNameRef)){actionState.actionName=valueForRef(actionNameRef);}let newEventName=actionState.getEventName();if(newEventName!==actionState.eventName){this.ensureEventSetup(actionState);actionState.eventName=actionState.getEventName();}}ensureEventSetup(actionState){let dispatcher=actionState.owner.lookup('event_dispatcher:main');dispatcher===null||dispatcher===void 0||dispatcher.setupHandlerForEmberEvent(actionState.eventName);}getTag(actionState){return actionState.tag;}getDestroyable(actionState){return actionState;}}const ACTION_MODIFIER_MANAGER=new ActionModifierManager();const actionModifier=setInternalModifierManager(ACTION_MODIFIER_MANAGER,{});var createObject=Object.create;function createMap(){var map=createObject(null);map[\"__\"]=undefined;delete map[\"__\"];return map;}var Target=function Target(path,matcher,delegate){this.path=path;this.matcher=matcher;this.delegate=delegate;};Target.prototype.to=function to(target,callback){var delegate=this.delegate;if(delegate&&delegate.willAddRoute){target=delegate.willAddRoute(this.matcher.target,target);}this.matcher.add(this.path,target);if(callback){if(callback.length===0){throw new Error(\"You must have an argument in the function passed to `to`\");}this.matcher.addChild(this.path,target,callback,this.delegate);}};var Matcher=function Matcher(target){this.routes=createMap();this.children=createMap();this.target=target;};Matcher.prototype.add=function add(path,target){this.routes[path]=target;};Matcher.prototype.addChild=function addChild(path,target,callback,delegate){var matcher=new Matcher(target);this.children[path]=matcher;var match=generateMatch(path,matcher,delegate);if(delegate&&delegate.contextEntered){delegate.contextEntered(target,match);}callback(match);};function generateMatch(startingPath,matcher,delegate){function match(path,callback){var fullPath=startingPath+path;if(callback){callback(generateMatch(fullPath,matcher,delegate));}else{return new Target(fullPath,matcher,delegate);}}return match;}function addRoute(routeArray,path,handler){var len=0;for(var i=0;i<routeArray.length;i++){len+=routeArray[i].path.length;}path=path.substr(len);var route={path:path,handler:handler};routeArray.push(route);}function eachRoute(baseRoute,matcher,callback,binding){var routes=matcher.routes;var paths=Object.keys(routes);for(var i=0;i<paths.length;i++){var path=paths[i];var routeArray=baseRoute.slice();addRoute(routeArray,path,routes[path]);var nested=matcher.children[path];if(nested){eachRoute(routeArray,nested,callback,binding);}else{callback.call(binding,routeArray);}}}var map$1=function(callback,addRouteCallback){var matcher=new Matcher();callback(generateMatch(\"\",matcher,this.delegate));eachRoute([],matcher,function(routes){if(addRouteCallback){addRouteCallback(this,routes);}else{this.add(routes);}},this);};// Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded\n// values that are not reserved (i.e., unicode characters, emoji, etc). The reserved\n// chars are \"/\" and \"%\".\n// Safe to call multiple times on the same path.\n// Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded\nfunction normalizePath(path){return path.split(\"/\").map(normalizeSegment).join(\"/\");}// 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;function normalizeSegment(segment){if(segment.length<3||segment.indexOf(\"%\")===-1){return segment;}return decodeURIComponent(segment).replace(SEGMENT_RESERVED_CHARS,encodeURIComponent);}// We do not want to encode these characters when generating dynamic path segments\n// See https://tools.ietf.org/html/rfc3986#section-3.3\n// sub-delims: \"!\", \"$\", \"&\", \"'\", \"(\", \")\", \"*\", \"+\", \",\", \";\", \"=\"\n// others allowed by RFC 3986: \":\", \"@\"\n//\n// First encode the entire path segment, then decode any of the encoded special chars.\n//\n// The chars \"!\", \"'\", \"(\", \")\", \"*\" do not get changed by `encodeURIComponent`,\n// so the possible encoded chars are:\n// ['%24', '%26', '%2B', '%2C', '%3B', '%3D', '%3A', '%40'].\nvar PATH_SEGMENT_ENCODINGS=/%(?:2(?:4|6|B|C)|3(?:B|D|A)|40)/g;function encodePathSegment(str){return encodeURIComponent(str).replace(PATH_SEGMENT_ENCODINGS,decodeURIComponent);}var escapeRegex=/(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\)/g;var isArray$1=Array.isArray;var hasOwnProperty$1=Object.prototype.hasOwnProperty;function getParam(params,key){if(typeof params!==\"object\"||params===null){throw new Error(\"You must pass an object as the second argument to `generate`.\");}if(!hasOwnProperty$1.call(params,key)){throw new Error(\"You must provide param `\"+key+\"` to `generate`.\");}var value=params[key];var str=typeof value===\"string\"?value:\"\"+value;if(str.length===0){throw new Error(\"You must provide a param `\"+key+\"`.\");}return str;}var eachChar=[];eachChar[0/* Static */]=function(segment,currentState){var state=currentState;var value=segment.value;for(var i=0;i<value.length;i++){var ch=value.charCodeAt(i);state=state.put(ch,false,false);}return state;};eachChar[1/* Dynamic */]=function(_,currentState){return currentState.put(47/* SLASH */,true,true);};eachChar[2/* Star */]=function(_,currentState){return currentState.put(-1/* ANY */,false,true);};eachChar[4/* Epsilon */]=function(_,currentState){return currentState;};var regex=[];regex[0/* Static */]=function(segment){return segment.value.replace(escapeRegex,\"\\\\$1\");};regex[1/* Dynamic */]=function(){return\"([^/]+)\";};regex[2/* Star */]=function(){return\"(.+)\";};regex[4/* Epsilon */]=function(){return\"\";};var generate=[];generate[0/* Static */]=function(segment){return segment.value;};generate[1/* Dynamic */]=function(segment,params){var value=getParam(params,segment.value);if(RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS){return encodePathSegment(value);}else{return value;}};generate[2/* Star */]=function(segment,params){return getParam(params,segment.value);};generate[4/* Epsilon */]=function(){return\"\";};var EmptyObject=Object.freeze({});var EmptyArray=Object.freeze([]);// The `names` will be populated with the paramter name for each dynamic/star\n// segment. `shouldDecodes` will be populated with a boolean for each dyanamic/star\n// segment, indicating whether it should be decoded during recognition.\nfunction parse(segments,route,types){// normalize route as not starting with a \"/\". Recognition will\n// also normalize.\nif(route.length>0&&route.charCodeAt(0)===47/* SLASH */){route=route.substr(1);}var parts=route.split(\"/\");var names=undefined;var shouldDecodes=undefined;for(var i=0;i<parts.length;i++){var part=parts[i];var flags=0;var type=0;if(part===\"\"){type=4/* Epsilon */;}else if(part.charCodeAt(0)===58/* COLON */){type=1/* Dynamic */;}else if(part.charCodeAt(0)===42/* STAR */){type=2/* Star */;}else{type=0/* Static */;}flags=2<<type;if(flags&12/* Named */){part=part.slice(1);names=names||[];names.push(part);shouldDecodes=shouldDecodes||[];shouldDecodes.push((flags&4/* Decoded */)!==0);}if(flags&14/* Counted */){types[type]++;}segments.push({type:type,value:normalizeSegment(part)});}return{names:names||EmptyArray,shouldDecodes:shouldDecodes||EmptyArray};}function isEqualCharSpec(spec,char,negate){return spec.char===char&&spec.negate===negate;}// A State has a character specification and (`charSpec`) and a list of possible\n// subsequent states (`nextStates`).\n//\n// If a State is an accepting state, it will also have several additional\n// properties:\n//\n// * `regex`: A regular expression that is used to extract parameters from paths\n//   that reached this accepting state.\n// * `handlers`: Information on how to convert the list of captures into calls\n//   to registered handlers with the specified parameters\n// * `types`: How many static, dynamic or star segments in this route. Used to\n//   decide which route to use if multiple registered routes match a path.\n//\n// Currently, State is implemented naively by looping over `nextStates` and\n// comparing a character specification against a character. A more efficient\n// implementation would use a hash of keys pointing at one or more next states.\nvar State=function State(states,id,char,negate,repeat){this.states=states;this.id=id;this.char=char;this.negate=negate;this.nextStates=repeat?id:null;this.pattern=\"\";this._regex=undefined;this.handlers=undefined;this.types=undefined;};State.prototype.regex=function regex$1(){if(!this._regex){this._regex=new RegExp(this.pattern);}return this._regex;};State.prototype.get=function get(char,negate){var this$1$1=this;var nextStates=this.nextStates;if(nextStates===null){return;}if(isArray$1(nextStates)){for(var i=0;i<nextStates.length;i++){var child=this$1$1.states[nextStates[i]];if(isEqualCharSpec(child,char,negate)){return child;}}}else{var child$1=this.states[nextStates];if(isEqualCharSpec(child$1,char,negate)){return child$1;}}};State.prototype.put=function put(char,negate,repeat){var state;// If the character specification already exists in a child of the current\n// state, just return that state.\nif(state=this.get(char,negate)){return state;}// Make a new state for the character spec\nvar states=this.states;state=new State(states,states.length,char,negate,repeat);states[states.length]=state;// Insert the new state as a child of the current state\nif(this.nextStates==null){this.nextStates=state.id;}else if(isArray$1(this.nextStates)){this.nextStates.push(state.id);}else{this.nextStates=[this.nextStates,state.id];}// Return the new state\nreturn state;};// Find a list of child states matching the next character\nState.prototype.match=function match(ch){var this$1$1=this;var nextStates=this.nextStates;if(!nextStates){return[];}var returned=[];if(isArray$1(nextStates)){for(var i=0;i<nextStates.length;i++){var child=this$1$1.states[nextStates[i]];if(isMatch(child,ch)){returned.push(child);}}}else{var child$1=this.states[nextStates];if(isMatch(child$1,ch)){returned.push(child$1);}}return returned;};function isMatch(spec,char){return spec.negate?spec.char!==char&&spec.char!==-1/* ANY */:spec.char===char||spec.char===-1/* ANY */;}// 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){return states.sort(function(a,b){var ref=a.types||[0,0,0];var astatics=ref[0];var adynamics=ref[1];var astars=ref[2];var ref$1=b.types||[0,0,0];var bstatics=ref$1[0];var bdynamics=ref$1[1];var bstars=ref$1[2];if(astars!==bstars){return astars-bstars;}if(astars){if(astatics!==bstatics){return bstatics-astatics;}if(adynamics!==bdynamics){return bdynamics-adynamics;}}if(adynamics!==bdynamics){return adynamics-bdynamics;}if(astatics!==bstatics){return bstatics-astatics;}return 0;});}function recognizeChar(states,ch){var nextStates=[];for(var i=0,l=states.length;i<l;i++){var state=states[i];nextStates=nextStates.concat(state.match(ch));}return nextStates;}var RecognizeResults=function RecognizeResults(queryParams){this.length=0;this.queryParams=queryParams||{};};RecognizeResults.prototype.splice=Array.prototype.splice;RecognizeResults.prototype.slice=Array.prototype.slice;RecognizeResults.prototype.push=Array.prototype.push;function findHandler(state,originalPath,queryParams){var handlers=state.handlers;var regex=state.regex();if(!regex||!handlers){throw new Error(\"state not initialized\");}var captures=originalPath.match(regex);var currentCapture=1;var result=new RecognizeResults(queryParams);result.length=handlers.length;for(var i=0;i<handlers.length;i++){var handler=handlers[i];var names=handler.names;var shouldDecodes=handler.shouldDecodes;var params=EmptyObject;var isDynamic=false;if(names!==EmptyArray&&shouldDecodes!==EmptyArray){for(var j=0;j<names.length;j++){isDynamic=true;var name=names[j];var capture=captures&&captures[currentCapture++];if(params===EmptyObject){params={};}if(RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS&&shouldDecodes[j]){params[name]=capture&&decodeURIComponent(capture);}else{params[name]=capture;}}}result[i]={handler:handler.handler,params:params,isDynamic:isDynamic};}return result;}function decodeQueryParamPart(part){// http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1\npart=part.replace(/\\+/gm,\"%20\");var result;try{result=decodeURIComponent(part);}catch(error){result=\"\";}return result;}var RouteRecognizer=function RouteRecognizer(){this.names=createMap();var states=[];var state=new State(states,0,-1/* ANY */,true,false);states[0]=state;this.states=states;this.rootState=state;};RouteRecognizer.prototype.add=function add(routes,options){var currentState=this.rootState;var pattern=\"^\";var types=[0,0,0];var handlers=new Array(routes.length);var allSegments=[];var isEmpty=true;var j=0;for(var i=0;i<routes.length;i++){var route=routes[i];var ref=parse(allSegments,route.path,types);var names=ref.names;var shouldDecodes=ref.shouldDecodes;// preserve j so it points to the start of newly added segments\nfor(;j<allSegments.length;j++){var segment=allSegments[j];if(segment.type===4/* Epsilon */){continue;}isEmpty=false;// Add a \"/\" for the new segment\ncurrentState=currentState.put(47/* SLASH */,false,false);pattern+=\"/\";// Add a representation of the segment to the NFA and regex\ncurrentState=eachChar[segment.type](segment,currentState);pattern+=regex[segment.type](segment);}handlers[i]={handler:route.handler,names:names,shouldDecodes:shouldDecodes};}if(isEmpty){currentState=currentState.put(47/* SLASH */,false,false);pattern+=\"/\";}currentState.handlers=handlers;currentState.pattern=pattern+\"$\";currentState.types=types;var name;if(typeof options===\"object\"&&options!==null&&options.as){name=options.as;}if(name){// if (this.names[name]) {\n//   throw new Error(\"You may not add a duplicate route named `\" + name + \"`.\");\n// }\nthis.names[name]={segments:allSegments,handlers:handlers};}};RouteRecognizer.prototype.handlersFor=function handlersFor(name){var route=this.names[name];if(!route){throw new Error(\"There is no route named \"+name);}var result=new Array(route.handlers.length);for(var i=0;i<route.handlers.length;i++){var handler=route.handlers[i];result[i]=handler;}return result;};RouteRecognizer.prototype.hasRoute=function hasRoute(name){return!!this.names[name];};RouteRecognizer.prototype.generate=function generate$1(name,params){var route=this.names[name];var output=\"\";if(!route){throw new Error(\"There is no route named \"+name);}var segments=route.segments;for(var i=0;i<segments.length;i++){var segment=segments[i];if(segment.type===4/* Epsilon */){continue;}output+=\"/\";output+=generate[segment.type](segment,params);}if(output.charAt(0)!==\"/\"){output=\"/\"+output;}if(params&&params.queryParams){output+=this.generateQueryString(params.queryParams);}return output;};RouteRecognizer.prototype.generateQueryString=function generateQueryString(params){var pairs=[];var keys=Object.keys(params);keys.sort();for(var i=0;i<keys.length;i++){var key=keys[i];var value=params[key];if(value==null){continue;}var pair=encodeURIComponent(key);if(isArray$1(value)){for(var j=0;j<value.length;j++){var arrayPair=key+\"[]\"+\"=\"+encodeURIComponent(value[j]);pairs.push(arrayPair);}}else{pair+=\"=\"+encodeURIComponent(value);pairs.push(pair);}}if(pairs.length===0){return\"\";}return\"?\"+pairs.join(\"&\");};RouteRecognizer.prototype.parseQueryString=function parseQueryString(queryString){var pairs=queryString.split(\"&\");var queryParams={};for(var i=0;i<pairs.length;i++){var pair=pairs[i].split(\"=\"),key=decodeQueryParamPart(pair[0]),keyLength=key.length,isArray=false,value=void 0;if(pair.length===1){value=\"true\";}else{// Handle arrays\nif(keyLength>2&&key.slice(keyLength-2)===\"[]\"){isArray=true;key=key.slice(0,keyLength-2);if(!queryParams[key]){queryParams[key]=[];}}value=pair[1]?decodeQueryParamPart(pair[1]):\"\";}if(isArray){queryParams[key].push(value);}else{queryParams[key]=value;}}return queryParams;};RouteRecognizer.prototype.recognize=function recognize(path){var results;var states=[this.rootState];var queryParams={};var isSlashDropped=false;var hashStart=path.indexOf(\"#\");if(hashStart!==-1){path=path.substr(0,hashStart);}var queryStart=path.indexOf(\"?\");if(queryStart!==-1){var queryString=path.substr(queryStart+1,path.length);path=path.substr(0,queryStart);queryParams=this.parseQueryString(queryString);}if(path.charAt(0)!==\"/\"){path=\"/\"+path;}var originalPath=path;if(RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS){path=normalizePath(path);}else{path=decodeURI(path);originalPath=decodeURI(originalPath);}var pathLen=path.length;if(pathLen>1&&path.charAt(pathLen-1)===\"/\"){path=path.substr(0,pathLen-1);originalPath=originalPath.substr(0,originalPath.length-1);isSlashDropped=true;}for(var i=0;i<path.length;i++){states=recognizeChar(states,path.charCodeAt(i));if(!states.length){break;}}var solutions=[];for(var i$1=0;i$1<states.length;i$1++){if(states[i$1].handlers){solutions.push(states[i$1]);}}states=sortSolutions(solutions);var state=solutions[0];if(state&&state.handlers){// if a trailing slash was dropped and a star segment is the last segment\n// specified, put the trailing slash back\nif(isSlashDropped&&state.pattern&&state.pattern.slice(-5)===\"(.+)$\"){originalPath=originalPath+\"/\";}results=findHandler(state,originalPath,queryParams);}return results;};RouteRecognizer.VERSION=\"0.3.4\";// Set to false to opt-out of encoding and decoding path segments.\n// See https://github.com/tildeio/route-recognizer/pull/55\nRouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS=true;RouteRecognizer.Normalizer={normalizeSegment:normalizeSegment,normalizePath:normalizePath,encodePathSegment:encodePathSegment};RouteRecognizer.prototype.map=map$1;const routeRecognizer=/*#__PURE__*/Object.defineProperty({__proto__:null,default:RouteRecognizer},Symbol.toStringTag,{value:'Module'});function buildTransitionAborted(){let error=new Error('TransitionAborted');error.name='TransitionAborted';error.code='TRANSITION_ABORTED';return error;}function isTransitionAborted(maybeError){return typeof maybeError==='object'&&maybeError!==null&&maybeError.code==='TRANSITION_ABORTED';}function isAbortable(maybeAbortable){return typeof maybeAbortable==='object'&&maybeAbortable!==null&&typeof maybeAbortable.isAborted==='boolean';}function throwIfAborted(maybe){if(isAbortable(maybe)&&maybe.isAborted){throw buildTransitionAborted();}}const slice$1=Array.prototype.slice;const hasOwnProperty=Object.prototype.hasOwnProperty;/**\n            Determines if an object is Promise by checking if it is \"thenable\".\n          **/function isPromise(p){return p!==null&&typeof p==='object'&&typeof p.then==='function';}function merge(hash,other){for(let prop in other){if(hasOwnProperty.call(other,prop)){hash[prop]=other[prop];}}}/**\n            @private\n\n            Extracts query params from the end of an array\n          **/function extractQueryParams(array){let len=array&&array.length,head,queryParams;if(len&&len>0){let obj=array[len-1];if(isQueryParamsContainer(obj)){queryParams=obj.queryParams;head=slice$1.call(array,0,len-1);return[head,queryParams];}}// SAFETY: We confirmed that the last item isn't a QP container\nreturn[array,null];}// TODO: Actually check that Dict is QueryParams\nfunction isQueryParamsContainer(obj){if(obj&&typeof obj==='object'){let cast=obj;return'queryParams'in cast&&Object.keys(cast.queryParams).every(k=>typeof k==='string');}return false;}/**\n            @private\n\n            Coerces query param properties and array elements into strings.\n          **/function coerceQueryParamsToString(queryParams){for(let key in queryParams){let val=queryParams[key];if(typeof val==='number'){queryParams[key]=''+val;}else if(Array.isArray(val)){for(let i=0,l=val.length;i<l;i++){val[i]=''+val[i];}}}}/**\n            @private\n           */function log(router){if(!router.log){return;}for(var _len45=arguments.length,args=new Array(_len45>1?_len45-1:0),_key46=1;_key46<_len45;_key46++){args[_key46-1]=arguments[_key46];}if(args.length===2){let[sequence,msg]=args;router.log('Transition #'+sequence+': '+msg);}else{let[msg]=args;router.log(msg);}}function isParam(object){return typeof object==='string'||object instanceof String||typeof object==='number'||object instanceof Number;}function forEach(array,callback){for(let i=0,l=array.length;i<l&&callback(array[i])!==false;i++){// empty intentionally\n}}function getChangelist(oldObject,newObject){let key;let results={all:{},changed:{},removed:{}};merge(results.all,newObject);let didChange=false;coerceQueryParamsToString(oldObject);coerceQueryParamsToString(newObject);// Calculate removals\nfor(key in oldObject){if(hasOwnProperty.call(oldObject,key)){if(!hasOwnProperty.call(newObject,key)){didChange=true;results.removed[key]=oldObject[key];}}}// Calculate changes\nfor(key in newObject){if(hasOwnProperty.call(newObject,key)){let oldElement=oldObject[key];let newElement=newObject[key];if(isArray(oldElement)&&isArray(newElement)){if(oldElement.length!==newElement.length){results.changed[key]=newObject[key];didChange=true;}else{for(let i=0,l=oldElement.length;i<l;i++){if(oldElement[i]!==newElement[i]){results.changed[key]=newObject[key];didChange=true;}}}}else if(oldObject[key]!==newObject[key]){results.changed[key]=newObject[key];didChange=true;}}}return didChange?results:undefined;}function isArray(obj){return Array.isArray(obj);}function promiseLabel(label){return'Router: '+label;}const STATE_SYMBOL=`__STATE__-2619860001345920-3322w3`;const PARAMS_SYMBOL=`__PARAMS__-261986232992830203-23323`;const QUERY_PARAMS_SYMBOL=`__QPS__-2619863929824844-32323`;/**\n            A Transition is a thenable (a promise-like object) that represents\n            an attempt to transition to another route. It can be aborted, either\n            explicitly via `abort` or by attempting another transition while a\n            previous one is still underway. An aborted transition can also\n            be `retry()`d later.\n\n            @class Transition\n            @constructor\n            @param {Object} router\n            @param {Object} intent\n            @param {Object} state\n            @param {Object} error\n            @private\n           */class Transition{constructor(router,intent,state){let error=arguments.length>3&&arguments[3]!==undefined?arguments[3]:undefined;let previousTransition=arguments.length>4&&arguments[4]!==undefined?arguments[4]:undefined;this.from=null;this.to=undefined;this.isAborted=false;this.isActive=true;this.urlMethod='update';this.resolveIndex=0;this.queryParamsOnly=false;this.isTransition=true;this.isCausedByAbortingTransition=false;this.isCausedByInitialTransition=false;this.isCausedByAbortingReplaceTransition=false;this._visibleQueryParams={};this.isIntermediate=false;this[STATE_SYMBOL]=state||router.state;this.intent=intent;this.router=router;this.data=intent&&intent.data||{};this.resolvedModels={};this[QUERY_PARAMS_SYMBOL]={};this.promise=undefined;this.error=undefined;this[PARAMS_SYMBOL]={};this.routeInfos=[];this.targetName=undefined;this.pivotHandler=undefined;this.sequence=-1;if(error){this.promise=Promise$2.reject(error);this.error=error;return;}// 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\nthis.isCausedByAbortingTransition=!!previousTransition;this.isCausedByInitialTransition=!!previousTransition&&(previousTransition.isCausedByInitialTransition||previousTransition.sequence===0);// Every transition in the chain is a replace\nthis.isCausedByAbortingReplaceTransition=!!previousTransition&&previousTransition.urlMethod==='replace'&&(!previousTransition.isCausedByAbortingTransition||previousTransition.isCausedByAbortingReplaceTransition);if(state){this[PARAMS_SYMBOL]=state.params;this[QUERY_PARAMS_SYMBOL]=state.queryParams;this.routeInfos=state.routeInfos;let len=state.routeInfos.length;if(len){this.targetName=state.routeInfos[len-1].name;}for(let i=0;i<len;++i){let handlerInfo=state.routeInfos[i];// TODO: this all seems hacky\nif(!handlerInfo.isResolved){break;}this.pivotHandler=handlerInfo.route;}this.sequence=router.currentSequence++;this.promise=state.resolve(this).catch(result=>{let error=this.router.transitionDidError(result,this);throw error;},promiseLabel('Handle Abort'));}else{this.promise=Promise$2.resolve(this[STATE_SYMBOL]);this[PARAMS_SYMBOL]={};}}/**\n              The Transition's internal promise. Calling `.then` on this property\n              is that same as calling `.then` on the Transition object itself, but\n              this property is exposed for when you want to pass around a\n              Transition's promise, but not the Transition object itself, since\n              Transition object can be externally `abort`ed, while the promise\n              cannot.\n                 @property promise\n              @type {Object}\n              @public\n             *//**\n              Custom state can be stored on a Transition's `data` object.\n              This can be useful for decorating a Transition within an earlier\n              hook and shared with a later hook. Properties set on `data` will\n              be copied to new transitions generated by calling `retry` on this\n              transition.\n                 @property data\n              @type {Object}\n              @public\n             *//**\n              A standard promise hook that resolves if the transition\n              succeeds and rejects if it fails/redirects/aborts.\n                 Forwards to the internal `promise` property which you can\n              use in situations where you want to pass around a thenable,\n              but not the Transition itself.\n                 @method then\n              @param {Function} onFulfilled\n              @param {Function} onRejected\n              @param {String} label optional string for labeling the promise.\n              Useful for tooling.\n              @return {Promise}\n              @public\n             */then(onFulfilled,onRejected,label){return this.promise.then(onFulfilled,onRejected,label);}/**\n                 Forwards to the internal `promise` property which you can\n              use in situations where you want to pass around a thennable,\n              but not the Transition itself.\n                 @method catch\n              @param {Function} onRejection\n              @param {String} label optional string for labeling the promise.\n              Useful for tooling.\n              @return {Promise}\n              @public\n             */catch(onRejection,label){return this.promise.catch(onRejection,label);}/**\n                 Forwards to the internal `promise` property which you can\n              use in situations where you want to pass around a thenable,\n              but not the Transition itself.\n                 @method finally\n              @param {Function} callback\n              @param {String} label optional string for labeling the promise.\n              Useful for tooling.\n              @return {Promise}\n              @public\n             */finally(callback,label){return this.promise.finally(callback,label);}/**\n              Aborts the Transition. Note you can also implicitly abort a transition\n              by initiating another transition while a previous one is underway.\n                 @method abort\n              @return {Transition} this transition\n              @public\n             */abort(){this.rollback();let transition=new Transition(this.router,undefined,undefined,undefined);transition.to=this.from;transition.from=this.from;transition.isAborted=true;this.router.routeWillChange(transition);this.router.routeDidChange(transition);return this;}rollback(){if(!this.isAborted){log(this.router,this.sequence,this.targetName+': transition was aborted');if(this.intent!==undefined&&this.intent!==null){this.intent.preTransitionState=this.router.state;}this.isAborted=true;this.isActive=false;this.router.activeTransition=undefined;}}redirect(newTransition){this.rollback();this.router.routeWillChange(newTransition);}/**\n                 Retries a previously-aborted transition (making sure to abort the\n              transition if it's still active). Returns a new transition that\n              represents the new attempt to transition.\n                 @method retry\n              @return {Transition} new transition\n              @public\n             */retry(){// TODO: add tests for merged state retry()s\nthis.abort();let newTransition=this.router.transitionByIntent(this.intent,false);// inheriting a `null` urlMethod is not valid\n// the urlMethod is only set to `null` when\n// the transition is initiated *after* the url\n// has been updated (i.e. `router.handleURL`)\n//\n// in that scenario, the url method cannot be\n// inherited for a new transition because then\n// the url would not update even though it should\nif(this.urlMethod!==null){newTransition.method(this.urlMethod);}return newTransition;}/**\n                 Sets the URL-changing method to be employed at the end of a\n              successful transition. By default, a new Transition will just\n              use `updateURL`, but passing 'replace' to this method will\n              cause the URL to update using 'replaceWith' instead. Omitting\n              a parameter will disable the URL change, allowing for transitions\n              that don't update the URL at completion (this is also used for\n              handleURL, since the URL has already changed before the\n              transition took place).\n                 @method method\n              @param {String} method the type of URL-changing method to use\n                at the end of a transition. Accepted values are 'replace',\n                falsy values, or any other non-falsy value (which is\n                interpreted as an updateURL transition).\n                 @return {Transition} this transition\n              @public\n             */method(method){this.urlMethod=method;return this;}// Alias 'trigger' as 'send'\nsend(){let ignoreFailure=arguments.length>0&&arguments[0]!==undefined?arguments[0]:false;let _name=arguments.length>1?arguments[1]:undefined;let err=arguments.length>2?arguments[2]:undefined;let transition=arguments.length>3?arguments[3]:undefined;let handler=arguments.length>4?arguments[4]:undefined;this.trigger(ignoreFailure,_name,err,transition,handler);}/**\n                 Fires an event on the current list of resolved/resolving\n              handlers within this transition. Useful for firing events\n              on route hierarchies that haven't fully been entered yet.\n                 Note: This method is also aliased as `send`\n                 @method trigger\n              @param {Boolean} [ignoreFailure=false] a boolean specifying whether unhandled events throw an error\n              @param {String} name the name of the event to fire\n              @public\n             */trigger(){let ignoreFailure=arguments.length>0&&arguments[0]!==undefined?arguments[0]:false;let name=arguments.length>1?arguments[1]:undefined;// TODO: Deprecate the current signature\nif(typeof ignoreFailure==='string'){name=ignoreFailure;ignoreFailure=false;}for(var _len46=arguments.length,args=new Array(_len46>2?_len46-2:0),_key47=2;_key47<_len46;_key47++){args[_key47-2]=arguments[_key47];}this.router.triggerEvent(this[STATE_SYMBOL].routeInfos.slice(0,this.resolveIndex+1),ignoreFailure,name,args);}/**\n              Transitions are aborted and their promises rejected\n              when redirects occur; this method returns a promise\n              that will follow any redirects that occur and fulfill\n              with the value fulfilled by any redirecting transitions\n              that occur.\n                 @method followRedirects\n              @return {Promise} a promise that fulfills with the same\n                value that the final redirecting transition fulfills with\n              @public\n             */followRedirects(){let router=this.router;return this.promise.catch(function(reason){if(router.activeTransition){return router.activeTransition.followRedirects();}return Promise$2.reject(reason);});}toString(){return'Transition (sequence '+this.sequence+')';}/**\n              @private\n             */log(message){log(this.router,this.sequence,message);}}/**\n            @private\n\n            Logs and returns an instance of TransitionAborted.\n           */function logAbort(transition){log(transition.router,transition.sequence,'detected abort.');return buildTransitionAborted();}function isTransition(obj){return typeof obj==='object'&&obj instanceof Transition&&obj.isTransition;}function prepareResult(obj){if(isTransition(obj)){return null;}return obj;}let ROUTE_INFOS=new WeakMap();function toReadOnlyRouteInfo(routeInfos){let queryParams=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let options=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{includeAttributes:false,localizeMapUpdates:false};const LOCAL_ROUTE_INFOS=new WeakMap();return routeInfos.map((info,i)=>{let{name,params,paramNames,context,route}=info;// SAFETY: This should be safe since it is just for use as a key\nlet key=info;if(ROUTE_INFOS.has(key)&&options.includeAttributes){let routeInfo=ROUTE_INFOS.get(key);routeInfo=attachMetadata(route,routeInfo);let routeInfoWithAttribute=createRouteInfoWithAttributes(routeInfo,context);LOCAL_ROUTE_INFOS.set(key,routeInfo);if(!options.localizeMapUpdates){ROUTE_INFOS.set(key,routeInfoWithAttribute);}return routeInfoWithAttribute;}const routeInfosRef=options.localizeMapUpdates?LOCAL_ROUTE_INFOS:ROUTE_INFOS;let routeInfo={find(predicate,thisArg){let publicInfo;let arr=[];if(predicate.length===3){arr=routeInfos.map(// SAFETY: This should be safe since it is just for use as a key\ninfo=>routeInfosRef.get(info));}for(let i=0;routeInfos.length>i;i++){// SAFETY: This should be safe since it is just for use as a key\npublicInfo=routeInfosRef.get(routeInfos[i]);if(predicate.call(thisArg,publicInfo,i,arr)){return publicInfo;}}return undefined;},get name(){return name;},get paramNames(){return paramNames;},get metadata(){return buildRouteInfoMetadata(info.route);},get parent(){let parent=routeInfos[i-1];if(parent===undefined){return null;}// SAFETY: This should be safe since it is just for use as a key\nreturn routeInfosRef.get(parent);},get child(){let child=routeInfos[i+1];if(child===undefined){return null;}// SAFETY: This should be safe since it is just for use as a key\nreturn routeInfosRef.get(child);},get localName(){let parts=this.name.split('.');return parts[parts.length-1];},get params(){return params;},get queryParams(){return queryParams;}};if(options.includeAttributes){routeInfo=createRouteInfoWithAttributes(routeInfo,context);}// SAFETY: This should be safe since it is just for use as a key\nLOCAL_ROUTE_INFOS.set(info,routeInfo);if(!options.localizeMapUpdates){// SAFETY: This should be safe since it is just for use as a key\nROUTE_INFOS.set(info,routeInfo);}return routeInfo;});}function createRouteInfoWithAttributes(routeInfo,context){let attributes={get attributes(){return context;}};if(!Object.isExtensible(routeInfo)||routeInfo.hasOwnProperty('attributes')){return Object.freeze(Object.assign({},routeInfo,attributes));}return Object.assign(routeInfo,attributes);}function buildRouteInfoMetadata(route){if(route!==undefined&&route!==null&&route.buildRouteInfoMetadata!==undefined){return route.buildRouteInfoMetadata();}return null;}function attachMetadata(route,routeInfo){let metadata={get metadata(){return buildRouteInfoMetadata(route);}};if(!Object.isExtensible(routeInfo)||routeInfo.hasOwnProperty('metadata')){return Object.freeze(Object.assign({},routeInfo,metadata));}return Object.assign(routeInfo,metadata);}class InternalRouteInfo{constructor(router,name,paramNames,route){this._routePromise=undefined;this._route=null;this.params={};this.isResolved=false;this.name=name;this.paramNames=paramNames;this.router=router;if(route){this._processRoute(route);}}getModel(_transition){return Promise$2.resolve(this.context);}serialize(_context){return this.params||{};}resolve(transition){return Promise$2.resolve(this.routePromise).then(route=>{throwIfAborted(transition);return route;}).then(()=>this.runBeforeModelHook(transition)).then(()=>throwIfAborted(transition)).then(()=>this.getModel(transition)).then(resolvedModel=>{throwIfAborted(transition);return resolvedModel;}).then(resolvedModel=>this.runAfterModelHook(transition,resolvedModel)).then(resolvedModel=>this.becomeResolved(transition,resolvedModel));}becomeResolved(transition,resolvedContext){let params=this.serialize(resolvedContext);if(transition){this.stashResolvedModel(transition,resolvedContext);transition[PARAMS_SYMBOL]=transition[PARAMS_SYMBOL]||{};transition[PARAMS_SYMBOL][this.name]=params;}let context;let contextsMatch=resolvedContext===this.context;if('context'in this||!contextsMatch){context=resolvedContext;}// SAFETY: Since this is just for lookup, it should be safe\nlet cached=ROUTE_INFOS.get(this);let resolved=new ResolvedRouteInfo(this.router,this.name,this.paramNames,params,this.route,context);if(cached!==undefined){// SAFETY: This is potentially a bit risker, but for what we're doing, it should be ok.\nROUTE_INFOS.set(resolved,cached);}return resolved;}shouldSupersede(routeInfo){// Prefer this newer routeInfo over `other` if:\n// 1) The other one doesn't exist\n// 2) The names don't match\n// 3) This route has a context that doesn't match\n//    the other one (or the other one doesn't have one).\n// 4) This route has parameters that don't match the other.\nif(!routeInfo){return true;}let contextsMatch=routeInfo.context===this.context;return routeInfo.name!==this.name||'context'in this&&!contextsMatch||this.hasOwnProperty('params')&&!paramsMatch(this.params,routeInfo.params);}get route(){// _route could be set to either a route object or undefined, so we\n// compare against null to know when it's been set\nif(this._route!==null){return this._route;}return this.fetchRoute();}set route(route){this._route=route;}get routePromise(){if(this._routePromise){return this._routePromise;}this.fetchRoute();return this._routePromise;}set routePromise(routePromise){this._routePromise=routePromise;}log(transition,message){if(transition.log){transition.log(this.name+': '+message);}}updateRoute(route){route._internalName=this.name;return this.route=route;}runBeforeModelHook(transition){if(transition.trigger){transition.trigger(true,'willResolveModel',transition,this.route);}let result;if(this.route){if(this.route.beforeModel!==undefined){result=this.route.beforeModel(transition);}}if(isTransition(result)){result=null;}return Promise$2.resolve(result);}runAfterModelHook(transition,resolvedModel){// Stash the resolved model on the payload.\n// This makes it possible for users to swap out\n// the resolved model in afterModel.\nlet name=this.name;this.stashResolvedModel(transition,resolvedModel);let result;if(this.route!==undefined){if(this.route.afterModel!==undefined){result=this.route.afterModel(resolvedModel,transition);}}result=prepareResult(result);return Promise$2.resolve(result).then(()=>{// Ignore the fulfilled value returned from afterModel.\n// Return the value stashed in resolvedModels, which\n// might have been swapped out in afterModel.\n// SAFTEY: We expect this to be of type T, though typing it as such is challenging.\nreturn transition.resolvedModels[name];});}stashResolvedModel(transition,resolvedModel){transition.resolvedModels=transition.resolvedModels||{};// SAFETY: It's unfortunate that we have to do this cast. It should be safe though.\ntransition.resolvedModels[this.name]=resolvedModel;}fetchRoute(){let route=this.router.getRoute(this.name);return this._processRoute(route);}_processRoute(route){// Setup a routePromise so that we can wait for asynchronously loaded routes\nthis.routePromise=Promise$2.resolve(route);// Wait until the 'route' property has been updated when chaining to a route\n// that is a promise\nif(isPromise(route)){this.routePromise=this.routePromise.then(r=>{return this.updateRoute(r);});// set to undefined to avoid recursive loop in the route getter\nreturn this.route=undefined;}else if(route){return this.updateRoute(route);}return undefined;}}class ResolvedRouteInfo extends InternalRouteInfo{constructor(router,name,paramNames,params,route,context){super(router,name,paramNames,route);this.params=params;this.isResolved=true;this.context=context;}resolve(transition){// A ResolvedRouteInfo just resolved with itself.\nif(transition&&transition.resolvedModels){transition.resolvedModels[this.name]=this.context;}return Promise$2.resolve(this);}}class UnresolvedRouteInfoByParam extends InternalRouteInfo{constructor(router,name,paramNames,params,route){super(router,name,paramNames,route);this.params={};if(params){this.params=params;}}getModel(transition){let fullParams=this.params;if(transition&&transition[QUERY_PARAMS_SYMBOL]){fullParams={};merge(fullParams,this.params);fullParams.queryParams=transition[QUERY_PARAMS_SYMBOL];}let route=this.route;let result;// FIXME: Review these casts\nif(route.deserialize){result=route.deserialize(fullParams,transition);}else if(route.model){result=route.model(fullParams,transition);}if(result&&isTransition(result)){result=undefined;}return Promise$2.resolve(result);}}class UnresolvedRouteInfoByObject extends InternalRouteInfo{constructor(router,name,paramNames,context){super(router,name,paramNames);this.context=context;this.serializer=this.router.getSerializer(name);}getModel(transition){if(this.router.log!==undefined){this.router.log(this.name+': resolving provided model');}return super.getModel(transition);}/**\n              @private\n                 Serializes a route using its custom `serialize` method or\n              by a default that looks up the expected property name from\n              the dynamic segment.\n                 @param {Object} model the model to be serialized for this route\n            */serialize(model){let{paramNames,context}=this;if(!model){// SAFETY: By the time we serialize, we expect to be resolved.\n// This may not be an entirely safe assumption though no tests fail.\nmodel=context;}let object={};if(isParam(model)){object[paramNames[0]]=model;return object;}// Use custom serialize if it exists.\nif(this.serializer){// invoke this.serializer unbound (getSerializer returns a stateless function)\nreturn this.serializer.call(null,model,paramNames);}else if(this.route!==undefined){if(this.route.serialize){return this.route.serialize(model,paramNames);}}if(paramNames.length!==1){return;}let name=paramNames[0];if(/_id$/.test(name)){// SAFETY: Model is supposed to extend IModel already\nobject[name]=model.id;}else{object[name]=model;}return object;}}function paramsMatch(a,b){if(a===b){// Both are identical, may both be undefined\nreturn true;}if(!a||!b){// Only one is undefined, already checked they aren't identical\nreturn false;}// Note: this assumes that both params have the same\n// number of keys, but since we're comparing the\n// same routes, they should.\nfor(let k in a){if(a.hasOwnProperty(k)&&a[k]!==b[k]){return false;}}return true;}class TransitionIntent{constructor(router){let data=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this.router=router;this.data=data;}}function handleError(currentState,transition,error){// This is the only possible\n// reject value of TransitionState#resolve\nlet routeInfos=currentState.routeInfos;let errorHandlerIndex=transition.resolveIndex>=routeInfos.length?routeInfos.length-1:transition.resolveIndex;let wasAborted=transition.isAborted;throw new TransitionError(error,currentState.routeInfos[errorHandlerIndex].route,wasAborted,currentState);}function resolveOneRouteInfo(currentState,transition){if(transition.resolveIndex===currentState.routeInfos.length){// This is is the only possible\n// fulfill value of TransitionState#resolve\nreturn;}let routeInfo=currentState.routeInfos[transition.resolveIndex];let callback=proceed.bind(null,currentState,transition);return routeInfo.resolve(transition).then(callback,null,currentState.promiseLabel('Proceed'));}function proceed(currentState,transition,resolvedRouteInfo){let wasAlreadyResolved=currentState.routeInfos[transition.resolveIndex].isResolved;// Swap the previously unresolved routeInfo with\n// the resolved routeInfo\ncurrentState.routeInfos[transition.resolveIndex++]=resolvedRouteInfo;if(!wasAlreadyResolved){// 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.\nlet{route}=resolvedRouteInfo;if(route!==undefined){if(route.redirect){route.redirect(resolvedRouteInfo.context,transition);}}}// Proceed after ensuring that the redirect hook\n// didn't abort this transition by transitioning elsewhere.\nthrowIfAborted(transition);return resolveOneRouteInfo(currentState,transition);}class TransitionState{constructor(){this.routeInfos=[];this.queryParams={};this.params={};}promiseLabel(label){let targetName='';forEach(this.routeInfos,function(routeInfo){if(targetName!==''){targetName+='.';}targetName+=routeInfo.name;return true;});return promiseLabel(\"'\"+targetName+\"': \"+label);}resolve(transition){// First, calculate params for this state. This is useful\n// information to provide to the various route hooks.\nlet params=this.params;forEach(this.routeInfos,routeInfo=>{params[routeInfo.name]=routeInfo.params||{};return true;});transition.resolveIndex=0;let callback=resolveOneRouteInfo.bind(null,this,transition);let errorHandler=handleError.bind(null,this,transition);// The prelude RSVP.resolve() async moves us into the promise land.\nreturn Promise$2.resolve(null,this.promiseLabel('Start transition')).then(callback,null,this.promiseLabel('Resolve route')).catch(errorHandler,this.promiseLabel('Handle error')).then(()=>this);}}class TransitionError{constructor(error,route,wasAborted,state){this.error=error;this.route=route;this.wasAborted=wasAborted;this.state=state;}}class NamedTransitionIntent extends TransitionIntent{constructor(router,name,pivotHandler){let contexts=arguments.length>3&&arguments[3]!==undefined?arguments[3]:[];let queryParams=arguments.length>4&&arguments[4]!==undefined?arguments[4]:{};let data=arguments.length>5?arguments[5]:undefined;super(router,data);this.preTransitionState=undefined;this.name=name;this.pivotHandler=pivotHandler;this.contexts=contexts;this.queryParams=queryParams;}applyToState(oldState,isIntermediate){let handlers=this.router.recognizer.handlersFor(this.name);let targetRouteName=handlers[handlers.length-1].handler;return this.applyToHandlers(oldState,handlers,targetRouteName,isIntermediate,false);}applyToHandlers(oldState,parsedHandlers,targetRouteName,isIntermediate,checkingIfActive){let i,len;let newState=new TransitionState();let objects=this.contexts.slice(0);let invalidateIndex=parsedHandlers.length;// Pivot handlers are provided for refresh transitions\nif(this.pivotHandler){for(i=0,len=parsedHandlers.length;i<len;++i){if(parsedHandlers[i].handler===this.pivotHandler._internalName){invalidateIndex=i;break;}}}for(i=parsedHandlers.length-1;i>=0;--i){let result=parsedHandlers[i];let name=result.handler;let oldHandlerInfo=oldState.routeInfos[i];let newHandlerInfo=null;if(result.names.length>0){if(i>=invalidateIndex){newHandlerInfo=this.createParamHandlerInfo(name,result.names,objects,oldHandlerInfo);}else{newHandlerInfo=this.getHandlerInfoForDynamicSegment(name,result.names,objects,oldHandlerInfo,targetRouteName,i);}}else{// 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.\nnewHandlerInfo=this.createParamHandlerInfo(name,result.names,objects,oldHandlerInfo);}if(checkingIfActive){// 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.\nnewHandlerInfo=newHandlerInfo.becomeResolved(null,// SAFETY: This seems to imply that it would be resolved, but it's unclear if that's actually the case.\nnewHandlerInfo.context);let oldContext=oldHandlerInfo&&oldHandlerInfo.context;if(result.names.length>0&&oldHandlerInfo.context!==undefined&&newHandlerInfo.context===oldContext){// 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\nnewHandlerInfo.params=oldHandlerInfo&&oldHandlerInfo.params;}newHandlerInfo.context=oldContext;}let handlerToUse=oldHandlerInfo;if(i>=invalidateIndex||newHandlerInfo.shouldSupersede(oldHandlerInfo)){invalidateIndex=Math.min(i,invalidateIndex);handlerToUse=newHandlerInfo;}if(isIntermediate&&!checkingIfActive){handlerToUse=handlerToUse.becomeResolved(null,// SAFETY: This seems to imply that it would be resolved, but it's unclear if that's actually the case.\nhandlerToUse.context);}newState.routeInfos.unshift(handlerToUse);}if(objects.length>0){throw new Error('More context objects were passed than there are dynamic segments for the route: '+targetRouteName);}if(!isIntermediate){this.invalidateChildren(newState.routeInfos,invalidateIndex);}merge(newState.queryParams,this.queryParams||{});if(isIntermediate&&oldState.queryParams){merge(newState.queryParams,oldState.queryParams);}return newState;}invalidateChildren(handlerInfos,invalidateIndex){for(let i=invalidateIndex,l=handlerInfos.length;i<l;++i){let handlerInfo=handlerInfos[i];if(handlerInfo.isResolved){let{name,params,route,paramNames}=handlerInfos[i];handlerInfos[i]=new UnresolvedRouteInfoByParam(this.router,name,paramNames,params,route);}}}getHandlerInfoForDynamicSegment(name,names,objects,oldHandlerInfo,_targetRouteName,i){let objectToUse;if(objects.length>0){// Use the objects provided for this transition.\nobjectToUse=objects[objects.length-1];if(isParam(objectToUse)){return this.createParamHandlerInfo(name,names,objects,oldHandlerInfo);}else{objects.pop();}}else if(oldHandlerInfo&&oldHandlerInfo.name===name){// Reuse the matching oldHandlerInfo\nreturn oldHandlerInfo;}else{if(this.preTransitionState){let preTransitionHandlerInfo=this.preTransitionState.routeInfos[i];objectToUse=preTransitionHandlerInfo===null||preTransitionHandlerInfo===void 0?void 0:preTransitionHandlerInfo.context;}else{// 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(', ') + \"]\");\nreturn oldHandlerInfo;}}return new UnresolvedRouteInfoByObject(this.router,name,names,objectToUse);}createParamHandlerInfo(name,names,objects,oldHandlerInfo){let params={};// Soak up all the provided string/numbers\nlet numNames=names.length;let missingParams=[];while(numNames--){// Only use old params if the names match with the new handler\nlet oldParams=oldHandlerInfo&&name===oldHandlerInfo.name&&oldHandlerInfo.params||{};let peek=objects[objects.length-1];let paramName=names[numNames];if(isParam(peek)){params[paramName]=''+objects.pop();}else{// 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.\nif(oldParams.hasOwnProperty(paramName)){params[paramName]=oldParams[paramName];}else{missingParams.push(paramName);}}}if(missingParams.length>0){throw new Error(`You didn't provide enough string/numeric parameters to satisfy all of the dynamic segments for route ${name}.`+` Missing params: ${missingParams}`);}return new UnresolvedRouteInfoByParam(this.router,name,names,params);}}const UnrecognizedURLError=function(){UnrecognizedURLError.prototype=Object.create(Error.prototype);UnrecognizedURLError.prototype.constructor=UnrecognizedURLError;function UnrecognizedURLError(message){let error=Error.call(this,message);this.name='UnrecognizedURLError';this.message=message||'UnrecognizedURL';if(Error.captureStackTrace){Error.captureStackTrace(this,UnrecognizedURLError);}else{this.stack=error.stack;}}return UnrecognizedURLError;}();class URLTransitionIntent extends TransitionIntent{constructor(router,url,data){super(router,data);this.url=url;this.preTransitionState=undefined;}applyToState(oldState){let newState=new TransitionState();let results=this.router.recognizer.recognize(this.url),i,len;if(!results){throw new UnrecognizedURLError(this.url);}let statesDiffer=false;let _url=this.url;// Checks if a handler is accessible by URL. If it is not, an error is thrown.\n// For the case where the handler is loaded asynchronously, the error will be\n// thrown once it is loaded.\nfunction checkHandlerAccessibility(handler){if(handler&&handler.inaccessibleByURL){throw new UnrecognizedURLError(_url);}return handler;}for(i=0,len=results.length;i<len;++i){let result=results[i];let name=result.handler;let paramNames=[];if(this.router.recognizer.hasRoute(name)){paramNames=this.router.recognizer.handlersFor(name)[i].names;}let newRouteInfo=new UnresolvedRouteInfoByParam(this.router,name,paramNames,result.params);let route=newRouteInfo.route;if(route){checkHandlerAccessibility(route);}else{// If the handler is being loaded asynchronously, check if we can\n// access it after it has resolved\nnewRouteInfo.routePromise=newRouteInfo.routePromise.then(checkHandlerAccessibility);}let oldRouteInfo=oldState.routeInfos[i];if(statesDiffer||newRouteInfo.shouldSupersede(oldRouteInfo)){statesDiffer=true;newState.routeInfos[i]=newRouteInfo;}else{newState.routeInfos[i]=oldRouteInfo;}}merge(newState.queryParams,results.queryParams);return newState;}}class Router{constructor(logger){this._lastQueryParams={};this.state=undefined;this.oldState=undefined;this.activeTransition=undefined;this.currentRouteInfos=undefined;this._changedQueryParams=undefined;this.currentSequence=0;this.log=logger;this.recognizer=new RouteRecognizer();this.reset();}/**\n              The main entry point into the router. The API is essentially\n              the same as the `map` method in `route-recognizer`.\n                 This method extracts the String handler at the last `.to()`\n              call and uses it as the name of the whole route.\n                 @param {Function} callback\n            */map(callback){this.recognizer.map(callback,function(recognizer,routes){for(let i=routes.length-1,proceed=true;i>=0&&proceed;--i){let route=routes[i];let handler=route.handler;recognizer.add(routes,{as:handler});proceed=route.path==='/'||route.path===''||handler.slice(-6)==='.index';}});}hasRoute(route){return this.recognizer.hasRoute(route);}queryParamsTransition(changelist,wasTransitioning,oldState,newState){this.fireQueryParamDidChange(newState,changelist);if(!wasTransitioning&&this.activeTransition){// One of the routes in queryParamsDidChange\n// caused a transition. Just return that transition.\nreturn this.activeTransition;}else{// Running queryParamsDidChange didn't change anything.\n// Just update query params and be on our way.\n// We have to return a noop transition that will\n// perform a URL update at the end. This gives\n// the user the ability to set the url update\n// method (default is replaceState).\nlet newTransition=new Transition(this,undefined,undefined);newTransition.queryParamsOnly=true;oldState.queryParams=this.finalizeQueryParamChange(newState.routeInfos,newState.queryParams,newTransition);newTransition[QUERY_PARAMS_SYMBOL]=newState.queryParams;this.toReadOnlyInfos(newTransition,newState);this.routeWillChange(newTransition);newTransition.promise=newTransition.promise.then(result=>{if(!newTransition.isAborted){this._updateURL(newTransition,oldState);this.didTransition(this.currentRouteInfos);this.toInfos(newTransition,newState.routeInfos,true);this.routeDidChange(newTransition);}return result;},null,promiseLabel('Transition complete'));return newTransition;}}transitionByIntent(intent,isIntermediate){try{return this.getTransitionByIntent(intent,isIntermediate);}catch(e){return new Transition(this,intent,undefined,e,undefined);}}recognize(url){let intent=new URLTransitionIntent(this,url);let newState=this.generateNewState(intent);if(newState===null){return newState;}let readonlyInfos=toReadOnlyRouteInfo(newState.routeInfos,newState.queryParams,{includeAttributes:false,localizeMapUpdates:true});return readonlyInfos[readonlyInfos.length-1];}recognizeAndLoad(url){let intent=new URLTransitionIntent(this,url);let newState=this.generateNewState(intent);if(newState===null){return Promise$2.reject(`URL ${url} was not recognized`);}let newTransition=new Transition(this,intent,newState,undefined);return newTransition.then(()=>{let routeInfosWithAttributes=toReadOnlyRouteInfo(newState.routeInfos,newTransition[QUERY_PARAMS_SYMBOL],{includeAttributes:true,localizeMapUpdates:false});return routeInfosWithAttributes[routeInfosWithAttributes.length-1];});}generateNewState(intent){try{return intent.applyToState(this.state,false);}catch(e){return null;}}getTransitionByIntent(intent,isIntermediate){let wasTransitioning=!!this.activeTransition;let oldState=wasTransitioning?this.activeTransition[STATE_SYMBOL]:this.state;let newTransition;let newState=intent.applyToState(oldState,isIntermediate);let queryParamChangelist=getChangelist(oldState.queryParams,newState.queryParams);if(routeInfosEqual(newState.routeInfos,oldState.routeInfos)){// This is a no-op transition. See if query params changed.\nif(queryParamChangelist){let newTransition=this.queryParamsTransition(queryParamChangelist,wasTransitioning,oldState,newState);newTransition.queryParamsOnly=true;// SAFETY: The returned OpaqueTransition should actually be this.\nreturn newTransition;}// No-op. No need to create a new transition.\nreturn this.activeTransition||new Transition(this,undefined,undefined);}if(isIntermediate){let transition=new Transition(this,undefined,newState);transition.isIntermediate=true;this.toReadOnlyInfos(transition,newState);this.setupContexts(newState,transition);this.routeWillChange(transition);return this.activeTransition;}// Create a new transition to the destination route.\nnewTransition=new Transition(this,intent,newState,undefined,this.activeTransition);// transition is to same route with same params, only query params differ.\n// not caught above probably because refresh() has been used\nif(routeInfosSameExceptQueryParams(newState.routeInfos,oldState.routeInfos)){newTransition.queryParamsOnly=true;}this.toReadOnlyInfos(newTransition,newState);// Abort and usurp any previously active transition.\nif(this.activeTransition){this.activeTransition.redirect(newTransition);}this.activeTransition=newTransition;// Transition promises by default resolve with resolved state.\n// For our purposes, swap out the promise to resolve\n// after the transition has been finalized.\nnewTransition.promise=newTransition.promise.then(result=>{return this.finalizeTransition(newTransition,result);},null,promiseLabel('Settle transition promise when transition is finalized'));if(!wasTransitioning){this.notifyExistingHandlers(newState,newTransition);}this.fireQueryParamDidChange(newState,queryParamChangelist);return newTransition;}/**\n            @private\n               Begins and returns a Transition based on the provided\n            arguments. Accepts arguments in the form of both URL\n            transitions and named transitions.\n               @param {Router} router\n            @param {Array[Object]} args arguments passed to transitionTo,\n              replaceWith, or handleURL\n            */doTransition(name){let modelsArray=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];let isIntermediate=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;let lastArg=modelsArray[modelsArray.length-1];let queryParams={};if(lastArg&&Object.prototype.hasOwnProperty.call(lastArg,'queryParams')){// We just checked this.\n// TODO: Use an assertion?\nqueryParams=modelsArray.pop().queryParams;}let intent;if(name===undefined){log(this,'Updating query params');// A query param update is really just a transition\n// into the route you're already on.\nlet{routeInfos}=this.state;intent=new NamedTransitionIntent(this,routeInfos[routeInfos.length-1].name,undefined,[],queryParams);}else if(name.charAt(0)==='/'){log(this,'Attempting URL transition to '+name);intent=new URLTransitionIntent(this,name);}else{log(this,'Attempting transition to '+name);intent=new NamedTransitionIntent(this,name,undefined,// SAFETY: We know this to be the case since we removed the last item if it was QPs\nmodelsArray,queryParams);}return this.transitionByIntent(intent,isIntermediate);}/**\n            @private\n               Updates the URL (if necessary) and calls `setupContexts`\n            to update the router's array of `currentRouteInfos`.\n            */finalizeTransition(transition,newState){try{log(transition.router,transition.sequence,'Resolved all models on destination route; finalizing transition.');let routeInfos=newState.routeInfos;// Run all the necessary enter/setup/exit hooks\nthis.setupContexts(newState,transition);// Check if a redirect occurred in enter/setup\nif(transition.isAborted){// TODO: cleaner way? distinguish b/w targetRouteInfos?\nthis.state.routeInfos=this.currentRouteInfos;return Promise$2.reject(logAbort(transition));}this._updateURL(transition,newState);transition.isActive=false;this.activeTransition=undefined;this.triggerEvent(this.currentRouteInfos,true,'didTransition',[]);this.didTransition(this.currentRouteInfos);this.toInfos(transition,newState.routeInfos,true);this.routeDidChange(transition);log(this,transition.sequence,'TRANSITION COMPLETE.');// Resolve with the final route.\nreturn routeInfos[routeInfos.length-1].route;}catch(e){if(!isTransitionAborted(e)){let infos=transition[STATE_SYMBOL].routeInfos;transition.trigger(true,'error',e,transition,infos[infos.length-1].route);transition.abort();}throw e;}}/**\n            @private\n               Takes an Array of `RouteInfo`s, figures out which ones are\n            exiting, entering, or changing contexts, and calls the\n            proper route hooks.\n               For example, consider the following tree of routes. Each route is\n            followed by the URL segment it handles.\n               ```\n            |~index (\"/\")\n            | |~posts (\"/posts\")\n            | | |-showPost (\"/:id\")\n            | | |-newPost (\"/new\")\n            | | |-editPost (\"/edit\")\n            | |~about (\"/about/:id\")\n            ```\n               Consider the following transitions:\n               1. A URL transition to `/posts/1`.\n               1. Triggers the `*model` callbacks on the\n                  `index`, `posts`, and `showPost` routes\n               2. Triggers the `enter` callback on the same\n               3. Triggers the `setup` callback on the same\n            2. A direct transition to `newPost`\n               1. Triggers the `exit` callback on `showPost`\n               2. Triggers the `enter` callback on `newPost`\n               3. Triggers the `setup` callback on `newPost`\n            3. A direct transition to `about` with a specified\n               context object\n               1. Triggers the `exit` callback on `newPost`\n                  and `posts`\n               2. Triggers the `serialize` callback on `about`\n               3. Triggers the `enter` callback on `about`\n               4. Triggers the `setup` callback on `about`\n               @param {Router} transition\n            @param {TransitionState} newState\n            */setupContexts(newState,transition){let partition=this.partitionRoutes(this.state,newState);let i,l,route;for(i=0,l=partition.exited.length;i<l;i++){route=partition.exited[i].route;delete route.context;if(route!==undefined){if(route._internalReset!==undefined){route._internalReset(true,transition);}if(route.exit!==undefined){route.exit(transition);}}}let oldState=this.oldState=this.state;this.state=newState;let currentRouteInfos=this.currentRouteInfos=partition.unchanged.slice();try{for(i=0,l=partition.reset.length;i<l;i++){route=partition.reset[i].route;if(route!==undefined){if(route._internalReset!==undefined){route._internalReset(false,transition);}}}for(i=0,l=partition.updatedContext.length;i<l;i++){this.routeEnteredOrUpdated(currentRouteInfos,partition.updatedContext[i],false,transition);}for(i=0,l=partition.entered.length;i<l;i++){this.routeEnteredOrUpdated(currentRouteInfos,partition.entered[i],true,transition);}}catch(e){this.state=oldState;this.currentRouteInfos=oldState.routeInfos;throw e;}this.state.queryParams=this.finalizeQueryParamChange(currentRouteInfos,newState.queryParams,transition);}/**\n            @private\n               Fires queryParamsDidChange event\n            */fireQueryParamDidChange(newState,queryParamChangelist){// If queryParams changed trigger event\nif(queryParamChangelist){// 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.\nthis._changedQueryParams=queryParamChangelist.all;this.triggerEvent(newState.routeInfos,true,'queryParamsDidChange',[queryParamChangelist.changed,queryParamChangelist.all,queryParamChangelist.removed]);this._changedQueryParams=undefined;}}/**\n            @private\n               Helper method used by setupContexts. Handles errors or redirects\n            that may happen in enter/setup.\n            */routeEnteredOrUpdated(currentRouteInfos,routeInfo,enter,transition){let route=routeInfo.route,context=routeInfo.context;function _routeEnteredOrUpdated(route){if(enter){if(route.enter!==undefined){route.enter(transition);}}throwIfAborted(transition);route.context=context;if(route.contextDidChange!==undefined){route.contextDidChange();}if(route.setup!==undefined){route.setup(context,transition);}throwIfAborted(transition);currentRouteInfos.push(routeInfo);return route;}// If the route doesn't exist, it means we haven't resolved the route promise yet\nif(route===undefined){routeInfo.routePromise=routeInfo.routePromise.then(_routeEnteredOrUpdated);}else{_routeEnteredOrUpdated(route);}return true;}/**\n            @private\n               This function is called when transitioning from one URL to\n            another to determine which routes are no longer active,\n            which routes are newly active, and which routes remain\n            active but have their context changed.\n               Take a list of old routes and new routes and partition\n            them into four buckets:\n               * unchanged: the route was active in both the old and\n              new URL, and its context remains the same\n            * updated context: the route was active in both the\n              old and new URL, but its context changed. The route's\n              `setup` method, if any, will be called with the new\n              context.\n            * exited: the route was active in the old URL, but is\n              no longer active.\n            * entered: the route was not active in the old URL, but\n              is now active.\n               The PartitionedRoutes structure has four fields:\n               * `updatedContext`: a list of `RouteInfo` objects that\n              represent routes that remain active but have a changed\n              context\n            * `entered`: a list of `RouteInfo` objects that represent\n              routes that are newly active\n            * `exited`: a list of `RouteInfo` objects that are no\n              longer active.\n            * `unchanged`: a list of `RouteInfo` objects that remain active.\n               @param {Array[InternalRouteInfo]} oldRoutes a list of the route\n              information for the previous URL (or `[]` if this is the\n              first handled transition)\n            @param {Array[InternalRouteInfo]} newRoutes a list of the route\n              information for the new URL\n               @return {Partition}\n            */partitionRoutes(oldState,newState){let oldRouteInfos=oldState.routeInfos;let newRouteInfos=newState.routeInfos;let routes={updatedContext:[],exited:[],entered:[],unchanged:[],reset:[]};let routeChanged,contextChanged=false,i,l;for(i=0,l=newRouteInfos.length;i<l;i++){let oldRouteInfo=oldRouteInfos[i],newRouteInfo=newRouteInfos[i];if(!oldRouteInfo||oldRouteInfo.route!==newRouteInfo.route){routeChanged=true;}if(routeChanged){routes.entered.push(newRouteInfo);if(oldRouteInfo){routes.exited.unshift(oldRouteInfo);}}else if(contextChanged||oldRouteInfo.context!==newRouteInfo.context){contextChanged=true;routes.updatedContext.push(newRouteInfo);}else{routes.unchanged.push(oldRouteInfo);}}for(i=newRouteInfos.length,l=oldRouteInfos.length;i<l;i++){routes.exited.unshift(oldRouteInfos[i]);}routes.reset=routes.updatedContext.slice();routes.reset.reverse();return routes;}_updateURL(transition,state){let urlMethod=transition.urlMethod;if(!urlMethod){return;}let{routeInfos}=state;let{name:routeName}=routeInfos[routeInfos.length-1];let params={};for(let i=routeInfos.length-1;i>=0;--i){let routeInfo=routeInfos[i];merge(params,routeInfo.params);if(routeInfo.route.inaccessibleByURL){urlMethod=null;}}if(urlMethod){params.queryParams=transition._visibleQueryParams||state.queryParams;let url=this.recognizer.generate(routeName,params);// transitions during the initial transition must always use replaceURL.\n// When the app boots, you are at a url, e.g. /foo. If some route\n// redirects to bar as part of the initial transition, you don't want to\n// add a history entry for /foo. If you do, pressing back will immediately\n// hit the redirect again and take you back to /bar, thus killing the back\n// button\nlet initial=transition.isCausedByInitialTransition;// say you are at / and you click a link to route /foo. In /foo's\n// route, the transition is aborted using replaceWith('/bar').\n// Because the current url is still /, the history entry for / is\n// removed from the history. Clicking back will take you to the page\n// you were on before /, which is often not even the app, thus killing\n// the back button. That's why updateURL is always correct for an\n// aborting transition that's not the initial transition\nlet replaceAndNotAborting=urlMethod==='replace'&&!transition.isCausedByAbortingTransition;// because calling refresh causes an aborted transition, this needs to be\n// special cased - if the initial transition is a replace transition, the\n// urlMethod should be honored here.\nlet isQueryParamsRefreshTransition=transition.queryParamsOnly&&urlMethod==='replace';// say you are at / and you a `replaceWith(/foo)` is called. Then, that\n// transition is aborted with `replaceWith(/bar)`. At the end, we should\n// end up with /bar replacing /. We are replacing the replace. We only\n// will replace the initial route if all subsequent aborts are also\n// replaces. However, there is some ambiguity around the correct behavior\n// here.\nlet replacingReplace=urlMethod==='replace'&&transition.isCausedByAbortingReplaceTransition;if(initial||replaceAndNotAborting||isQueryParamsRefreshTransition||replacingReplace){this.replaceURL(url);}else{this.updateURL(url);}}}finalizeQueryParamChange(resolvedHandlers,newQueryParams,transition){// 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.\nfor(let k in newQueryParams){if(newQueryParams.hasOwnProperty(k)&&newQueryParams[k]===null){delete newQueryParams[k];}}let finalQueryParamsArray=[];this.triggerEvent(resolvedHandlers,true,'finalizeQueryParamChange',[newQueryParams,finalQueryParamsArray,transition]);if(transition){transition._visibleQueryParams={};}let finalQueryParams={};for(let i=0,len=finalQueryParamsArray.length;i<len;++i){let qp=finalQueryParamsArray[i];finalQueryParams[qp.key]=qp.value;if(transition&&qp.visible!==false){transition._visibleQueryParams[qp.key]=qp.value;}}return finalQueryParams;}toReadOnlyInfos(newTransition,newState){let oldRouteInfos=this.state.routeInfos;this.fromInfos(newTransition,oldRouteInfos);this.toInfos(newTransition,newState.routeInfos);this._lastQueryParams=newState.queryParams;}fromInfos(newTransition,oldRouteInfos){if(newTransition!==undefined&&oldRouteInfos.length>0){let fromInfos=toReadOnlyRouteInfo(oldRouteInfos,Object.assign({},this._lastQueryParams),{includeAttributes:true,localizeMapUpdates:false});newTransition.from=fromInfos[fromInfos.length-1]||null;}}toInfos(newTransition,newRouteInfos){let includeAttributes=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;if(newTransition!==undefined&&newRouteInfos.length>0){let toInfos=toReadOnlyRouteInfo(newRouteInfos,Object.assign({},newTransition[QUERY_PARAMS_SYMBOL]),{includeAttributes,localizeMapUpdates:false});newTransition.to=toInfos[toInfos.length-1]||null;}}notifyExistingHandlers(newState,newTransition){let oldRouteInfos=this.state.routeInfos,i,oldRouteInfoLen,oldHandler,newRouteInfo;oldRouteInfoLen=oldRouteInfos.length;for(i=0;i<oldRouteInfoLen;i++){oldHandler=oldRouteInfos[i];newRouteInfo=newState.routeInfos[i];if(!newRouteInfo||oldHandler.name!==newRouteInfo.name){break;}if(!newRouteInfo.isResolved);}this.triggerEvent(oldRouteInfos,true,'willTransition',[newTransition]);this.routeWillChange(newTransition);this.willTransition(oldRouteInfos,newState.routeInfos,newTransition);}/**\n              Clears the current and target route routes and triggers exit\n              on each of them starting at the leaf and traversing up through\n              its ancestors.\n            */reset(){if(this.state){forEach(this.state.routeInfos.slice().reverse(),function(routeInfo){let route=routeInfo.route;if(route!==undefined){if(route.exit!==undefined){route.exit();}}return true;});}this.oldState=undefined;this.state=new TransitionState();this.currentRouteInfos=undefined;}/**\n              let handler = routeInfo.handler;\n              The entry point for handling a change to the URL (usually\n              via the back and forward button).\n                 Returns an Array of handlers and the parameters associated\n              with those parameters.\n                 @param {String} url a URL to process\n                 @return {Array} an Array of `[handler, parameter]` tuples\n            */handleURL(url){// Perform a URL-based transition, but don't change\n// the URL afterward, since it already happened.\nif(url.charAt(0)!=='/'){url='/'+url;}return this.doTransition(url).method(null);}/**\n              Transition into the specified named route.\n                 If necessary, trigger the exit callback on any routes\n              that are no longer represented by the target route.\n                 @param {String} name the name of the route\n            */transitionTo(name){for(var _len47=arguments.length,contexts=new Array(_len47>1?_len47-1:0),_key48=1;_key48<_len47;_key48++){contexts[_key48-1]=arguments[_key48];}if(typeof name==='object'){contexts.push(name);return this.doTransition(undefined,contexts,false);}return this.doTransition(name,contexts);}intermediateTransitionTo(name){for(var _len48=arguments.length,args=new Array(_len48>1?_len48-1:0),_key49=1;_key49<_len48;_key49++){args[_key49-1]=arguments[_key49];}return this.doTransition(name,args,true);}refresh(pivotRoute){let previousTransition=this.activeTransition;let state=previousTransition?previousTransition[STATE_SYMBOL]:this.state;let routeInfos=state.routeInfos;if(pivotRoute===undefined){pivotRoute=routeInfos[0].route;}log(this,'Starting a refresh transition');let name=routeInfos[routeInfos.length-1].name;let intent=new NamedTransitionIntent(this,name,pivotRoute,[],this._changedQueryParams||state.queryParams);let newTransition=this.transitionByIntent(intent,false);// if the previous transition is a replace transition, that needs to be preserved\nif(previousTransition&&previousTransition.urlMethod==='replace'){newTransition.method(previousTransition.urlMethod);}return newTransition;}/**\n              Identical to `transitionTo` except that the current URL will be replaced\n              if possible.\n                 This method is intended primarily for use with `replaceState`.\n                 @param {String} name the name of the route\n            */replaceWith(name){return this.doTransition(name).method('replace');}/**\n              Take a named route and context objects and generate a\n              URL.\n                 @param {String} name the name of the route to generate\n                a URL for\n              @param {...Object} objects a list of objects to serialize\n                 @return {String} a URL\n            */generate(routeName){for(var _len49=arguments.length,args=new Array(_len49>1?_len49-1:0),_key50=1;_key50<_len49;_key50++){args[_key50-1]=arguments[_key50];}let partitionedArgs=extractQueryParams(args),suppliedParams=partitionedArgs[0],queryParams=partitionedArgs[1];// Construct a TransitionIntent with the provided params\n// and apply it to the present state of the router.\nlet intent=new NamedTransitionIntent(this,routeName,undefined,suppliedParams);let state=intent.applyToState(this.state,false);let params={};for(let i=0,len=state.routeInfos.length;i<len;++i){let routeInfo=state.routeInfos[i];let routeParams=routeInfo.serialize();merge(params,routeParams);}params.queryParams=queryParams;return this.recognizer.generate(routeName,params);}applyIntent(routeName,contexts){let intent=new NamedTransitionIntent(this,routeName,undefined,contexts);let state=this.activeTransition&&this.activeTransition[STATE_SYMBOL]||this.state;return intent.applyToState(state,false);}isActiveIntent(routeName,contexts,queryParams,_state){let state=_state||this.state,targetRouteInfos=state.routeInfos,routeInfo,len;if(!targetRouteInfos.length){return false;}let targetHandler=targetRouteInfos[targetRouteInfos.length-1].name;let recognizerHandlers=this.recognizer.handlersFor(targetHandler);let index=0;for(len=recognizerHandlers.length;index<len;++index){routeInfo=targetRouteInfos[index];if(routeInfo.name===routeName){break;}}if(index===recognizerHandlers.length){// The provided route name isn't even in the route hierarchy.\nreturn false;}let testState=new TransitionState();testState.routeInfos=targetRouteInfos.slice(0,index+1);recognizerHandlers=recognizerHandlers.slice(0,index+1);let intent=new NamedTransitionIntent(this,targetHandler,undefined,contexts);let newState=intent.applyToHandlers(testState,recognizerHandlers,targetHandler,true,true);let routesEqual=routeInfosEqual(newState.routeInfos,testState.routeInfos);if(!queryParams||!routesEqual){return routesEqual;}// Get a hash of QPs that will still be active on new route\nlet activeQPsOnNewHandler={};merge(activeQPsOnNewHandler,queryParams);let activeQueryParams=state.queryParams;for(let key in activeQueryParams){if(activeQueryParams.hasOwnProperty(key)&&activeQPsOnNewHandler.hasOwnProperty(key)){activeQPsOnNewHandler[key]=activeQueryParams[key];}}return routesEqual&&!getChangelist(activeQPsOnNewHandler,queryParams);}isActive(routeName){for(var _len50=arguments.length,args=new Array(_len50>1?_len50-1:0),_key51=1;_key51<_len50;_key51++){args[_key51-1]=arguments[_key51];}let[contexts,queryParams]=extractQueryParams(args);return this.isActiveIntent(routeName,contexts,queryParams);}trigger(name){for(var _len51=arguments.length,args=new Array(_len51>1?_len51-1:0),_key52=1;_key52<_len51;_key52++){args[_key52-1]=arguments[_key52];}this.triggerEvent(this.currentRouteInfos,false,name,args);}}function routeInfosEqual(routeInfos,otherRouteInfos){if(routeInfos.length!==otherRouteInfos.length){return false;}for(let i=0,len=routeInfos.length;i<len;++i){// SAFETY: Just casting for comparison\nif(routeInfos[i]!==otherRouteInfos[i]){return false;}}return true;}function routeInfosSameExceptQueryParams(routeInfos,otherRouteInfos){if(routeInfos.length!==otherRouteInfos.length){return false;}for(let i=0,len=routeInfos.length;i<len;++i){if(routeInfos[i].name!==otherRouteInfos[i].name){return false;}if(!paramsEqual(routeInfos[i].params,otherRouteInfos[i].params)){return false;}}return true;}function paramsEqual(params,otherParams){if(params===otherParams){// Both identical or both undefined\nreturn true;}if(!params||!otherParams){// One is falsy but other is not\nreturn false;}let keys=Object.keys(params);let otherKeys=Object.keys(otherParams);if(keys.length!==otherKeys.length){return false;}for(let i=0,len=keys.length;i<len;++i){let key=keys[i];if(params[key]!==otherParams[key]){return false;}}return true;}const routerJs=/*#__PURE__*/Object.defineProperty({__proto__:null,InternalRouteInfo,InternalTransition:Transition,PARAMS_SYMBOL,QUERY_PARAMS_SYMBOL,STATE_SYMBOL,TransitionError,TransitionState,default:Router,logAbort},Symbol.toStringTag,{value:'Module'});const ALL_PERIODS_REGEX=/\\./g;function extractRouteArgs(args){// SAFETY: This should just be the same thing\nargs=args.slice();let possibleOptions=args[args.length-1];let queryParams;if(isRouteOptions(possibleOptions)){args.pop();// Remove options\nqueryParams=possibleOptions.queryParams;}else{queryParams={};}let routeName;if(typeof args[0]==='string'){routeName=args.shift();}// SAFTEY: We removed the name and options if they existed, only models left.\nlet models=args;return{routeName,models,queryParams};}function getActiveTargetName(router){let routeInfos=router.activeTransition?router.activeTransition[STATE_SYMBOL].routeInfos:router.state.routeInfos;let lastRouteInfo=routeInfos[routeInfos.length-1];return lastRouteInfo.name;}function stashParamNames(router,routeInfos){if(routeInfos['_namesStashed']){return;}// This helper exists because router.js/route-recognizer.js awkwardly\n// keeps separate a routeInfo's list of parameter names depending\n// on whether a URL transition or named transition is happening.\n// Hopefully we can remove this in the future.\nlet routeInfo=routeInfos[routeInfos.length-1];let targetRouteName=routeInfo.name;let recogHandlers=router._routerMicrolib.recognizer.handlersFor(targetRouteName);let dynamicParent;for(let i=0;i<routeInfos.length;++i){let routeInfo=routeInfos[i];let names=recogHandlers[i].names;if(names.length){dynamicParent=routeInfo;}routeInfo['_names']=names;let route=routeInfo.route;route._stashNames(routeInfo,dynamicParent);}routeInfos['_namesStashed']=true;}function _calculateCacheValuePrefix(prefix,part){// calculates the dot separated sections from prefix that are also\n// at the start of part - which gives us the route name\n// given : prefix = site.article.comments, part = site.article.id\n//      - returns: site.article (use get(values[site.article], 'id') to get the dynamic part - used below)\n// given : prefix = site.article, part = site.article.id\n//      - returns: site.article. (use get(values[site.article], 'id') to get the dynamic part - used below)\nlet prefixParts=prefix.split('.');let currPrefix='';for(let i=0;i<prefixParts.length;i++){let currPart=prefixParts.slice(0,i+1).join('.');if(part.indexOf(currPart)!==0){break;}currPrefix=currPart;}return currPrefix;}/*\n            Stolen from Controller\n          */function calculateCacheKey(prefix){let parts=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];let values=arguments.length>2?arguments[2]:undefined;let suffixes='';for(let part of parts){let cacheValuePrefix=_calculateCacheValuePrefix(prefix,part);let value;if(values){if(cacheValuePrefix&&cacheValuePrefix in values){let partRemovedPrefix=part.indexOf(cacheValuePrefix)===0?part.substring(cacheValuePrefix.length+1):part;value=get$2(values[cacheValuePrefix],partRemovedPrefix);}else{value=get$2(values,part);}}suffixes+=`::${part}:${value}`;}return prefix+suffixes.replace(ALL_PERIODS_REGEX,'-');}/*\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          */function normalizeControllerQueryParams(queryParams){let qpMap={};for(let queryParam of queryParams){accumulateQueryParamDescriptors(queryParam,qpMap);}return qpMap;}function accumulateQueryParamDescriptors(_desc,accum){let desc=typeof _desc==='string'?{[_desc]:{as:null}}:_desc;for(let key in desc){if(!Object.prototype.hasOwnProperty.call(desc,key)){return;}let _singleDesc=desc[key];let singleDesc=typeof _singleDesc==='string'?{as:_singleDesc}:_singleDesc;let partialVal=accum[key]||{as:null,scope:'model'};let val={...partialVal,...singleDesc};accum[key]=val;}}/*\n            Check if a routeName resembles a url instead\n\n            @private\n          */function resemblesURL(str){return typeof str==='string'&&(str===''||str[0]==='/');}/*\n            Returns an arguments array where the route name arg is prefixed based on the mount point\n\n            @private\n          */function prefixRouteNameArg(route,args){let routeName;let owner=getOwner$2(route);let prefix=owner.mountPoint;// only alter the routeName if it's actually referencing a route.\nif(owner.routable&&typeof args[0]==='string'){routeName=args[0];if(resemblesURL(routeName)){throw new Error('Programmatic transitions by URL cannot be used within an Engine. Please use the route name instead.');}else{routeName=`${prefix}.${routeName}`;args[0]=routeName;}}return args;}function shallowEqual(a,b){let aCount=0;let bCount=0;for(let kA in a){if(Object.prototype.hasOwnProperty.call(a,kA)){if(a[kA]!==b[kA]){return false;}aCount++;}}for(let kB in b){if(Object.prototype.hasOwnProperty.call(b,kB)){bCount++;}}return aCount===bCount;}function isRouteOptions(value){if(value&&typeof value==='object'){let qps=value.queryParams;if(qps&&typeof qps==='object'){return Object.keys(qps).every(k=>typeof k==='string');}}return false;}const emberRoutingLibUtils=/*#__PURE__*/Object.defineProperty({__proto__:null,calculateCacheKey,extractRouteArgs,getActiveTargetName,normalizeControllerQueryParams,prefixRouteNameArg,resemblesURL,shallowEqual,stashParamNames},Symbol.toStringTag,{value:'Module'});class RouterState{constructor(emberRouter,router,routerJsState){_defineProperty(this,\"router\",void 0);_defineProperty(this,\"emberRouter\",void 0);_defineProperty(this,\"routerJsState\",void 0);this.emberRouter=emberRouter;this.router=router;this.routerJsState=routerJsState;}isActiveIntent(routeName,models,queryParams){let state=this.routerJsState;if(!this.router.isActiveIntent(routeName,models,undefined,state)){return false;}if(queryParams!==undefined&&Object.keys(queryParams).length>0){let visibleQueryParams=Object.assign({},queryParams);this.emberRouter._prepareQueryParams(routeName,models,visibleQueryParams);return shallowEqual(visibleQueryParams,state.queryParams);}return true;}}const emberRoutingLibRouterState=/*#__PURE__*/Object.defineProperty({__proto__:null,default:RouterState},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/object\n          */function expandPropertiesToArray(predicateName,properties){let expandedProperties=[];function extractProperty(entry){expandedProperties.push(entry);}for(let property of properties){expandProperties(property,extractProperty);}return expandedProperties;}function generateComputedWithPredicate(name,predicate){return function(dependentKey){for(var _len52=arguments.length,additionalDependentKeys=new Array(_len52>1?_len52-1:0),_key53=1;_key53<_len52;_key53++){additionalDependentKeys[_key53-1]=arguments[_key53];}let properties=[dependentKey,...additionalDependentKeys];let dependentKeys=expandPropertiesToArray(name,properties);let computedFunc=computed(...dependentKeys,function(){let lastIdx=dependentKeys.length-1;for(let i=0;i<lastIdx;i++){// SAFETY: `i` is derived from the length of `dependentKeys`\nlet value=get$2(this,dependentKeys[i]);if(!predicate(value)){return value;}}// SAFETY: `lastIdx` is derived from the length of `dependentKeys`\nreturn get$2(this,dependentKeys[lastIdx]);});return computedFunc;};}/**\n            A computed property macro that returns true if the value of the dependent\n            property is null, an empty string, empty array, or empty function.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { empty } from '@ember/object/computed';\n\n            class ToDoList {\n              constructor(todos) {\n                set(this, 'todos', todos);\n              }\n\n              @empty('todos') isDone;\n            }\n\n            let todoList = new ToDoList(\n              ['Unit Test', 'Documentation', 'Release']\n            );\n\n            todoList.isDone; // false\n            set(todoList, 'todos', []);\n            todoList.isDone; // true\n            ```\n\n            @since 1.6.0\n            @method empty\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @return {ComputedProperty} computed property which returns true if the value\n            of the dependent property is null, an empty string, empty array, or empty\n            function and false if the underlying value is not empty.\n\n            @public\n          */function empty(dependentKey){return computed(`${dependentKey}.length`,function(){return isEmpty(get$2(this,dependentKey));});}/**\n            A computed property that returns true if the value of the dependent property\n            is NOT null, an empty string, empty array, or empty function.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { notEmpty } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(backpack) {\n                set(this, 'backpack', backpack);\n              }\n\n              @notEmpty('backpack') hasStuff\n            }\n\n            let hamster = new Hamster(\n              ['Food', 'Sleeping Bag', 'Tent']\n            );\n\n            hamster.hasStuff; // true\n            set(hamster, 'backpack', []);\n            hamster.hasStuff; // false\n            ```\n\n            @method notEmpty\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @return {ComputedProperty} computed property which returns true if original\n            value for property is not empty.\n            @public\n          */function notEmpty(dependentKey){return computed(`${dependentKey}.length`,function(){return!isEmpty(get$2(this,dependentKey));});}/**\n            A computed property that returns true if the value of the dependent property\n            is null or undefined. This avoids errors from JSLint complaining about use of\n            ==, which can be technically confusing.\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { none } from '@ember/object/computed';\n\n            class Hamster {\n              @none('food') isHungry;\n            }\n\n            let hamster = new Hamster();\n\n            hamster.isHungry; // true\n\n            set(hamster, 'food', 'Banana');\n            hamster.isHungry; // false\n\n            set(hamster, 'food', null);\n            hamster.isHungry; // true\n            ```\n\n            @method none\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @return {ComputedProperty} computed property which returns true if original\n            value for property is null or undefined.\n            @public\n          */function none(dependentKey){return computed(dependentKey,function(){return isNone(get$2(this,dependentKey));});}/**\n            A computed property that returns the inverse boolean value of the original\n            value for the dependent property.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { not } from '@ember/object/computed';\n\n            class User {\n              loggedIn = false;\n\n              @not('loggedIn') isAnonymous;\n            }\n\n            let user = new User();\n\n            user.isAnonymous; // true\n            set(user, 'loggedIn', true);\n            user.isAnonymous; // false\n            ```\n\n            @method not\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @return {ComputedProperty} computed property which returns inverse of the\n            original value for property\n            @public\n          */function not(dependentKey){return computed(dependentKey,function(){return!get$2(this,dependentKey);});}/**\n            A computed property that converts the provided dependent property into a\n            boolean value.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { bool } from '@ember/object/computed';\n\n\n            class Hamster {\n              @bool('numBananas') hasBananas\n            }\n\n            let hamster = new Hamster();\n\n            hamster.hasBananas; // false\n\n            set(hamster, 'numBananas', 0);\n            hamster.hasBananas; // false\n\n            set(hamster, 'numBananas', 1);\n            hamster.hasBananas; // true\n\n            set(hamster, 'numBananas', null);\n            hamster.hasBananas; // false\n            ```\n\n            @method bool\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @return {ComputedProperty} computed property which converts to boolean the\n            original value for property\n            @public\n          */function bool(dependentKey){return computed(dependentKey,function(){return Boolean(get$2(this,dependentKey));});}/**\n            A computed property which matches the original value for the dependent\n            property against a given RegExp, returning `true` if the value matches the\n            RegExp and `false` if it does not.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { match } from '@ember/object/computed';\n\n            class User {\n              @match('email', /^.+@.+\\..+$/) hasValidEmail;\n            }\n\n            let user = new User();\n\n            user.hasValidEmail; // false\n\n            set(user, 'email', '');\n            user.hasValidEmail; // false\n\n            set(user, 'email', 'ember_hamster@example.com');\n            user.hasValidEmail; // true\n            ```\n\n            @method match\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @param {RegExp} regexp\n            @return {ComputedProperty} computed property which match the original value\n            for property against a given RegExp\n            @public\n          */function match(dependentKey,regexp){return computed(dependentKey,function(){let value=get$2(this,dependentKey);return regexp.test(value);});}/**\n            A computed property that returns true if the provided dependent property is\n            equal to the given value.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { equal } from '@ember/object/computed';\n\n            class Hamster {\n              @equal('percentCarrotsEaten', 100) satisfied;\n            }\n\n            let hamster = new Hamster();\n\n            hamster.satisfied; // false\n\n            set(hamster, 'percentCarrotsEaten', 100);\n            hamster.satisfied; // true\n\n            set(hamster, 'percentCarrotsEaten', 50);\n            hamster.satisfied; // false\n            ```\n\n            @method equal\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @param {String|Number|Object} value\n            @return {ComputedProperty} computed property which returns true if the\n            original value for property is equal to the given value.\n            @public\n          */function equal(dependentKey,value){return computed(dependentKey,function(){return get$2(this,dependentKey)===value;});}/**\n            A computed property that returns true if the provided dependent property is\n            greater than the provided value.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { gt } from '@ember/object/computed';\n\n            class Hamster {\n              @gt('numBananas', 10) hasTooManyBananas;\n            }\n\n            let hamster = new Hamster();\n\n            hamster.hasTooManyBananas; // false\n\n            set(hamster, 'numBananas', 3);\n            hamster.hasTooManyBananas; // false\n\n            set(hamster, 'numBananas', 11);\n            hamster.hasTooManyBananas; // true\n            ```\n\n            @method gt\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @param {Number} value\n            @return {ComputedProperty} computed property which returns true if the\n            original value for property is greater than given value.\n            @public\n          */function gt(dependentKey,value){return computed(dependentKey,function(){return get$2(this,dependentKey)>value;});}/**\n            A computed property that returns true if the provided dependent property is\n            greater than or equal to the provided value.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { gte } from '@ember/object/computed';\n\n            class Hamster {\n              @gte('numBananas', 10) hasTooManyBananas;\n            }\n\n            let hamster = new Hamster();\n\n            hamster.hasTooManyBananas; // false\n\n            set(hamster, 'numBananas', 3);\n            hamster.hasTooManyBananas; // false\n\n            set(hamster, 'numBananas', 10);\n            hamster.hasTooManyBananas; // true\n            ```\n\n            @method gte\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @param {Number} value\n            @return {ComputedProperty} computed property which returns true if the\n            original value for property is greater or equal then given value.\n            @public\n          */function gte(dependentKey,value){return computed(dependentKey,function(){return get$2(this,dependentKey)>=value;});}/**\n            A computed property that returns true if the provided dependent property is\n            less than the provided value.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { lt } from '@ember/object/computed';\n\n            class Hamster {\n              @lt('numBananas', 3) needsMoreBananas;\n            }\n\n            let hamster = new Hamster();\n\n            hamster.needsMoreBananas; // true\n\n            set(hamster, 'numBananas', 3);\n            hamster.needsMoreBananas; // false\n\n            set(hamster, 'numBananas', 2);\n            hamster.needsMoreBananas; // true\n            ```\n\n            @method lt\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @param {Number} value\n            @return {ComputedProperty} computed property which returns true if the\n            original value for property is less then given value.\n            @public\n          */function lt(dependentKey,value){return computed(dependentKey,function(){return get$2(this,dependentKey)<value;});}/**\n            A computed property that returns true if the provided dependent property is\n            less than or equal to the provided value.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { lte } from '@ember/object/computed';\n\n            class Hamster {\n              @lte('numBananas', 3) needsMoreBananas;\n            }\n\n            let hamster = new Hamster();\n\n            hamster.needsMoreBananas; // true\n\n            set(hamster, 'numBananas', 5);\n            hamster.needsMoreBananas; // false\n\n            set(hamster, 'numBananas', 3);\n            hamster.needsMoreBananas; // true\n            ```\n\n            @method lte\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @param {Number} value\n            @return {ComputedProperty} computed property which returns true if the\n            original value for property is less or equal than given value.\n            @public\n          */function lte(dependentKey,value){return computed(dependentKey,function(){return get$2(this,dependentKey)<=value;});}/**\n            A computed property that performs a logical `and` on the original values for\n            the provided dependent properties.\n\n            You may pass in more than two properties and even use property brace\n            expansion.  The computed property will return the first falsy value or last\n            truthy value just like JavaScript's `&&` operator.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { and } from '@ember/object/computed';\n\n            class Hamster {\n              @and('hasTent', 'hasBackpack') readyForCamp;\n              @and('hasWalkingStick', 'hasBackpack') readyForHike;\n            }\n\n            let tomster = new Hamster();\n\n            tomster.readyForCamp; // false\n\n            set(tomster, 'hasTent', true);\n            tomster.readyForCamp; // false\n\n            set(tomster, 'hasBackpack', true);\n            tomster.readyForCamp; // true\n\n            set(tomster, 'hasBackpack', 'Yes');\n            tomster.readyForCamp; // 'Yes'\n\n            set(tomster, 'hasWalkingStick', null);\n            tomster.readyForHike; // null\n            ```\n\n            @method and\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey*\n            @return {ComputedProperty} computed property which performs a logical `and` on\n            the values of all the original values for properties.\n            @public\n          */const and=generateComputedWithPredicate('and',value=>value);/**\n            A computed property which performs a logical `or` on the original values for\n            the provided dependent properties.\n\n            You may pass in more than two properties and even use property brace\n            expansion.  The computed property will return the first truthy value or last\n            falsy value just like JavaScript's `||` operator.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { or } from '@ember/object/computed';\n\n            class Hamster {\n              @or('hasJacket', 'hasUmbrella') readyForRain;\n              @or('hasSunscreen', 'hasUmbrella') readyForBeach;\n            }\n\n            let tomster = new Hamster();\n\n            tomster.readyForRain; // undefined\n\n            set(tomster, 'hasUmbrella', true);\n            tomster.readyForRain; // true\n\n            set(tomster, 'hasJacket', 'Yes');\n            tomster.readyForRain; // 'Yes'\n\n            set(tomster, 'hasSunscreen', 'Check');\n            tomster.readyForBeach; // 'Check'\n            ```\n\n            @method or\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey*\n            @return {ComputedProperty} computed property which performs a logical `or` on\n            the values of all the original values for properties.\n            @public\n          */const or=generateComputedWithPredicate('or',value=>!value);/**\n            Creates a new property that is an alias for another property on an object.\n            Calls to `get` or `set` this property behave as though they were called on the\n            original property.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { alias } from '@ember/object/computed';\n\n            class Person {\n              name = 'Alex Matchneer';\n\n              @alias('name') nomen;\n            }\n\n            let alex = new Person();\n\n            alex.nomen; // 'Alex Matchneer'\n            alex.name;  // 'Alex Matchneer'\n\n            set(alex, 'nomen', '@machty');\n            alex.name;  // '@machty'\n            ```\n\n            @method alias\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @return {ComputedProperty} computed property which creates an alias to the\n            original value for property.\n            @public\n          *//**\n            Where the `alias` computed macro aliases `get` and `set`, and allows for\n            bidirectional data flow, the `oneWay` computed macro only provides an aliased\n            `get`. The `set` will not mutate the upstream property, rather causes the\n            current property to become the value set. This causes the downstream property\n            to permanently diverge from the upstream property.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { oneWay }from '@ember/object/computed';\n\n            class User {\n              constructor(firstName, lastName) {\n                set(this, 'firstName', firstName);\n                set(this, 'lastName', lastName);\n              }\n\n              @oneWay('firstName') nickName;\n            }\n\n            let teddy = new User('Teddy', 'Zeenny');\n\n            teddy.nickName; // 'Teddy'\n\n            set(teddy, 'nickName', 'TeddyBear');\n            teddy.firstName; // 'Teddy'\n            teddy.nickName; // 'TeddyBear'\n            ```\n\n            @method oneWay\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @return {ComputedProperty} computed property which creates a one way computed\n            property to the original value for property.\n            @public\n          */function oneWay(dependentKey){return alias(dependentKey).oneWay();}/**\n            This is a more semantically meaningful alias of the `oneWay` computed macro,\n            whose name is somewhat ambiguous as to which direction the data flows.\n\n            @method reads\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @return {ComputedProperty} computed property which creates a one way computed\n              property to the original value for property.\n            @public\n           *//**\n            Where `oneWay` computed macro provides oneWay bindings, the `readOnly`\n            computed macro provides a readOnly one way binding. Very often when using\n            the `oneWay` macro one does not also want changes to propagate back up, as\n            they will replace the value.\n\n            This prevents the reverse flow, and also throws an exception when it occurs.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { readOnly } from '@ember/object/computed';\n\n            class User {\n              constructor(firstName, lastName) {\n                set(this, 'firstName', firstName);\n                set(this, 'lastName', lastName);\n              }\n\n              @readOnly('firstName') nickName;\n            });\n\n            let teddy = new User('Teddy', 'Zeenny');\n\n            teddy.nickName; // 'Teddy'\n\n            set(teddy, 'nickName', 'TeddyBear'); // throws Exception\n            // throw new EmberError('Cannot Set: nickName on: <User:ember27288>' );`\n\n            teddy.firstName; // 'Teddy'\n            ```\n\n            @method readOnly\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @return {ComputedProperty} computed property which creates a one way computed\n            property to the original value for property.\n            @since 1.5.0\n            @public\n          */function readOnly(dependentKey){return alias(dependentKey).readOnly();}/**\n            Creates a new property that is an alias for another property on an object.\n            Calls to `get` or `set` this property behave as though they were called on the\n            original property, but also print a deprecation warning.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { deprecatingAlias } from '@ember/object/computed';\n\n            class Hamster {\n              @deprecatingAlias('cavendishCount', {\n                id: 'hamster.deprecate-banana',\n                until: '3.0.0'\n              })\n              bananaCount;\n            }\n\n            let hamster = new Hamster();\n\n            set(hamster, 'bananaCount', 5); // Prints a deprecation warning.\n            hamster.cavendishCount; // 5\n            ```\n\n            @method deprecatingAlias\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @param {Object} options Options for `deprecate`.\n            @return {ComputedProperty} computed property which creates an alias with a\n            deprecation to the original value for property.\n            @since 1.7.0\n            @public\n          */function deprecatingAlias(dependentKey,options){return computed(dependentKey,{get(key){return get$2(this,dependentKey);},set(key,value){set(this,dependentKey,value);return value;}});}const emberObjectLibComputedComputedMacros=/*#__PURE__*/Object.defineProperty({__proto__:null,and,bool,deprecatingAlias,empty,equal,gt,gte,lt,lte,match,none,not,notEmpty,oneWay,or,readOnly},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/object\n          */function isNativeOrEmberArray(obj){return Array.isArray(obj)||EmberArray.detect(obj);}function reduceMacro(dependentKey,callback,initialValue,name){return computed(`${dependentKey}.[]`,function(){let arr=get$2(this,dependentKey);if(arr===null||typeof arr!=='object'){return initialValue;}return arr.reduce(callback,initialValue,this);}).readOnly();}function arrayMacro(dependentKey,additionalDependentKeys,callback){// This is a bit ugly\nlet propertyName;if(/@each/.test(dependentKey)){propertyName=dependentKey.replace(/\\.@each.*$/,'');}else{propertyName=dependentKey;dependentKey+='.[]';}return computed(dependentKey,...additionalDependentKeys,function(){let value=get$2(this,propertyName);if(isNativeOrEmberArray(value)){return A(callback.call(this,value));}else{return A();}}).readOnly();}function multiArrayMacro(_dependentKeys,callback,name){let dependentKeys=_dependentKeys.map(key=>`${key}.[]`);return computed(...dependentKeys,function(){return A(callback.call(this,_dependentKeys));}).readOnly();}/**\n            A computed property that returns the sum of the values in the dependent array.\n\n            Example:\n\n            ```javascript\n            import { sum } from '@ember/object/computed';\n\n            class Invoice {\n              lineItems = [1.00, 2.50, 9.99];\n\n              @sum('lineItems') total;\n            }\n\n            let invoice = new Invoice();\n\n            invoice.total; // 13.49\n            ```\n\n            @method sum\n            @for @ember/object/computed\n            @static\n            @param {String} dependentKey\n            @return {ComputedProperty} computes the sum of all values in the\n            dependentKey's array\n            @since 1.4.0\n            @public\n          */function sum(dependentKey){return reduceMacro(dependentKey,(sum,item)=>sum+item,0);}/**\n            A computed property that calculates the maximum value in the dependent array.\n            This will return `-Infinity` when the dependent array is empty.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { mapBy, max } from '@ember/object/computed';\n\n            class Person {\n              children = [];\n\n              @mapBy('children', 'age') childAges;\n              @max('childAges') maxChildAge;\n            }\n\n            let lordByron = new Person();\n\n            lordByron.maxChildAge; // -Infinity\n\n            set(lordByron, 'children', [\n              {\n                name: 'Augusta Ada Byron',\n                age: 7\n              }\n            ]);\n            lordByron.maxChildAge; // 7\n\n            set(lordByron, 'children', [\n              ...lordByron.children,\n              {\n                name: 'Allegra Byron',\n                age: 5\n              }, {\n                name: 'Elizabeth Medora Leigh',\n                age: 8\n              }\n            ]);\n            lordByron.maxChildAge; // 8\n            ```\n\n            If the types of the arguments are not numbers, they will be converted to\n            numbers and the type of the return value will always be `Number`. For example,\n            the max of a list of Date objects will be the highest timestamp as a `Number`.\n            This behavior is consistent with `Math.max`.\n\n            @method max\n            @for @ember/object/computed\n            @static\n            @param {String} dependentKey\n            @return {ComputedProperty} computes the largest value in the dependentKey's\n            array\n            @public\n          */function max(dependentKey){return reduceMacro(dependentKey,(max,item)=>Math.max(max,item),-Infinity);}/**\n            A computed property that calculates the minimum value in the dependent array.\n            This will return `Infinity` when the dependent array is empty.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { mapBy, min } from '@ember/object/computed';\n\n            class Person {\n              children = [];\n\n              @mapBy('children', 'age') childAges;\n              @min('childAges') minChildAge;\n            }\n\n            let lordByron = Person.create({ children: [] });\n\n            lordByron.minChildAge; // Infinity\n\n            set(lordByron, 'children', [\n              {\n                name: 'Augusta Ada Byron',\n                age: 7\n              }\n            ]);\n            lordByron.minChildAge; // 7\n\n            set(lordByron, 'children', [\n              ...lordByron.children,\n              {\n                name: 'Allegra Byron',\n                age: 5\n              }, {\n                name: 'Elizabeth Medora Leigh',\n                age: 8\n              }\n            ]);\n            lordByron.minChildAge; // 5\n            ```\n\n            If the types of the arguments are not numbers, they will be converted to\n            numbers and the type of the return value will always be `Number`. For example,\n            the min of a list of Date objects will be the lowest timestamp as a `Number`.\n            This behavior is consistent with `Math.min`.\n\n            @method min\n            @for @ember/object/computed\n            @static\n            @param {String} dependentKey\n            @return {ComputedProperty} computes the smallest value in the dependentKey's array\n            @public\n          */function min(dependentKey){return reduceMacro(dependentKey,(min,item)=>Math.min(min,item),Infinity);}/**\n            Returns an array mapped via the callback\n\n            The callback method you provide should have the following signature:\n            - `item` is the current item in the iteration.\n            - `index` is the integer index of the current item in the iteration.\n\n            ```javascript\n            function mapCallback(item, index);\n            ```\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { map } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(chores) {\n                set(this, 'chores', chores);\n              }\n\n              @map('chores', function(chore, index) {\n                return `${chore.toUpperCase()}!`;\n              })\n              excitingChores;\n            });\n\n            let hamster = new Hamster(['clean', 'write more unit tests']);\n\n            hamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n            ```\n\n            You can optionally pass an array of additional dependent keys as the second\n            parameter to the macro, if your map function relies on any external values:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { map } from '@ember/object/computed';\n\n            class Hamster {\n              shouldUpperCase = false;\n\n              constructor(chores) {\n                set(this, 'chores', chores);\n              }\n\n              @map('chores', ['shouldUpperCase'], function(chore, index) {\n                if (this.shouldUpperCase) {\n                  return `${chore.toUpperCase()}!`;\n                } else {\n                  return `${chore}!`;\n                }\n              })\n              excitingChores;\n            }\n\n            let hamster = new Hamster(['clean', 'write more unit tests']);\n\n            hamster.excitingChores; // ['clean!', 'write more unit tests!']\n\n            set(hamster, 'shouldUpperCase', true);\n            hamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n            ```\n\n            @method map\n            @for @ember/object/computed\n            @static\n            @param {String} dependentKey\n            @param {Array} [additionalDependentKeys] optional array of additional\n            dependent keys\n            @param {Function} callback\n            @return {ComputedProperty} an array mapped via the callback\n            @public\n          */function map(dependentKey,additionalDependentKeysOrCallback,callback){let additionalDependentKeys;if(typeof additionalDependentKeysOrCallback==='function'){callback=additionalDependentKeysOrCallback;additionalDependentKeys=[];}else{additionalDependentKeys=additionalDependentKeysOrCallback;}const cCallback=callback;return arrayMacro(dependentKey,additionalDependentKeys,function(value){// This is so dumb...\nreturn Array.isArray(value)?value.map(cCallback,this):value.map(cCallback,this);});}/**\n            Returns an array mapped to the specified key.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { mapBy } from '@ember/object/computed';\n\n            class Person {\n              children = [];\n\n              @mapBy('children', 'age') childAges;\n            }\n\n            let lordByron = new Person();\n\n            lordByron.childAges; // []\n\n            set(lordByron, 'children', [\n              {\n                name: 'Augusta Ada Byron',\n                age: 7\n              }\n            ]);\n            lordByron.childAges; // [7]\n\n            set(lordByron, 'children', [\n              ...lordByron.children,\n              {\n                name: 'Allegra Byron',\n                age: 5\n              }, {\n                name: 'Elizabeth Medora Leigh',\n                age: 8\n              }\n            ]);\n            lordByron.childAges; // [7, 5, 8]\n            ```\n\n            @method mapBy\n            @for @ember/object/computed\n            @static\n            @param {String} dependentKey\n            @param {String} propertyKey\n            @return {ComputedProperty} an array mapped to the specified key\n            @public\n          */function mapBy(dependentKey,propertyKey){return map(`${dependentKey}.@each.${propertyKey}`,item=>get$2(item,propertyKey));}/**\n            Filters the array by the callback, like the `Array.prototype.filter` method.\n\n            The callback method you provide should have the following signature:\n            - `item` is the current item in the iteration.\n            - `index` is the integer index of the current item in the iteration.\n            - `array` is the dependant array itself.\n\n            ```javascript\n            function filterCallback(item, index, array);\n            ```\n\n            In the callback, return a truthy value that coerces to true to keep the\n            element, or a falsy to reject it.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { filter } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(chores) {\n                set(this, 'chores', chores);\n              }\n\n              @filter('chores', function(chore, index, array) {\n                return !chore.done;\n              })\n              remainingChores;\n            }\n\n            let hamster = Hamster.create([\n              { name: 'cook', done: true },\n              { name: 'clean', done: true },\n              { name: 'write more unit tests', done: false }\n            ]);\n\n            hamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n            ```\n\n            You can also use `@each.property` in your dependent key, the callback will\n            still use the underlying array:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { filter } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(chores) {\n                set(this, 'chores', chores);\n              }\n\n              @filter('chores.@each.done', function(chore, index, array) {\n                return !chore.done;\n              })\n              remainingChores;\n            }\n\n            let hamster = new Hamster([\n              { name: 'cook', done: true },\n              { name: 'clean', done: true },\n              { name: 'write more unit tests', done: false }\n            ]);\n            hamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n\n            set(hamster.chores[2], 'done', true);\n            hamster.remainingChores; // []\n            ```\n\n            Finally, you can optionally pass an array of additional dependent keys as the\n            second parameter to the macro, if your filter function relies on any external\n            values:\n\n            ```javascript\n            import { filter } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(chores) {\n                set(this, 'chores', chores);\n              }\n\n              doneKey = 'finished';\n\n              @filter('chores', ['doneKey'], function(chore, index, array) {\n                return !chore[this.doneKey];\n              })\n              remainingChores;\n            }\n\n            let hamster = new Hamster([\n              { name: 'cook', finished: true },\n              { name: 'clean', finished: true },\n              { name: 'write more unit tests', finished: false }\n            ]);\n\n            hamster.remainingChores; // [{name: 'write more unit tests', finished: false}]\n            ```\n\n            @method filter\n            @for @ember/object/computed\n            @static\n            @param {String} dependentKey\n            @param {Array} [additionalDependentKeys] optional array of additional dependent keys\n            @param {Function} callback\n            @return {ComputedProperty} the filtered array\n            @public\n          */function filter(dependentKey,additionalDependentKeysOrCallback,callback){let additionalDependentKeys;if(typeof additionalDependentKeysOrCallback==='function'){callback=additionalDependentKeysOrCallback;additionalDependentKeys=[];}else{additionalDependentKeys=additionalDependentKeysOrCallback;}const cCallback=callback;return arrayMacro(dependentKey,additionalDependentKeys,function(value){// This is a really silly way to keep TS happy\nreturn Array.isArray(value)?value.filter(cCallback,this):value.filter(cCallback,this);});}/**\n            Filters the array by the property and value.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { filterBy } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(chores) {\n                set(this, 'chores', chores);\n              }\n\n              @filterBy('chores', 'done', false) remainingChores;\n            }\n\n            let hamster = new Hamster([\n              { name: 'cook', done: true },\n              { name: 'clean', done: true },\n              { name: 'write more unit tests', done: false }\n            ]);\n\n            hamster.remainingChores; // [{ name: 'write more unit tests', done: false }]\n            ```\n\n            @method filterBy\n            @for @ember/object/computed\n            @static\n            @param {String} dependentKey\n            @param {String} propertyKey\n            @param {*} value\n            @return {ComputedProperty} the filtered array\n            @public\n          */function filterBy(dependentKey,propertyKey,value){let callback;if(arguments.length===2){callback=item=>get$2(item,propertyKey);}else{callback=item=>get$2(item,propertyKey)===value;}return filter(`${dependentKey}.@each.${propertyKey}`,callback);}/**\n            A computed property which returns a new array with all the unique elements\n            from one or more dependent arrays.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { uniq } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(fruits) {\n                set(this, 'fruits', fruits);\n              }\n\n              @uniq('fruits') uniqueFruits;\n            }\n\n            let hamster = new Hamster([\n              'banana',\n              'grape',\n              'kale',\n              'banana'\n            ]);\n\n            hamster.uniqueFruits; // ['banana', 'grape', 'kale']\n            ```\n\n            @method uniq\n            @for @ember/object/computed\n            @static\n            @param {String} propertyKey*\n            @return {ComputedProperty} computes a new array with all the\n            unique elements from the dependent array\n            @public\n          */function uniq(dependentKey){for(var _len53=arguments.length,additionalDependentKeys=new Array(_len53>1?_len53-1:0),_key54=1;_key54<_len53;_key54++){additionalDependentKeys[_key54-1]=arguments[_key54];}let args=[dependentKey,...additionalDependentKeys];return multiArrayMacro(args,function(dependentKeys){let uniq=A();let seen=new Set();dependentKeys.forEach(dependentKey=>{let value=get$2(this,dependentKey);if(isNativeOrEmberArray(value)){value.forEach(item=>{if(!seen.has(item)){seen.add(item);uniq.push(item);}});}});return uniq;});}/**\n            A computed property which returns a new array with all the unique elements\n            from an array, with uniqueness determined by specific key.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { uniqBy } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(fruits) {\n                set(this, 'fruits', fruits);\n              }\n\n              @uniqBy('fruits', 'id') uniqueFruits;\n            }\n\n            let hamster = new Hamster([\n              { id: 1, 'banana' },\n              { id: 2, 'grape' },\n              { id: 3, 'peach' },\n              { id: 1, 'banana' }\n            ]);\n\n            hamster.uniqueFruits; // [ { id: 1, 'banana' }, { id: 2, 'grape' }, { id: 3, 'peach' }]\n            ```\n\n            @method uniqBy\n            @for @ember/object/computed\n            @static\n            @param {String} dependentKey\n            @param {String} propertyKey\n            @return {ComputedProperty} computes a new array with all the\n            unique elements from the dependent array\n            @public\n          */function uniqBy(dependentKey,propertyKey){return computed(`${dependentKey}.[]`,function(){let list=get$2(this,dependentKey);return isNativeOrEmberArray(list)?uniqBy$1(list,propertyKey):A();}).readOnly();}/**\n            A computed property which returns a new array with all the unique elements\n            from one or more dependent arrays.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { union } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(fruits, vegetables) {\n                set(this, 'fruits', fruits);\n                set(this, 'vegetables', vegetables);\n              }\n\n              @union('fruits', 'vegetables') uniqueFruits;\n            });\n\n            let hamster = new, Hamster(\n              [\n                'banana',\n                'grape',\n                'kale',\n                'banana',\n                'tomato'\n              ],\n              [\n                'tomato',\n                'carrot',\n                'lettuce'\n              ]\n            );\n\n            hamster.uniqueFruits; // ['banana', 'grape', 'kale', 'tomato', 'carrot', 'lettuce']\n            ```\n\n            @method union\n            @for @ember/object/computed\n            @static\n            @param {String} propertyKey*\n            @return {ComputedProperty} computes a new array with all the unique elements\n            from one or more dependent arrays.\n            @public\n          */let union=uniq;/**\n            A computed property which returns a new array with all the elements\n            two or more dependent arrays have in common.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { intersect } from '@ember/object/computed';\n\n            class FriendGroups {\n              constructor(adaFriends, charlesFriends) {\n                set(this, 'adaFriends', adaFriends);\n                set(this, 'charlesFriends', charlesFriends);\n              }\n\n              @intersect('adaFriends', 'charlesFriends') friendsInCommon;\n            }\n\n            let groups = new FriendGroups(\n              ['Charles Babbage', 'John Hobhouse', 'William King', 'Mary Somerville'],\n              ['William King', 'Mary Somerville', 'Ada Lovelace', 'George Peacock']\n            );\n\n            groups.friendsInCommon; // ['William King', 'Mary Somerville']\n            ```\n\n            @method intersect\n            @for @ember/object/computed\n            @static\n            @param {String} propertyKey*\n            @return {ComputedProperty} computes a new array with all the duplicated\n            elements from the dependent arrays\n            @public\n          */function intersect(dependentKey){for(var _len54=arguments.length,additionalDependentKeys=new Array(_len54>1?_len54-1:0),_key55=1;_key55<_len54;_key55++){additionalDependentKeys[_key55-1]=arguments[_key55];}let args=[dependentKey,...additionalDependentKeys];return multiArrayMacro(args,function(dependentKeys){let arrays=dependentKeys.map(dependentKey=>{let array=get$2(this,dependentKey);return Array.isArray(array)?array:[];});let firstArray=arrays.pop();let results=firstArray.filter(candidate=>{for(let array of arrays){let found=false;for(let item of array){if(item===candidate){found=true;break;}}if(found===false){return false;}}return true;});return A(results);});}/**\n            A computed property which returns a new array with all the properties from the\n            first dependent array that are not in the second dependent array.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { setDiff } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(likes, fruits) {\n                set(this, 'likes', likes);\n                set(this, 'fruits', fruits);\n              }\n\n              @setDiff('likes', 'fruits') wants;\n            }\n\n            let hamster = new Hamster(\n              [\n                'banana',\n                'grape',\n                'kale'\n              ],\n              [\n                'grape',\n                'kale',\n              ]\n            );\n\n            hamster.wants; // ['banana']\n            ```\n\n            @method setDiff\n            @for @ember/object/computed\n            @static\n            @param {String} setAProperty\n            @param {String} setBProperty\n            @return {ComputedProperty} computes a new array with all the items from the\n            first dependent array that are not in the second dependent array\n            @public\n          */function setDiff(setAProperty,setBProperty){return computed(`${setAProperty}.[]`,`${setBProperty}.[]`,function(){let setA=get$2(this,setAProperty);let setB=get$2(this,setBProperty);if(!isNativeOrEmberArray(setA)){return A();}if(!isNativeOrEmberArray(setB)){return setA;}return setA.filter(x=>setB.indexOf(x)===-1);}).readOnly();}/**\n            A computed property that returns the array of values for the provided\n            dependent properties.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { collect } from '@ember/object/computed';\n\n            class Hamster {\n              @collect('hat', 'shirt') clothes;\n            }\n\n            let hamster = new Hamster();\n\n            hamster.clothes; // [null, null]\n\n            set(hamster, 'hat', 'Camp Hat');\n            set(hamster, 'shirt', 'Camp Shirt');\n            hamster.clothes; // ['Camp Hat', 'Camp Shirt']\n            ```\n\n            @method collect\n            @for @ember/object/computed\n            @static\n            @param {String} dependentKey*\n            @return {ComputedProperty} computed property which maps values of all passed\n            in properties to an array.\n            @public\n          */function collect(dependentKey){for(var _len55=arguments.length,additionalDependentKeys=new Array(_len55>1?_len55-1:0),_key56=1;_key56<_len55;_key56++){additionalDependentKeys[_key56-1]=arguments[_key56];}let dependentKeys=[dependentKey,...additionalDependentKeys];return multiArrayMacro(dependentKeys,function(){let res=dependentKeys.map(key=>{let val=get$2(this,key);return val===undefined?null:val;});return A(res);});}// (UN)SAFETY: we use `any` here to match how TS defines the sorting for arrays.\n// Additionally, since we're using it with *decorators*, we don't have any way\n// to plumb through the relationship between the types in a way that would be\n// variance-safe.\n/**\n            A computed property which returns a new array with all the properties from the\n            first dependent array sorted based on a property or sort function. The sort\n            macro can be used in two different ways:\n\n            1. By providing a sort callback function\n            2. By providing an array of keys to sort the array\n\n            In the first form, the callback method you provide should have the following\n            signature:\n\n            ```javascript\n            function sortCallback(itemA, itemB);\n            ```\n\n            - `itemA` the first item to compare.\n            - `itemB` the second item to compare.\n\n            This function should return negative number (e.g. `-1`) when `itemA` should\n            come before `itemB`. It should return positive number (e.g. `1`) when `itemA`\n            should come after `itemB`. If the `itemA` and `itemB` are equal this function\n            should return `0`.\n\n            Therefore, if this function is comparing some numeric values, simple `itemA -\n            itemB` or `itemA.get( 'foo' ) - itemB.get( 'foo' )` can be used instead of\n            series of `if`.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { sort } from '@ember/object/computed';\n\n            class ToDoList {\n              constructor(todos) {\n                set(this, 'todos', todos);\n              }\n\n              // using a custom sort function\n              @sort('todos', function(a, b){\n                if (a.priority > b.priority) {\n                  return 1;\n                } else if (a.priority < b.priority) {\n                  return -1;\n                }\n\n                return 0;\n              })\n              priorityTodos;\n            }\n\n            let todoList = new ToDoList([\n              { name: 'Unit Test', priority: 2 },\n              { name: 'Documentation', priority: 3 },\n              { name: 'Release', priority: 1 }\n            ]);\n\n            todoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n            ```\n\n            You can also optionally pass an array of additional dependent keys as the\n            second parameter, if your sort function is dependent on additional values that\n            could changes:\n\n            ```js\n            import EmberObject, { set } from '@ember/object';\n            import { sort } from '@ember/object/computed';\n\n            class ToDoList {\n              sortKey = 'priority';\n\n              constructor(todos) {\n                set(this, 'todos', todos);\n              }\n\n              // using a custom sort function\n              @sort('todos', ['sortKey'], function(a, b){\n                if (a[this.sortKey] > b[this.sortKey]) {\n                  return 1;\n                } else if (a[this.sortKey] < b[this.sortKey]) {\n                  return -1;\n                }\n\n                return 0;\n              })\n              sortedTodos;\n            });\n\n            let todoList = new ToDoList([\n              { name: 'Unit Test', priority: 2 },\n              { name: 'Documentation', priority: 3 },\n              { name: 'Release', priority: 1 }\n            ]);\n\n            todoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n            ```\n\n            In the second form, you should provide the key of the array of sort values as\n            the second parameter:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { sort } from '@ember/object/computed';\n\n            class ToDoList {\n              constructor(todos) {\n                set(this, 'todos', todos);\n              }\n\n              // using standard ascending sort\n              todosSorting = ['name'];\n              @sort('todos', 'todosSorting') sortedTodos;\n\n              // using descending sort\n              todosSortingDesc = ['name:desc'];\n              @sort('todos', 'todosSortingDesc') sortedTodosDesc;\n            }\n\n            let todoList = new ToDoList([\n              { name: 'Unit Test', priority: 2 },\n              { name: 'Documentation', priority: 3 },\n              { name: 'Release', priority: 1 }\n            ]);\n\n            todoList.sortedTodos; // [{ name:'Documentation', priority:3 }, { name:'Release', priority:1 }, { name:'Unit Test', priority:2 }]\n            todoList.sortedTodosDesc; // [{ name:'Unit Test', priority:2 }, { name:'Release', priority:1 }, { name:'Documentation', priority:3 }]\n            ```\n\n            @method sort\n            @for @ember/object/computed\n            @static\n            @param {String} itemsKey\n            @param {String|Function|Array} sortDefinitionOrDependentKeys The key of the sort definition (an array of sort properties),\n            the sort function, or an array of additional dependent keys\n            @param {Function?} sortDefinition the sort function (when used with additional dependent keys)\n            @return {ComputedProperty} computes a new sorted array based on the sort\n            property array or callback function\n            @public\n          */function sort(itemsKey,additionalDependentKeysOrDefinition,sortDefinition){let additionalDependentKeys;let sortDefinitionOrString;if(Array.isArray(additionalDependentKeysOrDefinition)){additionalDependentKeys=additionalDependentKeysOrDefinition;sortDefinitionOrString=sortDefinition;}else{additionalDependentKeys=[];sortDefinitionOrString=additionalDependentKeysOrDefinition;}if(typeof sortDefinitionOrString==='function'){return customSort(itemsKey,additionalDependentKeys,sortDefinitionOrString);}else{return propertySort(itemsKey,sortDefinitionOrString);}}function customSort(itemsKey,additionalDependentKeys,comparator){return arrayMacro(itemsKey,additionalDependentKeys,function(value){return value.slice().sort((x,y)=>comparator.call(this,x,y));});}// This one needs to dynamically set up and tear down observers on the itemsKey\n// depending on the sortProperties\nfunction propertySort(itemsKey,sortPropertiesKey){let cp=autoComputed(function(key){let sortProperties=get$2(this,sortPropertiesKey);let itemsKeyIsAtThis=itemsKey==='@this';let normalizedSortProperties=normalizeSortProperties(sortProperties);let items=itemsKeyIsAtThis?this:get$2(this,itemsKey);if(!isNativeOrEmberArray(items)){return A();}if(normalizedSortProperties.length===0){return A(items.slice());}else{return sortByNormalizedSortProperties(items,normalizedSortProperties);}}).readOnly();return cp;}function normalizeSortProperties(sortProperties){let callback=p=>{let[prop,direction]=p.split(':');direction=direction||'asc';// SAFETY: There will always be at least one value returned by split\nreturn[prop,direction];};// This nonsense is necessary since technically the two map implementations diverge.\nreturn Array.isArray(sortProperties)?sortProperties.map(callback):sortProperties.map(callback);}function sortByNormalizedSortProperties(items,normalizedSortProperties){return A(items.slice().sort((itemA,itemB)=>{for(let[prop,direction]of normalizedSortProperties){let result=compare(get$2(itemA,prop),get$2(itemB,prop));if(result!==0){return direction==='desc'?-1*result:result;}}return 0;}));}const emberObjectLibComputedReduceComputedMacros=/*#__PURE__*/Object.defineProperty({__proto__:null,collect,filter,filterBy,intersect,map,mapBy,max,min,setDiff,sort,sum,union,uniq,uniqBy},Symbol.toStringTag,{value:'Module'});const emberObjectComputed=/*#__PURE__*/Object.defineProperty({__proto__:null,alias,and,bool,collect,default:ComputedProperty,deprecatingAlias,empty,equal,expandProperties,filter,filterBy,gt,gte,intersect,lt,lte,map,mapBy,match,max,min,none,not,notEmpty,oneWay,or,readOnly,reads:oneWay,setDiff,sort,sum,union,uniq,uniqBy},Symbol.toStringTag,{value:'Module'});/**\n            Ember’s dependency injection system is built on the idea of an \"owner\": an\n            object responsible for managing items which can be registered and looked up\n            with the system.\n\n            This module does not provide any concrete instances of owners. Instead, it\n            defines the core type, `Owner`, which specifies the public API contract for an\n            owner. The primary concrete implementations of `Owner` are `EngineInstance`,\n            from `@ember/engine/instance`, and its `ApplicationInstance` subclass, from\n            `@ember/application/instance`.\n\n            Along with `Owner` itself, this module provides a number of supporting types\n            related to Ember's DI system:\n\n            - `Factory`, Ember's primary interface for something which can create class\n              instances registered with the DI system.\n\n            - `FactoryManager`, an interface for inspecting a `Factory`'s class.\n\n            - `Resolver`, an interface defining the contract for the object responsible\n              for mapping string names to the corresponding classes. For example, when you\n              write `@service('session')`, a resolver is responsible to map that back to\n              the `Session` service class in your codebase. Normally, this is handled for\n              you automatically with `ember-resolver`, which is the main implementor of\n              this interface.\n\n            For more details on each, see their per-item docs.\n\n            @module @ember/owner\n            @public\n          */// NOTE: this documentation appears here instead of at the definition site so\n// it can appear correctly in both API docs and for TS, while providing a richer\n// internal representation for Ember's own usage.\n/**\n            Framework objects in an Ember application (components, services, routes, etc.)\n            are created via a factory and dependency injection system. Each of these\n            objects is the responsibility of an \"owner\", which handled its\n            instantiation and manages its lifetime.\n\n            `getOwner` fetches the owner object responsible for an instance. This can\n            be used to lookup or resolve other class instances, or register new factories\n            into the owner.\n\n            For example, this component dynamically looks up a service based on the\n            `audioType` passed as an argument:\n\n            ```app/components/play-audio.js\n            import Component from '@glimmer/component';\n            import { action } from '@ember/object';\n            import { getOwner } from '@ember/owner';\n\n            // Usage:\n            //\n            //   <PlayAudio @audioType={{@model.audioType}} @audioFile={{@model.file}}/>\n            //\n            export default class extends Component {\n              get audioService() {\n                return getOwner(this)?.lookup(`service:${this.args.audioType}`);\n              }\n\n              @action\n              onPlay() {\n                this.audioService?.play(this.args.audioFile);\n              }\n            }\n            ```\n\n            @method getOwner\n            @static\n            @for @ember/owner\n            @param {Object} object An object with an owner.\n            @return {Object} An owner object.\n            @since 2.3.0\n            @public\n          */// SAFETY: the cast here is necessary, instead of using an assignment, because\n// TS (not incorrectly! Nothing expressly relates them) does not see that the\n// `InternalOwner` and `Owner` do actually have identical constraints on their\n// relations to the `DIRegistry`.\nconst getOwner$1=getOwner$2;const emberOwnerIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,getOwner:getOwner$1,setOwner:setOwner$1},Symbol.toStringTag,{value:'Module'});/**\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          */class BucketCache{constructor(){_defineProperty(this,\"cache\",void 0);this.cache=new Map();}has(bucketKey){return this.cache.has(bucketKey);}stash(bucketKey,key,value){let bucket=this.cache.get(bucketKey);if(bucket===undefined){bucket=new Map();this.cache.set(bucketKey,bucket);}bucket.set(key,value);}lookup(bucketKey,prop,defaultValue){if(!this.has(bucketKey)){return defaultValue;}let bucket=this.cache.get(bucketKey);if(bucket.has(prop)){return bucket.get(prop);}else{return defaultValue;}}}const emberRoutingLibCache=/*#__PURE__*/Object.defineProperty({__proto__:null,default:BucketCache},Symbol.toStringTag,{value:'Module'});let uuid=0;function isCallback(value){return typeof value==='function';}class DSLImpl{constructor(){let name=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;let options=arguments.length>1?arguments[1]:undefined;_defineProperty(this,\"parent\",void 0);_defineProperty(this,\"matches\",void 0);_defineProperty(this,\"enableLoadingSubstates\",void 0);_defineProperty(this,\"explicitIndex\",false);_defineProperty(this,\"options\",void 0);this.parent=name;this.enableLoadingSubstates=Boolean(options&&options.enableLoadingSubstates);this.matches=[];this.options=options;}route(name,_options,_callback){let options;let callback=null;let dummyErrorRoute=`/_unused_dummy_error_path_route_${name}/:error`;if(isCallback(_options)){options={};callback=_options;}else if(isCallback(_callback)){options=_options;callback=_callback;}else{options=_options||{};}if(this.enableLoadingSubstates){createRoute(this,`${name}_loading`,{resetNamespace:options.resetNamespace});createRoute(this,`${name}_error`,{resetNamespace:options.resetNamespace,path:dummyErrorRoute});}if(callback){let fullName=getFullName(this,name,options.resetNamespace);let dsl=new DSLImpl(fullName,this.options);createRoute(dsl,'loading');createRoute(dsl,'error',{path:dummyErrorRoute});callback.call(dsl);createRoute(this,name,options,dsl.generate());}else{createRoute(this,name,options);}}push(url,name,callback,serialize){let parts=name.split('.');if(this.options.engineInfo){let localFullName=name.slice(this.options.engineInfo.fullName.length+1);let routeInfo=Object.assign({localFullName},this.options.engineInfo);if(serialize){routeInfo.serializeMethod=serialize;}this.options.addRouteForEngine(name,routeInfo);}else if(serialize){throw new Error(`Defining a route serializer on route '${name}' outside an Engine is not allowed.`);}if(url===''||url==='/'||parts[parts.length-1]==='index'){this.explicitIndex=true;}this.matches.push(url,name,callback);}generate(){let dslMatches=this.matches;if(!this.explicitIndex){this.route('index',{path:'/'});}return match=>{for(let i=0;i<dslMatches.length;i+=3){match(dslMatches[i]).to(dslMatches[i+1],dslMatches[i+2]);}};}mount(_name){let options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let engineRouteMap=this.options.resolveRouteMap(_name);let name=_name;if(options.as){name=options.as;}let fullName=getFullName(this,name,options.resetNamespace);let engineInfo={name:_name,instanceId:uuid++,mountPoint:fullName,fullName};let path=options.path;if(typeof path!=='string'){path=`/${name}`;}let callback;let dummyErrorRoute=`/_unused_dummy_error_path_route_${name}/:error`;if(engineRouteMap){let shouldResetEngineInfo=false;let oldEngineInfo=this.options.engineInfo;if(oldEngineInfo){shouldResetEngineInfo=true;this.options.engineInfo=engineInfo;}let optionsForChild=Object.assign({engineInfo},this.options);let childDSL=new DSLImpl(fullName,optionsForChild);createRoute(childDSL,'loading');createRoute(childDSL,'error',{path:dummyErrorRoute});engineRouteMap.class.call(childDSL);callback=childDSL.generate();if(shouldResetEngineInfo){this.options.engineInfo=oldEngineInfo;}}let localFullName='application';let routeInfo=Object.assign({localFullName},engineInfo);if(this.enableLoadingSubstates){// These values are important to register the loading routes under their\n// proper names for the Router and within the Engine's registry.\nlet substateName=`${name}_loading`;let localFullName=`application_loading`;let routeInfo=Object.assign({localFullName},engineInfo);createRoute(this,substateName,{resetNamespace:options.resetNamespace});this.options.addRouteForEngine(substateName,routeInfo);substateName=`${name}_error`;localFullName=`application_error`;routeInfo=Object.assign({localFullName},engineInfo);createRoute(this,substateName,{resetNamespace:options.resetNamespace,path:dummyErrorRoute});this.options.addRouteForEngine(substateName,routeInfo);}this.options.addRouteForEngine(fullName,routeInfo);this.push(path,fullName,callback);}}function canNest(dsl){return dsl.parent!=='application';}function getFullName(dsl,name,resetNamespace){if(canNest(dsl)&&resetNamespace!==true){return`${dsl.parent}.${name}`;}else{return name;}}function createRoute(dsl,name){let options=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};let callback=arguments.length>3?arguments[3]:undefined;let fullName=getFullName(dsl,name,options.resetNamespace);if(typeof options.path!=='string'){options.path=`/${name}`;}dsl.push(options.path,fullName,callback,options.serialize);}const emberRoutingLibDsl=/*#__PURE__*/Object.defineProperty({__proto__:null,default:DSLImpl},Symbol.toStringTag,{value:'Module'});const MODEL=symbol('MODEL');/**\n          @module @ember/controller\n          *//**\n            @class ControllerMixin\n            @namespace Ember\n            @uses Ember.ActionHandler\n            @private\n          */const ControllerMixin=Mixin.create(ActionHandler,{/* ducktype as a controller */isController:true,concatenatedProperties:['queryParams'],target:null,store:null,init(){this._super(...arguments);let owner=getOwner$2(this);if(owner){this.namespace=owner.lookup('application:main');this.target=owner.lookup('router:main');}},model:computed({get(){return this[MODEL];},set(_key,value){return this[MODEL]=value;}}),queryParams:null,/**\n             This property is updated to various different callback functions depending on\n             the current \"state\" of the backing route. It is used by\n             `Controller.prototype._qpChanged`.\n              The methods backing each state can be found in the `Route.prototype._qp` computed\n             property return value (the `.states` property). The current values are listed here for\n             the sanity of future travelers:\n              * `inactive` - This state is used when this controller instance is not part of the active\n               route hierarchy. Set in `Route.prototype._reset` (a `router.js` microlib hook) and\n               `Route.prototype.actions.finalizeQueryParamChange`.\n             * `active` - This state is used when this controller instance is part of the active\n               route hierarchy. Set in `Route.prototype.actions.finalizeQueryParamChange`.\n             * `allowOverrides` - This state is used in `Route.prototype.setup` (`route.js` microlib hook).\n               @method _qpDelegate\n              @private\n            */_qpDelegate:null,// set by route\n/**\n             During `Route#setup` observers are created to invoke this method\n             when any of the query params declared in `Controller#queryParams` property\n             are changed.\n              When invoked this method uses the currently active query param update delegate\n             (see `Controller.prototype._qpDelegate` for details) and invokes it with\n             the QP key/value being changed.\n               @method _qpChanged\n              @private\n            */_qpChanged(controller,_prop){let dotIndex=_prop.indexOf('.[]');let prop=dotIndex===-1?_prop:_prop.slice(0,dotIndex);let delegate=controller._qpDelegate;let value=get$2(controller,prop);delegate(prop,value);}});// NOTE: This doesn't actually extend EmberObject.\n/**\n            @class Controller\n            @extends EmberObject\n            @uses Ember.ControllerMixin\n            @public\n          */class Controller extends FrameworkObject.extend(ControllerMixin){}/**\n            Creates a property that lazily looks up another controller in the container.\n            Can only be used when defining another controller.\n\n            Example:\n\n            ```app/controllers/post.js\n            import Controller, {\n              inject as controller\n            } from '@ember/controller';\n\n            export default class PostController extends Controller {\n              @controller posts;\n            }\n            ```\n\n            Classic Class Example:\n\n            ```app/controllers/post.js\n            import Controller, {\n              inject as controller\n            } from '@ember/controller';\n\n            export default Controller.extend({\n              posts: controller()\n            });\n            ```\n\n            This example will create a `posts` property on the `post` controller that\n            looks up the `posts` controller in the container, making it easy to reference\n            other controllers.\n\n            @method inject\n            @static\n            @for @ember/controller\n            @since 1.10.0\n            @param {String} name (optional) name of the controller to inject, defaults to\n                   the property's name\n            @return {ComputedDecorator} injection decorator instance\n            @public\n          */function inject(){for(var _len56=arguments.length,args=new Array(_len56),_key57=0;_key57<_len56;_key57++){args[_key57]=arguments[_key57];}return inject$2('controller',...args);}/**\n            A type registry for Ember `Controller`s. Meant to be declaration-merged so string\n            lookups resolve to the correct type.\n\n            Blueprints should include such a declaration merge for TypeScript:\n\n            ```ts\n            import Controller from '@ember/controller';\n\n            export default class ExampleController extends Controller {\n            // ...\n            }\n\n            declare module '@ember/controller' {\n              export interface Registry {\n                example: ExampleController;\n              }\n            }\n            ```\n\n            Then `@inject` can check that the service is registered correctly, and APIs\n            like `owner.lookup('controller:example')` can return `ExampleController`.\n          */// eslint-disable-next-line @typescript-eslint/no-empty-interface\nconst emberControllerIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,ControllerMixin,default:Controller,inject},Symbol.toStringTag,{value:'Module'});let wrapGetterSetter=function(target,key,desc){let{get:originalGet}=desc;if(originalGet!==undefined){desc.get=function(){let propertyTag=tagFor(this,key);let ret;let tag=track(()=>{ret=originalGet.call(this);});UPDATE_TAG(propertyTag,tag);consumeTag(tag);return ret;};}return desc;};/**\n            `@dependentKeyCompat` is decorator that can be used on _native getters_ that\n            use tracked properties. It exposes the getter to Ember's classic computed\n            property and observer systems, so they can watch it for changes. It can be\n            used in both native and classic classes.\n\n            Native Example:\n\n            ```js\n            import { tracked } from '@glimmer/tracking';\n            import { dependentKeyCompat } from '@ember/object/compat';\n            import { computed, set } from '@ember/object';\n\n            class Person {\n              @tracked firstName;\n              @tracked lastName;\n\n              @dependentKeyCompat\n              get fullName() {\n                return `${this.firstName} ${this.lastName}`;\n              }\n            }\n\n            class Profile {\n              constructor(person) {\n                set(this, 'person', person);\n              }\n\n              @computed('person.fullName')\n              get helloMessage() {\n                return `Hello, ${this.person.fullName}!`;\n              }\n            }\n            ```\n\n            Classic Example:\n\n            ```js\n            import { tracked } from '@glimmer/tracking';\n            import { dependentKeyCompat } from '@ember/object/compat';\n            import EmberObject, { computed, observer, set } from '@ember/object';\n\n            const Person = EmberObject.extend({\n              firstName: tracked(),\n              lastName: tracked(),\n\n              fullName: dependentKeyCompat(function() {\n                return `${this.firstName} ${this.lastName}`;\n              }),\n            });\n\n            const Profile = EmberObject.extend({\n              person: null,\n\n              helloMessage: computed('person.fullName', function() {\n                return `Hello, ${this.person.fullName}!`;\n              }),\n\n              onNameUpdated: observer('person.fullName', function() {\n                console.log('person name updated!');\n              }),\n            });\n            ```\n\n            `dependentKeyCompat()` can receive a getter function or an object containing\n            `get`/`set` methods when used in classic classes, like computed properties.\n\n            In general, only properties which you _expect_ to be watched by older,\n            untracked clases should be marked as dependency compatible. The decorator is\n            meant as an interop layer for parts of Ember's older classic APIs, and should\n            not be applied to every possible getter/setter in classes. The number of\n            dependency compatible getters should be _minimized_ wherever possible. New\n            application code should not need to use `@dependentKeyCompat`, since it is\n            only for interoperation with older code.\n\n            @public\n            @method dependentKeyCompat\n            @for @ember/object/compat\n            @static\n            @param {PropertyDescriptor|undefined} desc A property descriptor containing\n                                                       the getter and setter (when used in\n                                                       classic classes)\n            @return {PropertyDecorator} property decorator instance\n           */function dependentKeyCompat(){for(var _len57=arguments.length,args=new Array(_len57),_key58=0;_key58<_len57;_key58++){args[_key58]=arguments[_key58];}if(isElementDescriptor(args)){let[target,key,desc]=args;return wrapGetterSetter(target,key,desc);}else{const desc=args[0];let decorator=function(target,key,_desc,_meta,isClassicDecorator){return wrapGetterSetter(target,key,desc);};setClassicDecorator(decorator);return decorator;}}setClassicDecorator(dependentKeyCompat);const emberObjectCompat=/*#__PURE__*/Object.defineProperty({__proto__:null,dependentKeyCompat},Symbol.toStringTag,{value:'Module'});/**\n           @module @ember/routing\n          *//**\n            Generates a controller factory\n\n            @for Ember\n            @method generateControllerFactory\n            @private\n          */function generateControllerFactory(owner,controllerName){let factoryManager=owner.factoryFor('controller:basic');// `assert()` below after altering *tests*. It is left in this state for the\n// moment in the interest of keeping type-only changes separate from changes\n// to the runtime behavior of the system, even for tests.\nlet Factory=factoryManager.class;// assert(\n//   '[BUG] factory for `controller:main` is unexpectedly not a Controller',\n//   ((factory): factory is typeof Controller => factory === Controller)(Factory)\n// );\nFactory=Factory.extend({toString(){return`(generated ${controllerName} controller)`;}});let fullName=`controller:${controllerName}`;owner.register(fullName,Factory);return owner.factoryFor(fullName);}/**\n            Generates and instantiates a controller extending from `controller:basic`\n            if present, or `Controller` if not.\n\n            @for Ember\n            @method generateController\n            @private\n            @since 1.3.0\n          */function generateController(owner,controllerName){generateControllerFactory(owner,controllerName);let fullName=`controller:${controllerName}`;let instance=owner.lookup(fullName);return instance;}const emberRoutingLibGenerateController=/*#__PURE__*/Object.defineProperty({__proto__:null,default:generateController,generateControllerFactory},Symbol.toStringTag,{value:'Module'});const RENDER=Symbol('render');const RENDER_STATE=Symbol('render-state');/**\n          @module @ember/routing/route\n          *//**\n            The `Route` class is used to define individual routes. Refer to\n            the [routing guide](https://guides.emberjs.com/release/routing/) for documentation.\n\n            @class Route\n            @extends EmberObject\n            @uses ActionHandler\n            @uses Evented\n            @since 1.0.0\n            @public\n          */class Route extends EmberObject.extend(ActionHandler,Evented){constructor(owner){super(owner);// These properties will end up appearing in the public interface because we\n// `implements IRoute` from `router.js`, which has them as part of *its*\n// public contract. We mark them as `@internal` so they at least signal to\n// people subclassing `Route` that they should not use them.\n/** @internal */_defineProperty(this,\"context\",{});/** @internal *//** @internal */_defineProperty(this,\"_bucketCache\",void 0);/** @internal */_defineProperty(this,\"_internalName\",void 0);_defineProperty(this,\"_names\",void 0);_defineProperty(this,\"_router\",void 0);_defineProperty(this,RENDER_STATE,undefined);if(owner){let router=owner.lookup('router:main');let bucketCache=owner.lookup(privatize`-bucket-cache:main`);this._router=router;this._bucketCache=bucketCache;this._topLevelViewTemplate=owner.lookup('template:-outlet');this._environment=owner.lookup('-environment:main');}}/**\n              A hook you can implement to convert the route's model into parameters\n              for the URL.\n               ```app/router.js\n              // ...\n               Router.map(function() {\n                this.route('post', { path: '/posts/:post_id' });\n              });\n               ```\n               ```app/routes/post.js\n              import Route from '@ember/routing/route';\n               export default class PostRoute extends Route {\n                model({ post_id }) {\n                  // the server returns `{ id: 12 }`\n                  return fetch(`/posts/${post_id}`;\n                }\n                 serialize(model) {\n                  // this will make the URL `/posts/12`\n                  return { post_id: model.id };\n                }\n              }\n              ```\n               The default `serialize` method will insert the model's `id` into the\n              route's dynamic segment (in this case, `:post_id`) if the segment contains '_id'.\n              If the route has multiple dynamic segments or does not contain '_id', `serialize`\n              will return `getProperties(model, params)`\n               This method is called when `transitionTo` is called with a context\n              in order to populate the URL.\n               @method serialize\n              @param {Object} model the routes model\n              @param {Array} params an Array of parameter names for the current\n                route (in the example, `['post_id']`.\n              @return {Object} the serialized parameters\n              @since 1.0.0\n              @public\n            */serialize(model,params){if(params.length<1||!model){return;}let object={};if(params.length===1){let[name]=params;if(typeof model==='object'&&name in model){object[name]=get$2(model,name);}else if(/_id$/.test(name)){object[name]=get$2(model,'id');}else if(isProxy(model)){object[name]=get$2(model,name);}}else{object=getProperties(model,params);}return object;}/**\n              Configuration hash for this route's queryParams. The possible\n              configuration options and their defaults are as follows\n              (assuming a query param whose controller property is `page`):\n               ```javascript\n              queryParams = {\n                page: {\n                  // By default, controller query param properties don't\n                  // cause a full transition when they are changed, but\n                  // rather only cause the URL to update. Setting\n                  // `refreshModel` to true will cause an \"in-place\"\n                  // transition to occur, whereby the model hooks for\n                  // this route (and any child routes) will re-fire, allowing\n                  // you to reload models (e.g., from the server) using the\n                  // updated query param values.\n                  refreshModel: false,\n                   // By default, changes to controller query param properties\n                  // cause the URL to update via `pushState`, which means an\n                  // item will be added to the browser's history, allowing\n                  // you to use the back button to restore the app to the\n                  // previous state before the query param property was changed.\n                  // Setting `replace` to true will use `replaceState` (or its\n                  // hash location equivalent), which causes no browser history\n                  // item to be added. This options name and default value are\n                  // the same as the `link-to` helper's `replace` option.\n                  replace: false,\n                   // By default, the query param URL key is the same name as\n                  // the controller property name. Use `as` to specify a\n                  // different URL key.\n                  as: 'page'\n                }\n              };\n              ```\n               @property queryParams\n              @for Route\n              @type Object\n              @since 1.6.0\n              @public\n            */// Set in reopen so it can be overriden with extend\n/**\n              The name of the template to use by default when rendering this route's\n              template.\n               ```app/routes/posts/list.js\n              import Route from '@ember/routing/route';\n               export default class PostsListRoute extends Route {\n                templateName = 'posts/list';\n              }\n              ```\n               ```app/routes/posts/index.js\n              import PostsListRoute from '../posts/list';\n               export default class PostsIndexRoute extends PostsListRoute {};\n              ```\n               ```app/routes/posts/archived.js\n              import PostsListRoute from '../posts/list';\n               export default class PostsArchivedRoute extends PostsListRoute {};\n              ```\n               @property templateName\n              @type String\n              @default null\n              @since 1.4.0\n              @public\n            */// Set in reopen so it can be overriden with extend\n/**\n              The name of the controller to associate with this route.\n               By default, Ember will lookup a route's controller that matches the name\n              of the route (i.e. `posts.new`). However,\n              if you would like to define a specific controller to use, you can do so\n              using this property.\n               This is useful in many ways, as the controller specified will be:\n               * passed to the `setupController` method.\n              * used as the controller for the template being rendered by the route.\n              * returned from a call to `controllerFor` for the route.\n               @property controllerName\n              @type String\n              @default null\n              @since 1.4.0\n              @public\n            */// Set in reopen so it can be overriden with extend\n/**\n              The controller associated with this route.\n               Example\n               ```app/routes/form.js\n              import Route from '@ember/routing/route';\n              import { action } from '@ember/object';\n               export default class FormRoute extends Route {\n                @action\n                willTransition(transition) {\n                  if (this.controller.get('userHasEnteredData') &&\n                      !confirm('Are you sure you want to abandon progress?')) {\n                    transition.abort();\n                  } else {\n                    // Bubble the `willTransition` action so that\n                    // parent routes can decide whether or not to abort.\n                    return true;\n                  }\n                }\n              }\n              ```\n               @property controller\n              @type Controller\n              @since 1.6.0\n              @public\n            *//**\n              The name of the route, dot-delimited.\n               For example, a route found at `app/routes/posts/post.js` will have\n              a `routeName` of `posts.post`.\n               @property routeName\n              @for Route\n              @type String\n              @since 1.0.0\n              @public\n            *//**\n              The name of the route, dot-delimited, including the engine prefix\n              if applicable.\n               For example, a route found at `addon/routes/posts/post.js` within an\n              engine named `admin` will have a `fullRouteName` of `admin.posts.post`.\n               @property fullRouteName\n              @for Route\n              @type String\n              @since 2.10.0\n              @public\n            *//**\n              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            */_setRouteName(name){this.routeName=name;let owner=getOwner$2(this);this.fullRouteName=getEngineRouteName(owner,name);}/**\n              @private\n               @method _stashNames\n            */_stashNames(routeInfo,dynamicParent){if(this._names){return;}let names=this._names=routeInfo['_names'];if(!names.length){routeInfo=dynamicParent;names=routeInfo&&routeInfo['_names']||[];}// SAFETY: Since `_qp` is protected we can't infer the type\nlet qps=get$2(this,'_qp').qps;let namePaths=new Array(names.length);for(let a=0;a<names.length;++a){namePaths[a]=`${routeInfo.name}.${names[a]}`;}for(let qp of qps){if(qp.scope==='model'){qp.parts=namePaths;}}}/**\n              @private\n               @property _activeQPChanged\n            */_activeQPChanged(qp,value){this._router._activeQPChanged(qp.scopedPropertyName,value);}/**\n              @private\n              @method _updatingQPChanged\n            */_updatingQPChanged(qp){this._router._updatingQPChanged(qp.urlKey);}/**\n              Returns a hash containing the parameters of an ancestor route.\n               You may notice that `this.paramsFor` sometimes works when referring to a\n              child route, but this behavior should not be relied upon as only ancestor\n              routes are certain to be loaded in time.\n               Example\n               ```app/router.js\n              // ...\n               Router.map(function() {\n                this.route('member', { path: ':name' }, function() {\n                  this.route('interest', { path: ':interest' });\n                });\n              });\n              ```\n               ```app/routes/member.js\n              import Route from '@ember/routing/route';\n               export default class MemberRoute extends Route {\n                queryParams = {\n                  memberQp: { refreshModel: true }\n                }\n              }\n              ```\n               ```app/routes/member/interest.js\n              import Route from '@ember/routing/route';\n               export default class MemberInterestRoute extends Route {\n                queryParams = {\n                  interestQp: { refreshModel: true }\n                }\n                 model() {\n                  return this.paramsFor('member');\n                }\n              }\n              ```\n               If we visit `/turing/maths?memberQp=member&interestQp=interest` the model for\n              the `member.interest` route is a hash with:\n               * `name`: `turing`\n              * `memberQp`: `member`\n               @method paramsFor\n              @param {String} name\n              @return {Object} hash containing the parameters of the route `name`\n              @since 1.4.0\n              @public\n            */paramsFor(name){let owner=getOwner$2(this);let route=owner.lookup(`route:${name}`);if(route===undefined){return{};}let transition=this._router._routerMicrolib.activeTransition;let state=transition?transition[STATE_SYMBOL]:this._router._routerMicrolib.state;let fullName=route.fullRouteName;let params={...state.params[fullName]};let queryParams=getQueryParamsFor(route,state);return Object.entries(queryParams).reduce((params,_ref146)=>{let[key,value]=_ref146;params[key]=value;return params;},params);}/**\n              Serializes the query parameter key\n               @method serializeQueryParamKey\n              @param {String} controllerPropertyName\n              @private\n            */serializeQueryParamKey(controllerPropertyName){return controllerPropertyName;}/**\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            */serializeQueryParam(value,_urlKey,defaultValueType){// urlKey isn't used here, but anyone overriding\n// can use it to provide serialization specific\n// to a certain query param.\nreturn this._router._serializeQueryParam(value,defaultValueType);}/**\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            */deserializeQueryParam(value,_urlKey,defaultValueType){// urlKey isn't used here, but anyone overriding\n// can use it to provide deserialization specific\n// to a certain query param.\nreturn this._router._deserializeQueryParam(value,defaultValueType);}/**\n              @private\n               @property _optionsForQueryParam\n            */_optionsForQueryParam(qp){const queryParams=get$2(this,'queryParams');return get$2(queryParams,qp.urlKey)||get$2(queryParams,qp.prop)||queryParams[qp.urlKey]||queryParams[qp.prop]||{};}/**\n              A hook you can use to reset controller values either when the model\n              changes or the route is exiting.\n               ```app/routes/articles.js\n              import Route from '@ember/routing/route';\n               export default class ArticlesRoute extends Route {\n                resetController(controller, isExiting, transition) {\n                  if (isExiting && transition.targetName !== 'error') {\n                    controller.set('page', 1);\n                  }\n                }\n              }\n              ```\n               @method resetController\n              @param {Controller} controller instance\n              @param {Boolean} isExiting\n              @param {Object} transition\n              @since 1.7.0\n              @public\n            */resetController(_controller,_isExiting,_transition){// We document that subclasses do not have to return *anything* and in fact\n// do not even have to call super, so whiel we *do* return `this`, we need\n// to be explicit in the types that our return type is *effectively* `void`.\nreturn this;}/**\n              @private\n               @method exit\n            */exit(transition){this.deactivate(transition);this.trigger('deactivate',transition);this.teardownViews();}/**\n              @private\n               @method _internalReset\n              @since 3.6.0\n            */_internalReset(isExiting,transition){let controller=this.controller;// SAFETY: Since `_qp` is protected we can't infer the type\ncontroller['_qpDelegate']=get$2(this,'_qp').states.inactive;this.resetController(controller,isExiting,transition);}/**\n              @private\n               @method enter\n            */enter(transition){this[RENDER_STATE]=undefined;this.activate(transition);this.trigger('activate',transition);}/**\n              This event is triggered when the router enters the route. It is\n              not executed when the model for the route changes.\n               ```app/routes/application.js\n              import { on } from '@ember/object/evented';\n              import Route from '@ember/routing/route';\n               export default Route.extend({\n                collectAnalytics: on('activate', function(){\n                  collectAnalytics();\n                })\n              });\n              ```\n               @event activate\n              @since 1.9.0\n              @public\n            *//**\n              This event is triggered when the router completely exits this\n              route. It is not executed when the model for the route changes.\n               ```app/routes/index.js\n              import { on } from '@ember/object/evented';\n              import Route from '@ember/routing/route';\n               export default Route.extend({\n                trackPageLeaveAnalytics: on('deactivate', function(){\n                  trackPageLeaveAnalytics();\n                })\n              });\n              ```\n               @event deactivate\n              @since 1.9.0\n              @public\n            *//**\n              This hook is executed when the router completely exits this route. It is\n              not executed when the model for the route changes.\n               @method deactivate\n              @param {Transition} transition\n              @since 1.0.0\n              @public\n            */deactivate(_transition){}/**\n              This hook is executed when the router enters the route. It is not executed\n              when the model for the route changes.\n               @method activate\n              @param {Transition} transition\n              @since 1.0.0\n              @public\n            */activate(_transition){}/**\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             */intermediateTransitionTo(){for(var _len58=arguments.length,args=new Array(_len58),_key59=0;_key59<_len58;_key59++){args[_key59]=arguments[_key59];}let[name,...preparedArgs]=prefixRouteNameArg(this,args);this._router.intermediateTransitionTo(name,...preparedArgs);}/**\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             */refresh(){return this._router._routerMicrolib.refresh(this);}/**\n              This hook is the entry point for router.js\n               @private\n              @method setup\n            */setup(context,transition){let controllerName=this.controllerName||this.routeName;let definedController=this.controllerFor(controllerName,true);let controller=definedController??this.generateController(controllerName);// SAFETY: Since `_qp` is protected we can't infer the type\nlet queryParams=get$2(this,'_qp');// Assign the route's controller so that it can more easily be\n// referenced in action handlers. Side effects. Side effects everywhere.\nif(!this.controller){let propNames=queryParams.propertyNames;addQueryParamsObservers(controller,propNames);this.controller=controller;}let states=queryParams.states;controller._qpDelegate=states.allowOverrides;if(transition){// Update the model dep values used to calculate cache keys.\nstashParamNames(this._router,transition[STATE_SYMBOL].routeInfos);let cache=this._bucketCache;let params=transition[PARAMS_SYMBOL];let allParams=queryParams.propertyNames;allParams.forEach(prop=>{let aQp=queryParams.map[prop];aQp.values=params;let cacheKey=calculateCacheKey(aQp.route.fullRouteName,aQp.parts,aQp.values);let value=cache.lookup(cacheKey,prop,aQp.undecoratedDefaultValue);set(controller,prop,value);});let qpValues=getQueryParamsFor(this,transition[STATE_SYMBOL]);setProperties(controller,qpValues);}this.setupController(controller,context,transition);if(this._environment.options.shouldRender){this[RENDER]();}// Setup can cause changes to QPs which need to be propogated immediately in\n// some situations. Eventually, we should work on making these async somehow.\nflushAsyncObservers(false);}/*\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            */_qpChanged(prop,value,qp){if(!qp){return;}// Update model-dep cache\nlet cache=this._bucketCache;let cacheKey=calculateCacheKey(qp.route.fullRouteName,qp.parts,qp.values);cache.stash(cacheKey,prop,value);}/**\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              `router.transitionTo` to another route to implicitly\n              abort the `transition`.\n               You can return a promise from this hook to pause the\n              transition until the promise resolves (or rejects). This could\n              be useful, for instance, for retrieving async code from\n              the server that is required to enter a route.\n               @method beforeModel\n              @param {Transition} transition\n              @return {any | Promise<any>} if the value returned from this hook is\n                a promise, the transition will pause until the transition\n                resolves. Otherwise, non-promise return values are not\n                utilized in any way.\n              @since 1.0.0\n              @public\n            */beforeModel(_transition){}/**\n              This hook is called after this route's model has resolved.\n              It follows identical async/promise semantics to `beforeModel`\n              but is provided the route's resolved model in addition to\n              the `transition`, and is therefore suited to performing\n              logic that can only take place after the model has already\n              resolved.\n               ```app/routes/posts.js\n              import Route from '@ember/routing/route';\n              import { service } from '@ember/service';\n               export default class PostsRoute extends Route {\n                @service router;\n                 afterModel(posts, transition) {\n                  if (posts.get('length') === 1) {\n                    this.router.transitionTo('post.show', posts.get('firstObject'));\n                  }\n                }\n              }\n              ```\n               Refer to documentation for `beforeModel` for a description\n              of transition-pausing semantics when a promise is returned\n              from this hook.\n               @method afterModel\n              @param {Object} resolvedModel the value returned from `model`,\n                or its resolved value if it was a promise\n              @param {Transition} transition\n              @return {any | Promise<any>} if the value returned from this hook is\n                a promise, the transition will pause until the transition\n                resolves. Otherwise, non-promise return values are not\n                utilized in any way.\n              @since 1.0.0\n              @public\n             */afterModel(_resolvedModel,_transition){}/**\n              A hook you can implement to optionally redirect to another route.\n               Calling `this.router.transitionTo` from inside of the `redirect` hook will\n              abort the current transition (into the route that has implemented `redirect`).\n               `redirect` and `afterModel` behave very similarly and are\n              called almost at the same time, but they have an important\n              distinction when calling `this.router.transitionTo` to a child route\n              of the current route. From `afterModel`, this new transition\n              invalidates the current transition, causing `beforeModel`,\n              `model`, and `afterModel` hooks to be called again. But the\n              same transition started from `redirect` does _not_ invalidate\n              the current transition. In other words, by the time the `redirect`\n              hook has been called, both the resolved model and the attempted\n              entry into this route are considered fully validated.\n               @method redirect\n              @param {Object} model the model for this route\n              @param {Transition} transition the transition object associated with the current transition\n              @since 1.0.0\n              @public\n            */redirect(_model,_transition){}/**\n              Called when the context is changed by router.js.\n               @private\n              @method contextDidChange\n            */contextDidChange(){this.currentModel=this.context;}/**\n              A hook you can implement to convert the URL into the model for\n              this route.\n               ```app/router.js\n              // ...\n               Router.map(function() {\n                this.route('post', { path: '/posts/:post_id' });\n              });\n               export default Router;\n              ```\n               Note that for routes with dynamic segments, this hook is not always\n              executed. If the route is entered through a transition (e.g. when\n              using the `link-to` Handlebars helper or the `transitionTo` method\n              of routes), and a model context is already provided this hook\n              is not called.\n               A model context does not include a primitive string or number,\n              which does cause the model hook to be called.\n               Routes without dynamic segments will always execute the model hook.\n               ```javascript\n              // no dynamic segment, model hook always called\n              this.router.transitionTo('posts');\n               // model passed in, so model hook not called\n              thePost = store.findRecord('post', 1);\n              this.router.transitionTo('post', thePost);\n               // integer passed in, model hook is called\n              this.router.transitionTo('post', 1);\n               // model id passed in, model hook is called\n              // useful for forcing the hook to execute\n              thePost = store.findRecord('post', 1);\n              this.router.transitionTo('post', thePost.id);\n              ```\n               This hook follows the asynchronous/promise semantics\n              described in the documentation for `beforeModel`. In particular,\n              if a promise returned from `model` fails, the error will be\n              handled by the `error` hook on `Route`.\n               Note that the legacy behavior of automatically defining a model\n              hook when a dynamic segment ending in `_id` is present is\n              [deprecated](https://deprecations.emberjs.com/v5.x#toc_deprecate-implicit-route-model).\n              You should explicitly define a model hook whenever any segments are\n              present.\n               Example\n               ```app/routes/post.js\n              import Route from '@ember/routing/route';\n              import { service } from '@ember/service';\n               export default class PostRoute extends Route {\n                @service store;\n                 model(params) {\n                  return this.store.findRecord('post', params.post_id);\n                }\n              }\n              ```\n               @method model\n              @param {Object} params the parameters extracted from the URL\n              @param {Transition} transition\n              @return {any | Promise<any>} the model for this route. If\n                a promise is returned, the transition will pause until\n                the promise resolves, and the resolved value of the promise\n                will be used as the model for this route.\n              @since 1.0.0\n              @public\n            */model(params,transition){let name,sawParams,value;// SAFETY: Since `_qp` is protected we can't infer the type\nlet queryParams=get$2(this,'_qp').map;for(let prop in params){if(prop==='queryParams'||queryParams&&prop in queryParams){continue;}let match=prop.match(/^(.*)_id$/);if(match!==null){name=match[1];value=params[prop];}sawParams=true;}if(!name){if(sawParams){// SAFETY: This should be equivalent\nreturn Object.assign({},params);}else{if(transition.resolveIndex<1){return;}// SAFETY: This should be correct, but TS is unable to infer this.\nreturn transition[STATE_SYMBOL].routeInfos[transition.resolveIndex-1].context;}}return this.findModel(name,value);}/**\n              @private\n              @method deserialize\n              @param {Object} params the parameters extracted from the URL\n              @param {Transition} transition\n              @return {any | Promise<any>} the model for this route.\n               Router.js hook.\n             */deserialize(_params,transition){return this.model(this._paramsFor(this.routeName,_params),transition);}/**\n               @method findModel\n              @param {String} type the model type\n              @param {Object} value the value passed to find\n              @private\n            */findModel(type,value){if(ENV._NO_IMPLICIT_ROUTE_MODEL){return;}deprecateUntil(`The implicit model loading behavior for routes is deprecated. `+`Please define an explicit model hook for ${this.fullRouteName}.`,DEPRECATIONS.DEPRECATE_IMPLICIT_ROUTE_MODEL);const store='store'in this?this.store:get$2(this,'_store');return store.find(type,value);}/**\n              A hook you can use to setup the controller for the current route.\n               This method is called with the controller for the current route and the\n              model supplied by the `model` hook.\n               By default, the `setupController` hook sets the `model` property of\n              the controller to the specified `model` when it is not `undefined`.\n               If you implement the `setupController` hook in your Route, it will\n              prevent this default behavior. If you want to preserve that behavior\n              when implementing your `setupController` function, make sure to call\n              `super`:\n               ```app/routes/photos.js\n              import Route from '@ember/routing/route';\n              import { service } from '@ember/service';\n               export default class PhotosRoute extends Route {\n                @service store;\n                 model() {\n                  return this.store.findAll('photo');\n                }\n                 setupController(controller, model) {\n                  super.setupController(controller, model);\n                   this.controllerFor('application').set('showingPhotos', true);\n                }\n              }\n              ```\n               The provided controller will be one resolved based on the name\n              of this route.\n               If no explicit controller is defined, Ember will automatically create one.\n               As an example, consider the router:\n               ```app/router.js\n              // ...\n               Router.map(function() {\n                this.route('post', { path: '/posts/:post_id' });\n              });\n               export default Router;\n              ```\n               If you have defined a file for the post controller,\n              the framework will use it.\n              If it is not defined, a basic `Controller` instance would be used.\n               @example Behavior of a basic Controller\n               ```app/routes/post.js\n              import Route from '@ember/routing/route';\n               export default class PostRoute extends Route {\n                setupController(controller, model) {\n                  controller.set('model', model);\n                }\n              });\n              ```\n               @method setupController\n              @param {Controller} controller instance\n              @param {Object} model\n              @param {Transition} [transition]\n              @since 1.0.0\n              @public\n            */setupController(controller,context,_transition){if(controller&&context!==undefined){set(controller,'model',context);}}/**\n              Returns the controller of the current route, or a parent (or any ancestor)\n              route in a route hierarchy.\n               The controller instance must already have been created, either through entering the\n              associated route or using `generateController`.\n               ```app/routes/post.js\n              import Route from '@ember/routing/route';\n               export default class PostRoute extends Route {\n                setupController(controller, post) {\n                  super.setupController(controller, post);\n                   this.controllerFor('posts').set('currentPost', post);\n                }\n              }\n              ```\n               @method controllerFor\n              @param {String} name the name of the route or controller\n              @return {Controller | undefined}\n              @since 1.0.0\n              @public\n            */controllerFor(name){let _skipAssert=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;let owner=getOwner$2(this);let route=owner.lookup(`route:${name}`);if(route&&route.controllerName){name=route.controllerName;}let controller=owner.lookup(`controller:${name}`);return controller;}/**\n              Generates a controller for a route.\n               Example\n               ```app/routes/post.js\n              import Route from '@ember/routing/route';\n               export default class Post extends Route {\n                setupController(controller, post) {\n                  super.setupController(controller, post);\n                   this.generateController('posts');\n                }\n              }\n              ```\n               @method generateController\n              @param {String} name the name of the controller\n              @private\n            */generateController(name){let owner=getOwner$2(this);return generateController(owner,name);}/**\n              Returns the resolved model of a parent (or any ancestor) route\n              in a route hierarchy.  During a transition, all routes\n              must resolve a model object, and if a route\n              needs access to a parent route's model in order to\n              resolve a model (or just reuse the model from a parent),\n              it can call `this.modelFor(theNameOfParentRoute)` to\n              retrieve it. If the ancestor route's model was a promise,\n              its resolved result is returned.\n               Example\n               ```app/router.js\n              // ...\n               Router.map(function() {\n                this.route('post', { path: '/posts/:post_id' }, function() {\n                  this.route('comments');\n                });\n              });\n               export default Router;\n              ```\n               ```app/routes/post/comments.js\n              import Route from '@ember/routing/route';\n               export default class PostCommentsRoute extends Route {\n                model() {\n                  let post = this.modelFor('post');\n                   return post.comments;\n                }\n              }\n              ```\n               @method modelFor\n              @param {String} name the name of the route\n              @return {Object} the model object\n              @since 1.0.0\n              @public\n            */modelFor(_name){let name;let owner=getOwner$2(this);let transition=this._router&&this._router._routerMicrolib?this._router._routerMicrolib.activeTransition:undefined;// Only change the route name when there is an active transition.\n// Otherwise, use the passed in route name.\nif(owner.routable&&transition!==undefined){name=getEngineRouteName(owner,_name);}else{name=_name;}let route=owner.lookup(`route:${name}`);// If we are mid-transition, we want to try and look up\n// resolved parent contexts on the current transitionEvent.\nif(transition!==undefined&&transition!==null){let modelLookupName=route&&route.routeName||name;if(Object.prototype.hasOwnProperty.call(transition.resolvedModels,modelLookupName)){return transition.resolvedModels[modelLookupName];}}return route===null||route===void 0?void 0:route.currentModel;}/**\n              `this[RENDER]` is used to set up the rendering option for the outlet state.\n              @method this[RENDER]\n              @private\n             */[RENDER](){this[RENDER_STATE]=buildRenderState(this);once(this._router,'_setOutlets');}willDestroy(){this.teardownViews();}/**\n              @private\n               @method teardownViews\n            */teardownViews(){if(this[RENDER_STATE]){this[RENDER_STATE]=undefined;once(this._router,'_setOutlets');}}/**\n              Allows you to produce custom metadata for the route.\n              The return value of this method will be attached to\n              its corresponding RouteInfoWithAttributes object.\n               Example\n               ```app/routes/posts/index.js\n              import Route from '@ember/routing/route';\n               export default class PostsIndexRoute extends Route {\n                buildRouteInfoMetadata() {\n                  return { title: 'Posts Page' }\n                }\n              }\n              ```\n               ```app/routes/application.js\n              import Route from '@ember/routing/route';\n              import { service } from '@ember/service';\n               export default class ApplicationRoute extends Route {\n                @service router\n                 constructor() {\n                  super(...arguments);\n                   this.router.on('routeDidChange', transition => {\n                    document.title = transition.to.metadata.title;\n                    // would update document's title to \"Posts Page\"\n                  });\n                }\n              }\n              ```\n              @method buildRouteInfoMetadata\n              @return any\n              @since 3.10.0\n              @public\n             */buildRouteInfoMetadata(){}_paramsFor(routeName,params){let transition=this._router._routerMicrolib.activeTransition;if(transition!==undefined){return this.paramsFor(routeName);}return params;}/** @deprecated Manually define your own store, such as with `@service store` */get _store(){const owner=getOwner$2(this);this.routeName;return{find(name,value){let modelClass=owner.factoryFor(`model:${name}`);if(!modelClass){return;}modelClass=modelClass.class;return modelClass.find(value);}};}/**\n              @private\n              @property _qp\n              */get _qp(){let combinedQueryParameterConfiguration={};let controllerName=this.controllerName||this.routeName;let owner=getOwner$2(this);let controller=owner.lookup(`controller:${controllerName}`);let queryParameterConfiguraton=get$2(this,'queryParams');let hasRouterDefinedQueryParams=Object.keys(queryParameterConfiguraton).length>0;if(controller){// this route find its query params and normalize their object shape them\n// merge in the query params for the route. As a mergedProperty,\n// Route#queryParams is always at least `{}`\nlet controllerDefinedQueryParameterConfiguration=get$2(controller,'queryParams')||[];let normalizedControllerQueryParameterConfiguration=normalizeControllerQueryParams(controllerDefinedQueryParameterConfiguration);combinedQueryParameterConfiguration=mergeEachQueryParams(normalizedControllerQueryParameterConfiguration,queryParameterConfiguraton);}else if(hasRouterDefinedQueryParams){// 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\ncontroller=generateController(owner,controllerName);combinedQueryParameterConfiguration=queryParameterConfiguraton;}let qps=[];let map={};let propertyNames=[];for(let propName in combinedQueryParameterConfiguration){if(!Object.prototype.hasOwnProperty.call(combinedQueryParameterConfiguration,propName)){continue;}// to support the dubious feature of using unknownProperty\n// on queryParams configuration\nif(propName==='unknownProperty'||propName==='_super'){// possible todo: issue deprecation warning?\ncontinue;}let desc=combinedQueryParameterConfiguration[propName];let scope=desc.scope||'model';let parts=undefined;if(scope==='controller'){parts=[];}let urlKey=desc.as||this.serializeQueryParamKey(propName);let defaultValue=get$2(controller,propName);defaultValue=copyDefaultValue(defaultValue);let type=desc.type||typeOf(defaultValue);let defaultValueSerialized=this.serializeQueryParam(defaultValue,urlKey,type);let scopedPropertyName=`${controllerName}:${propName}`;let qp={undecoratedDefaultValue:get$2(controller,propName),defaultValue,serializedDefaultValue:defaultValueSerialized,serializedValue:defaultValueSerialized,type,urlKey,prop:propName,scopedPropertyName,controllerName,route:this,parts,// provided later when stashNames is called if 'model' scope\nvalues:null,// provided later when setup is called. no idea why.\nscope};map[propName]=map[urlKey]=map[scopedPropertyName]=qp;qps.push(qp);propertyNames.push(propName);}return{qps,map,propertyNames,states:{/*\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                  */inactive:(prop,value)=>{let qp=map[prop];this._qpChanged(prop,value,qp);},/*\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                  */active:(prop,value)=>{let qp=map[prop];this._qpChanged(prop,value,qp);return this._activeQPChanged(qp,value);},/*\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                  */allowOverrides:(prop,value)=>{let qp=map[prop];this._qpChanged(prop,value,qp);return this._updatingQPChanged(qp);}}};}// Set in reopen\n/**\n              Sends an action to the router, which will delegate it to the currently\n              active route hierarchy per the bubbling rules explained under `actions`.\n               Example\n               ```app/router.js\n              // ...\n               Router.map(function() {\n                this.route('index');\n              });\n               export default Router;\n              ```\n               ```app/routes/application.js\n              import Route from '@ember/routing/route';\n              import { action } from '@ember/object';\n               export default class ApplicationRoute extends Route {\n                @action\n                track(arg) {\n                  console.log(arg, 'was clicked');\n                }\n              }\n              ```\n               ```app/routes/index.js\n              import Route from '@ember/routing/route';\n              import { action } from '@ember/object';\n               export default class IndexRoute extends Route {\n                @action\n                trackIfDebug(arg) {\n                  if (debug) {\n                    this.send('track', arg);\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            */// Set with reopen to override parent behavior\n}_Route=Route;_defineProperty(Route,\"isRouteFactory\",true);decorateMethodV2(_Route.prototype,\"_store\",[computed]);decorateMethodV2(_Route.prototype,\"_qp\",[computed]);function getRenderState(route){return route[RENDER_STATE];}function buildRenderState(route){let owner=getOwner$2(route);let name=route.routeName;let controller=owner.lookup(`controller:${route.controllerName||name}`);let model=route.currentModel;let template=owner.lookup(`template:${route.templateName||name}`);let render={owner,into:undefined,outlet:'main',name,controller,model,template:(template===null||template===void 0?void 0:template(owner))??route._topLevelViewTemplate(owner)};return render;}function getFullQueryParams(router,state){if(state.fullQueryParams){return state.fullQueryParams;}let haveAllRouteInfosResolved=state.routeInfos.every(routeInfo=>routeInfo.route);let fullQueryParamsState={...state.queryParams};router._deserializeQueryParams(state.routeInfos,fullQueryParamsState);// only cache query params state if all routeinfos have resolved; it's possible\n// for lazy routes to not have resolved when `getFullQueryParams` is called, so\n// we wait until all routes have resolved prior to caching query params state\nif(haveAllRouteInfosResolved){state.fullQueryParams=fullQueryParamsState;}return fullQueryParamsState;}function getQueryParamsFor(route,state){state.queryParamsFor=state.queryParamsFor||{};let name=route.fullRouteName;let existing=state.queryParamsFor[name];if(existing){return existing;}let fullQueryParams=getFullQueryParams(route._router,state);let params=state.queryParamsFor[name]={};// Copy over all the query params for this route/controller into params hash.\n// SAFETY: Since `_qp` is protected we can't infer the type\nlet qps=get$2(route,'_qp').qps;for(let qp of qps){// Put deserialized qp on params hash.\nlet qpValueWasPassedIn=qp.prop in fullQueryParams;params[qp.prop]=qpValueWasPassedIn?fullQueryParams[qp.prop]:copyDefaultValue(qp.defaultValue);}return params;}// FIXME: This should probably actually return a `NativeArray` if the passed in value is an Array.\nfunction copyDefaultValue(value){if(Array.isArray(value)){// SAFETY: We lost the type data about the array if we don't cast.\nreturn A(value.slice());}return value;}/*\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          */function mergeEachQueryParams(controllerQP,routeQP){let qps={};let keysAlreadyMergedOrSkippable={defaultValue:true,type:true,scope:true,as:true};// first loop over all controller qps, merging them with any matching route qps\n// into a new empty object to avoid mutating.\nfor(let cqpName in controllerQP){if(!Object.prototype.hasOwnProperty.call(controllerQP,cqpName)){continue;}qps[cqpName]={...controllerQP[cqpName],...routeQP[cqpName]};// allows us to skip this QP when we check route QPs.\nkeysAlreadyMergedOrSkippable[cqpName]=true;}// loop over all route qps, skipping those that were merged in the first pass\n// because they also appear in controller qps\nfor(let rqpName in routeQP){if(!Object.prototype.hasOwnProperty.call(routeQP,rqpName)||keysAlreadyMergedOrSkippable[rqpName]){continue;}qps[rqpName]={...routeQP[rqpName],...controllerQP[rqpName]};}return qps;}function addQueryParamsObservers(controller,propNames){propNames.forEach(prop=>{if(descriptorForProperty(controller,prop)===undefined){let desc=lookupDescriptor(controller,prop);if(desc!==null&&(typeof desc.get==='function'||typeof desc.set==='function')){defineProperty(controller,prop,dependentKeyCompat({get:desc.get,set:desc.set}));}}addObserver(controller,`${prop}.[]`,controller,controller._qpChanged,false);});}function getEngineRouteName(engine,routeName){if(engine.routable){let prefix=engine.mountPoint;if(routeName==='application'){return prefix;}else{return`${prefix}.${routeName}`;}}return routeName;}const defaultSerialize=Route.prototype.serialize;function hasDefaultSerialize(route){return route.serialize===defaultSerialize;}// Set these here so they can be overridden with extend\nRoute.reopen({mergedProperties:['queryParams'],queryParams:{},templateName:null,controllerName:null,send(){for(var _len59=arguments.length,args=new Array(_len59),_key60=0;_key60<_len59;_key60++){args[_key60]=arguments[_key60];}if(this._router&&this._router._routerMicrolib||!isTesting()){this._router.send(...args);}else{let name=args.shift();let action=this.actions[name];if(action){return action.apply(this,args);}}},/**\n              The controller associated with this route.\n               Example\n               ```app/routes/form.js\n              import Route from '@ember/routing/route';\n              import { action } from '@ember/object';\n               export default class FormRoute extends Route {\n                @action\n                willTransition(transition) {\n                  if (this.controller.get('userHasEnteredData') &&\n                      !confirm('Are you sure you want to abandon progress?')) {\n                    transition.abort();\n                  } else {\n                    // Bubble the `willTransition` action so that\n                    // parent routes can decide whether or not to abort.\n                    return true;\n                  }\n                }\n              }\n              ```\n               @property controller\n              @type Controller\n              @since 1.6.0\n              @public\n            */actions:{/**\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              */queryParamsDidChange(changed,_totalPresent,removed){// SAFETY: Since `_qp` is protected we can't infer the type\nlet qpMap=get$2(this,'_qp').map;let totalChanged=Object.keys(changed).concat(Object.keys(removed));for(let change of totalChanged){let qp=qpMap[change];if(qp){let options=this._optionsForQueryParam(qp);if(get$2(options,'refreshModel')&&this._router.currentState){this.refresh();break;}}}return true;},finalizeQueryParamChange(params,finalParams,transition){if(this.fullRouteName!=='application'){return true;}// Transition object is absent for intermediate transitions.\nif(!transition){return;}let routeInfos=transition[STATE_SYMBOL].routeInfos;let router=this._router;let qpMeta=router._queryParamsFor(routeInfos);let changes=router._qpUpdates;let qpUpdated=false;let replaceUrl;stashParamNames(router,routeInfos);for(let qp of qpMeta.qps){let route=qp.route;let controller=route.controller;let presentKey=qp.urlKey in params&&qp.urlKey;// Do a reverse lookup to see if the changed query\n// param URL key corresponds to a QP property on\n// this controller.\nlet value;let svalue;if(changes.has(qp.urlKey)){// Value updated in/before setupController\nvalue=get$2(controller,qp.prop);svalue=route.serializeQueryParam(value,qp.urlKey,qp.type);}else{if(presentKey){svalue=params[presentKey];if(svalue!==undefined){value=route.deserializeQueryParam(svalue,qp.urlKey,qp.type);}}else{// No QP provided; use default value.\nsvalue=qp.serializedDefaultValue;value=copyDefaultValue(qp.defaultValue);}}// SAFETY: Since `_qp` is protected we can't infer the type\ncontroller._qpDelegate=get$2(route,'_qp').states.inactive;let thisQueryParamChanged=svalue!==qp.serializedValue;if(thisQueryParamChanged){if(transition.queryParamsOnly&&replaceUrl!==false){let options=route._optionsForQueryParam(qp);let replaceConfigValue=get$2(options,'replace');if(replaceConfigValue){replaceUrl=true;}else if(replaceConfigValue===false){// Explicit pushState wins over any other replaceStates.\nreplaceUrl=false;}}set(controller,qp.prop,value);qpUpdated=true;}// Stash current serialized value of controller.\nqp.serializedValue=svalue;let thisQueryParamHasDefaultValue=qp.serializedDefaultValue===svalue;if(!thisQueryParamHasDefaultValue){finalParams.push({value:svalue,visible:true,key:presentKey||qp.urlKey});}}// Some QPs have been updated, and those changes need to be propogated\n// immediately. Eventually, we should work on making this async somehow.\nif(qpUpdated===true){flushAsyncObservers(false);}if(replaceUrl){transition.method('replace');}qpMeta.qps.forEach(qp=>{// SAFETY: Since `_qp` is protected we can't infer the type\nlet routeQpMeta=get$2(qp.route,'_qp');let finalizedController=qp.route.controller;finalizedController['_qpDelegate']=get$2(routeQpMeta,'states.active');});router._qpUpdates.clear();return;}}});const emberRoutingRoute=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Route,defaultSerialize,getFullQueryParams,getRenderState,hasDefaultSerialize},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/routing/router\n          */function defaultDidTransition(infos){updatePaths(this);this._cancelSlowTransitionTimer();this.notifyPropertyChange('url');this.set('currentState',this.targetState);}function defaultWillTransition(oldInfos,newInfos){}function K(){return this;}const{slice}=Array.prototype;/**\n            The `EmberRouter` class manages the application state and URLs. Refer to\n            the [routing guide](https://guides.emberjs.com/release/routing/) for documentation.\n\n            @class EmberRouter\n            @extends EmberObject\n            @uses Evented\n            @public\n          */class EmberRouter extends EmberObject.extend(Evented){/**\n              The `Router.map` function allows you to define mappings from URLs to routes\n              in your application. These mappings are defined within the\n              supplied callback function using `this.route`.\n               The first parameter is the name of the route which is used by default as the\n              path name as well.\n               The second parameter is the optional options hash. Available options are:\n                 * `path`: allows you to provide your own path as well as mark dynamic\n                  segments.\n                * `resetNamespace`: false by default; when nesting routes, ember will\n                  combine the route names to form the fully-qualified route name, which is\n                  used with `{{link-to}}` or manually transitioning to routes. Setting\n                  `resetNamespace: true` will cause the route not to inherit from its\n                  parent route's names. This is handy for preventing extremely long route names.\n                  Keep in mind that the actual URL path behavior is still retained.\n               The third parameter is a function, which can be used to nest routes.\n              Nested routes, by default, will have the parent route tree's route name and\n              path prepended to it's own.\n               ```app/router.js\n              Router.map(function(){\n                this.route('post', { path: '/post/:post_id' }, function() {\n                  this.route('edit');\n                  this.route('comments', { resetNamespace: true }, function() {\n                    this.route('new');\n                  });\n                });\n              });\n              ```\n               @method map\n              @param callback\n              @public\n            */static map(callback){if(!this.dslCallbacks){this.dslCallbacks=[];// FIXME: Can we remove this?\nthis.reopenClass({dslCallbacks:this.dslCallbacks});}this.dslCallbacks.push(callback);return this;}static _routePath(routeInfos){let path=[];// We have to handle coalescing resource names that\n// are prefixed with their parent's names, e.g.\n// ['foo', 'foo.bar.baz'] => 'foo.bar.baz', not 'foo.foo.bar.baz'\nfunction intersectionMatches(a1,a2){for(let i=0;i<a1.length;++i){if(a1[i]!==a2[i]){return false;}}return true;}let name,nameParts,oldNameParts;for(let i=1;i<routeInfos.length;i++){let routeInfo=routeInfos[i];name=routeInfo.name;nameParts=name.split('.');oldNameParts=slice.call(path);while(oldNameParts.length){if(intersectionMatches(oldNameParts,nameParts)){break;}oldNameParts.shift();}path.push(...nameParts.slice(oldNameParts.length));}return path.join('.');}// Note that owner is actually required in this scenario, but since it is strictly\n// optional in other contexts trying to make it required here confuses TS.\nconstructor(owner){super(owner);/**\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            */// Set with reopen to allow overriding via extend\n/**\n             The `location` property determines the type of URL's that your\n              application will use.\n               The following location types are currently available:\n               * `history` - use the browser's history API to make the URLs look just like any standard URL\n              * `hash` - use `#` to separate the server part of the URL from the Ember part: `/blog/#/posts/new`\n              * `none` - do not store the Ember URL in the actual browser URL (mainly used for testing)\n              * `auto` - use the best option based on browser capabilities: `history` if possible, then `hash` if possible, otherwise `none`\n               This value is defaulted to `history` by the `locationType` setting of `/config/environment.js`\n               @property location\n              @default 'hash'\n              @see {Location}\n              @public\n            */// Set with reopen to allow overriding via extend\n_defineProperty(this,\"_routerMicrolib\",void 0);_defineProperty(this,\"_didSetupRouter\",false);_defineProperty(this,\"_initialTransitionStarted\",false);_defineProperty(this,\"currentURL\",null);_defineProperty(this,\"currentRouteName\",null);_defineProperty(this,\"currentPath\",null);_defineProperty(this,\"currentRoute\",null);_defineProperty(this,\"_qpCache\",Object.create(null));// Set of QueryParam['urlKey']\n_defineProperty(this,\"_qpUpdates\",new Set());_defineProperty(this,\"_queuedQPChanges\",{});_defineProperty(this,\"_bucketCache\",void 0);_defineProperty(this,\"_toplevelView\",null);_defineProperty(this,\"_handledErrors\",new Set());_defineProperty(this,\"_engineInstances\",Object.create(null));_defineProperty(this,\"_engineInfoByRoute\",Object.create(null));_defineProperty(this,\"_routerService\",void 0);_defineProperty(this,\"_slowTransitionTimer\",null);_defineProperty(this,\"namespace\",void 0);_defineProperty(this,\"currentState\",null);_defineProperty(this,\"targetState\",null);this._resetQueuedQueryParameterChanges();this.namespace=owner.lookup('application:main');let bucketCache=owner.lookup(privatize`-bucket-cache:main`);this._bucketCache=bucketCache;let routerService=owner.lookup('service:router');this._routerService=routerService;}_initRouterJs(){let location=get$2(this,'location');let router=this;const owner=getOwner$1(this);let seen=Object.create(null);class PrivateRouter extends Router{getRoute(name){let routeName=name;let routeOwner=owner;let engineInfo=router._engineInfoByRoute[routeName];if(engineInfo){let engineInstance=router._getEngineInstance(engineInfo);routeOwner=engineInstance;routeName=engineInfo.localFullName;}let fullRouteName=`route:${routeName}`;let route=routeOwner.lookup(fullRouteName);if(seen[name]){return route;}seen[name]=true;if(!route){// SAFETY: this is configured in `commonSetupRegistry` in the\n// `@ember/application/lib` package.\nlet DefaultRoute=routeOwner.factoryFor('route:basic').class;routeOwner.register(fullRouteName,DefaultRoute.extend());route=routeOwner.lookup(fullRouteName);}route._setRouteName(routeName);if(engineInfo&&!hasDefaultSerialize(route)){throw new Error('Defining a custom serialize method on an Engine route is not supported.');}return route;}getSerializer(name){let engineInfo=router._engineInfoByRoute[name];// If this is not an Engine route, we fall back to the handler for serialization\nif(!engineInfo){return;}return engineInfo.serializeMethod||defaultSerialize;}updateURL(path){once(()=>{location.setURL(path);set(router,'currentURL',path);});}// TODO: merge into routeDidChange\ndidTransition(infos){router.didTransition(infos);}// TODO: merge into routeWillChange\nwillTransition(oldInfos,newInfos){router.willTransition(oldInfos,newInfos);}triggerEvent(routeInfos,ignoreFailure,name,args){return triggerEvent.bind(router)(routeInfos,ignoreFailure,name,args);}routeWillChange(transition){router.trigger('routeWillChange',transition);router._routerService.trigger('routeWillChange',transition);// in case of intermediate transition we update the current route\n// to make router.currentRoute.name consistent with router.currentRouteName\n// see https://github.com/emberjs/ember.js/issues/19449\nif(transition.isIntermediate){router.set('currentRoute',transition.to);}}routeDidChange(transition){router.set('currentRoute',transition.to);once(()=>{router.trigger('routeDidChange',transition);router._routerService.trigger('routeDidChange',transition);});}transitionDidError(error,transition){if(error.wasAborted||transition.isAborted){// If the error was a transition erorr or the transition aborted\n// log the abort.\nreturn logAbort(transition);}else{// Otherwise trigger the \"error\" event to attempt an intermediate\n// transition into an error substate\ntransition.trigger(false,'error',error.error,transition,error.route);if(router._isErrorHandled(error.error)){// If we handled the error with a substate just roll the state back on\n// the transition and send the \"routeDidChange\" event for landing on\n// the error substate and return the error.\ntransition.rollback();this.routeDidChange(transition);return error.error;}else{// If it was not handled, abort the transition completely and return\n// the error.\ntransition.abort();return error.error;}}}replaceURL(url){if(location.replaceURL){let doReplaceURL=()=>{location.replaceURL(url);set(router,'currentURL',url);};once(doReplaceURL);}else{this.updateURL(url);}}}let routerMicrolib=this._routerMicrolib=new PrivateRouter();let dslCallbacks=this.constructor.dslCallbacks||[K];let dsl=this._buildDSL();dsl.route('application',{path:'/',resetNamespace:true,overrideNameAssertion:true},function(){for(let i=0;i<dslCallbacks.length;i++){dslCallbacks[i].call(this);}});routerMicrolib.map(dsl.generate());}_buildDSL(){let enableLoadingSubstates=this._hasModuleBasedResolver();let router=this;const owner=getOwner$1(this);let options={enableLoadingSubstates,resolveRouteMap(name){return owner.factoryFor(`route-map:${name}`);},addRouteForEngine(name,engineInfo){if(!router._engineInfoByRoute[name]){router._engineInfoByRoute[name]=engineInfo;}}};return new DSLImpl(null,options);}/*\n              Resets all pending query parameter changes.\n              Called after transitioning to a new route\n              based on query parameter changes.\n            */_resetQueuedQueryParameterChanges(){this._queuedQPChanges={};}_hasModuleBasedResolver(){let owner=getOwner$1(this);let resolver=get$2(owner,'application.__registry__.resolver.moduleBasedResolver');return Boolean(resolver);}/**\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            */startRouting(){if(this.setupRouter()){let initialURL=get$2(this,'initialURL');if(initialURL===undefined){initialURL=get$2(this,'location').getURL();}let initialTransition=this.handleURL(initialURL);if(initialTransition&&initialTransition.error){throw initialTransition.error;}}}setupRouter(){if(this._didSetupRouter){return false;}this._didSetupRouter=true;this._setupLocation();let location=get$2(this,'location');// Allow the Location class to cancel the router setup while it refreshes\n// the page\nif(get$2(location,'cancelRouterSetup')){return false;}this._initRouterJs();location.onUpdateURL(url=>{this.handleURL(url);});return true;}_setOutlets(){// This is triggered async during Route#willDestroy.\n// If the router is also being destroyed we do not want to\n// to create another this._toplevelView (and leak the renderer)\nif(this.isDestroying||this.isDestroyed){return;}let routeInfos=this._routerMicrolib.currentRouteInfos;if(!routeInfos){return;}let root=null;let parent=null;for(let routeInfo of routeInfos){let route=routeInfo.route;let render=getRenderState(route);if(render){let state={render,outlets:{main:undefined}};if(parent){parent.outlets.main=state;}else{root=state;}parent=state;}else{// It used to be that we would create a stub entry and keep traversing,\n// but I don't think that is necessary anymore – if a parent route did\n// not render, then the child routes have nowhere to render into these\n// days. That wasn't always the case since in the past any route can\n// render into any other route's outlets.\nbreak;}}// 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\nif(root===null){return;}if(!this._toplevelView){let owner=getOwner$1(this);// this safe, so in each of these cases we assume that nothing *else* is\n// registered at this `FullName`, and simply check to make sure that\n// *something* is.\nlet OutletView=owner.factoryFor('view:-outlet');let application=owner.lookup('application:main');let environment=owner.lookup('-environment:main');let template=owner.lookup('template:-outlet');this._toplevelView=OutletView.create({environment,template,application});this._toplevelView.setOutletState(root);// TODO(SAFETY): At least one test runs without this set correctly. At a\n// later time, update the test to configure this correctly. The test ID:\n// `Router Service - non application test:  RouterService#transitionTo with basic route`\nlet instance=owner.lookup('-application-instance:main');// let instance = owner.lookup('-application-instance:main') as ApplicationInstance | undefined;\n// assert('[BUG] unexpectedly missing `-application-instance:main`', instance !== undefined);\nif(instance){// SAFETY: LOL. This is calling a deprecated API with a type that we\n// cannot actually confirm at a type level *is* a `ViewMixin`. Seems:\n// not great on multiple fronts!\ninstance.didCreateRootView(this._toplevelView);}}else{this._toplevelView.setOutletState(root);}}handleURL(url){// 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.\nlet _url=url.split(/#(.+)?/)[0];return this._doURLTransition('handleURL',_url);}_doURLTransition(routerJsMethod,url){this._initialTransitionStarted=true;let transition=this._routerMicrolib[routerJsMethod](url||'/');didBeginTransition(transition,this);return transition;}/**\n              Transition the application into another route. The route may\n              be either a single route or route path:\n               @method transitionTo\n              @param {String} [name] the name of the route or a URL\n              @param {...Object} models the model(s) or identifier(s) to be used while\n                transitioning to the route.\n              @param {Object} [options] optional hash with a queryParams property\n                containing a mapping of query parameters\n              @return {Transition} the transition object associated with this\n                attempted transition\n              @public\n            */transitionTo(){for(var _len60=arguments.length,args=new Array(_len60),_key61=0;_key61<_len60;_key61++){args[_key61]=arguments[_key61];}if(resemblesURL(args[0])){return this._doURLTransition('transitionTo',args[0]);}let{routeName,models,queryParams}=extractRouteArgs(args);return this._doTransition(routeName,models,queryParams);}intermediateTransitionTo(name){for(var _len61=arguments.length,args=new Array(_len61>1?_len61-1:0),_key62=1;_key62<_len61;_key62++){args[_key62-1]=arguments[_key62];}this._routerMicrolib.intermediateTransitionTo(name,...args);updatePaths(this);}/**\n              Similar to `transitionTo`, but instead of adding the destination to the browser's URL history,\n              it replaces the entry for the current route.\n              When the user clicks the \"back\" button in the browser, there will be fewer steps.\n              This is most commonly used to manage redirects in a way that does not cause confusing additions\n              to the user's browsing history.\n               @method replaceWith\n              @param {String} [name] the name of the route or a URL\n              @param {...Object} models the model(s) or identifier(s) to be used while\n                transitioning to the route.\n              @param {Object} [options] optional hash with a queryParams property\n                containing a mapping of query parameters\n              @return {Transition} the transition object associated with this\n                attempted transition\n              @public\n            */replaceWith(){return this.transitionTo(...arguments).method('replace');}generate(name){for(var _len62=arguments.length,args=new Array(_len62>1?_len62-1:0),_key63=1;_key63<_len62;_key63++){args[_key63-1]=arguments[_key63];}let url=this._routerMicrolib.generate(name,...args);return this.location.formatURL(url);}/**\n              Determines if the supplied route is currently active.\n               @method isActive\n              @param routeName\n              @return {Boolean}\n              @private\n            */isActive(routeName){return this._routerMicrolib.isActive(routeName);}/**\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            */isActiveIntent(routeName,models,queryParams){return this.currentState.isActiveIntent(routeName,models,queryParams);}send(name){for(var _len63=arguments.length,args=new Array(_len63>1?_len63-1:0),_key64=1;_key64<_len63;_key64++){args[_key64-1]=arguments[_key64];}/*name, context*/this._routerMicrolib.trigger(name,...args);}/**\n              Does this router instance have the given route.\n               @method hasRoute\n              @return {Boolean}\n              @private\n            */hasRoute(route){return this._routerMicrolib.hasRoute(route);}/**\n              Resets the state of the router by clearing the current route\n              handlers and deactivating them.\n               @private\n              @method reset\n             */reset(){this._didSetupRouter=false;this._initialTransitionStarted=false;if(this._routerMicrolib){this._routerMicrolib.reset();}}willDestroy(){if(this._toplevelView){this._toplevelView.destroy();this._toplevelView=null;}super.willDestroy();this.reset();let instances=this._engineInstances;for(let name in instances){let instanceMap=instances[name];for(let id in instanceMap){let instance=instanceMap[id];run$1(instance,'destroy');}}}/*\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            */_activeQPChanged(queryParameterName,newValue){this._queuedQPChanges[queryParameterName]=newValue;once(this,this._fireQueryParamTransition);}// The queryParameterName is QueryParam['urlKey']\n_updatingQPChanged(queryParameterName){this._qpUpdates.add(queryParameterName);}/*\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            */_fireQueryParamTransition(){this.transitionTo({queryParams:this._queuedQPChanges});this._resetQueuedQueryParameterChanges();}_setupLocation(){let location=this.location;let rootURL=this.rootURL;let owner=getOwner$1(this);if('string'===typeof location){let resolvedLocation=owner.lookup(`location:${location}`);location=set(this,'location',resolvedLocation);}if(location!==null&&typeof location==='object'){if(rootURL){set(location,'rootURL',rootURL);}// ensure that initState is called AFTER the rootURL is set on\n// the location instance\nif(typeof location.initState==='function'){location.initState();}}}/**\n              Serializes the given query params according to their QP meta information.\n               @private\n              @method _serializeQueryParams\n              @param {Arrray<RouteInfo>} routeInfos\n              @param {Object} queryParams\n              @return {Void}\n            */_serializeQueryParams(routeInfos,queryParams){forEachQueryParam(this,routeInfos,queryParams,(key,value,qp)=>{if(qp){delete queryParams[key];queryParams[qp.urlKey]=qp.route.serializeQueryParam(value,qp.urlKey,qp.type);}else if(value===undefined){return;// We don't serialize undefined values\n}else{queryParams[key]=this._serializeQueryParam(value,typeOf(value));}});}/**\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            */_serializeQueryParam(value,type){if(value===null||value===undefined){return value;}else if(type==='array'){return JSON.stringify(value);}return`${value}`;}/**\n              Deserializes the given query params according to their QP meta information.\n               @private\n              @method _deserializeQueryParams\n              @param {Array<RouteInfo>} routeInfos\n              @param {Object} queryParams\n              @return {Void}\n            */_deserializeQueryParams(routeInfos,queryParams){forEachQueryParam(this,routeInfos,queryParams,(key,value,qp)=>{// 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\nif(qp){delete queryParams[key];queryParams[qp.prop]=qp.route.deserializeQueryParam(value,qp.urlKey,qp.type);}});}/**\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            */_deserializeQueryParam(value,defaultType){if(value===null||value===undefined){return value;}else if(defaultType==='boolean'){return value==='true';}else if(defaultType==='number'){return Number(value).valueOf();}else if(defaultType==='array'){return A(JSON.parse(value));}return value;}/**\n              Removes (prunes) any query params with default values from the given QP\n              object. Default values are determined from the QP meta information per key.\n               @private\n              @method _pruneDefaultQueryParamValues\n              @param {Array<RouteInfo>} routeInfos\n              @param {Object} queryParams\n              @return {Void}\n            */_pruneDefaultQueryParamValues(routeInfos,queryParams){let qps=this._queryParamsFor(routeInfos);for(let key in queryParams){let qp=qps.map[key];if(qp&&qp.serializedDefaultValue===queryParams[key]){delete queryParams[key];}}}_doTransition(_targetRouteName,models,_queryParams,_fromRouterService){let targetRouteName=_targetRouteName||getActiveTargetName(this._routerMicrolib);this._initialTransitionStarted=true;let queryParams={};this._processActiveTransitionQueryParams(targetRouteName,models,queryParams,_queryParams);Object.assign(queryParams,_queryParams);this._prepareQueryParams(targetRouteName,models,queryParams,Boolean(_fromRouterService));let transition=this._routerMicrolib.transitionTo(targetRouteName,...models,{queryParams});didBeginTransition(transition,this);return transition;}_processActiveTransitionQueryParams(targetRouteName,models,queryParams,_queryParams){// merge in any queryParams from the active transition which could include\n// queryParams from the url on initial load.\nif(!this._routerMicrolib.activeTransition){return;}let unchangedQPs={};let qpUpdates=this._qpUpdates;let params=getFullQueryParams(this,this._routerMicrolib.activeTransition[STATE_SYMBOL]);for(let key in params){if(!qpUpdates.has(key)){unchangedQPs[key]=params[key];}}// We need to fully scope queryParams so that we can create one object\n// that represents both passed-in queryParams and ones that aren't changed\n// from the active transition.\nthis._fullyScopeQueryParams(targetRouteName,models,_queryParams);this._fullyScopeQueryParams(targetRouteName,models,unchangedQPs);Object.assign(queryParams,unchangedQPs);}/**\n              Prepares the query params for a URL or Transition. Restores any undefined QP\n              keys/values, serializes all values, and then prunes any default values.\n               @private\n              @method _prepareQueryParams\n              @param {String} targetRouteName\n              @param {Array<Object>} models\n              @param {Object} queryParams\n              @param {boolean} keepDefaultQueryParamValues\n              @return {Void}\n            */_prepareQueryParams(targetRouteName,models,queryParams,_fromRouterService){let state=calculatePostTransitionState(this,targetRouteName,models);this._hydrateUnsuppliedQueryParams(state,queryParams,Boolean(_fromRouterService));this._serializeQueryParams(state.routeInfos,queryParams);if(!_fromRouterService){this._pruneDefaultQueryParamValues(state.routeInfos,queryParams);}}/**\n              Returns the meta information for the query params of a given route. This\n              will be overridden to allow support for lazy routes.\n               @private\n              @method _getQPMeta\n              @param {RouteInfo} routeInfo\n              @return {Object}\n            */_getQPMeta(routeInfo){let route=routeInfo.route;return route&&get$2(route,'_qp');}/**\n              Returns a merged query params meta object for a given set of routeInfos.\n              Useful for knowing what query params are available for a given route hierarchy.\n               @private\n              @method _queryParamsFor\n              @param {Array<RouteInfo>} routeInfos\n              @return {Object}\n             */_queryParamsFor(routeInfos){let routeInfoLength=routeInfos.length;let leafRouteName=routeInfos[routeInfoLength-1].name;let cached=this._qpCache[leafRouteName];if(cached!==undefined){return cached;}let shouldCache=true;let map={};let qps=[];let qpMeta;for(let routeInfo of routeInfos){qpMeta=this._getQPMeta(routeInfo);if(!qpMeta){shouldCache=false;continue;}// Loop over each QP to make sure we don't have any collisions by urlKey\nfor(let qp of qpMeta.qps){qps.push(qp);}Object.assign(map,qpMeta.map);}let finalQPMeta={qps,map};if(shouldCache){this._qpCache[leafRouteName]=finalQPMeta;}return finalQPMeta;}/**\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            */_fullyScopeQueryParams(leafRouteName,contexts,queryParams){let state=calculatePostTransitionState(this,leafRouteName,contexts);let routeInfos=state.routeInfos;let qpMeta;for(let routeInfo of routeInfos){qpMeta=this._getQPMeta(routeInfo);if(!qpMeta){continue;}for(let qp of qpMeta.qps){let presentProp=qp.prop in queryParams&&qp.prop||qp.scopedPropertyName in queryParams&&qp.scopedPropertyName||qp.urlKey in queryParams&&qp.urlKey;if(presentProp){if(presentProp!==qp.scopedPropertyName){queryParams[qp.scopedPropertyName]=queryParams[presentProp];delete queryParams[presentProp];}}}}}/**\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            */_hydrateUnsuppliedQueryParams(state,queryParams,_fromRouterService){let routeInfos=state.routeInfos;let appCache=this._bucketCache;let qpMeta;let qp;let presentProp;for(let routeInfo of routeInfos){qpMeta=this._getQPMeta(routeInfo);if(!qpMeta){continue;}// Needs to stay for index loop to avoid throwIfClosureRequired\nfor(let j=0,qpLen=qpMeta.qps.length;j<qpLen;++j){qp=qpMeta.qps[j];presentProp=qp.prop in queryParams&&qp.prop||qp.scopedPropertyName in queryParams&&qp.scopedPropertyName||qp.urlKey in queryParams&&qp.urlKey;if(presentProp){if(presentProp!==qp.scopedPropertyName){queryParams[qp.scopedPropertyName]=queryParams[presentProp];delete queryParams[presentProp];}}else{let cacheKey=calculateCacheKey(qp.route.fullRouteName,qp.parts,state.params);queryParams[qp.scopedPropertyName]=appCache.lookup(cacheKey,qp.prop,qp.defaultValue);}}}}_scheduleLoadingEvent(transition,originRoute){this._cancelSlowTransitionTimer();this._slowTransitionTimer=scheduleOnce('routerTransitions',this,this._handleSlowTransition,transition,originRoute);}_handleSlowTransition(transition,originRoute){if(!this._routerMicrolib.activeTransition){// Don't fire an event if we've since moved on from\n// the transition that put us in a loading state.\nreturn;}let targetState=new RouterState(this,this._routerMicrolib,this._routerMicrolib.activeTransition[STATE_SYMBOL]);this.set('targetState',targetState);transition.trigger(true,'loading',transition,originRoute);}_cancelSlowTransitionTimer(){if(this._slowTransitionTimer){cancel(this._slowTransitionTimer);}this._slowTransitionTimer=null;}// These three helper functions are used to ensure errors aren't\n// re-raised if they're handled in a route's error action.\n_markErrorAsHandled(error){this._handledErrors.add(error);}_isErrorHandled(error){return this._handledErrors.has(error);}_clearHandledError(error){this._handledErrors.delete(error);}_getEngineInstance(_ref147){let{name,instanceId,mountPoint}=_ref147;let engineInstances=this._engineInstances;let namedInstances=engineInstances[name];if(!namedInstances){namedInstances=Object.create(null);engineInstances[name]=namedInstances;}let engineInstance=namedInstances[instanceId];if(!engineInstance){let owner=getOwner$1(this);engineInstance=owner.buildChildEngineInstance(name,{routable:true,mountPoint});engineInstance.boot();namedInstances[instanceId]=engineInstance;}return engineInstance;}/**\n              Handles updating the paths and notifying any listeners of the URL\n              change.\n               Triggers the router level `didTransition` hook.\n               For example, to notify google analytics when the route changes,\n              you could use this hook.  (Note: requires also including GA scripts, etc.)\n               ```javascript\n              import config from './config/environment';\n              import EmberRouter from '@ember/routing/router';\n              import { service } from '@ember/service';\n               let Router = EmberRouter.extend({\n                location: config.locationType,\n                 router: service(),\n                 didTransition: function() {\n                  this._super(...arguments);\n                   ga('send', 'pageview', {\n                    page: this.router.currentURL,\n                    title: this.router.currentRouteName,\n                  });\n                }\n              });\n              ```\n               @method didTransition\n              @private\n              @since 1.2.0\n            */// Set with reopen to allow overriding via extend\n/**\n              Handles notifying any listeners of an impending URL\n              change.\n               Triggers the router level `willTransition` hook.\n               @method willTransition\n              @private\n              @since 1.11.0\n            */// Set with reopen to allow overriding via extend\n/**\n             Represents the current URL.\n               @property url\n              @type {String}\n              @private\n            */// Set with reopen to allow overriding via extend\n}/*\n            Helper function for iterating over routes in a set of routeInfos that are\n            at or above the given origin route. Example: if `originRoute` === 'foo.bar'\n            and the routeInfos given were for 'foo.bar.baz', then the given callback\n            will be invoked with the routes for 'foo.bar', 'foo', and 'application'\n            individually.\n\n            If the callback returns anything other than `true`, then iteration will stop.\n\n            @private\n            @param {Route} originRoute\n            @param {Array<RouteInfo>} routeInfos\n            @param {Function} callback\n            @return {Void}\n           */// Begin Evented\n// End Evented\n// Set with reopenClass\n_defineProperty(EmberRouter,\"dslCallbacks\",void 0);function forEachRouteAbove(routeInfos,callback){for(let i=routeInfos.length-1;i>=0;--i){let routeInfo=routeInfos[i];let route=routeInfo.route;// routeInfo.handler being `undefined` generally means either:\n//\n// 1. an error occurred during creation of the route in question\n// 2. the route is across an async boundary (e.g. within an engine)\n//\n// In both of these cases, we cannot invoke the callback on that specific\n// route, because it just doesn't exist...\nif(route===undefined){continue;}if(callback(route,routeInfo)!==true){return;}}}// These get invoked when an action bubbles above ApplicationRoute\n// and are not meant to be overridable.\nlet defaultActionHandlers={willResolveModel(_routeInfos,transition,originRoute){this._scheduleLoadingEvent(transition,originRoute);},// Attempt to find an appropriate error route or substate to enter.\nerror(routeInfos,error,transition){let router=this;let routeInfoWithError=routeInfos[routeInfos.length-1];forEachRouteAbove(routeInfos,(route,routeInfo)=>{// We don't check the leaf most routeInfo since that would\n// technically be below where we're at in the route hierarchy.\nif(routeInfo!==routeInfoWithError){// Check for the existence of an 'error' route.\nlet errorRouteName=findRouteStateName(route,'error');if(errorRouteName){router._markErrorAsHandled(error);router.intermediateTransitionTo(errorRouteName,error);return false;}}// Check for an 'error' substate route\nlet errorSubstateName=findRouteSubstateName(route,'error');if(errorSubstateName){router._markErrorAsHandled(error);router.intermediateTransitionTo(errorSubstateName,error);return false;}return true;});logError(error,`Error while processing route: ${transition.targetName}`);},// Attempt to find an appropriate loading route or substate to enter.\nloading(routeInfos,transition){let router=this;let routeInfoWithSlowLoading=routeInfos[routeInfos.length-1];forEachRouteAbove(routeInfos,(route,routeInfo)=>{// We don't check the leaf most routeInfos since that would\n// technically be below where we're at in the route hierarchy.\nif(routeInfo!==routeInfoWithSlowLoading){// Check for the existence of a 'loading' route.\nlet loadingRouteName=findRouteStateName(route,'loading');if(loadingRouteName){router.intermediateTransitionTo(loadingRouteName);return false;}}// Check for loading substate\nlet loadingSubstateName=findRouteSubstateName(route,'loading');if(loadingSubstateName){router.intermediateTransitionTo(loadingSubstateName);return false;}// Don't bubble above pivot route.\nreturn transition.pivotHandler!==route;});}};function logError(_error,initialMessage){let errorArgs=[];let error;if(_error&&typeof _error==='object'&&typeof _error.errorThrown==='object'){error=_error.errorThrown;}else{error=_error;}if(initialMessage){errorArgs.push(initialMessage);}if(error){if(error.message){errorArgs.push(error.message);}if(error.stack){errorArgs.push(error.stack);}if(typeof error==='string'){errorArgs.push(error);}}console.error(...errorArgs);//eslint-disable-line no-console\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          */function findRouteSubstateName(route,state){let owner=getOwner$1(route);let{routeName,fullRouteName,_router:router}=route;let substateName=`${routeName}_${state}`;let substateNameFull=`${fullRouteName}_${state}`;return routeHasBeenDefined(owner,router,substateName,substateNameFull)?substateNameFull:'';}/**\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          */function findRouteStateName(route,state){let owner=getOwner$1(route);let{routeName,fullRouteName,_router:router}=route;let stateName=routeName==='application'?state:`${routeName}.${state}`;let stateNameFull=fullRouteName==='application'?state:`${fullRouteName}.${state}`;return routeHasBeenDefined(owner,router,stateName,stateNameFull)?stateNameFull:'';}/**\n            Determines whether or not a route has been defined by checking that the route\n            is in the Router's map and the owner has a registration for that route.\n\n            @private\n            @param {Owner} owner\n            @param {Router} router\n            @param {String} localName\n            @param {String} fullName\n            @return {Boolean}\n          */function routeHasBeenDefined(owner,router,localName,fullName){let routerHasRoute=router.hasRoute(fullName);let ownerHasRoute=owner.factoryFor(`template:${localName}`)||owner.factoryFor(`route:${localName}`);return routerHasRoute&&ownerHasRoute;}function triggerEvent(routeInfos,ignoreFailure,name,args){if(!routeInfos){if(ignoreFailure){return;}// TODO: update?\nthrow new Error(`Can't trigger action '${name}' because your app hasn't finished transitioning into its first route. To trigger an action on destination routes during a transition, you can call \\`.send()\\` on the \\`Transition\\` object passed to the \\`model/beforeModel/afterModel\\` hooks.`);}let eventWasHandled=false;let routeInfo,handler,actionHandler;for(let i=routeInfos.length-1;i>=0;i--){routeInfo=routeInfos[i];handler=routeInfo.route;actionHandler=handler&&handler.actions&&handler.actions[name];if(actionHandler){if(actionHandler.apply(handler,args)===true){eventWasHandled=true;}else{// Should only hit here if a non-bubbling error action is triggered on a route.\nif(name==='error'){handler._router._markErrorAsHandled(args[0]);}return;}}}let defaultHandler=defaultActionHandlers[name];if(defaultHandler){defaultHandler.call(this,routeInfos,...args);return;}if(!eventWasHandled&&!ignoreFailure){throw new Error(`Nothing handled the action '${name}'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble.`);}}function calculatePostTransitionState(emberRouter,leafRouteName,contexts){let state=emberRouter._routerMicrolib.applyIntent(leafRouteName,contexts);let{routeInfos,params}=state;for(let routeInfo of routeInfos){// If the routeInfo is not resolved, we serialize the context into params\nif(!routeInfo.isResolved){params[routeInfo.name]=routeInfo.serialize(routeInfo.context);}else{params[routeInfo.name]=routeInfo.params;}}return state;}function updatePaths(router){let infos=router._routerMicrolib.currentRouteInfos;if(infos.length===0){return;}let path=EmberRouter._routePath(infos);let info=infos[infos.length-1];let currentRouteName=info.name;let location=router.location;let currentURL=location.getURL();set(router,'currentPath',path);set(router,'currentRouteName',currentRouteName);set(router,'currentURL',currentURL);}function didBeginTransition(transition,router){let routerState=new RouterState(router,router._routerMicrolib,transition[STATE_SYMBOL]);if(!router.currentState){router.set('currentState',routerState);}router.set('targetState',routerState);transition.promise=transition.catch(error=>{if(router._isErrorHandled(error)){router._clearHandledError(error);}else{throw error;}},'Transition Error');}function forEachQueryParam(router,routeInfos,queryParams,callback){let qpCache=router._queryParamsFor(routeInfos);for(let key in queryParams){if(!Object.prototype.hasOwnProperty.call(queryParams,key)){continue;}let value=queryParams[key];let qp=qpCache.map[key];callback(key,value,qp);}}EmberRouter.reopen({didTransition:defaultDidTransition,willTransition:defaultWillTransition,rootURL:'/',location:'hash',// FIXME: Does this need to be overrideable via extend?\nurl:computed(function(){let location=get$2(this,'location');if(typeof location==='string'){return undefined;}return location.getURL();})});const emberRoutingRouter=/*#__PURE__*/Object.defineProperty({__proto__:null,default:EmberRouter,triggerEvent},Symbol.toStringTag,{value:'Module'});/**\n           * @module @ember/routing/router-service\n           */const ROUTER=Symbol('ROUTER');function cleanURL(url,rootURL){if(rootURL==='/'){return url;}return url.substring(rootURL.length);}/**\n             The Router service is the public API that provides access to the router.\n\n             The immediate benefit of the Router service is that you can inject it into components,\n             giving them a friendly way to initiate transitions and ask questions about the current\n             global router state.\n\n             In this example, the Router service is injected into a component to initiate a transition\n             to a dedicated route:\n\n             ```app/components/example.js\n             import Component from '@glimmer/component';\n             import { action } from '@ember/object';\n             import { service } from '@ember/service';\n\n             export default class ExampleComponent extends Component {\n               @service router;\n\n               @action\n               next() {\n                 this.router.transitionTo('other.route');\n               }\n             }\n             ```\n\n             Like any service, it can also be injected into helpers, routes, etc.\n\n             @public\n             @extends Service\n             @class RouterService\n           */var _currentRouteName=/*#__PURE__*/new WeakMap();var _currentURL=/*#__PURE__*/new WeakMap();var _location=/*#__PURE__*/new WeakMap();var _rootURL=/*#__PURE__*/new WeakMap();var _currentRoute=/*#__PURE__*/new WeakMap();class RouterService extends Service.extend(Evented){constructor(){super(...arguments);_defineProperty(this,ROUTER,void 0);_classPrivateFieldInitSpec(this,_currentRouteName,(initializeDeferredDecorator(this,\"currentRouteName\"),void 0));_classPrivateFieldInitSpec(this,_currentURL,(initializeDeferredDecorator(this,\"currentURL\"),void 0));_classPrivateFieldInitSpec(this,_location,(initializeDeferredDecorator(this,\"location\"),void 0));_classPrivateFieldInitSpec(this,_rootURL,(initializeDeferredDecorator(this,\"rootURL\"),void 0));_classPrivateFieldInitSpec(this,_currentRoute,(initializeDeferredDecorator(this,\"currentRoute\"),void 0));}get _router(){let router=this[ROUTER];if(router!==undefined){return router;}let owner=getOwner$2(this);let _router=owner.lookup('router:main');return this[ROUTER]=_router;}willDestroy(){super.willDestroy();this[ROUTER]=undefined;}/**\n               Transition the application into another route. The route may\n               be either a single route or route path:\n                Calling `transitionTo` from the Router service will cause default query parameter values to be included in the URL.\n               This behavior is different from calling `transitionTo` on a route or `transitionToRoute` on a controller.\n               See the [Router Service RFC](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md#query-parameter-semantics) for more info.\n                In the following example we use the Router service to navigate to a route with a\n               specific model from a Component in the first action, and in the second we trigger\n               a query-params only transition.\n                ```app/components/example.js\n               import Component from '@glimmer/component';\n               import { action } from '@ember/object';\n               import { service } from '@ember/service';\n                export default class extends Component {\n                 @service router;\n                  @action\n                 goToComments(post) {\n                   this.router.transitionTo('comments', post);\n                 }\n                  @action\n                 fetchMoreComments(latestComment) {\n                   this.router.transitionTo({\n                     queryParams: { commentsAfter: latestComment }\n                   });\n                 }\n               }\n               ```\n                @method transitionTo\n               @param {String} [routeNameOrUrl] the name of the route or a URL\n               @param {...Object} [models] the model(s) or identifier(s) to be used while\n                 transitioning to the route.\n               @param {Object} [options] optional hash with a queryParams property\n                 containing a mapping of query parameters. May be supplied as the only\n                parameter to trigger a query-parameter-only transition.\n               @return {Transition} the transition object associated with this\n                 attempted transition\n               @public\n             */transitionTo(){for(var _len64=arguments.length,args=new Array(_len64),_key65=0;_key65<_len64;_key65++){args[_key65]=arguments[_key65];}if(resemblesURL(args[0])){// NOTE: this `args[0] as string` cast is safe and TS correctly infers it\n// in 3.6+, so it can be removed when TS is upgraded.\nreturn this._router._doURLTransition('transitionTo',args[0]);}let{routeName,models,queryParams}=extractRouteArgs(args);let transition=this._router._doTransition(routeName,models,queryParams,true);return transition;}/**\n               Similar to `transitionTo`, but instead of adding the destination to the browser's URL history,\n               it replaces the entry for the current route.\n               When the user clicks the \"back\" button in the browser, there will be fewer steps.\n               This is most commonly used to manage redirects in a way that does not cause confusing additions\n               to the user's browsing history.\n                Calling `replaceWith` from the Router service will cause default query parameter values to be included in the URL.\n               This behavior is different from calling `replaceWith` on a route.\n               See the [Router Service RFC](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md#query-parameter-semantics) for more info.\n                Usage example:\n                ```app/routes/application.js\n               import Route from '@ember/routing/route';\n               import { service } from '@ember/service';\n                export default class extends Route {\n                 @service router;\n                 beforeModel() {\n                   if (!authorized()){\n                     this.router.replaceWith('unauthorized');\n                   }\n                 }\n               });\n               ```\n                @method replaceWith\n               @param {String} routeNameOrUrl the name of the route or a URL of the desired destination\n               @param {...Object} models the model(s) or identifier(s) to be used while\n                 transitioning to the route i.e. an object of params to pass to the destination route\n               @param {Object} [options] optional hash with a queryParams property\n                 containing a mapping of query parameters\n               @return {Transition} the transition object associated with this\n                 attempted transition\n               @public\n             */replaceWith(){return this.transitionTo(...arguments).method('replace');}/**\n              Generate a URL based on the supplied route name and optionally a model. The\n              URL is returned as a string that can be used for any purpose.\n               In this example, the URL for the `author.books` route for a given author\n              is copied to the clipboard.\n               ```app/templates/application.hbs\n              <CopyLink @author={{hash id=\"tomster\" name=\"Tomster\"}} />\n              ```\n               ```app/components/copy-link.js\n              import Component from '@glimmer/component';\n              import { service } from '@ember/service';\n              import { action } from '@ember/object';\n               export default class CopyLinkComponent extends Component {\n                @service router;\n                @service clipboard;\n                 @action\n                copyBooksURL() {\n                  if (this.author) {\n                    const url = this.router.urlFor('author.books', this.args.author);\n                    this.clipboard.set(url);\n                    // Clipboard now has /author/tomster/books\n                  }\n                }\n              }\n              ```\n               Just like with `transitionTo` and `replaceWith`, `urlFor` can also handle\n              query parameters.\n               ```app/templates/application.hbs\n              <CopyLink @author={{hash id=\"tomster\" name=\"Tomster\"}} />\n              ```\n               ```app/components/copy-link.js\n              import Component from '@glimmer/component';\n              import { service } from '@ember/service';\n              import { action } from '@ember/object';\n               export default class CopyLinkComponent extends Component {\n                @service router;\n                @service clipboard;\n                 @action\n                copyOnlyEmberBooksURL() {\n                  if (this.author) {\n                    const url = this.router.urlFor('author.books', this.author, {\n                      queryParams: { filter: 'emberjs' }\n                    });\n                    this.clipboard.set(url);\n                    // Clipboard now has /author/tomster/books?filter=emberjs\n                  }\n                }\n              }\n              ```\n                @method urlFor\n               @param {String} routeName the name of the route\n               @param {...Object} models the model(s) for the route.\n               @param {Object} [options] optional hash with a queryParams property\n                 containing a mapping of query parameters\n               @return {String} the string representing the generated URL\n               @public\n             */urlFor(routeName){this._router.setupRouter();for(var _len65=arguments.length,args=new Array(_len65>1?_len65-1:0),_key66=1;_key66<_len65;_key66++){args[_key66-1]=arguments[_key66];}return this._router.generate(routeName,...args);}/**\n               Returns `true` if `routeName/models/queryParams` is the active route, where `models` and `queryParams` are optional.\n               See [model](api/ember/release/classes/Route/methods/model?anchor=model) and\n               [queryParams](/api/ember/3.7/classes/Route/properties/queryParams?anchor=queryParams) for more information about these arguments.\n                In the following example, `isActive` will return `true` if the current route is `/posts`.\n                ```app/components/posts.js\n               import Component from '@glimmer/component';\n               import { service } from '@ember/service';\n                export default class extends Component {\n                 @service router;\n                  displayComments() {\n                   return this.router.isActive('posts');\n                 }\n               });\n               ```\n                The next example includes a dynamic segment, and will return `true` if the current route is `/posts/1`,\n               assuming the post has an id of 1:\n                ```app/components/posts.js\n               import Component from '@glimmer/component';\n               import { service } from '@ember/service';\n                export default class extends Component {\n                 @service router;\n                  displayComments(post) {\n                   return this.router.isActive('posts', post.id);\n                 }\n               });\n               ```\n                Where `post.id` is the id of a specific post, which is represented in the route as /posts/[post.id].\n               If `post.id` is equal to 1, then isActive will return true if the current route is /posts/1, and false if the route is anything else.\n                @method isActive\n               @param {String} routeName the name of the route\n               @param {...Object} models the model(s) or identifier(s) to be used when determining the active route.\n               @param {Object} [options] optional hash with a queryParams property\n                 containing a mapping of query parameters\n               @return {boolean} true if the provided routeName/models/queryParams are active\n               @public\n             */isActive(){for(var _len66=arguments.length,args=new Array(_len66),_key67=0;_key67<_len66;_key67++){args[_key67]=arguments[_key67];}let{routeName,models,queryParams}=extractRouteArgs(args);let routerMicrolib=this._router._routerMicrolib;// When using isActive() in a getter, we want to entagle with the auto-tracking system\n// for example,\n// in\n// get isBarActive() {\n//   return isActive('foo.bar');\n// }\n//\n// you'd expect isBarActive to be dirtied when the route changes.\n//\n// https://github.com/emberjs/ember.js/issues/19004\nconsumeTag(tagFor(this._router,'currentURL'));// UNSAFE: casting `routeName as string` here encodes the existing\n// assumption but may be wrong: `extractRouteArgs` correctly returns it as\n// `string | undefined`. There may be bugs if `isActiveIntent` does\n// not correctly account for `undefined` values for `routeName`. Spoilers:\n// it *does not* account for this being `undefined`.\nif(!routerMicrolib.isActiveIntent(routeName,models)){return false;}let hasQueryParams=Object.keys(queryParams).length>0;if(hasQueryParams){// UNSAFE: casting `routeName as string` here encodes the existing\n// assumption but may be wrong: `extractRouteArgs` correctly returns it\n// as `string | undefined`. There may be bugs if `_prepareQueryParams`\n// does not correctly account for `undefined` values for `routeName`.\n//  Spoilers: under the hood this currently uses router.js APIs which\n// *do not* account for this being `undefined`.\nlet targetRouteName=routeName;queryParams=Object.assign({},queryParams);this._router._prepareQueryParams(targetRouteName,models,queryParams,true/* fromRouterService */);let currentQueryParams=Object.assign({},routerMicrolib.state.queryParams);this._router._prepareQueryParams(targetRouteName,models,currentQueryParams,true/* fromRouterService */);return shallowEqual(queryParams,currentQueryParams);}return true;}/**\n               Takes a string URL and returns a `RouteInfo` for the leafmost route represented\n               by the URL. Returns `null` if the URL is not recognized. This method expects to\n               receive the actual URL as seen by the browser including the app's `rootURL`.\n                See [RouteInfo](/ember/release/classes/RouteInfo) for more info.\n                In the following example `recognize` is used to verify if a path belongs to our\n               application before transitioning to it.\n                ```\n               import Component from '@ember/component';\n               import { service } from '@ember/service';\n                export default class extends Component {\n                 @service router;\n                 path = '/';\n                  click() {\n                   if (this.router.recognize(this.path)) {\n                     this.router.transitionTo(this.path);\n                   }\n                 }\n               }\n               ```\n                 @method recognize\n                @param {String} url\n                @return {RouteInfo | null}\n                @public\n              */recognize(url){this._router.setupRouter();let internalURL=cleanURL(url,this.rootURL);return this._router._routerMicrolib.recognize(internalURL);}/**\n              Takes a string URL and returns a promise that resolves to a\n              `RouteInfoWithAttributes` for the leafmost route represented by the URL.\n              The promise rejects if the URL is not recognized or an unhandled exception\n              is encountered. This method expects to receive the actual URL as seen by\n              the browser including the app's `rootURL`.\n                 @method recognizeAndLoad\n                @param {String} url\n                @return {RouteInfo}\n                @public\n             */recognizeAndLoad(url){this._router.setupRouter();let internalURL=cleanURL(url,this.rootURL);return this._router._routerMicrolib.recognizeAndLoad(internalURL);}/**\n              You can register a listener for events emitted by this service with `.on()`:\n               ```app/routes/contact-form.js\n              import Route from '@ember/routing';\n              import { service } from '@ember/service';\n               export default class extends Route {\n                @service router;\n                 activate() {\n                  this.router.on('routeWillChange', (transition) => {\n                    if (!transition.to.find(route => route.name === this.routeName)) {\n                      alert(\"Please save or cancel your changes.\");\n                      transition.abort();\n                    }\n                  })\n                }\n              }\n              ```\n               @method on\n              @param {String} eventName\n              @param {Function} callback\n              @public\n            *//**\n              You can unregister a listener for events emitted by this service with `.off()`:\n               ```app/routes/contact-form.js\n              import Route from '@ember/routing';\n              import { service } from '@ember/service';\n               export default class ContactFormRoute extends Route {\n                @service router;\n                 callback = (transition) => {\n                  if (!transition.to.find(route => route.name === this.routeName)) {\n                    alert('Please save or cancel your changes.');\n                    transition.abort();\n                  }\n                };\n                 activate() {\n                  this.router.on('routeWillChange', this.callback);\n                }\n                 deactivate() {\n                  this.router.off('routeWillChange', this.callback);\n                }\n              }\n              ```\n               @method off\n              @param {String} eventName\n              @param {Function} callback\n              @public\n            *//**\n              The `routeWillChange` event is fired at the beginning of any\n              attempted transition with a `Transition` object as the sole\n              argument. This action can be used for aborting, redirecting,\n              or decorating the transition from the currently active routes.\n               A good example is preventing navigation when a form is\n              half-filled out:\n               ```app/routes/contact-form.js\n              import Route from '@ember/routing';\n              import { service } from '@ember/service';\n               export default class extends Route {\n                @service router;\n                 activate() {\n                  this.router.on('routeWillChange', (transition) => {\n                    if (!transition.to.find(route => route.name === this.routeName)) {\n                      alert(\"Please save or cancel your changes.\");\n                      transition.abort();\n                    }\n                  })\n                }\n              }\n              ```\n               The `routeWillChange` event fires whenever a new route is chosen as the desired target of a transition. This includes `transitionTo`, `replaceWith`, all redirection for any reason including error handling, and abort. Aborting implies changing the desired target back to where you already were. Once a transition has completed, `routeDidChange` fires.\n               @event routeWillChange\n              @param {Transition} transition\n              @public\n            *//**\n              The `routeDidChange` event only fires once a transition has settled.\n              This includes aborts and error substates. Like the `routeWillChange` event\n              it receives a Transition as the sole argument.\n               A good example is sending some analytics when the route has transitioned:\n               ```app/routes/contact-form.js\n              import Route from '@ember/routing';\n              import { service } from '@ember/service';\n               export default class extends Route {\n                @service router;\n                 activate() {\n                  this.router.on('routeDidChange', (transition) => {\n                    ga.send('pageView', {\n                      current: transition.to.name,\n                      from: transition.from.name\n                    });\n                  })\n                }\n              }\n              ```\n               `routeDidChange` will be called after any `Route`'s\n              [didTransition](/ember/release/classes/Route/events/didTransition?anchor=didTransition)\n              action has been fired.\n              The updates of properties\n              [currentURL](/ember/release/classes/RouterService/properties/currentURL?anchor=currentURL),\n              [currentRouteName](/ember/release/classes/RouterService/properties/currentURL?anchor=currentRouteName)\n              and\n              [currentRoute](/ember/release/classes/RouterService/properties/currentURL?anchor=currentRoute)\n              are completed at the time `routeDidChange` is called.\n               @event routeDidChange\n              @param {Transition} transition\n              @public\n            *//**\n             * Refreshes all currently active routes, doing a full transition.\n             * If a route name is provided and refers to a currently active route,\n             * it will refresh only that route and its descendents.\n             * Returns a promise that will be resolved once the refresh is complete.\n             * All resetController, beforeModel, model, afterModel, redirect, and setupController\n             * hooks will be called again. You will get new data from the model hook.\n             *\n             * @method refresh\n             * @param {String} [routeName] the route to refresh (along with all child routes)\n             * @return Transition\n             * @public\n             */refresh(pivotRouteName){if(!pivotRouteName){return this._router._routerMicrolib.refresh();}let owner=getOwner$2(this);let pivotRoute=owner.lookup(`route:${pivotRouteName}`);return this._router._routerMicrolib.refresh(pivotRoute);}/**\n             Name of the current route.\n               This property represents the logical name of the route,\n              which is dot separated.\n              For the following router:\n               ```app/router.js\n              Router.map(function() {\n                this.route('about');\n                this.route('blog', function () {\n                  this.route('post', { path: ':post_id' });\n                });\n              });\n              ```\n               It will return:\n               * `index` when you visit `/`\n              * `about` when you visit `/about`\n              * `blog.index` when you visit `/blog`\n              * `blog.post` when you visit `/blog/some-post-id`\n               @property currentRouteName\n              @type {String | null}\n              @public\n            *//**\n              The `currentRoute` property contains metadata about the current leaf route.\n              It returns a `RouteInfo` object that has information like the route name,\n              params, query params and more.\n               See [RouteInfo](/ember/release/classes/RouteInfo) for more info.\n               This property is guaranteed to change whenever a route transition\n              happens (even when that transition only changes parameters\n              and doesn't change the active route).\n               Usage example:\n              ```app/components/header.js\n                import Component from '@glimmer/component';\n                import { service } from '@ember/service';\n                import { notEmpty } from '@ember/object/computed';\n                 export default class extends Component {\n                  @service router;\n                   @notEmpty('router.currentRoute.child') isChildRoute;\n                });\n              ```\n               @property currentRoute\n              @type RouteInfo\n              @public\n            */}_RouterService=RouterService;decorateFieldV2(_RouterService.prototype,\"currentRouteName\",[readOnly('_router.currentRouteName')]);decorateFieldV2(_RouterService.prototype,\"currentURL\",[readOnly('_router.currentURL')]);/**\n             Current URL for the application.\n             This property represents the URL path for this route.\n            For the following router:\n               ```app/router.js\n              Router.map(function() {\n                this.route('about');\n                this.route('blog', function () {\n                  this.route('post', { path: ':post_id' });\n                });\n              });\n              ```\n               It will return:\n               * `/` when you visit `/`\n              * `/about` when you visit `/about`\n              * `/blog` when you visit `/blog`\n              * `/blog/some-post-id` when you visit `/blog/some-post-id`\n               @property currentURL\n              @type String\n              @public\n            */decorateFieldV2(_RouterService.prototype,\"location\",[readOnly('_router.location')]);/**\n              The `location` property returns what implementation of the `location` API\n              your application is using, which determines what type of URL is being used.\n               See [Location](/ember/release/classes/Location) for more information.\n               To force a particular `location` API implementation to be used in your\n              application you can set a location type on your `config/environment`.\n              For example, to set the `history` type:\n               ```config/environment.js\n              'use strict';\n               module.exports = function(environment) {\n                let ENV = {\n                  modulePrefix: 'router-service',\n                  environment,\n                  rootURL: '/',\n                  locationType: 'history',\n                  ...\n                }\n              }\n              ```\n               The following location types are available by default:\n              `hash`, `history`, `none`.\n               See [HashLocation](/ember/release/classes/HashLocation).\n              See [HistoryLocation](/ember/release/classes/HistoryLocation).\n              See [NoneLocation](/ember/release/classes/NoneLocation).\n               @property location\n              @default 'hash'\n              @see {Location}\n              @public\n            */decorateFieldV2(_RouterService.prototype,\"rootURL\",[readOnly('_router.rootURL')]);/**\n              The `rootURL` property represents the URL of the root of\n              the application, '/' by default.\n              This prefix is assumed on all routes defined on this app.\n               If you change the `rootURL` in your environment configuration\n              like so:\n               ```config/environment.js\n              'use strict';\n               module.exports = function(environment) {\n                let ENV = {\n                  modulePrefix: 'router-service',\n                  environment,\n                  rootURL: '/my-root',\n                …\n                }\n              ]\n              ```\n               This property will return `/my-root`.\n               @property rootURL\n              @default '/'\n              @public\n            */decorateFieldV2(_RouterService.prototype,\"currentRoute\",[readOnly('_router.currentRoute')]);const emberRoutingRouterService=/*#__PURE__*/Object.defineProperty({__proto__:null,ROUTER,default:RouterService},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          *//**\n            The Routing service is used by LinkTo, and provides facilities for\n            the component/view layer to interact with the router.\n\n            This is a private service for internal usage only. For public usage,\n            refer to the `Router` service.\n\n            @private\n            @class RoutingService\n          */class RoutingService extends Service{constructor(){super(...arguments);_defineProperty(this,ROUTER,void 0);}get router(){let router=this[ROUTER];if(router!==undefined){return router;}let owner=getOwner$2(this);let _router=owner.lookup('router:main');_router.setupRouter();return this[ROUTER]=_router;}hasRoute(routeName){return this.router.hasRoute(routeName);}transitionTo(routeName,models,queryParams,shouldReplace){let transition=this.router._doTransition(routeName,models,queryParams);if(shouldReplace){transition.method('replace');}return transition;}normalizeQueryParams(routeName,models,queryParams){this.router._prepareQueryParams(routeName,models,queryParams);}_generateURL(routeName,models,queryParams){let visibleQueryParams={};if(queryParams){Object.assign(visibleQueryParams,queryParams);this.normalizeQueryParams(routeName,models,visibleQueryParams);}return this.router.generate(routeName,...models,{queryParams:visibleQueryParams});}generateURL(routeName,models,queryParams){if(this.router._initialTransitionStarted){return this._generateURL(routeName,models,queryParams);}else{// Swallow error when transition has not started.\n// When rendering in tests without visit(), we cannot infer the route context which <LinkTo/> needs be aware of\ntry{return this._generateURL(routeName,models,queryParams);}catch(_e){return;}}}isActiveForRoute(contexts,queryParams,routeName,routerState){let handlers=this.router._routerMicrolib.recognizer.handlersFor(routeName);let leafName=handlers[handlers.length-1].handler;let maximumContexts=numberOfContextsAcceptedByHandler(routeName,handlers);// NOTE: any ugliness in the calculation of activeness is largely\n// due to the fact that we support automatic normalizing of\n// `resource` -> `resource.index`, even though there might be\n// dynamic segments / query params defined on `resource.index`\n// which complicates (and makes somewhat ambiguous) the calculation\n// of activeness for links that link to `resource` instead of\n// directly to `resource.index`.\n// if we don't have enough contexts revert back to full route name\n// this is because the leaf route will use one of the contexts\nif(contexts.length>maximumContexts){routeName=leafName;}return routerState.isActiveIntent(routeName,contexts,queryParams);}}RoutingService.reopen({targetState:readOnly('router.targetState'),currentState:readOnly('router.currentState'),currentRouteName:readOnly('router.currentRouteName'),currentPath:readOnly('router.currentPath')});function numberOfContextsAcceptedByHandler(handlerName,handlerInfos){let req=0;for(let i=0;i<handlerInfos.length;i++){req+=handlerInfos[i].names.length;if(handlerInfos[i].handler===handlerName){break;}}return req;}const emberRoutingLibRoutingService=/*#__PURE__*/Object.defineProperty({__proto__:null,default:RoutingService},Symbol.toStringTag,{value:'Module'});/**\n            @module @ember/routing\n          *//**\n            Finds a controller instance.\n\n            @for Ember\n            @method controllerFor\n            @private\n          */function controllerFor(container,controllerName,lookupOptions){return container.lookup(`controller:${controllerName}`,lookupOptions);}const emberRoutingLibControllerFor=/*#__PURE__*/Object.defineProperty({__proto__:null,default:controllerFor},Symbol.toStringTag,{value:'Module'});const emberRoutinginternals=/*#__PURE__*/Object.defineProperty({__proto__:null,BucketCache,DSL:DSLImpl,RouterState,RoutingService,controllerFor,generateController,generateControllerFactory,prefixRouteNameArg},Symbol.toStringTag,{value:'Module'});const CAPABILITIES={dynamicLayout:true,dynamicTag:false,prepareArgs:false,createArgs:true,attributeHook:false,elementHook:false,createCaller:true,dynamicScope:true,updateHook:true,createInstance:true,wrapped:false,willDestroy:false,hasSubOwner:true};class MountManager{getDynamicLayout(state){let templateFactory=state.engine.lookup('template:application');return unwrapTemplate(templateFactory(state.engine)).asLayout();}getCapabilities(){return CAPABILITIES;}getOwner(state){return state.engine;}create(owner,_ref148,args,env){let{name}=_ref148;let engine=owner.buildChildEngineInstance(name);engine.boot();let applicationFactory=engine.factoryFor(`controller:application`);let controllerFactory=applicationFactory||generateControllerFactory(engine,'application');let controller;let self;let bucket;let modelRef;if(args.named.has('model')){modelRef=args.named.get('model');}if(modelRef===undefined){controller=controllerFactory.create();self=createConstRef(controller);bucket={engine,controller,self,modelRef};}else{let model=valueForRef(modelRef);controller=controllerFactory.create({model});self=createConstRef(controller);bucket={engine,controller,self,modelRef};}if(env.debugRenderTree){associateDestroyableChild(engine,controller);}return bucket;}getDebugName(_ref149){let{name}=_ref149;return name;}getDebugCustomRenderTree(definition,state,args,templateModuleName){return[{bucket:state.engine,instance:state.engine,type:'engine',name:definition.name,args},{bucket:state.controller,instance:state.controller,type:'route-template',name:'application',args,template:templateModuleName}];}getSelf(_ref150){let{self}=_ref150;return self;}getDestroyable(bucket){return bucket.engine;}didCreate(){}didUpdate(){}didRenderLayout(){}didUpdateLayout(){}update(bucket){let{controller,modelRef}=bucket;if(modelRef!==undefined){controller.set('model',valueForRef(modelRef));}}}const MOUNT_MANAGER=new MountManager();class MountDefinition{constructor(resolvedName){// handle is not used by this custom definition\n_defineProperty(this,\"handle\",-1);_defineProperty(this,\"state\",void 0);_defineProperty(this,\"manager\",MOUNT_MANAGER);_defineProperty(this,\"compilable\",null);_defineProperty(this,\"capabilities\",capabilityFlagsFrom(CAPABILITIES));this.resolvedName=resolvedName;this.state={name:resolvedName};}}/**\n          @module ember\n          *//**\n            The `{{mount}}` helper lets you embed a routeless engine in a template.\n            Mounting an engine will cause an instance to be booted and its `application`\n            template to be rendered.\n\n            For example, the following template mounts the `ember-chat` engine:\n\n            ```handlebars\n            {{! application.hbs }}\n            {{mount \"ember-chat\"}}\n            ```\n\n            Additionally, you can also pass in a `model` argument that will be\n            set as the engines model. This can be an existing object:\n\n            ```\n            <div>\n              {{mount 'admin' model=userSettings}}\n            </div>\n            ```\n\n            Or an inline `hash`, and you can even pass components:\n\n            ```\n            <div>\n              <h1>Application template!</h1>\n              {{mount 'admin' model=(hash\n                  title='Secret Admin'\n                  signInButton=(component 'sign-in-button')\n              )}}\n            </div>\n            ```\n\n            @method mount\n            @param {String} name Name of the engine to mount.\n            @param {Object} [model] Object that will be set as\n                                    the model of the engine.\n            @for Ember.Templates.helpers\n            @public\n          */const mountHelper=internalHelper((args,owner)=>{let nameRef=args.positional[0];let captured;captured=createCapturedArgs(args.named,EMPTY_POSITIONAL);let lastName,lastDef;return createComputeRef(()=>{let name=valueForRef(nameRef);if(typeof name==='string'){if(lastName===name){return lastDef;}lastName=name;lastDef=curry(CurriedTypes.Component,new MountDefinition(name),owner,captured,true);return lastDef;}else{lastDef=null;lastName=null;return null;}});});/**\n            The `{{outlet}}` helper lets you specify where a child route will render in\n            your template. An important use of the `{{outlet}}` helper is in your\n            application's `application.hbs` file:\n\n            ```app/templates/application.hbs\n            <MyHeader />\n\n            <div class=\"my-dynamic-content\">\n              <!-- this content will change based on the current route, which depends on the current URL -->\n              {{outlet}}\n            </div>\n\n            <MyFooter />\n            ```\n\n            See the [routing guide](https://guides.emberjs.com/release/routing/rendering-a-template/) for more\n            information on how your `route` interacts with the `{{outlet}}` helper.\n            Note: Your content __will not render__ if there isn't an `{{outlet}}` for it.\n\n            @method outlet\n            @for Ember.Templates.helpers\n            @public\n          */const outletHelper=internalHelper((_args,owner,scope)=>{let outletRef=createComputeRef(()=>{var _state$outlets;let state=valueForRef(scope.get('outletState'));return state===null||state===void 0||(_state$outlets=state.outlets)===null||_state$outlets===void 0?void 0:_state$outlets.main;});let lastState=null;let definition=null;return createComputeRef(()=>{let outletState=valueForRef(outletRef);let state=stateFor(outletRef,outletState);if(!validate(state,lastState)){lastState=state;if(state!==null){var _outletState$render;let named=dict();// Create a ref for the model\nlet modelRef=childRefFromParts(outletRef,['render','model']);// Store the value of the model\nlet model=valueForRef(modelRef);// Create a compute ref which we pass in as the `{{@model}}` reference\n// for the outlet. This ref will update and return the value of the\n// model _until_ the outlet itself changes. Once the outlet changes,\n// dynamic scope also changes, and so the original model ref would not\n// provide the correct updated value. So we stop updating and return\n// the _last_ model value for that outlet.\nnamed['model']=createComputeRef(()=>{if(lastState===state){model=valueForRef(modelRef);}return model;});let args=createCapturedArgs(named,EMPTY_POSITIONAL);definition=curry(CurriedTypes.Component,new OutletComponentDefinition(state),(outletState===null||outletState===void 0||(_outletState$render=outletState.render)===null||_outletState$render===void 0?void 0:_outletState$render.owner)??owner,args,true);}else{definition=null;}}return definition;});});function stateFor(ref,outlet){if(outlet===undefined)return null;let render=outlet.render;if(render===undefined)return null;let template=render.template;if(template===undefined)return null;if(isTemplateFactory(template)){template=template(render.owner);}return{ref,name:render.name,template,controller:render.controller,model:render.model};}function validate(state,lastState){if(state===null){return lastState===null;}if(lastState===null){return false;}return state.template===lastState.template&&state.controller===lastState.controller;}function instrumentationPayload(name){return{object:`component:${name}`};}function componentFor(name,owner){let fullName=`component:${name}`;return owner.factoryFor(fullName)||null;}function layoutFor(name,owner,options){if(DEPRECATIONS.DEPRECATE_COMPONENT_TEMPLATE_RESOLVING.isRemoved){return null;}let templateFullName=`template:components/${name}`;let result=owner.lookup(templateFullName,options)||null;if(result){deprecateUntil(`Components with separately resolved templates are deprecated. Migrate to either co-located js/ts + hbs files or to gjs/gts. Tried to lookup '${templateFullName}'.`,DEPRECATIONS.DEPRECATE_COMPONENT_TEMPLATE_RESOLVING);}return result;}function lookupComponentPair(owner,name,options){let component=componentFor(name,owner);if(isFactory(component)&&component.class){let layout=getComponentTemplate(component.class);if(layout!==undefined){return{component,layout};}}let layout=layoutFor(name,owner,options);if(component===null&&layout===null){return null;}else{return{component,layout};}}const BUILTIN_KEYWORD_HELPERS={action,mut,readonly,unbound,'-hash':hash$1,'-each-in':eachIn,'-normalize-class':normalizeClassHelper,'-resolve':resolve$1,'-track-array':trackArray,'-mount':mountHelper,'-outlet':outletHelper,'-in-el-null':inElementNullCheckHelper};const BUILTIN_HELPERS={...BUILTIN_KEYWORD_HELPERS,array:array$1,concat:concat$1,fn:fn$1,get:get$1,hash:hash$1,'unique-id':uniqueId$1};{// Bug: this may be a quirk of our test setup?\n// In prod builds, this is a no-op helper and is unused in practice. We shouldn't need\n// to add it at all, but the current test build doesn't produce a \"prod compiler\", so\n// we ended up running the debug-build for the template compliler in prod tests. Once\n// that is fixed, this can be removed. For now, this allows the test to work and does\n// not really harm anything, since it's just a no-op pass-through helper and the bytes\n// has to be included anyway. In the future, perhaps we can avoid the latter by using\n// `import(...)`?\nBUILTIN_HELPERS['-disallow-dynamic-resolution']=disallowDynamicResolution;}const BUILTIN_KEYWORD_MODIFIERS={action:actionModifier};const BUILTIN_MODIFIERS={...BUILTIN_KEYWORD_MODIFIERS,on:on$1};class ResolverImpl{constructor(){_defineProperty(this,\"componentDefinitionCache\",new Map());}lookupPartial(){return null;}lookupHelper(name,owner){let helper=BUILTIN_HELPERS[name];if(helper!==undefined){return helper;}let factory=owner.factoryFor(`helper:${name}`);if(factory===undefined){return null;}let definition=factory.class;if(definition===undefined){return null;}if(typeof definition==='function'&&isClassicHelper(definition)){// For classic class based helpers, we need to pass the factoryFor result itself rather\n// than the raw value (`factoryFor(...).class`). This is because injections are already\n// bound in the factoryFor result, including type-based injections\n{setInternalHelperManager(CLASSIC_HELPER_MANAGER,factory);}return factory;}return definition;}lookupBuiltInHelper(name){return BUILTIN_KEYWORD_HELPERS[name]??null;}lookupModifier(name,owner){let builtin=BUILTIN_MODIFIERS[name];if(builtin!==undefined){return builtin;}let modifier=owner.factoryFor(`modifier:${name}`);if(modifier===undefined){return null;}return modifier.class||null;}lookupBuiltInModifier(name){return BUILTIN_KEYWORD_MODIFIERS[name]??null;}lookupComponent(name,owner){let pair=lookupComponentPair(owner,name);if(pair===null){return null;}let template=null;let key;if(pair.component===null){key=template=pair.layout(owner);}else{key=pair.component;}let cachedComponentDefinition=this.componentDefinitionCache.get(key);if(cachedComponentDefinition!==undefined){return cachedComponentDefinition;}if(template===null&&pair.layout!==null){template=pair.layout(owner);}let finalizer=_instrumentStart('render.getComponentDefinition',instrumentationPayload,name);let definition=null;if(pair.component===null){definition={state:templateOnlyComponent(undefined,name),manager:TEMPLATE_ONLY_COMPONENT_MANAGER,template};}else{let factory=pair.component;let ComponentClass=factory.class;let manager=getInternalComponentManager(ComponentClass);definition={state:isCurlyManager(manager)?factory:ComponentClass,manager,template};}finalizer();this.componentDefinitionCache.set(key,definition);return definition;}}// We use the `InternalOwner` notion here because we actually need all of its\n// API for using with renderers (normally, it will be `EngineInstance`).\n// We use `getOwner` from our internal home for it rather than the narrower\n// public API for the same reason.\nconst TOP_LEVEL_NAME='-top-level';class OutletView{static extend(injections){return class extends OutletView{static create(options){if(options){return super.create(Object.assign({},injections,options));}else{return super.create(injections);}}};}static reopenClass(injections){Object.assign(this,injections);}static create(options){let{environment:_environment,application:namespace,template:templateFactory}=options;let owner=getOwner$2(options);let template=templateFactory(owner);return new OutletView(_environment,owner,template,namespace);}constructor(_environment,owner,template,namespace){_defineProperty(this,\"ref\",void 0);_defineProperty(this,\"state\",void 0);this._environment=_environment;this.owner=owner;this.template=template;this.namespace=namespace;let outletStateTag=createTag();let outletState={outlets:{main:undefined},render:{owner:owner,into:undefined,outlet:'main',name:TOP_LEVEL_NAME,controller:undefined,model:undefined,template}};let ref=this.ref=createComputeRef(()=>{consumeTag(outletStateTag);return outletState;},state=>{DIRTY_TAG$1(outletStateTag);outletState.outlets['main']=state;});this.state={ref,name:TOP_LEVEL_NAME,template,controller:undefined,model:undefined};}appendTo(selector){let target;if(this._environment.hasDOM){target=typeof selector==='string'?document.querySelector(selector):selector;}else{target=selector;}let renderer=this.owner.lookup('renderer:-dom');// SAFETY: It's not clear that this cast is safe.\n// The types for appendOutletView may be incorrect or this is a potential bug.\nschedule('render',renderer,'appendOutletView',this,target);}rerender(){/**/}setOutletState(state){updateRef(this.ref,state);}destroy(){/**/}}class DynamicScope{constructor(view,outletState){this.view=view;this.outletState=outletState;}child(){return new DynamicScope(this.view,this.outletState);}get(key){return this.outletState;}set(key,value){this.outletState=value;return value;}}const NO_OP=()=>{};// This wrapper logic prevents us from rerendering in case of a hard failure\n// during render. This prevents infinite revalidation type loops from occuring,\n// and ensures that errors are not swallowed by subsequent follow on failures.\nfunction errorLoopTransaction(fn){{return fn;}}class RootState{constructor(root,runtime,context,owner,template,self,parentElement,dynamicScope,builder){_defineProperty(this,\"id\",void 0);_defineProperty(this,\"result\",void 0);_defineProperty(this,\"destroyed\",void 0);_defineProperty(this,\"render\",void 0);this.root=root;this.runtime=runtime;this.id=root instanceof OutletView?guidFor(root):getViewId(root);this.result=undefined;this.destroyed=false;this.render=errorLoopTransaction(()=>{let layout=unwrapTemplate(template).asLayout();let iterator=renderMain(runtime,context,owner,self,builder(runtime.env,{element:parentElement,nextSibling:null}),layout,dynamicScope);let result=this.result=iterator.sync();// override .render function after initial render\nthis.render=errorLoopTransaction(()=>result.rerender({alwaysRevalidate:false}));});}isFor(possibleRoot){return this.root===possibleRoot;}destroy(){let{result,runtime:{env}}=this;this.destroyed=true;this.runtime=undefined;this.root=null;this.result=undefined;this.render=undefined;if(result!==undefined){/*\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                  */inTransaction(env,()=>destroy(result));}}}const renderers=[];function _resetRenderers(){renderers.length=0;}function register(renderer){renderers.push(renderer);}function deregister(renderer){let index=renderers.indexOf(renderer);renderers.splice(index,1);}function loopBegin(){for(let renderer of renderers){renderer._scheduleRevalidate();}}let renderSettledDeferred=null;/*\n            Returns a promise which will resolve when rendering has settled. Settled in\n            this context is defined as when all of the tags in use are \"current\" (e.g.\n            `renderers.every(r => r._isValid())`). When this is checked at the _end_ of\n            the run loop, this essentially guarantees that all rendering is completed.\n\n            @method renderSettled\n            @returns {Promise<void>} a promise which fulfills when rendering has settled\n          */function renderSettled(){if(renderSettledDeferred===null){renderSettledDeferred=RSVP.defer();// if there is no current runloop, the promise created above will not have\n// a chance to resolve (because its resolved in backburner's \"end\" event)\nif(!_getCurrentRunLoop()){// ensure a runloop has been kicked off\n_backburner.schedule('actions',null,NO_OP);}}return renderSettledDeferred.promise;}function resolveRenderPromise(){if(renderSettledDeferred!==null){let resolve=renderSettledDeferred.resolve;renderSettledDeferred=null;_backburner.join(null,resolve);}}let loops=0;function loopEnd(){for(let renderer of renderers){if(!renderer._isValid()){if(loops>ENV._RERENDER_LOOP_LIMIT){loops=0;// TODO: do something better\nrenderer.destroy();throw new Error('infinite rendering invalidation detected');}loops++;return _backburner.join(null,NO_OP);}}loops=0;resolveRenderPromise();}_backburner.on('begin',loopBegin);_backburner.on('end',loopEnd);class Renderer{static create(props){let{_viewRegistry}=props;let owner=getOwner$2(props);let document=owner.lookup('service:-document');let env=owner.lookup('-environment:main');let rootTemplate=owner.lookup(privatize`template:-root`);let builder=owner.lookup('service:-dom-builder');return new this(owner,document,env,rootTemplate,_viewRegistry,builder);}constructor(owner,document,env,rootTemplate,viewRegistry){let builder=arguments.length>5&&arguments[5]!==undefined?arguments[5]:clientBuilder;_defineProperty(this,\"_rootTemplate\",void 0);_defineProperty(this,\"_viewRegistry\",void 0);_defineProperty(this,\"_roots\",void 0);_defineProperty(this,\"_removedRoots\",void 0);_defineProperty(this,\"_builder\",void 0);_defineProperty(this,\"_inRenderTransaction\",false);_defineProperty(this,\"_owner\",void 0);_defineProperty(this,\"_context\",void 0);_defineProperty(this,\"_runtime\",void 0);_defineProperty(this,\"_lastRevision\",-1);_defineProperty(this,\"_destroyed\",false);/** @internal */_defineProperty(this,\"_isInteractive\",void 0);_defineProperty(this,\"_runtimeResolver\",void 0);this._owner=owner;this._rootTemplate=rootTemplate(owner);this._viewRegistry=viewRegistry||owner.lookup('-view-registry:main');this._roots=[];this._removedRoots=[];this._builder=builder;this._isInteractive=env.isInteractive;// resolver is exposed for tests\nlet resolver=this._runtimeResolver=new ResolverImpl();let sharedArtifacts=artifacts();this._context=programCompilationContext(sharedArtifacts,resolver,heap=>new RuntimeOpImpl(heap));let runtimeEnvironmentDelegate=new EmberEnvironmentDelegate(owner,env.isInteractive);this._runtime=runtimeContext({appendOperations:env.hasDOM?new DOMTreeConstruction(document):new NodeDOMTreeConstruction(document),updateOperations:new DOMChanges(document)},runtimeEnvironmentDelegate,sharedArtifacts,resolver);}get debugRenderTree(){let{debugRenderTree}=this._runtime.env;return debugRenderTree;}// renderer HOOKS\nappendOutletView(view,target){let definition=createRootOutlet(view);this._appendDefinition(view,curry(CurriedTypes.Component,definition,view.owner,null,true),target);}appendTo(view,target){let definition=new RootComponentDefinition(view);this._appendDefinition(view,curry(CurriedTypes.Component,definition,this._owner,null,true),target);}_appendDefinition(root,definition,target){let self=createConstRef(definition);let dynamicScope=new DynamicScope(null,UNDEFINED_REFERENCE);let rootState=new RootState(root,this._runtime,this._context,this._owner,this._rootTemplate,self,target,dynamicScope,this._builder);this._renderRoot(rootState);}rerender(){this._scheduleRevalidate();}register(view){let id=getViewId(view);this._viewRegistry[id]=view;}unregister(view){delete this._viewRegistry[getViewId(view)];}remove(view){view._transitionTo('destroying');this.cleanupRootFor(view);if(this._isInteractive){view.trigger('didDestroyElement');}}cleanupRootFor(view){// no need to cleanup roots if we have already been destroyed\nif(this._destroyed){return;}let roots=this._roots;// traverse in reverse so we can remove items\n// without mucking up the index\nlet i=this._roots.length;while(i--){let root=roots[i];if(root.isFor(view)){root.destroy();roots.splice(i,1);}}}destroy(){if(this._destroyed){return;}this._destroyed=true;this._clearAllRoots();}getElement(view){if(this._isInteractive){return getViewElement(view);}else{throw new Error('Accessing `this.element` is not allowed in non-interactive environments (such as FastBoot).');}}getBounds(view){let bounds=view[BOUNDS];let parentElement=bounds.parentElement();let firstNode=bounds.firstNode();let lastNode=bounds.lastNode();return{parentElement,firstNode,lastNode};}createElement(tagName){return this._runtime.env.getAppendOperations().createElement(tagName);}_renderRoot(root){let{_roots:roots}=this;roots.push(root);if(roots.length===1){register(this);}this._renderRootsTransaction();}_renderRoots(){let{_roots:roots,_runtime:runtime,_removedRoots:removedRoots}=this;let initialRootsLength;do{initialRootsLength=roots.length;inTransaction(runtime.env,()=>{// ensure that for the first iteration of the loop\n// each root is processed\nfor(let i=0;i<roots.length;i++){let root=roots[i];false&&!root&&assert$1('has root',root);if(root.destroyed){// add to the list of roots to be removed\n// they will be removed from `this._roots` later\nremovedRoots.push(root);// skip over roots that have been marked as destroyed\ncontinue;}// when processing non-initial reflush loops,\n// do not process more roots than needed\nif(i>=initialRootsLength){continue;}root.render();}this._lastRevision=valueForTag(CURRENT_TAG);});}while(roots.length>initialRootsLength);// remove any roots that were destroyed during this transaction\nwhile(removedRoots.length){let root=removedRoots.pop();let rootIndex=roots.indexOf(root);roots.splice(rootIndex,1);}if(this._roots.length===0){deregister(this);}}_renderRootsTransaction(){if(this._inRenderTransaction){// currently rendering roots, a new root was added and will\n// be processed by the existing _renderRoots invocation\nreturn;}// used to prevent calling _renderRoots again (see above)\n// while we are actively rendering roots\nthis._inRenderTransaction=true;let completedWithoutError=false;try{this._renderRoots();completedWithoutError=true;}finally{if(!completedWithoutError){this._lastRevision=valueForTag(CURRENT_TAG);}this._inRenderTransaction=false;}}_clearAllRoots(){let roots=this._roots;for(let root of roots){root.destroy();}this._removedRoots.length=0;this._roots=[];// if roots were present before destroying\n// deregister this renderer instance\nif(roots.length){deregister(this);}}_scheduleRevalidate(){_backburner.scheduleOnce('render',this,this._revalidate);}_isValid(){return this._destroyed||this._roots.length===0||validateTag(CURRENT_TAG,this._lastRevision);}_revalidate(){if(this._isValid()){return;}this._renderRootsTransaction();}}// STATE within a module is frowned upon, this exists\n// to support Ember.TEMPLATES but shield ember internals from this legacy\n// global API.\nlet TEMPLATES={};function setTemplates(templates){TEMPLATES=templates;}function getTemplates(){return TEMPLATES;}function getTemplate(name){if(Object.prototype.hasOwnProperty.call(TEMPLATES,name)){return TEMPLATES[name];}}function hasTemplate(name){return Object.prototype.hasOwnProperty.call(TEMPLATES,name);}function setTemplate(name,template){return TEMPLATES[name]=template;}const OutletTemplate=templateFactory(/*\n            {{component (outletHelper)}}\n          */{\"id\":\"2c6+lAmT\",\"block\":\"[[[46,[28,[32,0],null,null],null,null,null]],[],false,[\\\"component\\\"]]\",\"moduleName\":\"packages/@ember/-internals/glimmer/lib/templates/outlet.hbs\",\"scope\":()=>[outletHelper],\"isStrictMode\":true});function setupApplicationRegistry(registry){// because we are using injections we can't use instantiate false\n// we need to use bind() to copy the function so factory for\n// association won't leak\nregistry.register('service:-dom-builder',{// Additionally, we *must* constrain this to require `props` on create, else\n// we *know* it cannot have an owner.\ncreate(props){let owner=getOwner$2(props);let env=owner.lookup('-environment:main');switch(env._renderMode){case'serialize':return serializeBuilder.bind(null);case'rehydrate':return rehydrationBuilder.bind(null);default:return clientBuilder.bind(null);}}});registry.register(privatize`template:-root`,RootTemplate);registry.register('renderer:-dom',Renderer);}function setupEngineRegistry(registry){registry.optionsForType('template',{instantiate:false});registry.register('view:-outlet',OutletView);registry.register('template:-outlet',OutletTemplate);registry.optionsForType('helper',{instantiate:false});registry.register('component:input',Input);registry.register('component:link-to',LinkTo);registry.register('component:textarea',Textarea);}/**\n             Associate a class with a component manager (an object that is responsible for\n             coordinating the lifecycle events that occurs when invoking, rendering and\n             re-rendering a component).\n\n             @method setComponentManager\n             @param {Function} factory a function to create the owner for an object\n             @param {Object} obj the object to associate with the componetn manager\n             @return {Object} the same object passed in\n             @public\n            */function setComponentManager(manager,obj){return setComponentManager$1(manager,obj);}/**\n            [Glimmer](https://github.com/tildeio/glimmer) is a templating engine used by Ember.js that is compatible with a subset of the [Handlebars](http://handlebarsjs.com/) syntax.\n\n            ### Showing a property\n\n            Templates manage the flow of an application's UI, and display state (through\n            the DOM) to a user. For example, given a component with the property \"name\",\n            that component's template can use the name in several ways:\n\n            ```app/components/person-profile.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              name: 'Jill'\n            });\n            ```\n\n            ```app/components/person-profile.hbs\n            {{this.name}}\n            <div>{{this.name}}</div>\n            <span data-name={{this.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            ```app/components/person-profile.hbs\n            {{if this.name \"I have a name\" \"I have no name\"}}\n            <span data-has-name={{if this.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 this.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 this.firstName (\n              if this.lastName (concat \" \" this.lastName) \"Doe\"\n            )}}></span>\n            ```\n\n            Ember's built-in helpers are described under the [Ember.Templates.helpers](/ember/release/classes/Ember.Templates.helpers)\n            namespace. Documentation on creating custom helpers can be found under\n            [helper](/ember/release/functions/@ember%2Fcomponent%2Fhelper/helper) (or\n            under [Helper](/ember/release/classes/Helper) if a helper requires access to\n            dependency injection).\n\n            ### Invoking a Component\n\n            Ember components represent state to the UI of an application. Further\n            reading on components can be found under [Component](/ember/release/classes/Component).\n\n            @module @ember/component\n            @main @ember/component\n            @public\n           */const emberinternalsGlimmerIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,Component,DOMChanges,DOMTreeConstruction,Helper,Input,LinkTo,NodeDOMTreeConstruction,OutletView,Renderer,RootTemplate,SafeString,Textarea,_resetRenderers,componentCapabilities,escapeExpression,getTemplate,getTemplates,hasTemplate,helper:helper$2,htmlSafe,isHTMLSafe,isSerializationFirstNode,modifierCapabilities,renderSettled,setComponentManager,setTemplate,setTemplates,setupApplicationRegistry,setupEngineRegistry,template:templateFactory,templateCacheCounters,uniqueId:uniqueId$2},Symbol.toStringTag,{value:'Module'});const emberinternalsRoutingIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,RouterDSL:DSLImpl,controllerFor,generateController,generateControllerFactory},Symbol.toStringTag,{value:'Module'});// The formatting here is designed to help make this type actually be\n// comprehensible to mortals, including the mortals who came up with it.\n// prettier-ignore\n// A way of representing non-user-constructible types. You can conveniently use\n// this by doing `interface Type extends Opaque<'some-type-name'> { ... }` for\n// simple types, and/or you can type-parameterize it as makes sense for your use\n// case (see e.g. `@ember/component/helper`'s use with functional helpers).\nclass Opaque{}const emberinternalsUtilityTypesIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,Opaque},Symbol.toStringTag,{value:'Module'});const fallbackViewRegistry=makeDictionary(null);const emberinternalsViewsLibCompatFallbackViewRegistry=/*#__PURE__*/Object.defineProperty({__proto__:null,default:fallbackViewRegistry},Symbol.toStringTag,{value:'Module'});/*globals CustomEvent *//**\n            @module @ember/application\n          */const loadHooks=ENV.EMBER_LOAD_HOOKS||{};const loaded={};let _loaded=loaded;/**\n            Detects when a specific package of Ember (e.g. 'Application')\n            has fully loaded and is available for extension.\n\n            The provided `callback` will be called with the `name` passed\n            resolved from a string into the object:\n\n            ``` javascript\n            import { onLoad } from '@ember/application';\n\n            onLoad('Ember.Application' function(hbars) {\n              hbars.registerHelper(...);\n            });\n            ```\n\n            @method onLoad\n            @static\n            @for @ember/application\n            @param name {String} name of hook\n            @param callback {Function} callback to be called\n            @private\n          */function onLoad(name,callback){let object=loaded[name];let hooks=loadHooks[name]??(loadHooks[name]=[]);hooks.push(callback);if(object){callback(object);}}/**\n            Called when an Ember.js package (e.g Application) has finished\n            loading. Triggers any callbacks registered for this event.\n\n            @method runLoadHooks\n            @static\n            @for @ember/application\n            @param name {String} name of hook\n            @param object {Object} object to pass to callbacks\n            @private\n          */function runLoadHooks(name,object){var _loadHooks$name;loaded[name]=object;if(window$1&&typeof CustomEvent==='function'){let event=new CustomEvent(name,{detail:object});window$1.dispatchEvent(event);}(_loadHooks$name=loadHooks[name])===null||_loadHooks$name===void 0||_loadHooks$name.forEach(callback=>callback(object));}const emberApplicationLibLazyLoad=/*#__PURE__*/Object.defineProperty({__proto__:null,_loaded,onLoad,runLoadHooks},Symbol.toStringTag,{value:'Module'});/**\n            @private\n\n            Returns the current `location.pathname`, normalized for IE inconsistencies.\n          */function getPath(location){let pathname=location.pathname;// Various versions of IE/Opera don't always return a leading slash\nif(pathname[0]!=='/'){pathname=`/${pathname}`;}return pathname;}/**\n            @private\n\n            Returns the current `location.search`.\n          */function getQuery(location){return location.search;}/**\n            @private\n\n            Returns the hash or empty string\n          */function getHash(location){if(location.hash!==undefined){return location.hash.substring(0);}return'';}function getFullPath(location){return getPath(location)+getQuery(location)+getHash(location);}function getOrigin(location){let origin=location.origin;// Older browsers, especially IE, don't have origin\nif(!origin){origin=`${location.protocol}//${location.hostname}`;if(location.port){origin+=`:${location.port}`;}}return origin;}/**\n            Replaces the current location, making sure we explicitly include the origin\n            to prevent redirecting to a different origin.\n\n            @private\n          */function replacePath(location,path){location.replace(getOrigin(location)+path);}const emberRoutingLibLocationUtils=/*#__PURE__*/Object.defineProperty({__proto__:null,getFullPath,getHash,getOrigin,getPath,getQuery,replacePath},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/routing/hash-location\n          *//**\n            `HashLocation` implements the location API using the browser's\n            hash. At present, it relies on a `hashchange` event existing in the\n            browser.\n\n            Using `HashLocation` results in URLs with a `#` (hash sign) separating the\n            server side URL portion of the URL from the portion that is used by Ember.\n\n            Example:\n\n            ```app/router.js\n            Router.map(function() {\n              this.route('posts', function() {\n                this.route('new');\n              });\n            });\n\n            Router.reopen({\n              location: 'hash'\n            });\n            ```\n\n            This will result in a posts.new url of `/#/posts/new`.\n\n            @class HashLocation\n            @extends EmberObject\n            @protected\n          */class HashLocation extends EmberObject{constructor(){super(...arguments);_defineProperty(this,\"_hashchangeHandler\",void 0);_defineProperty(this,\"_location\",void 0);_defineProperty(this,\"lastSetURL\",null);}init(){this.location=this._location??window.location;this._hashchangeHandler=undefined;}/**\n              @private\n               Returns normalized location.hash\n               @since 1.5.1\n              @method getHash\n            */getHash(){return getHash(this.location);}/**\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            */getURL(){let originalPath=this.getHash().substring(1);let outPath=originalPath;if(outPath[0]!=='/'){outPath='/';// Only add the # if the path isn't empty.\n// We do NOT want `/#` since the ampersand\n// is only included (conventionally) when\n// the location.hash has a value\nif(originalPath){outPath+=`#${originalPath}`;}}return outPath;}/**\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            */setURL(path){this.location.hash=path;this.lastSetURL=path;}/**\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            */replaceURL(path){this.location.replace(`#${path}`);this.lastSetURL=path;}/**\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            */onUpdateURL(callback){this._removeEventListener();this._hashchangeHandler=bind(this,function(_event){let path=this.getURL();if(this.lastSetURL===path){return;}this.lastSetURL=null;callback(path);});window.addEventListener('hashchange',this._hashchangeHandler);}/**\n              Given a URL, formats it to be placed into the page as part\n              of an element's `href` attribute.\n               @private\n              @method formatURL\n              @param url {String}\n            */formatURL(url){return`#${url}`;}/**\n              Cleans up the HashLocation event listener.\n               @private\n              @method willDestroy\n            */willDestroy(){this._removeEventListener();}_removeEventListener(){if(this._hashchangeHandler){window.removeEventListener('hashchange',this._hashchangeHandler);}}}const emberRoutingHashLocation=/*#__PURE__*/Object.defineProperty({__proto__:null,default:HashLocation},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/routing/history-location\n          */let popstateFired=false;function _uuid(){return'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(c){let r,v;r=Math.random()*16|0;v=c==='x'?r:r&3|8;return v.toString(16);});}/**\n            HistoryLocation implements the location API using the browser's\n            history.pushState API.\n\n            Using `HistoryLocation` results in URLs that are indistinguishable from a\n            standard URL. This relies upon the browser's `history` API.\n\n            Example:\n\n            ```app/router.js\n            Router.map(function() {\n              this.route('posts', function() {\n                this.route('new');\n              });\n            });\n\n            Router.reopen({\n              location: 'history'\n            });\n            ```\n\n            This will result in a posts.new url of `/posts/new`.\n\n            Keep in mind that your server must serve the Ember app at all the routes you\n            define.\n\n            Using `HistoryLocation` will also result in location states being recorded by\n            the browser `history` API with the following schema:\n\n            ```\n            window.history.state -> { path: '/', uuid: '3552e730-b4a6-46bd-b8bf-d8c3c1a97e0a' }\n            ```\n\n            This allows each in-app location state to be tracked uniquely across history\n            state changes via the `uuid` field.\n\n            @class HistoryLocation\n            @extends EmberObject\n            @protected\n          */class HistoryLocation extends EmberObject{constructor(){super(...arguments);// SAFETY: both of these properties initialized via `init`.\n_defineProperty(this,\"history\",void 0);_defineProperty(this,\"_previousURL\",void 0);_defineProperty(this,\"_popstateHandler\",void 0);/**\n              Will be pre-pended to path upon state change\n               @property rootURL\n              @default '/'\n              @private\n            */_defineProperty(this,\"rootURL\",'/');}/**\n              @private\n               Returns normalized location.hash\n               @method getHash\n            */getHash(){return getHash(this.location);}init(){this._super(...arguments);let base=document.querySelector('base');let baseURL='';if(base!==null&&base.hasAttribute('href')){baseURL=base.getAttribute('href')??'';}this.baseURL=baseURL;this.location=this.location??window.location;this._popstateHandler=undefined;}/**\n              Used to set state on first call to setURL\n               @private\n              @method initState\n            */initState(){let history=this.history??window.history;this.history=history;let{state}=history;let path=this.formatURL(this.getURL());if(state&&state.path===path){// preserve existing state\n// used for webkit workaround, since there will be no initial popstate event\nthis._previousURL=this.getURL();}else{this.replaceState(path);}}/**\n              Returns the current `location.pathname` without `rootURL` or `baseURL`\n               @private\n              @method getURL\n              @return url {String}\n            */getURL(){let{location,rootURL,baseURL}=this;let path=location.pathname;// remove trailing slashes if they exists\nrootURL=rootURL.replace(/\\/$/,'');baseURL=baseURL.replace(/\\/$/,'');// remove baseURL and rootURL from start of path\nlet url=path.replace(new RegExp(`^${baseURL}(?=/|$)`),'').replace(new RegExp(`^${rootURL}(?=/|$)`),'').replace(/\\/\\//g,'/');// remove extra slashes\nlet search=location.search||'';url+=search+this.getHash();return url;}/**\n              Uses `history.pushState` to update the url without a page reload.\n               @private\n              @method setURL\n              @param path {String}\n            */setURL(path){let{state}=this.history;path=this.formatURL(path);if(!state||state.path!==path){this.pushState(path);}}/**\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            */replaceURL(path){let{state}=this.history;path=this.formatURL(path);if(!state||state.path!==path){this.replaceState(path);}}/**\n             Pushes a new state.\n              @private\n             @method pushState\n             @param path {String}\n            */pushState(path){let state={path,uuid:_uuid()};this.history.pushState(state,'',path);// used for webkit workaround\nthis._previousURL=this.getURL();}/**\n             Replaces the current state.\n              @private\n             @method replaceState\n             @param path {String}\n            */replaceState(path){let state={path,uuid:_uuid()};this.history.replaceState(state,'',path);// used for webkit workaround\nthis._previousURL=this.getURL();}/**\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            */onUpdateURL(callback){this._removeEventListener();this._popstateHandler=()=>{// Ignore initial page load popstate event in Chrome\nif(!popstateFired){popstateFired=true;if(this.getURL()===this._previousURL){return;}}callback(this.getURL());};window.addEventListener('popstate',this._popstateHandler);}/**\n              Formats url to be placed into href attribute.\n               @private\n              @method formatURL\n              @param url {String}\n              @return formatted url {String}\n            */formatURL(url){let{rootURL,baseURL}=this;if(url!==''){// remove trailing slashes if they exists\nrootURL=rootURL.replace(/\\/$/,'');baseURL=baseURL.replace(/\\/$/,'');}else if(baseURL[0]==='/'&&rootURL[0]==='/'){// if baseURL and rootURL both start with a slash\n// ... remove trailing slash from baseURL if it exists\nbaseURL=baseURL.replace(/\\/$/,'');}return baseURL+rootURL+url;}/**\n              Cleans up the HistoryLocation event listener.\n               @private\n              @method willDestroy\n            */willDestroy(){this._removeEventListener();}_removeEventListener(){if(this._popstateHandler){window.removeEventListener('popstate',this._popstateHandler);}}}const emberRoutingHistoryLocation=/*#__PURE__*/Object.defineProperty({__proto__:null,default:HistoryLocation},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/routing/none-location\n          *//**\n            NoneLocation does not interact with the browser. It is useful for\n            testing, or when you need to manage state with your Router, but temporarily\n            don't want it to muck with the URL (for example when you embed your\n            application in a larger page).\n\n            Using `NoneLocation` causes Ember to not store the applications URL state\n            in the actual URL. This is generally used for testing purposes, and is one\n            of the changes made when calling `App.setupForTesting()`.\n\n            @class NoneLocation\n            @extends EmberObject\n            @protected\n          */class NoneLocation extends EmberObject{constructor(){super(...arguments);_defineProperty(this,\"updateCallback\",void 0);}// Set in reopen so it can be overwritten with extend\n/**\n              Will be pre-pended to path.\n               @private\n              @property rootURL\n              @default '/'\n            */// Set in reopen so it can be overwritten with extend\ninitState(){this._super(...arguments);}/**\n              Returns the current path without `rootURL`.\n               @private\n              @method getURL\n              @return {String} path\n            */getURL(){let{path,rootURL}=this;// remove trailing slashes if they exists\nrootURL=rootURL.replace(/\\/$/,'');// remove rootURL from url\nreturn path.replace(new RegExp(`^${rootURL}(?=/|$)`),'');}/**\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            */setURL(path){this.path=path;}/**\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            */onUpdateURL(callback){this.updateCallback=callback;}/**\n              Sets the path and calls the `updateURL` callback.\n               @private\n              @method handleURL\n              @param url {String}\n            */handleURL(url){this.path=url;if(this.updateCallback){this.updateCallback(url);}}/**\n              Given a URL, formats it to be placed into the page as part\n              of an element's `href` attribute.\n               @private\n              @method formatURL\n              @param {String} url\n              @return {String} url\n            */formatURL(url){let{rootURL}=this;if(url!==''){// remove trailing slashes if they exists\nrootURL=rootURL.replace(/\\/$/,'');}return rootURL+url;}}NoneLocation.reopen({path:'',rootURL:'/'});const emberRoutingNoneLocation=/*#__PURE__*/Object.defineProperty({__proto__:null,default:NoneLocation},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/application\n          *//**\n            The `ApplicationInstance` encapsulates all of the stateful aspects of a\n            running `Application`.\n\n            At a high-level, we break application boot into two distinct phases:\n\n            * Definition time, where all of the classes, templates, and other\n              dependencies are loaded (typically in the browser).\n            * Run time, where we begin executing the application once everything\n              has loaded.\n\n            Definition time can be expensive and only needs to happen once since it is\n            an idempotent operation. For example, between test runs and FastBoot\n            requests, the application stays the same. It is only the state that we want\n            to reset.\n\n            That state is what the `ApplicationInstance` manages: it is responsible for\n            creating the container that contains all application state, and disposing of\n            it once the particular test run or FastBoot request has finished.\n\n            @public\n            @class ApplicationInstance\n            @extends EngineInstance\n          */class ApplicationInstance extends EngineInstance{constructor(){super(...arguments);/**\n              The `Application` for which this is an instance.\n               @property {Application} application\n              @private\n            *//**\n              The root DOM element of the Application as an element or a\n              CSS selector.\n               @private\n              @property {String|DOMElement} rootElement\n            */_defineProperty(this,\"rootElement\",null);_defineProperty(this,\"_router\",void 0);}init(properties){super.init(properties);this.application._watchInstance(this);// Register this instance in the per-instance registry.\n//\n// Why do we need to register the instance in the first place?\n// Because we need a good way for the root route (a.k.a ApplicationRoute)\n// to notify us when it has created the root-most view. That view is then\n// appended to the rootElement, in the case of apps, to the fixture harness\n// in tests, or rendered to a string in the case of FastBoot.\nthis.register('-application-instance:main',this,{instantiate:false});}/**\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            */_bootSync(options){if(this._booted){return this;}options=new _BootOptions(options);this.setupRegistry(options);if(options.rootElement){this.rootElement=options.rootElement;}else{this.rootElement=this.application.rootElement;}if(options.location){set(this.router,'location',options.location);}this.application.runInstanceInitializers(this);if(options.isInteractive){this.setupEventDispatcher();}this._booted=true;return this;}setupRegistry(options){this.constructor.setupRegistry(this.__registry__,options);}get router(){if(!this._router){let router=this.lookup('router:main');this._router=router;}return this._router;}/**\n              This hook is called by the root-most Route (a.k.a. the ApplicationRoute)\n              when it has finished creating the root View. By default, we simply take the\n              view and append it to the `rootElement` specified on the Application.\n               In cases like FastBoot and testing, we can override this hook and implement\n              custom behavior, such as serializing to a string and sending over an HTTP\n              socket rather than appending to DOM.\n               @param view {Ember.View} the root-most view\n              @deprecated\n              @private\n            */didCreateRootView(view){view.appendTo(this.rootElement);}/**\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            */startRouting(){this.router.startRouting();}/**\n              Sets up the router, initializing the child router and configuring the\n              location before routing begins.\n               Because setup should only occur once, multiple calls to `setupRouter`\n              beyond the first call have no effect.\n               This is commonly used in order to confirm things that rely on the router\n              are functioning properly from tests that are primarily rendering related.\n               For example, from within [ember-qunit](https://github.com/emberjs/ember-qunit)'s\n              `setupRenderingTest` calling `this.owner.setupRouter()` would allow that\n              rendering test to confirm that any `<LinkTo></LinkTo>`'s that are rendered\n              have the correct URL.\n               @public\n            */setupRouter(){this.router.setupRouter();}/**\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            */handleURL(url){this.setupRouter();return this.router.handleURL(url);}/**\n              @private\n            */setupEventDispatcher(){let dispatcher=this.lookup('event_dispatcher:main');let applicationCustomEvents=get$2(this.application,'customEvents');let instanceCustomEvents=get$2(this,'customEvents');let customEvents=Object.assign({},applicationCustomEvents,instanceCustomEvents);dispatcher.setup(customEvents,this.rootElement);return dispatcher;}/**\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            */getURL(){return this.router.url;}// `instance.visit(url)` should eventually replace `instance.handleURL()`;\n// the test helpers can probably be switched to use this implementation too\n/**\n              Navigate the instance to a particular URL. This is useful in tests, for\n              example, or to tell the app to start at a particular URL. This method\n              returns a promise that resolves with the app instance when the transition\n              is complete, or rejects if the transition was aborted due to an error.\n               @public\n              @param url {String} the destination URL\n              @return {Promise<ApplicationInstance>}\n            */visit(url){this.setupRouter();let bootOptions=this.__container__.lookup('-environment:main');let router=this.router;let handleTransitionResolve=()=>{if(!bootOptions.options.shouldRender){// No rendering is needed, and routing has completed, simply return.\nreturn this;}else{// Ensure that the visit promise resolves when all rendering has completed\nreturn renderSettled().then(()=>this);}};let handleTransitionReject=error=>{if(error.error&&error.error instanceof Error){throw error.error;}else if(error.name==='TransitionAborted'&&router._routerMicrolib.activeTransition){return router._routerMicrolib.activeTransition.then(handleTransitionResolve,handleTransitionReject);}else if(error.name==='TransitionAborted'){throw new Error(error.message);}else{throw error;}};let location=get$2(router,'location');location.setURL(url);// getURL returns the set url with the rootURL stripped off\nreturn router.handleURL(location.getURL()).then(handleTransitionResolve,handleTransitionReject);}willDestroy(){super.willDestroy();this.application._unwatchInstance(this);}/**\n             @private\n             @method setupRegistry\n             @param {Registry} registry\n             @param {BootOptions} options\n            */static setupRegistry(registry){let options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let coptions=options instanceof _BootOptions?options:new _BootOptions(options);registry.register('-environment:main',coptions.toEnvironment(),{instantiate:false});registry.register('service:-document',coptions.document,{instantiate:false});super.setupRegistry(registry,coptions);}}/**\n            A list of boot-time configuration options for customizing the behavior of\n            an `ApplicationInstance`.\n\n            This is an interface class that exists purely to document the available\n            options; you do not need to construct it manually. Simply pass a regular\n            JavaScript object containing the desired options into methods that require\n            one of these options object:\n\n            ```javascript\n            MyApp.visit(\"/\", { location: \"none\", rootElement: \"#container\" });\n            ```\n\n            Not all combinations of the supported options are valid. See the documentation\n            on `Application#visit` for the supported configurations.\n\n            Internal, experimental or otherwise unstable flags are marked as private.\n\n            @class BootOptions\n            @namespace ApplicationInstance\n            @public\n          */class _BootOptions{constructor(){let options=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};/**\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            */_defineProperty(this,\"isInteractive\",void 0);/**\n              @property _renderMode\n              @type string\n              @default undefined\n              @private\n            */_defineProperty(this,\"_renderMode\",void 0);/**\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            */_defineProperty(this,\"isBrowser\",void 0);/**\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            */_defineProperty(this,\"location\",null);/**\n              Disable rendering completely.\n               When this flag is set to `false`, it will disable the entire rendering\n              pipeline. Essentially, this puts the app into \"routing-only\" mode. No\n              templates will be rendered, and no Components will be created.\n               @property shouldRender\n              @type boolean\n              @default true\n              @public\n            */_defineProperty(this,\"shouldRender\",void 0);/**\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            */_defineProperty(this,\"document\",void 0);/**\n              If present, overrides the application's `rootElement` property on\n              the instance. This is useful for testing environment, where you\n              might want to append the root view to a fixture area.\n               In non-browser mode, because Ember does not have access to jQuery,\n              this options must be specified as a DOM `Element` object instead of\n              a selector string.\n               See the documentation on `Application`'s `rootElement` for\n              details.\n               @property rootElement\n              @type String|Element\n              @default null\n              @public\n            */_defineProperty(this,\"rootElement\",void 0);this.isInteractive=Boolean(hasDOM);// This default is overridable below\nthis._renderMode=options._renderMode;if(options.isBrowser!==undefined){this.isBrowser=Boolean(options.isBrowser);}else{this.isBrowser=Boolean(hasDOM);}if(!this.isBrowser){this.isInteractive=false;this.location='none';}if(options.shouldRender!==undefined){this.shouldRender=Boolean(options.shouldRender);}else{this.shouldRender=true;}if(!this.shouldRender){this.isInteractive=false;}if(options.document){this.document=options.document;}else{this.document=typeof document!=='undefined'?document:null;}if(options.rootElement){this.rootElement=options.rootElement;}// 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)\nif(options.location!==undefined){this.location=options.location;}if(options.isInteractive!==undefined){this.isInteractive=Boolean(options.isInteractive);}}toEnvironment(){// Do we really want to assign all of this!?\nreturn{...emberinternalsBrowserEnvironmentIndex,// For compatibility with existing code\nhasDOM:this.isBrowser,isInteractive:this.isInteractive,_renderMode:this._renderMode,options:this};}}const emberApplicationInstance=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ApplicationInstance},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/application/namespace\n          *//**\n            A Namespace is an object usually used to contain other objects or methods\n            such as an application or framework. Create a namespace anytime you want\n            to define one of these new containers.\n\n            # Example Usage\n\n            ```javascript\n            MyFramework = Ember.Namespace.create({\n              VERSION: '1.0.0'\n            });\n            ```\n\n            @class Namespace\n            @extends EmberObject\n            @public\n          */class Namespace extends EmberObject{init(properties){super.init(properties);addNamespace(this);}toString(){let existing_name=get$2(this,'name')||get$2(this,'modulePrefix');if(existing_name){return existing_name;}findNamespaces();let name=getName(this);if(name===undefined){name=guidFor(this);setName(this,name);}return name;}nameClasses(){processNamespace(this);}destroy(){removeNamespace(this);return super.destroy();}}// Declare on the prototype to have a single shared value.\n_defineProperty(Namespace,\"NAMESPACES\",NAMESPACES);_defineProperty(Namespace,\"NAMESPACES_BY_ID\",NAMESPACES_BY_ID);_defineProperty(Namespace,\"processAll\",processAllNamespaces);_defineProperty(Namespace,\"byName\",findNamespace);Namespace.prototype.isNamespace=true;const emberApplicationNamespace=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Namespace},Symbol.toStringTag,{value:'Module'});/**\n           * A topologically ordered map of key/value pairs with a simple API for adding constraints.\n           *\n           * Edges can forward reference keys that have not been added yet (the forward reference will\n           * map the key to undefined).\n           */var DAG=function(){function DAG(){this._vertices=new Vertices();}/**\n             * Adds a key/value pair with dependencies on other key/value pairs.\n             *\n             * @public\n             * @param key    The key of the vertex to be added.\n             * @param value  The value of that vertex.\n             * @param before A key or array of keys of the vertices that must\n             *               be visited before this vertex.\n             * @param after  An string or array of strings with the keys of the\n             *               vertices that must be after this vertex is visited.\n             */DAG.prototype.add=function(key,value,before,after){if(!key)throw new Error('argument `key` is required');var vertices=this._vertices;var v=vertices.add(key);v.val=value;if(before){if(typeof before===\"string\"){vertices.addEdge(v,vertices.add(before));}else{for(var i=0;i<before.length;i++){vertices.addEdge(v,vertices.add(before[i]));}}}if(after){if(typeof after===\"string\"){vertices.addEdge(vertices.add(after),v);}else{for(var i=0;i<after.length;i++){vertices.addEdge(vertices.add(after[i]),v);}}}};/**\n             * @deprecated please use add.\n             */DAG.prototype.addEdges=function(key,value,before,after){this.add(key,value,before,after);};/**\n             * Visits key/value pairs in topological order.\n             *\n             * @public\n             * @param callback The function to be invoked with each key/value.\n             */DAG.prototype.each=function(callback){this._vertices.walk(callback);};/**\n             * @deprecated please use each.\n             */DAG.prototype.topsort=function(callback){this.each(callback);};return DAG;}();/** @private */var Vertices=function(){function Vertices(){this.length=0;this.stack=new IntStack();this.path=new IntStack();this.result=new IntStack();}Vertices.prototype.add=function(key){if(!key)throw new Error(\"missing key\");var l=this.length|0;var vertex;for(var i=0;i<l;i++){vertex=this[i];if(vertex.key===key)return vertex;}this.length=l+1;return this[l]={idx:l,key:key,val:undefined,out:false,flag:false,length:0};};Vertices.prototype.addEdge=function(v,w){this.check(v,w.key);var l=w.length|0;for(var i=0;i<l;i++){if(w[i]===v.idx)return;}w.length=l+1;w[l]=v.idx;v.out=true;};Vertices.prototype.walk=function(cb){this.reset();for(var i=0;i<this.length;i++){var vertex=this[i];if(vertex.out)continue;this.visit(vertex,\"\");}this.each(this.result,cb);};Vertices.prototype.check=function(v,w){if(v.key===w){throw new Error(\"cycle detected: \"+w+\" <- \"+w);}// quick check\nif(v.length===0)return;// shallow check\nfor(var i=0;i<v.length;i++){var key=this[v[i]].key;if(key===w){throw new Error(\"cycle detected: \"+w+\" <- \"+v.key+\" <- \"+w);}}// deep check\nthis.reset();this.visit(v,w);if(this.path.length>0){var msg_1=\"cycle detected: \"+w;this.each(this.path,function(key){msg_1+=\" <- \"+key;});throw new Error(msg_1);}};Vertices.prototype.reset=function(){this.stack.length=0;this.path.length=0;this.result.length=0;for(var i=0,l=this.length;i<l;i++){this[i].flag=false;}};Vertices.prototype.visit=function(start,search){var _a=this,stack=_a.stack,path=_a.path,result=_a.result;stack.push(start.idx);while(stack.length){var index=stack.pop()|0;if(index>=0){// enter\nvar vertex=this[index];if(vertex.flag)continue;vertex.flag=true;path.push(index);if(search===vertex.key)break;// push exit\nstack.push(~index);this.pushIncoming(vertex);}else{// exit\npath.pop();result.push(~index);}}};Vertices.prototype.pushIncoming=function(incomming){var stack=this.stack;for(var i=incomming.length-1;i>=0;i--){var index=incomming[i];if(!this[index].flag){stack.push(index);}}};Vertices.prototype.each=function(indices,cb){for(var i=0,l=indices.length;i<l;i++){var vertex=this[indices[i]];cb(vertex.key,vertex.val);}};return Vertices;}();/** @private */var IntStack=function(){function IntStack(){this.length=0;}IntStack.prototype.push=function(n){this[this.length++]=n|0;};IntStack.prototype.pop=function(){return this[--this.length]|0;};return IntStack;}();const dagMap=/*#__PURE__*/Object.defineProperty({__proto__:null,default:DAG},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/debug/container-debug-adapter\n          *//**\n            The `ContainerDebugAdapter` helps the container and resolver interface\n            with tools that debug Ember such as the\n            [Ember Inspector](https://github.com/emberjs/ember-inspector)\n            for Chrome and Firefox.\n\n            This class can be extended by a custom resolver implementer\n            to override some of the methods with library-specific code.\n\n            The methods likely to be overridden are:\n\n            * `canCatalogEntriesByType`\n            * `catalogEntriesByType`\n\n            The adapter will need to be registered\n            in the application's container as `container-debug-adapter:main`.\n\n            Example:\n\n            ```javascript\n            Application.initializer({\n              name: \"containerDebugAdapter\",\n\n              initialize(application) {\n                application.register('container-debug-adapter:main', require('app/container-debug-adapter'));\n              }\n            });\n            ```\n\n            @class ContainerDebugAdapter\n            @extends EmberObject\n            @since 1.5.0\n            @public\n          */class ContainerDebugAdapter extends EmberObject{constructor(owner){super(owner);/**\n              The resolver instance of the application\n              being debugged. This property will be injected\n              on creation.\n               @property resolver\n              @public\n            */_defineProperty(this,\"resolver\",void 0);this.resolver=getOwner$2(this).lookup('resolver-for-debugging:main');}/**\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            */canCatalogEntriesByType(type){if(type==='model'||type==='template'){return false;}return true;}/**\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            */catalogEntriesByType(type){let namespaces=Namespace.NAMESPACES;let types=[];let typeSuffixRegex=new RegExp(`${classify(type)}$`);namespaces.forEach(namespace=>{for(let key in namespace){if(!Object.prototype.hasOwnProperty.call(namespace,key)){continue;}if(typeSuffixRegex.test(key)){let klass=namespace[key];if(typeOf(klass)==='class'){types.push(dasherize(key.replace(typeSuffixRegex,'')));}}}});return types;}}const emberDebugContainerDebugAdapter=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ContainerDebugAdapter},Symbol.toStringTag,{value:'Module'});function props(obj){let properties=[];for(let key in obj){properties.push(key);}return properties;}/**\n          @module @ember/engine\n          *//**\n            The `Engine` class contains core functionality for both applications and\n            engines.\n\n            Each engine manages a registry that's used for dependency injection and\n            exposed through `RegistryProxy`.\n\n            Engines also manage initializers and instance initializers.\n\n            Engines can spawn `EngineInstance` instances via `buildInstance()`.\n\n            @class Engine\n            @extends Ember.Namespace\n            @uses RegistryProxyMixin\n            @public\n          */// eslint-disable-next-line @typescript-eslint/no-empty-interface\nclass Engine extends Namespace.extend(RegistryProxyMixin){constructor(){super(...arguments);/**\n              A private flag indicating whether an engine's initializers have run yet.\n               @private\n              @property _initializersRan\n            */_defineProperty(this,\"_initializersRan\",false);}/**\n              This creates a registry with the default Ember naming conventions.\n               It also configures the registry:\n               * registered views are created every time they are looked up (they are\n                not singletons)\n              * registered templates are not factories; the registered value is\n                returned directly.\n              * the router receives the application as its `namespace` property\n              * all controllers receive the router as their `target` and `controllers`\n                properties\n              * all controllers receive the application as their `namespace` property\n              * the application view receives the application controller as its\n                `controller` property\n              * the application view receives the application template as its\n                `defaultTemplate` property\n               @method buildRegistry\n              @static\n              @param {Application} namespace the application for which to\n                build the registry\n              @return {Ember.Registry} the built registry\n              @private\n            */static buildRegistry(namespace){let registry=new Registry({resolver:resolverFor(namespace)});registry.set=set;registry.register('application:main',namespace,{instantiate:false});commonSetupRegistry$1(registry);setupEngineRegistry(registry);return registry;}/**\n              Set this to provide an alternate class to `DefaultResolver`\n               @property resolver\n              @public\n            */init(properties){super.init(properties);this.buildRegistry();}/**\n              Ensure that initializers are run once, and only once, per engine.\n               @private\n              @method ensureInitializers\n            */ensureInitializers(){if(!this._initializersRan){this.runInitializers();this._initializersRan=true;}}/**\n              Create an EngineInstance for this engine.\n               @public\n              @method buildInstance\n              @return {EngineInstance} the engine instance\n            */buildInstance(){let options=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};this.ensureInitializers();return EngineInstance.create({...options,base:this});}/**\n              Build and configure the registry for the current engine.\n               @private\n              @method buildRegistry\n              @return {Ember.Registry} the configured registry\n            */buildRegistry(){let registry=this.__registry__=this.constructor.buildRegistry(this);return registry;}/**\n              @private\n              @method initializer\n            */initializer(initializer){this.constructor.initializer(initializer);}/**\n              @private\n              @method instanceInitializer\n            */instanceInitializer(initializer){this.constructor.instanceInitializer(initializer);}/**\n              @private\n              @method runInitializers\n            */runInitializers(){this._runInitializer('initializers',(name,initializer)=>{initializer.initialize(this);});}/**\n              @private\n              @since 1.12.0\n              @method runInstanceInitializers\n            */runInstanceInitializers(instance){this._runInitializer('instanceInitializers',(name,initializer)=>{initializer.initialize(instance);});}_runInitializer(bucketName,cb){let initializersByName=get$2(this.constructor,bucketName);let initializers=props(initializersByName);let graph=new DAG();let initializer;for(let name of initializers){initializer=initializersByName[name];graph.add(initializer.name,initializer,initializer.before,initializer.after);}graph.topsort(cb);}}/**\n            This function defines the default lookup rules for container lookups:\n\n            * templates are looked up on `Ember.TEMPLATES`\n            * other names are looked up on the application after classifying the name.\n              For example, `controller:post` looks up `App.PostController` by default.\n            * if the default lookup fails, look for registered classes on the container\n\n            This allows the application to register default injections in the container\n            that could be overridden by the normal naming convention.\n\n            @private\n            @method resolverFor\n            @param {Ember.Enginer} namespace the namespace to look for classes\n            @return {*} the resolved value for a given lookup\n          */_defineProperty(Engine,\"initializers\",Object.create(null));_defineProperty(Engine,\"instanceInitializers\",Object.create(null));/**\n              The goal of initializers should be to register dependencies and injections.\n              This phase runs once. Because these initializers may load code, they are\n              allowed to defer application readiness and advance it. If you need to access\n              the container or store you should use an InstanceInitializer that will be run\n              after all initializers and therefore after all code is loaded and the app is\n              ready.\n               Initializer receives an object which has the following attributes:\n              `name`, `before`, `after`, `initialize`. The only required attribute is\n              `initialize`, all others are optional.\n               * `name` allows you to specify under which name the initializer is registered.\n              This must be a unique name, as trying to register two initializers with the\n              same name will result in an error.\n               ```app/initializer/named-initializer.js\n              import { debug } from '@ember/debug';\n               export function initialize() {\n                debug('Running namedInitializer!');\n              }\n               export default {\n                name: 'named-initializer',\n                initialize\n              };\n              ```\n               * `before` and `after` are used to ensure that this initializer is ran prior\n              or after the one identified by the value. This value can be a single string\n              or an array of strings, referencing the `name` of other initializers.\n               An example of ordering initializers, we create an initializer named `first`:\n               ```app/initializer/first.js\n              import { debug } from '@ember/debug';\n               export function initialize() {\n                debug('First initializer!');\n              }\n               export default {\n                name: 'first',\n                initialize\n              };\n              ```\n               ```bash\n              // DEBUG: First initializer!\n              ```\n               We add another initializer named `second`, specifying that it should run\n              after the initializer named `first`:\n               ```app/initializer/second.js\n              import { debug } from '@ember/debug';\n               export function initialize() {\n                debug('Second initializer!');\n              }\n               export default {\n                name: 'second',\n                after: 'first',\n                initialize\n              };\n              ```\n               ```\n              // DEBUG: First initializer!\n              // DEBUG: Second initializer!\n              ```\n               Afterwards we add a further initializer named `pre`, this time specifying\n              that it should run before the initializer named `first`:\n               ```app/initializer/pre.js\n              import { debug } from '@ember/debug';\n               export function initialize() {\n                debug('Pre initializer!');\n              }\n               export default {\n                name: 'pre',\n                before: 'first',\n                initialize\n              };\n              ```\n               ```bash\n              // DEBUG: Pre initializer!\n              // DEBUG: First initializer!\n              // DEBUG: Second initializer!\n              ```\n               Finally we add an initializer named `post`, specifying it should run after\n              both the `first` and the `second` initializers:\n               ```app/initializer/post.js\n              import { debug } from '@ember/debug';\n               export function initialize() {\n                debug('Post initializer!');\n              }\n               export default {\n                name: 'post',\n                after: ['first', 'second'],\n                initialize\n              };\n              ```\n               ```bash\n              // DEBUG: Pre initializer!\n              // DEBUG: First initializer!\n              // DEBUG: Second initializer!\n              // DEBUG: Post initializer!\n              ```\n               * `initialize` is a callback function that receives one argument,\n                `application`, on which you can operate.\n               Example of using `application` to register an adapter:\n               ```app/initializer/api-adapter.js\n              import ApiAdapter from '../utils/api-adapter';\n               export function initialize(application) {\n                application.register('api-adapter:main', ApiAdapter);\n              }\n               export default {\n                name: 'post',\n                after: ['first', 'second'],\n                initialize\n              };\n              ```\n               @method initializer\n              @param initializer {Object}\n              @public\n            */_defineProperty(Engine,\"initializer\",buildInitializerMethod('initializers'));/**\n              Instance initializers run after all initializers have run. Because\n              instance initializers run after the app is fully set up. We have access\n              to the store, container, and other items. However, these initializers run\n              after code has loaded and are not allowed to defer readiness.\n               Instance initializer receives an object which has the following attributes:\n              `name`, `before`, `after`, `initialize`. The only required attribute is\n              `initialize`, all others are optional.\n               * `name` allows you to specify under which name the instanceInitializer is\n              registered. This must be a unique name, as trying to register two\n              instanceInitializer with the same name will result in an error.\n               ```app/initializer/named-instance-initializer.js\n              import { debug } from '@ember/debug';\n               export function initialize() {\n                debug('Running named-instance-initializer!');\n              }\n               export default {\n                name: 'named-instance-initializer',\n                initialize\n              };\n              ```\n               * `before` and `after` are used to ensure that this initializer is ran prior\n              or after the one identified by the value. This value can be a single string\n              or an array of strings, referencing the `name` of other initializers.\n               * See Application.initializer for discussion on the usage of before\n              and after.\n               Example instanceInitializer to preload data into the store.\n               ```app/initializer/preload-data.js\n               export function initialize(application) {\n                  var userConfig, userConfigEncoded, store;\n                  // We have a HTML escaped JSON representation of the user's basic\n                  // configuration generated server side and stored in the DOM of the main\n                  // index.html file. This allows the app to have access to a set of data\n                  // without making any additional remote calls. Good for basic data that is\n                  // needed for immediate rendering of the page. Keep in mind, this data,\n                  // like all local models and data can be manipulated by the user, so it\n                  // should not be relied upon for security or authorization.\n                   // Grab the encoded data from the meta tag\n                  userConfigEncoded = document.querySelector('head meta[name=app-user-config]').attr('content');\n                   // Unescape the text, then parse the resulting JSON into a real object\n                  userConfig = JSON.parse(unescape(userConfigEncoded));\n                   // Lookup the store\n                  store = application.lookup('service:store');\n                   // Push the encoded JSON into the store\n                  store.pushPayload(userConfig);\n              }\n               export default {\n                name: 'named-instance-initializer',\n                initialize\n              };\n              ```\n               @method instanceInitializer\n              @param instanceInitializer\n              @public\n            */_defineProperty(Engine,\"instanceInitializer\",buildInitializerMethod('instanceInitializers'));function resolverFor(namespace){let ResolverClass=namespace.Resolver;let props={namespace};return ResolverClass.create(props);}/** @internal */function buildInitializerMethod(bucketName,humanName){return function(initializer){// If this is the first initializer being added to a subclass, we are going to reopen the class\n// to make sure we have a new `initializers` object, which extends from the parent class' using\n// prototypal inheritance. Without this, attempting to add initializers to the subclass would\n// pollute the parent class as well as other subclasses.\n// SAFETY: The superclass may be an Engine, we don't call unless we confirmed it was ok.\nlet superclass=this.superclass;if(superclass[bucketName]!==undefined&&superclass[bucketName]===this[bucketName]){let attrs={[bucketName]:Object.create(this[bucketName])};this.reopenClass(attrs);}let initializers=this[bucketName];initializers[initializer.name]=initializer;};}function commonSetupRegistry$1(registry){registry.optionsForType('component',{singleton:false});registry.optionsForType('view',{singleton:false});registry.register('controller:basic',Controller,{instantiate:false});// Register the routing service...\nregistry.register('service:-routing',RoutingService);// DEBUGGING\nregistry.register('resolver-for-debugging:main',registry.resolver,{instantiate:false});registry.register('container-debug-adapter:main',ContainerDebugAdapter);registry.register('component-lookup:main',ComponentLookup);}const emberEngineIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,buildInitializerMethod,default:Engine,getEngineParent,setEngineParent},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/application\n          *//**\n           * @deprecated Use `import { getOwner } from '@ember/owner';` instead.\n           */const getOwner=getOwner$1;/**\n           * @deprecated Use `import { setOwner } from '@ember/owner';` instead.\n           */const setOwner=setOwner$1;/**\n            An instance of `Application` is the starting point for every Ember\n            application. It instantiates, initializes and coordinates the\n            objects that make up your app.\n\n            Each Ember app has one and only one `Application` object. Although\n            Ember CLI creates this object implicitly, the `Application` class\n            is defined in the `app/app.js`. You can define a `ready` method on the\n            `Application` class, which will be run by Ember when the application is\n            initialized.\n\n            ```app/app.js\n            export default class App extends Application {\n              ready() {\n                // your code here\n              }\n            }\n            ```\n\n            Because `Application` ultimately inherits from `Ember.Namespace`, any classes\n            you create will have useful string representations when calling `toString()`.\n            See the `Ember.Namespace` documentation for more information.\n\n            While you can think of your `Application` as a container that holds the\n            other classes in your application, there are several other responsibilities\n            going on under-the-hood that you may want to understand. It is also important\n            to understand that an `Application` is different from an `ApplicationInstance`.\n            Refer to the Guides to understand the difference between these.\n\n            ### Event Delegation\n\n            Ember uses a technique called _event delegation_. This allows the framework\n            to set up a global, shared event listener instead of requiring each view to\n            do it manually. For example, instead of each view registering its own\n            `mousedown` listener on its associated element, Ember sets up a `mousedown`\n            listener on the `body`.\n\n            If a `mousedown` event occurs, Ember will look at the target of the event and\n            start walking up the DOM node tree, finding corresponding views and invoking\n            their `mouseDown` method as it goes.\n\n            `Application` has a number of default events that it listens for, as\n            well as a mapping from lowercase events to camel-cased view method names. For\n            example, the `keypress` event causes the `keyPress` method on the view to be\n            called, the `dblclick` event causes `doubleClick` to be called, and so on.\n\n            If there is a bubbling browser event that Ember does not listen for by\n            default, you can specify custom events and their corresponding view method\n            names by setting the application's `customEvents` property:\n\n            ```app/app.js\n            import Application from '@ember/application';\n\n            export default class App extends Application {\n              customEvents = {\n                // add support for the paste event\n                paste: 'paste'\n              }\n            }\n            ```\n\n            To prevent Ember from setting up a listener for a default event,\n            specify the event name with a `null` value in the `customEvents`\n            property:\n\n            ```app/app.js\n            import Application from '@ember/application';\n\n            export default class App extends Application {\n              customEvents = {\n                // prevent listeners for mouseenter/mouseleave events\n                mouseenter: null,\n                mouseleave: null\n              }\n            }\n            ```\n\n            By default, the application sets up these event listeners on the document\n            body. However, in cases where you are embedding an Ember application inside\n            an existing page, you may want it to set up the listeners on an element\n            inside the body.\n\n            For example, if only events inside a DOM element with the ID of `ember-app`\n            should be delegated, set your application's `rootElement` property:\n\n            ```app/app.js\n            import Application from '@ember/application';\n\n            export default class App extends Application {\n              rootElement = '#ember-app'\n            }\n            ```\n\n            The `rootElement` can be either a DOM element or a CSS selector\n            string. Note that *views appended to the DOM outside the root element will\n            not receive events.* If you specify a custom root element, make sure you only\n            append views inside it!\n\n            To learn more about the events Ember components use, see\n\n            [components/handling-events](https://guides.emberjs.com/release/components/handling-events/#toc_event-names).\n\n            ### Initializers\n\n            To add behavior to the Application's boot process, you can define initializers in\n            the `app/initializers` directory, or with `ember generate initializer` using Ember CLI.\n            These files should export a named `initialize` function which will receive the created `application`\n            object as its first argument.\n\n            ```javascript\n            export function initialize(application) {\n              // application.inject('route', 'foo', 'service:foo');\n            }\n            ```\n\n            Application initializers can be used for a variety of reasons including:\n\n            - setting up external libraries\n            - injecting dependencies\n            - setting up event listeners in embedded apps\n            - deferring the boot process using the `deferReadiness` and `advanceReadiness` APIs.\n\n            ### Routing\n\n            In addition to creating your application's router, `Application` is\n            also responsible for telling the router when to start routing. Transitions\n            between routes can be logged with the `LOG_TRANSITIONS` flag, and more\n            detailed intra-transition logging can be logged with\n            the `LOG_TRANSITIONS_INTERNAL` flag:\n\n            ```javascript\n            import Application from '@ember/application';\n\n            let App = Application.create({\n              LOG_TRANSITIONS: true, // basic logging of successful transitions\n              LOG_TRANSITIONS_INTERNAL: true // detailed logging of all routing steps\n            });\n            ```\n\n            By default, the router will begin trying to translate the current URL into\n            application state once the browser emits the `DOMContentReady` event. If you\n            need to defer routing, you can call the application's `deferReadiness()`\n            method. Once routing can begin, call the `advanceReadiness()` method.\n\n            If there is any setup required before routing begins, you can implement a\n            `ready()` method on your app that will be invoked immediately before routing\n            begins.\n\n            @class Application\n            @extends Engine\n            @public\n          */class Application extends Engine{constructor(){super(...arguments);_defineProperty(this,\"Router\",void 0);_defineProperty(this,\"__deprecatedInstance__\",void 0);_defineProperty(this,\"__container__\",void 0);_defineProperty(this,\"_bootPromise\",null);_defineProperty(this,\"_bootResolver\",null);}/**\n              This creates a registry with the default Ember naming conventions.\n               It also configures the registry:\n               * registered views are created every time they are looked up (they are\n                not singletons)\n              * registered templates are not factories; the registered value is\n                returned directly.\n              * the router receives the application as its `namespace` property\n              * all controllers receive the router as their `target` and `controllers`\n                properties\n              * all controllers receive the application as their `namespace` property\n              * the application view receives the application controller as its\n                `controller` property\n              * the application view receives the application template as its\n                `defaultTemplate` property\n               @method buildRegistry\n              @static\n              @param {Application} namespace the application for which to\n                build the registry\n              @return {Ember.Registry} the built registry\n              @private\n            */static buildRegistry(namespace){let registry=super.buildRegistry(namespace);commonSetupRegistry(registry);setupApplicationRegistry(registry);return registry;}/**\n              The root DOM element of the Application. This can be specified as an\n              element or a [selector string](https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Selectors#reference_table_of_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               @property _document\n              @type Document | null\n              @default 'window.document'\n              @private\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              The DOM events for which the event dispatcher should listen.\n               By default, the application's `Ember.EventDispatcher` listens\n              for a set of standard DOM events, such as `mousedown` and\n              `keyup`, and delegates them to your application's `Ember.View`\n              instances.\n               If you would like additional bubbling events to be delegated to your\n              views, set your `Application`'s `customEvents` property\n              to a hash containing the DOM event name as the key and the\n              corresponding view method name as the value. Setting an event to\n              a value of `null` will prevent a default event listener from being\n              added for that event.\n               To add new events to be listened to:\n               ```app/app.js\n              import Application from '@ember/application';\n               let App = Application.extend({\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               ```app/app.js\n              import Application from '@ember/application';\n               let App = Application.extend({\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              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              Whether the application should be configured for the legacy \"globals mode\".\n              Under this mode, the Application object serves as a global namespace for all\n              classes.\n               ```javascript\n              import Application from '@ember/application';\n              import Component from '@ember/component';\n               let App = Application.create({\n                ...\n              });\n               App.Router.reopen({\n                location: 'none'\n              });\n               App.Router.map({\n                ...\n              });\n               App.MyComponent = Component.extend({\n                ...\n              });\n              ```\n               This flag also exposes other internal APIs that assumes the existence of\n              a special \"default instance\", like `App.__container__.lookup(...)`.\n               This option is currently not configurable, its value is derived from\n              the `autoboot` flag – disabling `autoboot` also implies opting-out of\n              globals mode support, although they are ultimately orthogonal concerns.\n               Some of the global modes features are already deprecated in 1.x. The\n              existence of this flag is to untangle the globals mode code paths from\n              the autoboot code paths, so that these legacy features can be reviewed\n              for deprecation/removal separately.\n               Forcing the (autoboot=true, _globalsMode=false) here and running the tests\n              would reveal all the places where we are still relying on these legacy\n              behavior internally (mostly just tests).\n               @property _globalsMode\n              @type Boolean\n              @default true\n              @private\n            *//**\n              An array of application instances created by `buildInstance()`. Used\n              internally to ensure that all instances get destroyed.\n               @property _applicationInstances\n              @type Array\n              @private\n            */init(properties){super.init(properties);this.rootElement??(this.rootElement='body');this._document??(this._document=null);this.eventDispatcher??(this.eventDispatcher=null);this.customEvents??(this.customEvents=null);this.autoboot??(this.autoboot=true);this._document??(this._document=hasDOM?window.document:null);this._globalsMode??(this._globalsMode=true);// Start off the number of deferrals at 1. This will be decremented by\n// the Application's own `boot` method.\nthis._readinessDeferrals=1;this._booted=false;this._applicationInstances=new Set();this.autoboot=this._globalsMode=Boolean(this.autoboot);if(this._globalsMode){this._prepareForGlobalsMode();}if(this.autoboot){this.waitForDOMReady();}}/**\n              Create an ApplicationInstance for this application.\n               @public\n              @method buildInstance\n              @return {ApplicationInstance} the application instance\n            */buildInstance(){let options=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return ApplicationInstance.create({...options,base:this,application:this});}/**\n              Start tracking an ApplicationInstance for this application.\n              Used when the ApplicationInstance is created.\n               @private\n              @method _watchInstance\n            */_watchInstance(instance){this._applicationInstances.add(instance);}/**\n              Stop tracking an ApplicationInstance for this application.\n              Used when the ApplicationInstance is about to be destroyed.\n               @private\n              @method _unwatchInstance\n            */_unwatchInstance(instance){return this._applicationInstances.delete(instance);}/**\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            */_prepareForGlobalsMode(){// Create subclass of Router for this Application instance.\n// This is to ensure that someone reopening `App.Router` does not\n// tamper with the default `Router`.\nthis.Router=(this.Router||EmberRouter).extend();this._buildDeprecatedInstance();}/*\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            */_buildDeprecatedInstance(){// Build a default instance\nlet instance=this.buildInstance();// Legacy support for App.__container__ and other global methods\n// on App that rely on a single, default instance.\nthis.__deprecatedInstance__=instance;this.__container__=instance.__container__;}/**\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            */waitForDOMReady(){const document=this._document;// SAFETY: Casting as Document should be safe since we're just reading a property.\n// If it's not actually a Document then it will evaluate false which is fine for our\n// purposes.\nif(document===null||document.readyState!=='loading'){schedule('actions',this,this.domReady);}else{let callback=()=>{document.removeEventListener('DOMContentLoaded',callback);run$1(this,this.domReady);};document.addEventListener('DOMContentLoaded',callback);}}/**\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            */domReady(){if(this.isDestroying||this.isDestroyed){return;}this._bootSync();// Continues to `didBecomeReady`\n}/**\n              Use this to defer readiness until some condition is true.\n               Example:\n               ```javascript\n              import Application from '@ember/application';\n               let App = Application.create();\n               App.deferReadiness();\n               fetch('/auth-token')\n              .then(response => response.json())\n              .then(data => {\n                App.token = data.token;\n                App.advanceReadiness();\n              });\n              ```\n               This allows you to perform asynchronous setup logic and defer\n              booting your application until the setup has finished.\n               However, if the setup requires a loading UI, it might be better\n              to use the router for this purpose.\n               @method deferReadiness\n              @public\n            */deferReadiness(){this._readinessDeferrals++;}/**\n              Call `advanceReadiness` after any asynchronous setup logic has completed.\n              Each call to `deferReadiness` must be matched by a call to `advanceReadiness`\n              or the application will never become ready and routing will not begin.\n               @method advanceReadiness\n              @see {Application#deferReadiness}\n              @public\n            */advanceReadiness(){this._readinessDeferrals--;if(this._readinessDeferrals===0){once(this,this.didBecomeReady);}}/**\n              Initialize the application and return a promise that resolves with the `Application`\n              object when the boot process is complete.\n               Run any application initializers and run the application load hook. These hooks may\n              choose to defer readiness. For example, an authentication hook might want to defer\n              readiness until the auth token has been retrieved.\n               By default, this method is called automatically on \"DOM ready\"; however, if autoboot\n              is disabled, this is automatically called when the first application instance is\n              created via `visit`.\n               @public\n              @method boot\n              @return {Promise<Application,Error>}\n            */boot(){if(this._bootPromise){return this._bootPromise;}try{this._bootSync();}catch(_){// Ignore the error: in the asynchronous boot path, the error is already reflected\n// in the promise rejection\n}return this._bootPromise;}/**\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            */_bootSync(){if(this._booted||this.isDestroying||this.isDestroyed){return;}// 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.\nlet defer=this._bootResolver=rsvp.defer();this._bootPromise=defer.promise;try{this.runInitializers();runLoadHooks('application',this);this.advanceReadiness();// Continues to `didBecomeReady`\n}catch(error){// For the asynchronous boot path\ndefer.reject(error);// For the synchronous boot path\nthrow error;}}/**\n              Reset the application. This is typically used only in tests. It cleans up\n              the application in the following order:\n               1. Deactivate existing routes\n              2. Destroy all objects in the container\n              3. Create a new application container\n              4. Re-route to the existing url\n               Typical Example:\n               ```javascript\n              import Application from '@ember/application';\n              let App;\n               run(function() {\n                App = Application.create();\n              });\n               module('acceptance test', {\n                setup: function() {\n                  App.reset();\n                }\n              });\n               test('first test', function() {\n                // App is freshly reset\n              });\n               test('second test', function() {\n                // App is again freshly reset\n              });\n              ```\n               Advanced Example:\n               Occasionally you may want to prevent the app from initializing during\n              setup. This could enable extra configuration, or enable asserting prior\n              to the app becoming ready.\n               ```javascript\n              import Application from '@ember/application';\n              let App;\n               run(function() {\n                App = Application.create();\n              });\n               module('acceptance test', {\n                setup: function() {\n                  run(function() {\n                    App.reset();\n                    App.deferReadiness();\n                  });\n                }\n              });\n               test('first test', function() {\n                ok(true, 'something before app is initialized');\n                 run(function() {\n                  App.advanceReadiness();\n                });\n                 ok(true, 'something after app is initialized');\n              });\n              ```\n               @method reset\n              @public\n            */reset(){let instance=this.__deprecatedInstance__;this._readinessDeferrals=1;this._bootPromise=null;this._bootResolver=null;this._booted=false;function handleReset(){run$1(instance,'destroy');this._buildDeprecatedInstance();schedule('actions',this,'_bootSync');}join(this,handleReset);}/**\n              @private\n              @method didBecomeReady\n            */didBecomeReady(){if(this.isDestroying||this.isDestroyed){return;}try{// TODO: Is this still needed for _globalsMode = false?\n// See documentation on `_autoboot()` for details\nif(this.autoboot){let instance;if(this._globalsMode){// If we already have the __deprecatedInstance__ lying around, boot it to\n// avoid unnecessary work\ninstance=this.__deprecatedInstance__;false&&!instance&&assert$1('expected instance',instance);}else{// 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\ninstance=this.buildInstance();}instance._bootSync();// TODO: App.ready() is not called when autoboot is disabled, is this correct?\nthis.ready();instance.startRouting();}// For the asynchronous boot path\nthis._bootResolver.resolve(this);// For the synchronous boot path\nthis._booted=true;}catch(error){// For the asynchronous boot path\nthis._bootResolver.reject(error);// For the synchronous boot path\nthrow error;}}/**\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            */ready(){return this;}// This method must be moved to the application instance object\nwillDestroy(){super.willDestroy();if(_loaded['application']===this){_loaded['application']=undefined;}if(this._applicationInstances.size){this._applicationInstances.forEach(i=>i.destroy());this._applicationInstances.clear();}}/**\n              Boot a new instance of `ApplicationInstance` for the current\n              application and navigate it to the given `url`. Returns a `Promise` that\n              resolves with the instance when the initial routing and rendering is\n              complete, or rejects with any error that occurred during the boot process.\n               When `autoboot` is disabled, calling `visit` would first cause the\n              application to boot, which runs the application initializers.\n               This method also takes a hash of boot-time configuration options for\n              customizing the instance's behavior. See the documentation on\n              `ApplicationInstance.BootOptions` for details.\n               `ApplicationInstance.BootOptions` is an interface class that exists\n              purely to document the available options; you do not need to construct it\n              manually. Simply pass a regular JavaScript object containing of the\n              desired options:\n               ```javascript\n              MyApp.visit(\"/\", { location: \"none\", rootElement: \"#container\" });\n              ```\n               ### Supported Scenarios\n               While the `BootOptions` class exposes a large number of knobs, not all\n              combinations of them are valid; certain incompatible combinations might\n              result in unexpected behavior.\n               For example, booting the instance in the full browser environment\n              while specifying a foreign `document` object (e.g. `{ isBrowser: true,\n              document: iframe.contentDocument }`) does not work correctly today,\n              largely due to Ember's jQuery dependency.\n               Currently, there are three officially supported scenarios/configurations.\n              Usages outside of these scenarios are not guaranteed to work, but please\n              feel free to file bug reports documenting your experience and any issues\n              you encountered to help expand support.\n               #### Browser Applications (Manual Boot)\n               The setup is largely similar to how Ember works out-of-the-box. Normally,\n              Ember will boot a default instance for your Application on \"DOM ready\".\n              However, you can customize this behavior by disabling `autoboot`.\n               For example, this allows you to render a miniture demo of your application\n              into a specific area on your marketing website:\n               ```javascript\n              import MyApp from 'my-app';\n               $(function() {\n                let App = MyApp.create({ autoboot: false });\n                 let options = {\n                  // Override the router's location adapter to prevent it from updating\n                  // the URL in the address bar\n                  location: 'none',\n                   // Override the default `rootElement` on the app to render into a\n                  // specific `div` on the page\n                  rootElement: '#demo'\n                };\n                 // Start the app at the special demo URL\n                App.visit('/demo', options);\n              });\n              ```\n               Or perhaps you might want to boot two instances of your app on the same\n              page for a split-screen multiplayer experience:\n               ```javascript\n              import MyApp from 'my-app';\n               $(function() {\n                let App = MyApp.create({ autoboot: false });\n                 let sessionId = MyApp.generateSessionID();\n                 let player1 = App.visit(`/matches/join?name=Player+1&session=${sessionId}`, { rootElement: '#left', location: 'none' });\n                let player2 = App.visit(`/matches/join?name=Player+2&session=${sessionId}`, { rootElement: '#right', location: 'none' });\n                 Promise.all([player1, player2]).then(() => {\n                  // Both apps have completed the initial render\n                  $('#loading').fadeOut();\n                });\n              });\n              ```\n               Do note that each app instance maintains their own registry/container, so\n              they will run in complete isolation by default.\n               #### Server-Side Rendering (also known as FastBoot)\n               This setup allows you to run your Ember app in a server environment using\n              Node.js and render its content into static HTML for SEO purposes.\n               ```javascript\n              const HTMLSerializer = new SimpleDOM.HTMLSerializer(SimpleDOM.voidMap);\n               function renderURL(url) {\n                let dom = new SimpleDOM.Document();\n                let rootElement = dom.body;\n                let options = { isBrowser: false, document: dom, rootElement: rootElement };\n                 return MyApp.visit(options).then(instance => {\n                  try {\n                    return HTMLSerializer.serialize(rootElement.firstChild);\n                  } finally {\n                    instance.destroy();\n                  }\n                });\n              }\n              ```\n               In this scenario, because Ember does not have access to a global `document`\n              object in the Node.js environment, you must provide one explicitly. In practice,\n              in the non-browser environment, the stand-in `document` object only needs to\n              implement a limited subset of the full DOM API. The `SimpleDOM` library is known\n              to work.\n               Since there is no DOM access in the non-browser environment, you must also\n              specify a DOM `Element` object in the same `document` for the `rootElement` option\n              (as opposed to a selector string like `\"body\"`).\n               See the documentation on the `isBrowser`, `document` and `rootElement` properties\n              on `ApplicationInstance.BootOptions` for details.\n               #### Server-Side Resource Discovery\n               This setup allows you to run the routing layer of your Ember app in a server\n              environment using Node.js and completely disable rendering. This allows you\n              to simulate and discover the resources (i.e. AJAX requests) needed to fulfill\n              a given request and eagerly \"push\" these resources to the client.\n               ```app/initializers/network-service.js\n              import BrowserNetworkService from 'app/services/network/browser';\n              import NodeNetworkService from 'app/services/network/node';\n               // Inject a (hypothetical) service for abstracting all AJAX calls and use\n              // the appropriate implementation on the client/server. This also allows the\n              // server to log all the AJAX calls made during a particular request and use\n              // that for resource-discovery purpose.\n               export function initialize(application) {\n                if (window) { // browser\n                  application.register('service:network', BrowserNetworkService);\n                } else { // node\n                  application.register('service:network', NodeNetworkService);\n                }\n              };\n               export default {\n                name: 'network-service',\n                initialize: initialize\n              };\n              ```\n               ```app/routes/post.js\n              import Route from '@ember/routing/route';\n              import { service } from '@ember/service';\n               // An example of how the (hypothetical) service is used in routes.\n               export default class IndexRoute extends Route {\n                @service network;\n                 model(params) {\n                  return this.network.fetch(`/api/posts/${params.post_id}.json`);\n                }\n                 afterModel(post) {\n                  if (post.isExternalContent) {\n                    return this.network.fetch(`/api/external/?url=${post.externalURL}`);\n                  } else {\n                    return post;\n                  }\n                }\n              }\n              ```\n               ```javascript\n              // Finally, put all the pieces together\n               function discoverResourcesFor(url) {\n                return MyApp.visit(url, { isBrowser: false, shouldRender: false }).then(instance => {\n                  let networkService = instance.lookup('service:network');\n                  return networkService.requests; // => { \"/api/posts/123.json\": \"...\" }\n                });\n              }\n              ```\n               @public\n              @method visit\n              @param url {String} The initial URL to navigate to\n              @param options {ApplicationInstance.BootOptions}\n              @return {Promise<ApplicationInstance, Error>}\n            */visit(url,options){return this.boot().then(()=>{let instance=this.buildInstance();return instance.boot(options).then(()=>instance.visit(url)).catch(error=>{run$1(instance,'destroy');throw error;});});}}_defineProperty(Application,\"initializer\",buildInitializerMethod('initializers'));_defineProperty(Application,\"instanceInitializer\",buildInitializerMethod('instanceInitializers'));function commonSetupRegistry(registry){registry.register('router:main',EmberRouter);registry.register('-view-registry:main',{create(){return makeDictionary(null);}});registry.register('route:basic',Route);registry.register('event_dispatcher:main',EventDispatcher);registry.register('location:hash',HashLocation);registry.register('location:history',HistoryLocation);registry.register('location:none',NoneLocation);registry.register(privatize`-bucket-cache:main`,{create(){return new BucketCache();}});registry.register('service:router',RouterService);}const emberApplicationIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,_loaded,default:Application,getOwner,onLoad,runLoadHooks,setOwner},Symbol.toStringTag,{value:'Module'});const emberArrayMutable=/*#__PURE__*/Object.defineProperty({__proto__:null,default:MutableArray},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/array/proxy\n          */const ARRAY_OBSERVER_MAPPING={willChange:'_arrangedContentArrayWillChange',didChange:'_arrangedContentArrayDidChange'};function customTagForArrayProxy(proxy,key){if(key==='[]'){proxy._revalidate();return proxy._arrTag;}else if(key==='length'){proxy._revalidate();return proxy._lengthTag;}return tagFor(proxy,key);}/**\n            An ArrayProxy wraps any other object that implements `Array` and/or\n            `MutableArray,` forwarding all requests. This makes it very useful for\n            a number of binding use cases or other cases where being able to swap\n            out the underlying array is useful.\n\n            A simple example of usage:\n\n            ```javascript\n            import { A } from '@ember/array';\n            import ArrayProxy from '@ember/array/proxy';\n\n            let pets = ['dog', 'cat', 'fish'];\n            let ap = ArrayProxy.create({ content: A(pets) });\n\n            ap.get('firstObject');                        // 'dog'\n            ap.set('content', ['amoeba', 'paramecium']);\n            ap.get('firstObject');                        // 'amoeba'\n            ```\n\n            This class can also be useful as a layer to transform the contents of\n            an array, as they are accessed. This can be done by overriding\n            `objectAtContent`:\n\n            ```javascript\n            import { A } from '@ember/array';\n            import ArrayProxy from '@ember/array/proxy';\n\n            let pets = ['dog', 'cat', 'fish'];\n            let ap = ArrayProxy.create({\n                content: A(pets),\n                objectAtContent: function(idx) {\n                    return this.get('content').objectAt(idx).toUpperCase();\n                }\n            });\n\n            ap.get('firstObject'); // . 'DOG'\n            ```\n\n            When overriding this class, it is important to place the call to\n            `_super` *after* setting `content` so the internal observers have\n            a chance to fire properly:\n\n            ```javascript\n            import { A } from '@ember/array';\n            import ArrayProxy from '@ember/array/proxy';\n\n            export default ArrayProxy.extend({\n              init() {\n                this.set('content', A(['dog', 'cat', 'fish']));\n                this._super(...arguments);\n              }\n            });\n            ```\n\n            @class ArrayProxy\n            @extends EmberObject\n            @uses MutableArray\n            @public\n          */class ArrayProxy extends EmberObject{constructor(){super(...arguments);/*\n              `this._objectsDirtyIndex` determines which indexes in the `this._objects`\n              cache are dirty.\n               If `this._objectsDirtyIndex === -1` then no indexes are dirty.\n              Otherwise, an index `i` is dirty if `i >= this._objectsDirtyIndex`.\n               Calling `objectAt` with a dirty index will cause the `this._objects`\n              cache to be recomputed.\n            *//** @internal */_defineProperty(this,\"_objectsDirtyIndex\",0);/** @internal */_defineProperty(this,\"_objects\",null);/** @internal */_defineProperty(this,\"_lengthDirty\",true);/** @internal */_defineProperty(this,\"_length\",0);/** @internal */_defineProperty(this,\"_arrangedContent\",null);/** @internal */_defineProperty(this,\"_arrangedContentIsUpdating\",false);/** @internal */_defineProperty(this,\"_arrangedContentTag\",null);/** @internal */_defineProperty(this,\"_arrangedContentRevision\",null);/** @internal */_defineProperty(this,\"_lengthTag\",null);/** @internal */_defineProperty(this,\"_arrTag\",null);}init(props){super.init(props);setCustomTagFor(this,customTagForArrayProxy);}[PROPERTY_DID_CHANGE](){this._revalidate();}willDestroy(){this._removeArrangedContentArrayObserver();}objectAtContent(idx){let arrangedContent=get$2(this,'arrangedContent');return objectAt(arrangedContent,idx);}// See additional docs for `replace` from `MutableArray`:\n// https://api.emberjs.com/ember/release/classes/MutableArray/methods/replace?anchor=replace\nreplace(idx,amt,objects){this.replaceContent(idx,amt,objects);}replaceContent(idx,amt,objects){let content=get$2(this,'content');replace(content,idx,amt,objects);}// Overriding objectAt is not supported.\nobjectAt(idx){this._revalidate();if(this._objects===null){this._objects=[];}if(this._objectsDirtyIndex!==-1&&idx>=this._objectsDirtyIndex){let arrangedContent=get$2(this,'arrangedContent');if(arrangedContent){let length=this._objects.length=get$2(arrangedContent,'length');for(let i=this._objectsDirtyIndex;i<length;i++){// SAFETY: This is expected to only ever return an instance of T. In other words, there should\n// be no gaps in the array. Unfortunately, we can't actually assert for it since T could include\n// any types, including null or undefined.\nthis._objects[i]=this.objectAtContent(i);}}else{this._objects.length=0;}this._objectsDirtyIndex=-1;}return this._objects[idx];}// Overriding length is not supported.\nget length(){this._revalidate();if(this._lengthDirty){let arrangedContent=get$2(this,'arrangedContent');this._length=arrangedContent?get$2(arrangedContent,'length'):0;this._lengthDirty=false;}consumeTag(this._lengthTag);return this._length;}set length(value){let length=this.length;let removedCount=length-value;let added;if(removedCount===0){return;}else if(removedCount<0){added=new Array(-removedCount);removedCount=0;}let content=get$2(this,'content');if(content){replace(content,value,removedCount,added);this._invalidate();}}_updateArrangedContentArray(arrangedContent){let oldLength=this._objects===null?0:this._objects.length;let newLength=arrangedContent?get$2(arrangedContent,'length'):0;this._removeArrangedContentArrayObserver();arrayContentWillChange(this,0,oldLength,newLength);this._invalidate();arrayContentDidChange(this,0,oldLength,newLength,false);this._addArrangedContentArrayObserver(arrangedContent);}_addArrangedContentArrayObserver(arrangedContent){if(arrangedContent&&!arrangedContent.isDestroyed){addArrayObserver(arrangedContent,this,ARRAY_OBSERVER_MAPPING);this._arrangedContent=arrangedContent;}}_removeArrangedContentArrayObserver(){if(this._arrangedContent){removeArrayObserver(this._arrangedContent,this,ARRAY_OBSERVER_MAPPING);}}_arrangedContentArrayWillChange(){}_arrangedContentArrayDidChange(_proxy,idx,removedCnt,addedCnt){arrayContentWillChange(this,idx,removedCnt,addedCnt);let dirtyIndex=idx;if(dirtyIndex<0){let length=get$2(this._arrangedContent,'length');dirtyIndex+=length+removedCnt-addedCnt;}if(this._objectsDirtyIndex===-1||this._objectsDirtyIndex>dirtyIndex){this._objectsDirtyIndex=dirtyIndex;}this._lengthDirty=true;arrayContentDidChange(this,idx,removedCnt,addedCnt,false);}_invalidate(){this._objectsDirtyIndex=0;this._lengthDirty=true;}_revalidate(){if(this._arrangedContentIsUpdating===true)return;if(this._arrangedContentTag===null||!validateTag(this._arrangedContentTag,this._arrangedContentRevision)){let arrangedContent=this.get('arrangedContent');if(this._arrangedContentTag===null){// This is the first time the proxy has been setup, only add the observer\n// don't trigger any events\nthis._addArrangedContentArrayObserver(arrangedContent);}else{this._arrangedContentIsUpdating=true;this._updateArrangedContentArray(arrangedContent);this._arrangedContentIsUpdating=false;}let arrangedContentTag=this._arrangedContentTag=tagFor(this,'arrangedContent');this._arrangedContentRevision=valueForTag(this._arrangedContentTag);if(isObject$1(arrangedContent)){this._lengthTag=combine([arrangedContentTag,tagForProperty(arrangedContent,'length')]);this._arrTag=combine([arrangedContentTag,tagForProperty(arrangedContent,'[]')]);}else{this._lengthTag=this._arrTag=arrangedContentTag;}}}}ArrayProxy.reopen(MutableArray,{arrangedContent:alias('content')});const emberArrayProxy=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ArrayProxy},Symbol.toStringTag,{value:'Module'});/**\n            Set `EmberENV.FEATURES` in your application's `config/environment.js` file\n            to enable canary features in your application.\n\n            See the [feature flag guide](https://guides.emberjs.com/release/configuring-ember/feature-flags/)\n            for more details.\n\n            @module @ember/canary-features\n            @public\n          */const DEFAULT_FEATURES={// FLAG_NAME: true/false\n};/**\n            The hash of enabled Canary features. Add to this, any canary features\n            before creating your application.\n\n            @class FEATURES\n            @static\n            @since 1.1.0\n            @public\n          */const FEATURES=Object.assign(DEFAULT_FEATURES,ENV.FEATURES);/**\n            Determine whether the specified `feature` is enabled. Used by Ember's\n            build tools to exclude experimental features from beta/stable builds.\n\n            You can define the following configuration options:\n\n            * `EmberENV.ENABLE_OPTIONAL_FEATURES` - enable any features that have not been explicitly\n              enabled/disabled.\n\n            @method isEnabled\n            @param {String} feature The feature to check\n            @return {Boolean}\n            @since 1.1.0\n            @public\n          */function isEnabled(feature){let value=FEATURES[feature];if(value===true||value===false){return value;}else if(ENV.ENABLE_OPTIONAL_FEATURES){return true;}else{return false;}}// Uncomment the below when features are present:\n// function featureValue(value: null | boolean) {\n//   if (ENV.ENABLE_OPTIONAL_FEATURES && value === null) {\n//     return true;\n//   }\n//   return value;\n// }\n//\n// export const FLAG_NAME = featureValue(FEATURES.FLAG_NAME);\nconst emberCanaryFeaturesIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,DEFAULT_FEATURES,FEATURES,isEnabled},Symbol.toStringTag,{value:'Module'});const emberComponentHelper=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Helper,helper:helper$2},Symbol.toStringTag,{value:'Module'});/**\n            @module @ember/component\n            @public\n           *//**\n           * Assigns a TemplateFactory to a component class.\n           *\n           * @method setComponentTemplate\n           * @static\n           * @for @ember/component\n           * @public\n           *\n           * ```js\n           * import Component from '@glimmer/component';\n           * import { hbs } from 'ember-cli-htmlbars';\n           * import { setComponentTemplate } from '@ember/component';\n           *\n           * export default class Demo extends Component {\n           *   // ...\n           * }\n           *\n           * setComponentTemplate(hbs`\n           *  <div>my template</div>\n           * `, Demo);\n           * ```\n           *\n           * @param {TemplateFactory} templateFactory\n           * @param {object} componentDefinition\n           *//**\n           * Returns the TemplateFactory associated with a component\n           *\n           * @method getComponentTemplate\n           * @static\n           * @for @ember/component\n           * @public\n           *\n           * ```js\n           * import Component from '@glimmer/component';\n           * import { hbs } from 'ember-cli-htmlbars';\n           * import { getComponentTemplate } from '@ember/component';\n           *\n           * export default class Demo extends Component {\n           *   // ...\n           * }\n           *\n           * let theTemplateFactory = getTemplateFactory(Demo)\n           * ```\n           *\n           * @param {object} componentDefinition\n           * @returns {TemplateFactory}\n           *//**\n           * Tell the VM how manage a type of object / class when encountered\n           * via component-invocation.\n           *\n           * A Component Manager, must implement this interface:\n           * - static create()\n           * - createComponent()\n           * - updateComponent()\n           * - destroyComponent()\n           * - getContext()\n           *\n           * @method setComponentManager\n           * @static\n           * @for @ember/component\n           * @public\n           *\n           *\n           * After a component manager is registered via `setComponentManager`,\n           *\n           * ```js\n           * import { StateNode } from 'xstate';\n           * import ComponentManager from './-private/statechart-manager';\n           *\n           * setComponentManager((owner) => ComponentManager.create(owner), StateNode.prototype);\n           * ```\n           *\n           * Instances of the class can be used as component.\n           * No need to extend from `@glimmer/component`.\n           *\n           * ```js\n           * // app/components/my-component.js\n           * import { createMachine } from 'xstate';\n           *\n           * export default createMachine({ ... });\n           * ```\n           * ```hbs\n           * {{!-- app/templates/application.hbs}}\n           * <MyComponent />\n           * ```\n           *\n           * @param {(owner: Owner) => import('@glimmer/interfaces').ComponentManager} managerFactory\n           * @param {object} object that will be managed by the return value of `managerFactory`\n           *\n           *//**\n           * Tells Glimmer what capabilities a Component Manager will have\n           *\n           * ```js\n           * import { capabilities } from '@ember/component';\n           *\n           * export class MyComponentManager {\n           *   capabilities = capabilities('3.13', {\n           *     // capabilities listed here\n           *   })\n           * }\n           * ```\n           *\n           *\n           * For a full list of capabilities, their defaults, and how they are used, see [@glimmer/manager](https://github.com/glimmerjs/glimmer-vm/blob/4f1bef0d9a8a3c3ebd934c5b6e09de4c5f6e4468/packages/%40glimmer/manager/lib/public/component.ts#L26)\n           *\n           *\n           * @method capabilities\n           * @static\n           * @for @ember/component\n           * @public\n           * @param {'3.13'} managerApiVersion\n           * @param {Parameters<import('@ember/-internals/glimmer').componentCapabilities>[1]} options\n           *\n           */const emberComponentIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,Input,Textarea,capabilities:componentCapabilities,default:Component,getComponentTemplate,setComponentManager,setComponentTemplate},Symbol.toStringTag,{value:'Module'});/**\n            @module @ember/component/template-only\n            @public\n          *//**\n           * Template-only components have no backing class instance, so `this` in their\n           * templates is null. This means that you can only reference passed in arguments\n           * (e.g. `{{@arg}}`).\n           */// eslint-disable-next-line @typescript-eslint/no-empty-interface\n/**\n           * A convenience alias for {@link TemplateOnlyComponent}\n           */// NOTES:\n//\n// 1. The generic here is for a *signature: a way to hang information for tools\n//    like Glint which can provide typey checking for component templates using\n//    information supplied via this generic. While it may appear useless on this\n//    class definition and extension, it is used by external tools and should\n//    not be removed.\n// 2. SAFETY: this cast is *throwing away* information that is not part of the\n//    public API and replacing it with something which has the same calling\n//    contract, but much less information (since we do not want to expose the\n//    internal APIs like `moduleName` etc.).\n// prettier-ignore\nconst templateOnly=templateOnlyComponent;const emberComponentTemplateOnly=/*#__PURE__*/Object.defineProperty({__proto__:null,default:templateOnly},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/debug/data-adapter\n          */// Represents the base contract for iterables as understood in the GLimmer VM\n// historically. This is *not* the public API for it, because there *is* no\n// public API for it. Recent versions of Glimmer simply use `Symbol.iterator`,\n// but some older consumers still use this basic shape.\nfunction iterate(arr,fn){if(Symbol.iterator in arr){for(let item of arr){fn(item);}}else{// SAFETY: this cast required to work this way to interop between TS 4.8\n// and 4.9. When we drop support for 4.8, it will narrow correctly via the\n// use of the `in` operator above. (Preferably we will solve this by just\n// switching to require `Symbol.iterator` instead.)\nassert$1('',typeof arr.forEach==='function');arr.forEach(fn);}}class RecordsWatcher{getCacheForItem(record){let recordCache=this.recordCaches.get(record);if(!recordCache){let hasBeenAdded=false;recordCache=createCache(()=>{if(!hasBeenAdded){this.added.push(this.wrapRecord(record));hasBeenAdded=true;}else{this.updated.push(this.wrapRecord(record));}});this.recordCaches.set(record,recordCache);}return recordCache;}constructor(records,recordsAdded,recordsUpdated,recordsRemoved,wrapRecord,release){_defineProperty(this,\"recordCaches\",new Map());_defineProperty(this,\"added\",[]);_defineProperty(this,\"updated\",[]);_defineProperty(this,\"removed\",[]);this.wrapRecord=wrapRecord;this.release=release;this.recordArrayCache=createCache(()=>{let seen=new Set();// Track `[]` for legacy support\nconsumeTag(tagFor(records,'[]'));iterate(records,record=>{getValue(this.getCacheForItem(record));seen.add(record);});// Untrack this operation because these records are being removed, they\n// should not be polled again in the future\nuntrack(()=>{this.recordCaches.forEach((_cache,record)=>{if(!seen.has(record)){this.removed.push(wrapRecord(record));this.recordCaches.delete(record);}});});if(this.added.length>0){recordsAdded(this.added);this.added=[];}if(this.updated.length>0){recordsUpdated(this.updated);this.updated=[];}if(this.removed.length>0){recordsRemoved(this.removed);this.removed=[];}});}revalidate(){getValue(this.recordArrayCache);}}class TypeWatcher{constructor(records,onChange,release){this.release=release;let hasBeenAccessed=false;this.cache=createCache(()=>{// Empty iteration, we're doing this just\n// to track changes to the records array\niterate(records,()=>{});// Also track `[]` for legacy support\nconsumeTag(tagFor(records,'[]'));if(hasBeenAccessed===true){next(onChange);}else{hasBeenAccessed=true;}});this.release=release;}revalidate(){getValue(this.cache);}}/**\n            The `DataAdapter` helps a data persistence library\n            interface with tools that debug Ember such\n            as the [Ember Inspector](https://github.com/emberjs/ember-inspector)\n            for Chrome and Firefox.\n\n            This class will be extended by a persistence library\n            which will override some of the methods with\n            library-specific code.\n\n            The methods likely to be overridden are:\n\n            * `getFilters`\n            * `detect`\n            * `columnsForType`\n            * `getRecords`\n            * `getRecordColumnValues`\n            * `getRecordKeywords`\n            * `getRecordFilterValues`\n            * `getRecordColor`\n\n            The adapter will need to be registered\n            in the application's container as `dataAdapter:main`.\n\n            Example:\n\n            ```javascript\n            Application.initializer({\n              name: \"data-adapter\",\n\n              initialize: function(application) {\n                application.register('data-adapter:main', DS.DataAdapter);\n              }\n            });\n            ```\n\n            @class DataAdapter\n            @extends EmberObject\n            @public\n          */class DataAdapter extends EmberObject{// TODO: Revisit this\nconstructor(owner){super(owner);_defineProperty(this,\"releaseMethods\",A());_defineProperty(this,\"recordsWatchers\",new Map());_defineProperty(this,\"typeWatchers\",new Map());_defineProperty(this,\"flushWatchers\",null);/**\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              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            */_defineProperty(this,\"attributeLimit\",3);/**\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             */_defineProperty(this,\"acceptsModelName\",true);this.containerDebugAdapter=getOwner$2(this).lookup('container-debug-adapter:main');}/**\n               Map from records arrays to RecordsWatcher instances\n                @private\n               @property recordsWatchers\n               @since 3.26.0\n             *//**\n              Map from records arrays to TypeWatcher instances\n               @private\n              @property typeWatchers\n              @since 3.26.0\n             *//**\n              Callback that is currently scheduled on backburner end to flush and check\n              all active watchers.\n               @private\n              @property flushWatchers\n              @since 3.26.0\n              *//**\n              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              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            */getFilters(){return A();}/**\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            */watchModelTypes(typesAdded,typesUpdated){let modelTypes=this.getModelTypes();let releaseMethods=A();let typesToSend;typesToSend=modelTypes.map(type=>{let klass=type.klass;let wrapped=this.wrapModelType(klass,type.name);releaseMethods.push(this.observeModelType(type.name,typesUpdated));return wrapped;});typesAdded(typesToSend);let release=()=>{releaseMethods.forEach(fn=>fn());this.releaseMethods.removeObject(release);};this.releaseMethods.pushObject(release);return release;}_nameToClass(type){if(typeof type==='string'){let owner=getOwner$2(this);let Factory=owner.factoryFor(`model:${type}`);type=Factory&&Factory.class;}return type;}/**\n              Fetch the records of a given type and observe them for changes.\n               @public\n              @method watchRecords\n               @param {String} modelName The model name.\n               @param {Function} recordsAdded Callback to call to add records.\n              Takes an array of objects containing wrapped records.\n              The object should have the following properties:\n                columnValues: {Object} The key and value of a table cell.\n                object: {Object} The actual record object.\n               @param {Function} recordsUpdated Callback to call when a record has changed.\n              Takes an array of objects containing wrapped records.\n               @param {Function} recordsRemoved Callback to call when a record has removed.\n              Takes an array of objects containing wrapped records.\n               @return {Function} Method to call to remove all observers.\n            */watchRecords(modelName,recordsAdded,recordsUpdated,recordsRemoved){let klass=this._nameToClass(modelName);let records=this.getRecords(klass,modelName);let{recordsWatchers}=this;let recordsWatcher=recordsWatchers.get(records);if(!recordsWatcher){recordsWatcher=new RecordsWatcher(records,recordsAdded,recordsUpdated,recordsRemoved,record=>this.wrapRecord(record),()=>{recordsWatchers.delete(records);this.updateFlushWatchers();});recordsWatchers.set(records,recordsWatcher);this.updateFlushWatchers();recordsWatcher.revalidate();}return recordsWatcher.release;}updateFlushWatchers(){if(this.flushWatchers===null){if(this.typeWatchers.size>0||this.recordsWatchers.size>0){this.flushWatchers=()=>{this.typeWatchers.forEach(watcher=>watcher.revalidate());this.recordsWatchers.forEach(watcher=>watcher.revalidate());};_backburner.on('end',this.flushWatchers);}}else if(this.typeWatchers.size===0&&this.recordsWatchers.size===0){_backburner.off('end',this.flushWatchers);this.flushWatchers=null;}}/**\n              Clear all observers before destruction\n              @private\n              @method willDestroy\n            */willDestroy(){this._super(...arguments);this.typeWatchers.forEach(watcher=>watcher.release());this.recordsWatchers.forEach(watcher=>watcher.release());this.releaseMethods.forEach(fn=>fn());if(this.flushWatchers){_backburner.off('end',this.flushWatchers);}}/**\n              Detect whether a class is a model.\n               Test that against the model class\n              of your persistence library.\n               @public\n              @method detect\n              @return boolean Whether the class is a model class or not.\n            */detect(_klass){return false;}/**\n              Get the columns for a given model type.\n               @public\n              @method columnsForType\n              @return {Array} An array of columns of the following format:\n               name: {String} The name of the column.\n               desc: {String} Humanized description (what would show in a table column name).\n            */columnsForType(_klass){return A();}/**\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            */observeModelType(modelName,typesUpdated){let klass=this._nameToClass(modelName);let records=this.getRecords(klass,modelName);let onChange=()=>{typesUpdated([this.wrapModelType(klass,modelName)]);};let{typeWatchers}=this;let typeWatcher=typeWatchers.get(records);if(!typeWatcher){typeWatcher=new TypeWatcher(records,onChange,()=>{typeWatchers.delete(records);this.updateFlushWatchers();});typeWatchers.set(records,typeWatcher);this.updateFlushWatchers();typeWatcher.revalidate();}return typeWatcher.release;}/**\n              Wraps a given model type and observes changes to it.\n               @private\n              @method wrapModelType\n              @param {Class} klass A model class.\n              @param {String} modelName Name of the class.\n              @return {Object} The wrapped type has the following format:\n                name: {String} The name of the type.\n                count: {Integer} The number of records available.\n                columns: {Columns} An array of columns to describe the record.\n                object: {Class} The actual Model type class.\n            */wrapModelType(klass,name){let records=this.getRecords(klass,name);return{name,count:get$2(records,'length'),columns:this.columnsForType(klass),object:klass};}/**\n              Fetches all models defined in the application.\n               @private\n              @method getModelTypes\n              @return {Array} Array of model types.\n            */getModelTypes(){let containerDebugAdapter=this.containerDebugAdapter;let stringTypes=containerDebugAdapter.canCatalogEntriesByType('model')?containerDebugAdapter.catalogEntriesByType('model'):this._getObjectsOnNamespaces();// New adapters return strings instead of classes.\nlet klassTypes=stringTypes.map(name=>{return{klass:this._nameToClass(name),name};});return klassTypes.filter(type=>this.detect(type.klass));}/**\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            */_getObjectsOnNamespaces(){let namespaces=Namespace.NAMESPACES;let types=[];namespaces.forEach(namespace=>{for(let key in namespace){if(!Object.prototype.hasOwnProperty.call(namespace,key)){continue;}// Even though we will filter again in `getModelTypes`,\n// we should not call `lookupFactory` on non-models\nif(!this.detect(namespace[key])){continue;}let name=dasherize(key);types.push(name);}});return types;}/**\n              Fetches all loaded records for a given type.\n               @public\n              @method getRecords\n              @return {Array} An array of records.\n               This array will be observed for changes,\n               so it should update when new records are added/removed.\n            */getRecords(_klass,_name){return A();}/**\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            */wrapRecord(record){return{object:record,columnValues:this.getRecordColumnValues(record),searchKeywords:this.getRecordKeywords(record),filterValues:this.getRecordFilterValues(record),color:this.getRecordColor(record)};}/**\n              Gets the values for each column.\n               @public\n              @method getRecordColumnValues\n              @return {Object} Keys should match column names defined\n              by the model type.\n            */getRecordColumnValues(_record){return{};}/**\n              Returns keywords to match when searching records.\n               @public\n              @method getRecordKeywords\n              @return {Array} Relevant keywords for search.\n            */getRecordKeywords(_record){return A();}/**\n              Returns the values of filters defined by `getFilters`.\n               @public\n              @method getRecordFilterValues\n              @param {Object} record The record instance.\n              @return {Object} The filter values.\n            */getRecordFilterValues(_record){return{};}/**\n              Each record can have a color that represents its state.\n               @public\n              @method getRecordColor\n              @param {Object} record The record instance\n              @return {String} The records color.\n                Possible options: black, red, blue, green.\n            */getRecordColor(_record){return null;}}const emberDebugDataAdapter=/*#__PURE__*/Object.defineProperty({__proto__:null,default:DataAdapter},Symbol.toStringTag,{value:'Module'});/* eslint-disable no-implicit-coercion */// These versions should be the version that the deprecation was _introduced_,\n// not the version that the feature will be removed.\nconst ASSIGN=!!'4.0.0-beta.1';const emberDeprecatedFeaturesIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,ASSIGN},Symbol.toStringTag,{value:'Module'});/**\n            Ember manages the lifecycles and lifetimes of many built in constructs, such\n            as components, and does so in a hierarchical way - when a parent component is\n            destroyed, all of its children are destroyed as well.\n\n            This destroyables API exposes the basic building blocks for destruction:\n\n            * registering a function to be ran when an object is destroyed\n            * checking if an object is in a destroying state\n            * associate an object as a child of another so that the child object will be destroyed\n              when the associated parent object is destroyed.\n\n            @module @ember/destroyable\n            @public\n          *//**\n            This function is used to associate a destroyable object with a parent. When the parent\n            is destroyed, all registered children will also be destroyed.\n\n            ```js\n            class CustomSelect extends Component {\n              constructor(...args) {\n                super(...args);\n\n                // obj is now a child of the component. When the component is destroyed,\n                // obj will also be destroyed, and have all of its destructors triggered.\n                this.obj = associateDestroyableChild(this, {});\n              }\n            }\n            ```\n\n            Returns the associated child for convenience.\n\n            @method associateDestroyableChild\n            @for @ember/destroyable\n            @param {Object|Function} parent the destroyable to entangle the child destroyables lifetime with\n            @param {Object|Function} child the destroyable to be entangled with the parents lifetime\n            @returns {Object|Function} the child argument\n            @static\n            @public\n          *//**\n           Receives a destroyable, and returns true if the destroyable has begun destroying. Otherwise returns\n           false.\n\n            ```js\n            let obj = {};\n            isDestroying(obj); // false\n            destroy(obj);\n            isDestroying(obj); // true\n            // ...sometime later, after scheduled destruction\n            isDestroyed(obj); // true\n            isDestroying(obj); // true\n            ```\n\n            @method isDestroying\n            @for @ember/destroyable\n            @param {Object|Function} destroyable the object to check\n            @returns {Boolean}\n            @static\n            @public\n          *//**\n            Receives a destroyable, and returns true if the destroyable has finished destroying. Otherwise\n            returns false.\n\n            ```js\n            let obj = {};\n\n            isDestroyed(obj); // false\n            destroy(obj);\n\n            // ...sometime later, after scheduled destruction\n\n            isDestroyed(obj); // true\n            ```\n\n            @method isDestroyed\n            @for @ember/destroyable\n            @param {Object|Function} destroyable the object to check\n            @returns {Boolean}\n            @static\n            @public\n          *//**\n            Initiates the destruction of a destroyable object. It runs all associated destructors, and then\n            destroys all children recursively.\n\n            ```js\n            let obj = {};\n\n            registerDestructor(obj, () => console.log('destroyed!'));\n\n            destroy(obj); // this will schedule the destructor to be called\n\n            // ...some time later, during scheduled destruction\n\n            // destroyed!\n            ```\n\n            Destruction via `destroy()` follows these steps:\n\n            1, Mark the destroyable such that `isDestroying(destroyable)` returns `true`\n            2, Call `destroy()` on each of the destroyable's associated children\n            3, Schedule calling the destroyable's destructors\n            4, Schedule setting destroyable such that `isDestroyed(destroyable)` returns `true`\n\n            This results in the entire tree of destroyables being first marked as destroying,\n            then having all of their destructors called, and finally all being marked as isDestroyed.\n            There won't be any in between states where some items are marked as `isDestroying` while\n            destroying, while others are not.\n\n            @method destroy\n            @for @ember/destroyable\n            @param {Object|Function} destroyable the object to destroy\n            @static\n            @public\n          *//**\n            This function asserts that all objects which have associated destructors or associated children\n            have been destroyed at the time it is called. It is meant to be a low level hook that testing\n            frameworks can use to hook into and validate that all destroyables have in fact been destroyed.\n\n            This function requires that `enableDestroyableTracking` was called previously, and is only\n            available in non-production builds.\n\n            @method assertDestroyablesDestroyed\n            @for @ember/destroyable\n            @static\n            @public\n          *//**\n            This function instructs the destroyable system to keep track of all destroyables (their\n            children, destructors, etc). This enables a future usage of `assertDestroyablesDestroyed`\n            to be used to ensure that all destroyable tasks (registered destructors and associated children)\n            have completed when `assertDestroyablesDestroyed` is called.\n\n            @method enableDestroyableTracking\n            @for @ember/destroyable\n            @static\n            @public\n          *//**\n            Receives a destroyable object and a destructor function, and associates the\n            function with it. When the destroyable is destroyed with destroy, or when its\n            parent is destroyed, the destructor function will be called.\n\n            ```js\n            import Component from '@glimmer/component';\n            import { registerDestructor } from '@ember/destroyable';\n\n            class Modal extends Component {\n              @service resize;\n\n              constructor(...args) {\n                super(...args);\n\n                this.resize.register(this, this.layout);\n\n                registerDestructor(this, () => this.resize.unregister(this));\n              }\n            }\n            ```\n\n            Multiple destructors can be associated with a given destroyable, and they can be\n            associated over time, allowing libraries to dynamically add destructors as needed.\n            `registerDestructor` also returns the associated destructor function, for convenience.\n\n            The destructor function is passed a single argument, which is the destroyable itself.\n            This allows the function to be reused multiple times for many destroyables, rather\n            than creating a closure function per destroyable.\n\n            ```js\n            import Component from '@glimmer/component';\n            import { registerDestructor } from '@ember/destroyable';\n\n            function unregisterResize(instance) {\n              instance.resize.unregister(instance);\n            }\n\n            class Modal extends Component {\n              @service resize;\n\n              constructor(...args) {\n                super(...args);\n\n                this.resize.register(this, this.layout);\n\n                registerDestructor(this, unregisterResize);\n              }\n            }\n            ```\n\n            @method registerDestructor\n            @for @ember/destroyable\n            @param {Object|Function} destroyable the destroyable to register the destructor function with\n            @param {Function} destructor the destructor to run when the destroyable object is destroyed\n            @static\n            @public\n          */function registerDestructor(destroyable,destructor){return registerDestructor$1(destroyable,destructor);}/**\n            Receives a destroyable and a destructor function, and de-associates the destructor\n            from the destroyable.\n\n            ```js\n            import Component from '@glimmer/component';\n            import { registerDestructor, unregisterDestructor } from '@ember/destroyable';\n\n            class Modal extends Component {\n              @service modals;\n\n              constructor(...args) {\n                super(...args);\n\n                this.modals.add(this);\n\n                this.modalDestructor = registerDestructor(this, () => this.modals.remove(this));\n              }\n\n              @action pinModal() {\n                unregisterDestructor(this, this.modalDestructor);\n              }\n            }\n            ```\n\n            @method unregisterDestructor\n            @for @ember/destroyable\n            @param {Object|Function} destroyable the destroyable to unregister the destructor function from\n            @param {Function} destructor the destructor to remove from the destroyable\n            @static\n            @public\n          */function unregisterDestructor(destroyable,destructor){return unregisterDestructor$1(destroyable,destructor);}const emberDestroyableIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,assertDestroyablesDestroyed,associateDestroyableChild,destroy,enableDestroyableTracking,isDestroyed,isDestroying,registerDestructor,unregisterDestructor},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/helper\n          *//**\n            `capabilities` returns a capabilities configuration which can be used to modify\n            the behavior of the manager. Manager capabilities _must_ be provided using the\n            `capabilities` function, as the underlying implementation can change over time.\n\n            The first argument to capabilities is a version string, which is the version of\n            Ember that the capabilities were defined in. Ember can add new versions at any\n            time, and these may have entirely different behaviors, but it will not remove\n            old versions until the next major version.\n\n            ```js\n            capabilities('3.23');\n            ```\n\n            The second argument is an object of capabilities and boolean values indicating\n            whether they are enabled or disabled.\n\n            ```js\n            capabilities('3.23', {\n              hasValue: true,\n              hasDestructor: true,\n            });\n            ```\n\n            If no value is specified, then the default value will be used.\n\n            ### `3.23` capabilities\n\n            #### `hasDestroyable`\n\n            - Default value: false\n\n            Determines if the helper has a destroyable to include in the destructor\n            hierarchy. If enabled, the `getDestroyable` hook will be called, and its result\n            will be associated with the destroyable parent block.\n\n            #### `hasValue`\n\n            - Default value: false\n\n            Determines if the helper has a value which can be used externally. The helper's\n            `getValue` hook will be run whenever the value of the helper is accessed if this\n            capability is enabled.\n\n            @method capabilities\n            @for @ember/helper\n            @static\n            @param {String} managerApiVersion The version of capabilities that are being used\n            @param options The capabilities values\n            @return {Capabilities} The capabilities object instance\n            @public\n          */const capabilities=helperCapabilities;/**\n            Sets the helper manager for an object or function.\n\n            ```js\n            setHelperManager((owner) => new ClassHelperManager(owner), Helper)\n            ```\n\n            When a value is used as a helper in a template, the helper manager is looked up\n            on the object by walking up its prototype chain and finding the first helper\n            manager. This manager then receives the value and can create and manage an\n            instance of a helper from it. This provides a layer of indirection that allows\n            users to design high-level helper APIs, without Ember needing to worry about the\n            details. High-level APIs can be experimented with and iterated on while the\n            core of Ember helpers remains stable, and new APIs can be introduced gradually\n            over time to existing code bases.\n\n            `setHelperManager` receives two arguments:\n\n            1. A factory function, which receives the `owner` and returns an instance of a\n              helper manager.\n            2. A helper definition, which is the object or function to associate the factory function with.\n\n            The first time the object is looked up, the factory function will be called to\n            create the helper manager. It will be cached, and in subsequent lookups the\n            cached helper manager will be used instead.\n\n            Only one helper manager is guaranteed to exist per `owner` and per usage of\n            `setHelperManager`, so many helpers will end up using the same instance of the\n            helper manager. As such, you should only store state that is related to the\n            manager itself. If you want to store state specific to a particular helper\n            definition, you should assign a unique helper manager to that helper. In\n            general, most managers should either be stateless, or only have the `owner` they\n            were created with as state.\n\n            Helper managers must fulfill the following interface (This example uses\n            [TypeScript interfaces](https://www.typescriptlang.org/docs/handbook/interfaces.html)\n            for precision, you do not need to write helper managers using TypeScript):\n\n            ```ts\n            interface HelperManager<HelperStateBucket> {\n              capabilities: HelperCapabilities;\n\n              createHelper(definition: HelperDefinition, args: TemplateArgs): HelperStateBucket;\n\n              getValue?(bucket: HelperStateBucket): unknown;\n\n              runEffect?(bucket: HelperStateBucket): void;\n\n              getDestroyable?(bucket: HelperStateBucket): object;\n            }\n            ```\n\n            The capabilities property _must_ be provided using the `capabilities()` function\n            imported from the same module as `setHelperManager`:\n\n            ```js\n            import { capabilities } from '@ember/helper';\n\n            class MyHelperManager {\n              capabilities = capabilities('3.21.0', { hasValue: true });\n\n              // ...snip...\n            }\n            ```\n\n            Below is a description of each of the methods on the interface and their\n            functions.\n\n            #### `createHelper`\n\n            `createHelper` is a required hook on the HelperManager interface. The hook is\n            passed the definition of the helper that is currently being created, and is\n            expected to return a _state bucket_. This state bucket is what represents the\n            current state of the helper, and will be passed to the other lifecycle hooks at\n            appropriate times. It is not necessarily related to the definition of the\n            helper itself - for instance, you could return an object _containing_ an\n            instance of the helper:\n\n            ```js\n            class MyManager {\n              createHelper(Definition, args) {\n                return {\n                  instance: new Definition(args);\n                };\n              }\n            }\n            ```\n\n            This allows the manager to store metadata that it doesn't want to expose to the\n            user.\n\n            This hook is _not_ autotracked - changes to tracked values used within this hook\n            will _not_ result in a call to any of the other lifecycle hooks. This is because\n            it is unclear what should happen if it invalidates, and rather than make a\n            decision at this point, the initial API is aiming to allow as much expressivity\n            as possible. This could change in the future with changes to capabilities and\n            their behaviors.\n\n            If users do want to autotrack some values used during construction, they can\n            either create the instance of the helper in `runEffect` or `getValue`, or they\n            can use the `cache` API to autotrack the `createHelper` hook themselves. This\n            provides maximum flexibility and expressiveness to manager authors.\n\n            This hook has the following timing semantics:\n\n            **Always**\n            - called as discovered during DOM construction\n            - called in definition order in the template\n\n            #### `getValue`\n\n            `getValue` is an optional hook that should return the value of the helper. This\n            is the value that is returned from the helper and passed into the template.\n\n            This hook is called when the value is requested from the helper (e.g. when the\n            template is rendering and the helper value is needed). The hook is autotracked,\n            and will rerun whenever any tracked values used inside of it are updated.\n            Otherwise it does not rerun.\n\n            > Note: This means that arguments which are not _consumed_ within the hook will\n            > not trigger updates.\n\n            This hook is only called for helpers with the `hasValue` capability enabled.\n            This hook has the following timing semantics:\n\n            **Always**\n            - called the first time the helper value is requested\n            - called after autotracked state has changed\n\n            **Never**\n            - called if the `hasValue` capability is disabled\n\n            #### `runEffect`\n\n            `runEffect` is an optional hook that should run the effect that the helper is\n            applying, setting it up or updating it.\n\n            This hook is scheduled to be called some time after render and prior to paint.\n            There is not a guaranteed, 1-to-1 relationship between a render pass and this\n            hook firing. For instance, multiple render passes could occur, and the hook may\n            only trigger once. It may also never trigger if it was dirtied in one render\n            pass and then destroyed in the next.\n\n            The hook is autotracked, and will rerun whenever any tracked values used inside\n            of it are updated. Otherwise it does not rerun.\n\n            The hook is also run during a time period where state mutations are _disabled_\n            in Ember. Any tracked state mutation will throw an error during this time,\n            including changes to tracked properties, changes made using `Ember.set`, updates\n            to computed properties, etc. This is meant to prevent infinite rerenders and\n            other antipatterns.\n\n            This hook is only called for helpers with the `hasScheduledEffect` capability\n            enabled. This hook is also not called in SSR currently, though this could be\n            added as a capability in the future. It has the following timing semantics:\n\n            **Always**\n            - called after the helper was first created, if the helper has not been\n              destroyed since creation\n            - called after autotracked state has changed, if the helper has not been\n              destroyed during render\n\n            **Never**\n            - called if the `hasScheduledEffect` capability is disabled\n            - called in SSR\n\n            #### `getDestroyable`\n\n            `getDestroyable` is an optional hook that users can use to register a\n            destroyable object for the helper. This destroyable will be registered to the\n            containing block or template parent, and will be destroyed when it is destroyed.\n            See the [Destroyables RFC](https://github.com/emberjs/rfcs/blob/master/text/0580-destroyables.md)\n            for more details.\n\n            `getDestroyable` is only called if the `hasDestroyable` capability is enabled.\n\n            This hook has the following timing semantics:\n\n            **Always**\n            - called immediately after the `createHelper` hook is called\n\n            **Never**\n            - called if the `hasDestroyable` capability is disabled\n\n            @method setHelperManager\n            @for @ember/helper\n            @static\n            @param {Function} factory A factory function which receives an optional owner, and returns a helper manager\n            @param {object} definition The definition to associate the manager factory with\n            @return {object} The definition passed into setHelperManager\n            @public\n          */const setHelperManager=setHelperManager$1;/**\n            The `invokeHelper` function can be used to create a helper instance in\n            JavaScript.\n\n            To access a helper's value you have to use `getValue` from\n            `@glimmer/tracking/primitives/cache`.\n\n            ```js\n            // app/components/data-loader.js\n            import Component from '@glimmer/component';\n            import { getValue } from '@glimmer/tracking/primitives/cache';\n            import Helper from '@ember/component/helper';\n            import { invokeHelper } from '@ember/helper';\n\n            class PlusOne extends Helper {\n              compute([number]) {\n                return number + 1;\n              }\n            }\n\n            export default class PlusOneComponent extends Component {\n              plusOne = invokeHelper(this, PlusOne, () => {\n                return {\n                  positional: [this.args.number],\n                };\n              });\n\n              get value() {\n                return getValue(this.plusOne);\n              }\n            }\n            ```\n            ```js\n            {{this.value}}\n            ```\n\n            It receives three arguments:\n\n            * `context`: The parent context of the helper. When the parent is torn down and\n              removed, the helper will be as well.\n            * `definition`: The definition of the helper.\n            * `computeArgs`: An optional function that produces the arguments to the helper.\n              The function receives the parent context as an argument, and must return an\n              object with a `positional` property that is an array and/or a `named`\n              property that is an object.\n\n            And it returns a Cache instance that contains the most recent value of the\n            helper. You can access the helper using `getValue()` like any other cache. The\n            cache is also destroyable, and using the `destroy()` function on it will cause\n            the helper to be torn down.\n\n            Note that using `getValue()` on helpers that have scheduled effects will not\n            trigger the effect early. Effects will continue to run at their scheduled time.\n\n            @method invokeHelper\n            @for @ember/helper\n            @static\n            @param {object} context The parent context of the helper\n            @param {object} definition The helper definition\n            @param {Function} computeArgs An optional function that produces args\n            @returns\n            @public\n          */const invokeHelper=invokeHelper$1;// SAFETY: we need to provide interfaces that Glint can declaration-merge with\n// to provide appropriate completions. In each case, the imported item is\n// currently typed only as `object`, and we are replacing it with a similarly\n// low-information interface type: these are empty objects which are simply able\n// to be distinguished so that Glint can provide the relevant extensions.\n/* eslint-disable @typescript-eslint/no-empty-interface *//**\n           * Using the `{{hash}}` helper, you can pass objects directly from the template\n           * as an argument to your components.\n           *\n           * ```\n           * import { hash } from '@ember/helper';\n           *\n           * <template>\n           *   {{#each-in (hash givenName='Jen' familyName='Weber') as |key value|}}\n           *     <p>{{key}}: {{value}}</p>\n           *   {{/each-in}}\n           * </template>\n           * ```\n           *\n           * **NOTE:** this example uses the experimental `<template>` feature, which is\n           * the only place you need to import `hash` to use it (it is a built-in when\n           * writing standalone `.hbs` files).\n           */const hash=hash$1;/**\n           * Using the `{{array}}` helper, you can pass arrays directly from the template\n           * as an argument to your components.\n           *\n           * ```js\n           * import { array } from '@ember/helper';\n           *\n           * <template>\n           *   <ul>\n           *   {{#each (array 'Tom Dale' 'Yehuda Katz' @anotherPerson) as |person|}}\n           *     <li>{{person}}</li>\n           *   {{/each}}\n           *   </ul>\n           * </template>\n           *\n           * **NOTE:** this example uses the experimental `<template>` feature, which is\n           * the only place you need to import `array` to use it (it is a built-in when\n           * writing standalone `.hbs` files).\n           * ```\n           */const array=array$1;/**\n           * The `{{concat}}` helper makes it easy to dynamically send a number of\n           * parameters to a component or helper as a single parameter in the format of a\n           * concatenated string.\n           *\n           * For example:\n           *\n           * ```js\n           * import { concat } from '@ember/helper';\n           *\n           * <template>\n           *   {{get @foo (concat \"item\" @index)}}\n           * </template>\n           * ```\n           *\n           * This will display the result of `@foo.item1` when `index` is `1`, and\n           * `this.foo.item2` when `index` is `2`, etc.\n           *\n           * **NOTE:** this example uses the experimental `<template>` feature, which is\n           * the only place you need to import `concat` to use it (it is a built-in when\n           * writing standalone `.hbs` files).\n           */const concat=concat$1;/**\n           * The `{{get}}` helper makes it easy to dynamically look up a property on an\n           * object or an element in an array. The second argument to `{{get}}` can be a\n           * string or a number, depending on the object being accessed.\n           *\n           * To access a property on an object with a string key:\n           *\n           * ```js\n           * import { get } from '@ember/helper';\n           *\n           * <template>\n           *   {{get @someObject \"objectKey\"}}\n           * </template>\n           * ```\n           *\n           * To access the first element in an array:\n           *\n           * ```js\n           * import { get } from '@ember/helper';\n           *\n           * <template>\n           *   {{get @someArray 0}}\n           * </template>\n           * ```\n           *\n           * To access a property on an object with a dynamic key:\n           *\n           * ```js\n           * import { get } from '@ember/helper';\n           *\n           * <template>\n           *   {{get @address @field}}\n           * </template>\n           * ```\n           *\n           * This will display the result of `@foo.item1` when `index` is `1`, and\n           * `this.foo.item2` when `index` is `2`, etc.\n           *\n           * **NOTE:** this example uses the experimental `<template>` feature, which is\n           * the only place you need to import `concat` to use it (it is a built-in when\n           * writing standalone `.hbs` files).\n           */const get=get$1;/**\n           * `{{fn}}` is a helper that receives a function and some arguments, and returns\n           * a new function that combines. This allows you to pass parameters along to\n           * functions in your templates:\n           *\n           * ```js\n           * import { fn } from '@ember/helper';\n           *\n           * function showAlert(message) {\n           *   alert(`The message is: '${message}'`);\n           * }\n           *\n           * <template>\n           *   <button type=\"button\" {{on \"click\" (fn showAlert \"Hello!\")}}>\n           *     Click me!\n           *   </button>\n           * </template>\n           * ```\n           */const fn=fn$1;/**\n           * Use the {{uniqueId}} helper to generate a unique ID string suitable for use as\n           * an ID attribute in the DOM.\n           *\n           * Each invocation of {{uniqueId}} will return a new, unique ID string.\n           * You can use the `let` helper to create an ID that can be reused within a template.\n           *\n           * ```js\n           * import { uniqueId } from '@ember/helper';\n           *\n           * <template>\n           *   {{#let (uniqueId) as |emailId|}}\n           *     <label for={{emailId}}>Email address</label>\n           *     <input id={{emailId}} type=\"email\" />\n           *   {{/let}}\n           * </template>\n           * ```\n           */const uniqueId=uniqueId$2;/* eslint-enable @typescript-eslint/no-empty-interface */const emberHelperIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,array,capabilities,concat,fn,get,hash,invokeHelper,setHelperManager,uniqueId},Symbol.toStringTag,{value:'Module'});// NOTE: this uses assignment to *require* that the `glimmerSetModifierManager`\n// is legally assignable to this type, i.e. that variance is properly upheld.\nconst setModifierManager=setModifierManager$1;const emberModifierIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,capabilities:modifierCapabilities,on,setModifierManager},Symbol.toStringTag,{value:'Module'});// This is a legacy location to keep the reexports test happy.\n// Don't add anything new here.\nconst emberObjectInternals=/*#__PURE__*/Object.defineProperty({__proto__:null,cacheFor:getCachedValueFor,guidFor},Symbol.toStringTag,{value:'Module'});const emberObjectObservers=/*#__PURE__*/Object.defineProperty({__proto__:null,addObserver,removeObserver},Symbol.toStringTag,{value:'Module'});/**\n            @module @ember/object/promise-proxy-mixin\n          */function tap(proxy,promise){setProperties(proxy,{isFulfilled:false,isRejected:false});return promise.then(value=>{if(!proxy.isDestroyed&&!proxy.isDestroying){setProperties(proxy,{content:value,isFulfilled:true});}return value;},reason=>{if(!proxy.isDestroyed&&!proxy.isDestroying){setProperties(proxy,{reason,isRejected:true});}throw reason;},'Ember: PromiseProxy');}/**\n            A low level mixin making ObjectProxy promise-aware.\n\n            ```javascript\n            import { resolve } from 'rsvp';\n            import $ from 'jquery';\n            import ObjectProxy from '@ember/object/proxy';\n            import PromiseProxyMixin from '@ember/object/promise-proxy-mixin';\n\n            let ObjectPromiseProxy = ObjectProxy.extend(PromiseProxyMixin);\n\n            let proxy = ObjectPromiseProxy.create({\n              promise: resolve($.getJSON('/some/remote/data.json'))\n            });\n\n            proxy.then(function(json){\n               // the json\n            }, function(reason) {\n               // the reason why you have no json\n            });\n            ```\n\n            the proxy has bindable attributes which\n            track the promises life cycle\n\n            ```javascript\n            proxy.get('isPending')   //=> true\n            proxy.get('isSettled')  //=> false\n            proxy.get('isRejected')  //=> false\n            proxy.get('isFulfilled') //=> false\n            ```\n\n            When the $.getJSON completes, and the promise is fulfilled\n            with json, the life cycle attributes will update accordingly.\n            Note that $.getJSON doesn't return an ECMA specified promise,\n            it is useful to wrap this with an `RSVP.resolve` so that it behaves\n            as a spec compliant promise.\n\n            ```javascript\n            proxy.get('isPending')   //=> false\n            proxy.get('isSettled')   //=> true\n            proxy.get('isRejected')  //=> false\n            proxy.get('isFulfilled') //=> true\n            ```\n\n            As the proxy is an ObjectProxy, and the json now its content,\n            all the json properties will be available directly from the proxy.\n\n            ```javascript\n            // Assuming the following json:\n            {\n              firstName: 'Stefan',\n              lastName: 'Penner'\n            }\n\n            // both properties will accessible on the proxy\n            proxy.get('firstName') //=> 'Stefan'\n            proxy.get('lastName')  //=> 'Penner'\n            ```\n\n            @class PromiseProxyMixin\n            @public\n          */const PromiseProxyMixin=Mixin.create({reason:null,isPending:computed('isSettled',function(){return!get$2(this,'isSettled');}).readOnly(),isSettled:computed('isRejected','isFulfilled',function(){return get$2(this,'isRejected')||get$2(this,'isFulfilled');}).readOnly(),isRejected:false,isFulfilled:false,promise:computed({get(){throw new Error(\"PromiseProxy's promise must be set\");},set(_key,promise){return tap(this,promise);}}),then:promiseAlias('then'),catch:promiseAlias('catch'),finally:promiseAlias('finally')});function promiseAlias(name){return function(){let promise=get$2(this,'promise');// We need this cast because `Parameters` is deferred so that it is not\n// possible for TS to see it will always produce the right type. However,\n// since `AnyFn` has a rest type, it is allowed. See discussion on [this\n// issue](https://github.com/microsoft/TypeScript/issues/47615).\nreturn promise[name](...arguments);};}const emberObjectPromiseProxyMixin=/*#__PURE__*/Object.defineProperty({__proto__:null,default:PromiseProxyMixin},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/object/proxy\n          *//**\n            `ObjectProxy` forwards all properties not defined by the proxy itself\n            to a proxied `content` object.\n\n            ```javascript\n            import EmberObject from '@ember/object';\n            import ObjectProxy from '@ember/object/proxy';\n\n            let exampleObject = EmberObject.create({\n              name: 'Foo'\n            });\n\n            let exampleProxy = ObjectProxy.create({\n              content: exampleObject\n            });\n\n            // Access and change existing properties\n            exampleProxy.get('name');          // 'Foo'\n            exampleProxy.set('name', 'Bar');\n            exampleObject.get('name');         // 'Bar'\n\n            // Create new 'description' property on `exampleObject`\n            exampleProxy.set('description', 'Foo is a whizboo baz');\n            exampleObject.get('description');  // 'Foo is a whizboo baz'\n            ```\n\n            While `content` is unset, setting a property to be delegated will throw an\n            Error.\n\n            ```javascript\n            import ObjectProxy from '@ember/object/proxy';\n\n            let exampleProxy = ObjectProxy.create({\n              content: null,\n              flag: null\n            });\n            exampleProxy.set('flag', true);\n            exampleProxy.get('flag');         // true\n            exampleProxy.get('foo');          // undefined\n            exampleProxy.set('foo', 'data');  // throws Error\n            ```\n\n            Delegated properties can be bound to and will change when content is updated.\n\n            Computed properties on the proxy itself can depend on delegated properties.\n\n            ```javascript\n            import { computed } from '@ember/object';\n            import ObjectProxy from '@ember/object/proxy';\n\n            ProxyWithComputedProperty = ObjectProxy.extend({\n              fullName: computed('firstName', 'lastName', function() {\n                var firstName = this.get('firstName'),\n                    lastName = this.get('lastName');\n                if (firstName && lastName) {\n                  return firstName + ' ' + lastName;\n                }\n                return firstName || lastName;\n              })\n            });\n\n            let exampleProxy = ProxyWithComputedProperty.create();\n\n            exampleProxy.get('fullName');  // undefined\n            exampleProxy.set('content', {\n              firstName: 'Tom', lastName: 'Dale'\n            }); // triggers property change for fullName on proxy\n\n            exampleProxy.get('fullName');  // 'Tom Dale'\n            ```\n\n            @class ObjectProxy\n            @extends EmberObject\n            @uses Ember.ProxyMixin\n            @public\n          */// eslint-disable-next-line @typescript-eslint/no-unused-vars\nclass ObjectProxy extends FrameworkObject{}ObjectProxy.PrototypeMixin.reopen(ProxyMixin);const emberObjectProxy=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ObjectProxy},Symbol.toStringTag,{value:'Module'});/**\n            @module @ember/renderer\n            @public\n          */const emberRendererIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,renderSettled},Symbol.toStringTag,{value:'Module'});const emberRoutingIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,LinkTo},Symbol.toStringTag,{value:'Module'});const emberRoutingLibEngines=/*#__PURE__*/Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:'Module'});class QueryParams{constructor(){let values=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;_defineProperty(this,\"values\",void 0);_defineProperty(this,\"isQueryParams\",true);this.values=values;}}const emberRoutingLibQueryParams=/*#__PURE__*/Object.defineProperty({__proto__:null,default:QueryParams},Symbol.toStringTag,{value:'Module'});const emberRoutingLibRouteInfo=/*#__PURE__*/Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:'Module'});const emberRoutingLocation=/*#__PURE__*/Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:'Module'});const emberRoutingRouteInfo=/*#__PURE__*/Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:'Module'});const emberRoutingTransition=/*#__PURE__*/Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:'Module'});const emberRunloopprivateBackburner=/*#__PURE__*/Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:'Module'});// (UN)SAFETY: the public API is that people can import and use this (and indeed\n// it is emitted as part of Ember's build!), so we define it as having the type\n// which makes that work. However, in practice it is supplied by the build,\n// *for* the build, and will *not* be present at runtime, so the actual value\n// here is `undefined` in prod; in dev it is a function which throws a somewhat\n// nicer error. This is janky, but... here we are.\nlet __emberTemplateCompiler;const compileTemplate=function(){if(!__emberTemplateCompiler){throw new Error('Attempted to call `compileTemplate` without first loading the runtime template compiler.');}return __emberTemplateCompiler.compile(...arguments);};let precompileTemplate;function __registerTemplateCompiler(c){__emberTemplateCompiler=c;}const emberTemplateCompilationIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,get __emberTemplateCompiler(){return __emberTemplateCompiler;},__registerTemplateCompiler,compileTemplate,precompileTemplate},Symbol.toStringTag,{value:'Module'});// NOTE: this intentionally *only* exports the *type* `SafeString`, not its\n// value, since it should not be constructed by users.\nconst emberTemplateIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,htmlSafe,isHTMLSafe},Symbol.toStringTag,{value:'Module'});function run(fn){if(!_getCurrentRunLoop()){return run$1(fn);}else{return fn();}}let lastPromise=null;class TestPromise extends rsvp.Promise{constructor(executor,label){super(executor,label);lastPromise=this;}then(onFulfilled,onRejected,label){let normalizedOnFulfilled=typeof onFulfilled==='function'?result=>isolate(onFulfilled,result):undefined;return super.then(normalizedOnFulfilled,onRejected,label);}}/**\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          */function promise(resolver,label){let fullLabel=`Ember.Test.promise: ${label||'<Unknown Promise>'}`;return new TestPromise(resolver,fullLabel);}/**\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          */function resolve(result,label){return TestPromise.resolve(result,label);}function getLastPromise(){return lastPromise;}// 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\nfunction isolate(onFulfilled,result){// Reset lastPromise for nested helpers\nlastPromise=null;let value=onFulfilled(result);let promise=lastPromise;lastPromise=null;// If the method returned a promise\n// return that promise. If not,\n// return the last async helper's promise\nif(value&&value instanceof TestPromise||!promise){return value;}else{return run(()=>resolve(promise).then(()=>value));}}const helpers={};/**\n           @module @ember/test\n          *//**\n            `registerHelper` is used to register a test helper that will be injected\n            when `App.injectTestHelpers` is called.\n\n            The helper method will always be called with the current Application as\n            the first parameter.\n\n            For example:\n\n            ```javascript\n            import { registerHelper } from '@ember/test';\n            import { run } from '@ember/runloop';\n\n            registerHelper('boot', function(app) {\n              run(app, app.advanceReadiness);\n            });\n            ```\n\n            This helper can later be called without arguments because it will be\n            called with `app` as the first parameter.\n\n            ```javascript\n            import Application from '@ember/application';\n\n            App = Application.create();\n            App.injectTestHelpers();\n            boot();\n            ```\n\n            @public\n            @for @ember/test\n            @static\n            @method registerHelper\n            @param {String} name The name of the helper method to add.\n            @param {Function} helperMethod\n            @param options {Object}\n          */function registerHelper$1(name,helperMethod){helpers[name]={method:helperMethod,meta:{wait:false}};}/**\n            `registerAsyncHelper` is used to register an async test helper that will be injected\n            when `App.injectTestHelpers` is called.\n\n            The helper method will always be called with the current Application as\n            the first parameter.\n\n            For example:\n\n            ```javascript\n            import { registerAsyncHelper } from '@ember/test';\n            import { run } from '@ember/runloop';\n\n            registerAsyncHelper('boot', function(app) {\n              run(app, app.advanceReadiness);\n            });\n            ```\n\n            The advantage of an async helper is that it will not run\n            until the last async helper has completed.  All async helpers\n            after it will wait for it complete before running.\n\n\n            For example:\n\n            ```javascript\n            import { registerAsyncHelper } from '@ember/test';\n\n            registerAsyncHelper('deletePost', function(app, postId) {\n              click('.delete-' + postId);\n            });\n\n            // ... in your test\n            visit('/post/2');\n            deletePost(2);\n            visit('/post/3');\n            deletePost(3);\n            ```\n\n            @public\n            @for @ember/test\n            @method registerAsyncHelper\n            @param {String} name The name of the helper method to add.\n            @param {Function} helperMethod\n            @since 1.2.0\n          */function registerAsyncHelper$1(name,helperMethod){helpers[name]={method:helperMethod,meta:{wait:true}};}/**\n            Remove a previously added helper method.\n\n            Example:\n\n            ```javascript\n            import { unregisterHelper } from '@ember/test';\n\n            unregisterHelper('wait');\n            ```\n\n            @public\n            @method unregisterHelper\n            @static\n            @for @ember/test\n            @param {String} name The helper to remove.\n          */function unregisterHelper$1(name){delete helpers[name];// SAFETY: This isn't necessarily a safe thing to do, but in terms of the immediate types here\n// it won't error.\ndelete TestPromise.prototype[name];}const callbacks$1=[];/**\n            Used to register callbacks to be fired whenever `App.injectTestHelpers`\n            is called.\n\n            The callback will receive the current application as an argument.\n\n            Example:\n\n            ```javascript\n            import $ from 'jquery';\n\n            Ember.Test.onInjectHelpers(function() {\n              $(document).ajaxSend(function() {\n                Test.pendingRequests++;\n              });\n\n              $(document).ajaxComplete(function() {\n                Test.pendingRequests--;\n              });\n            });\n            ```\n\n            @public\n            @for Ember.Test\n            @method onInjectHelpers\n            @param {Function} callback The function to be called.\n          */function onInjectHelpers(callback){callbacks$1.push(callback);}function invokeInjectHelpersCallbacks(app){for(let callback of callbacks$1){callback(app);}}/**\n           @module @ember/test\n          */const contexts=[];const callbacks=[];/**\n             This allows ember-testing to play nicely with other asynchronous\n             events, such as an application that is waiting for a CSS3\n             transition or an IndexDB transaction. The waiter runs periodically\n             after each async helper (i.e. `click`, `andThen`, `visit`, etc) has executed,\n             until the returning result is truthy. After the waiters finish, the next async helper\n             is executed and the process repeats.\n\n             For example:\n\n             ```javascript\n             import { registerWaiter } from '@ember/test';\n\n             registerWaiter(function() {\n               return myPendingTransactions() === 0;\n             });\n             ```\n             The `context` argument allows you to optionally specify the `this`\n             with which your callback will be invoked.\n\n             For example:\n\n             ```javascript\n             import { registerWaiter } from '@ember/test';\n\n             registerWaiter(MyDB, MyDB.hasPendingTransactions);\n             ```\n\n             @public\n             @for @ember/test\n             @static\n             @method registerWaiter\n             @param {Object} context (optional)\n             @param {Function} callback\n             @since 1.2.0\n          */function registerWaiter$1(){let checkedCallback;let checkedContext;if(arguments.length===1){checkedContext=null;checkedCallback=arguments.length<=0?undefined:arguments[0];}else{checkedContext=arguments.length<=0?undefined:arguments[0];checkedCallback=arguments.length<=1?undefined:arguments[1];}if(indexOf(checkedContext,checkedCallback)>-1){return;}contexts.push(checkedContext);callbacks.push(checkedCallback);}/**\n             `unregisterWaiter` is used to unregister a callback that was\n             registered with `registerWaiter`.\n\n             @public\n             @for @ember/test\n             @static\n             @method unregisterWaiter\n             @param {Object} context (optional)\n             @param {Function} callback\n             @since 1.2.0\n          */function unregisterWaiter$1(context,callback){if(!callbacks.length){return;}if(arguments.length===1){callback=context;context=null;}let i=indexOf(context,callback);if(i===-1){return;}contexts.splice(i,1);callbacks.splice(i,1);}/**\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          */function checkWaiters(){if(!callbacks.length){return false;}for(let i=0;i<callbacks.length;i++){let context=contexts[i];let callback=callbacks[i];// SAFETY: The loop ensures that this exists\nif(!callback.call(context)){return true;}}return false;}function indexOf(context,callback){for(let i=0;i<callbacks.length;i++){if(callbacks[i]===callback&&contexts[i]===context){return i;}}return-1;}let adapter;function getAdapter(){return adapter;}function setAdapter(value){adapter=value;if(value&&typeof value.exception==='function'){setDispatchOverride(adapterDispatch);}else{setDispatchOverride(null);}}function asyncStart(){if(adapter){adapter.asyncStart();}}function asyncEnd(){if(adapter){adapter.asyncEnd();}}function adapterDispatch(error){adapter.exception(error);// @ts-expect-error Normally unreachable\nconsole.error(error.stack);// eslint-disable-line no-console\n}/**\n            @module ember\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          */const Test={/**\n              Hash containing all known test helpers.\n               @property _helpers\n              @private\n              @since 1.7.0\n            */_helpers:helpers,registerHelper:registerHelper$1,registerAsyncHelper:registerAsyncHelper$1,unregisterHelper:unregisterHelper$1,onInjectHelpers,Promise:TestPromise,promise,resolve,registerWaiter:registerWaiter$1,unregisterWaiter:unregisterWaiter$1,checkWaiters};/**\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          */Object.defineProperty(Test,'adapter',{get:getAdapter,set:setAdapter});/**\n           @module @ember/test\n          *//**\n            The primary purpose of this class is to create hooks that can be implemented\n            by an adapter for various test frameworks.\n\n            @class TestAdapter\n            @public\n          */const Adapter=EmberObject.extend({/**\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            */asyncStart(){},/**\n              This callback will be called whenever an async operation has completed.\n               @public\n              @method asyncEnd\n            */asyncEnd(){},/**\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            */exception(error){throw error;}});/* globals QUnit */function isVeryOldQunit(obj){return obj!=null&&typeof obj.stop==='function';}/**\n             @module ember\n          *//**\n            This class implements the methods defined by TestAdapter for the\n            QUnit testing framework.\n\n            @class QUnitAdapter\n            @namespace Ember.Test\n            @extends TestAdapter\n            @public\n          */const QUnitAdapter=Adapter.extend({init(){this.doneCallbacks=[];},asyncStart(){if(isVeryOldQunit(QUnit)){// very old QUnit version\n// eslint-disable-next-line qunit/no-qunit-stop\nQUnit.stop();}else{this.doneCallbacks.push(QUnit.config.current?QUnit.config.current.assert.async():null);}},asyncEnd(){// checking for QUnit.stop here (even though we _need_ QUnit.start) because\n// QUnit.start() still exists in QUnit 2.x (it just throws an error when calling\n// inside a test context)\nif(isVeryOldQunit(QUnit)){QUnit.start();}else{let done=this.doneCallbacks.pop();// This can be null if asyncStart() was called outside of a test\nif(done){done();}}},exception(error){QUnit.config.current.assert.ok(false,inspect(error));}});/* global self *//**\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          */function setupForTesting(){setTesting(true);let adapter=getAdapter();// if adapter is not manually set default to QUnit\nif(!adapter){setAdapter(typeof self.QUnit==='undefined'?Adapter.create():QUnitAdapter.create());}}Application.reopen({/**\n             This property contains the testing helpers for the current application. These\n             are created once you call `injectTestHelpers` on your `Application`\n             instance. The included helpers are also available on the `window` object by\n             default, but can be used from this object on the individual application also.\n               @property testHelpers\n              @type {Object}\n              @default {}\n              @public\n            */testHelpers:{},/**\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            */originalMethods:{},/**\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            */testing:false,/**\n              This hook defers the readiness of the application, so that you can start\n              the app when your tests are ready to run. It also sets the router's\n              location to 'none', so that the window's location will not be modified\n              (preventing both accidental leaking of state between tests and interference\n              with your testing framework). `setupForTesting` should only be called after\n              setting a custom `router` class (for example `App.Router = Router.extend(`).\n               Example:\n               ```\n              App.setupForTesting();\n              ```\n               @method setupForTesting\n              @public\n            */setupForTesting(){setupForTesting();this.testing=true;this.resolveRegistration('router:main').reopen({location:'none'});},/**\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            */helperContainer:null,/**\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            */injectTestHelpers(helperContainer){if(helperContainer){this.helperContainer=helperContainer;}else{this.helperContainer=window;}this.reopen({willDestroy(){this._super(...arguments);this.removeTestHelpers();}});this.testHelpers={};for(let name in helpers){// SAFETY: It is safe to access a property on an object\nthis.originalMethods[name]=this.helperContainer[name];// SAFETY: It is not quite as safe to do this, but it _seems_ to be ok.\nthis.testHelpers[name]=this.helperContainer[name]=helper(this,name);// SAFETY: We checked that it exists\nprotoWrap(TestPromise.prototype,name,helper(this,name),helpers[name].meta.wait);}invokeInjectHelpersCallbacks(this);},/**\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            */removeTestHelpers(){if(!this.helperContainer){return;}for(let name in helpers){this.helperContainer[name]=this.originalMethods[name];// SAFETY: This is a weird thing, but it's not technically unsafe here.\ndelete TestPromise.prototype[name];delete this.testHelpers[name];delete this.originalMethods[name];}}});// This method is no longer needed\n// But still here for backwards compatibility\n// of helper chaining\nfunction protoWrap(proto,name,callback,isAsync){// SAFETY: This isn't entirely safe, but it _seems_ to be ok.\nproto[name]=function(){for(var _len67=arguments.length,args=new Array(_len67),_key68=0;_key68<_len67;_key68++){args[_key68]=arguments[_key68];}if(isAsync){return callback.apply(this,args);}else{// SAFETY: This is not actually safe.\nreturn this.then(function(){return callback.apply(this,args);});}};}function helper(app,name){let helper=helpers[name];let fn=helper.method;let meta=helper.meta;if(!meta.wait){return function(){for(var _len68=arguments.length,args=new Array(_len68),_key69=0;_key69<_len68;_key69++){args[_key69]=arguments[_key69];}return fn.apply(app,[app,...args]);};}return function(){for(var _len69=arguments.length,args=new Array(_len69),_key70=0;_key70<_len69;_key70++){args[_key70]=arguments[_key70];}let lastPromise=run(()=>resolve(getLastPromise()));// 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.\nasyncStart();return lastPromise.then(()=>fn.apply(app,[app,...args])).finally(asyncEnd);};}rsvp.configure('async',function(callback,promise){// if schedule will cause autorun, we need to inform adapter\n_backburner.schedule('actions',()=>callback(promise));});function andThen(app,callback){let wait=app.testHelpers['wait'];return wait(callback(app));}/**\n          @module ember\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          */function currentPath(app){let routingService=app.__container__.lookup('service:-routing');return get$2(routingService,'currentPath');}/**\n          @module ember\n          *//**\n            Returns the currently active route name.\n\n          Example:\n\n          ```javascript\n          function validateRouteName() {\n            equal(currentRouteName(), 'some.path', \"correct route was transitioned into.\");\n          }\n          visit('/some/path').then(validateRouteName)\n          ```\n\n          @method currentRouteName\n          @return {Object} The name of the currently active route.\n          @since 1.5.0\n          @public\n          */function currentRouteName(app){let routingService=app.__container__.lookup('service:-routing');return get$2(routingService,'currentRouteName');}/**\n          @module ember\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          */function currentURL(app){let router=app.__container__.lookup('router:main');let location=get$2(router,'location');return location.getURL();}/**\n          @module ember\n          */let resume;/**\n           Resumes a test paused by `pauseTest`.\n\n           @method resumeTest\n           @return {void}\n           @public\n          */function resumeTest(){resume();resume=undefined;}/**\n           Pauses the current test - this is useful for debugging while testing or for test-driving.\n           It allows you to inspect the state of your application at any point.\n           Example (The test will pause before clicking the button):\n\n           ```javascript\n           visit('/')\n           return pauseTest();\n           click('.btn');\n           ```\n\n           You may want to turn off the timeout before pausing.\n\n           qunit (timeout available to use as of 2.4.0):\n\n           ```\n           visit('/');\n           assert.timeout(0);\n           return pauseTest();\n           click('.btn');\n           ```\n\n           mocha (timeout happens automatically as of ember-mocha v0.14.0):\n\n           ```\n           visit('/');\n           this.timeout(0);\n           return pauseTest();\n           click('.btn');\n           ```\n\n\n           @since 1.9.0\n           @method pauseTest\n           @return {Object} A promise that will never resolve\n           @public\n          */function pauseTest(){return new rsvp.Promise(resolve=>{resume=resolve;},'TestAdapter paused promise');}/**\n            Loads a route, sets up any controllers, and renders any templates associated\n            with the route as though a real user had triggered the route change while\n            using your app.\n\n            Example:\n\n            ```javascript\n            visit('posts/index').then(function() {\n              // assert something\n            });\n            ```\n\n            @method visit\n            @param {String} url the name of the route\n            @return {RSVP.Promise<undefined>}\n            @public\n          */function visit(app,url){const router=app.__container__.lookup('router:main');let shouldHandleURL=false;app.boot().then(()=>{router.location.setURL(url);if(shouldHandleURL){run$1(app.__deprecatedInstance__,'handleURL',url);}});if(app._readinessDeferrals>0){// SAFETY: This should be safe, though it is odd.\nrouter.initialURL=url;run$1(app,'advanceReadiness');delete router.initialURL;}else{shouldHandleURL=true;}let wait=app.testHelpers['wait'];return wait();}let requests=[];function pendingRequests(){return requests.length;}/**\n          @module ember\n          *//**\n            Causes the run loop to process any pending events. This is used to ensure that\n            any async operations from other helpers (or your assertions) have been processed.\n\n            This is most often used as the return value for the helper functions (see 'click',\n            'fillIn','visit',etc). However, there is a method to register a test helper which\n            utilizes this method without the need to actually call `wait()` in your helpers.\n\n            The `wait` helper is built into `registerAsyncHelper` by default. You will not need\n            to `return app.testHelpers.wait();` - the wait behavior is provided for you.\n\n            Example:\n\n            ```javascript\n            import { registerAsyncHelper } from '@ember/test';\n\n            registerAsyncHelper('loginUser', function(app, username, password) {\n              visit('secured/path/here')\n                .fillIn('#username', username)\n                .fillIn('#password', password)\n                .click('.submit');\n            });\n            ```\n\n            @method wait\n            @param {Object} value The value to be returned.\n            @return {RSVP.Promise<any>} Promise that resolves to the passed value.\n            @public\n            @since 1.0.0\n          */function wait(app,value){return new rsvp.Promise(function(resolve){const router=app.__container__.lookup('router:main');let watcher=setInterval(()=>{// 1. If the router is loading, keep polling\nlet routerIsLoading=router._routerMicrolib&&Boolean(router._routerMicrolib.activeTransition);if(routerIsLoading){return;}// 2. If there are pending Ajax requests, keep polling\nif(pendingRequests()){return;}// 3. If there are scheduled timers or we are inside of a run loop, keep polling\nif(_hasScheduledTimers()||_getCurrentRunLoop()){return;}if(checkWaiters()){return;}// Stop polling\nclearInterval(watcher);// Synchronously resolve the promise\nrun$1(null,resolve,value);},10);});}registerAsyncHelper$1('visit',visit);registerAsyncHelper$1('wait',wait);registerAsyncHelper$1('andThen',andThen);registerAsyncHelper$1('pauseTest',pauseTest);registerHelper$1('currentRouteName',currentRouteName);registerHelper$1('currentPath',currentPath);registerHelper$1('currentURL',currentURL);registerHelper$1('resumeTest',resumeTest);let name='deferReadiness in `testing` mode';onLoad('Ember.Application',function(ApplicationClass){if(!ApplicationClass.initializers[name]){ApplicationClass.initializer({name:name,initialize(application){if(application.testing){application.deferReadiness();}}});}});// to setup initializer\nconst EmberTesting=/*#__PURE__*/Object.defineProperty({__proto__:null,Adapter,QUnitAdapter,Test,setupForTesting},Symbol.toStringTag,{value:'Module'});let registerAsyncHelper;let registerHelper;let registerWaiter;let unregisterHelper;let unregisterWaiter;let _impl;let testingNotAvailableMessage=()=>{throw new Error('Attempted to use test utilities, but `ember-testing` was not included');};registerAsyncHelper=testingNotAvailableMessage;registerHelper=testingNotAvailableMessage;registerWaiter=testingNotAvailableMessage;unregisterHelper=testingNotAvailableMessage;unregisterWaiter=testingNotAvailableMessage;function registerTestImplementation(impl){let{Test}=impl;registerAsyncHelper=Test.registerAsyncHelper;registerHelper=Test.registerHelper;registerWaiter=Test.registerWaiter;unregisterHelper=Test.unregisterHelper;unregisterWaiter=Test.unregisterWaiter;_impl=impl;}const emberTestIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,get _impl(){return _impl;},get registerAsyncHelper(){return registerAsyncHelper;},get registerHelper(){return registerHelper;},registerTestImplementation,get registerWaiter(){return registerWaiter;},get unregisterHelper(){return unregisterHelper;},get unregisterWaiter(){return unregisterWaiter;}},Symbol.toStringTag,{value:'Module'});registerTestImplementation(EmberTesting);const emberTestAdapter=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Adapter},Symbol.toStringTag,{value:'Module'});/* This file is generated by build/debug.js */function opcodeMetadata(op,isMachine){return null;}function debugSlice(context,start,end){}function logOpcode(type,params){}function debug(c,op,isMachine){}// TODO: How do these map onto constant and machine types?\nnew Array(Op.Size).fill(null),new Array(Op.Size).fill(null);const OPERAND_TYPES=[\"u32\",\"i32\",\"owner\",\"handle\",\"str\",\"option-str\",\"array\",\"str-array\",\"bool\",\"primitive\",\"register\",\"unknown\",\"symbol-table\",\"scope\"];function normalize(key,input){let name;if(void 0===input.format)throw new Error(`Missing format in ${JSON.stringify(input)}`);name=Array.isArray(input.format)?input.format[0]:input.format;let ops=Array.isArray(input.format)?function(input){if(!Array.isArray(input))throw new Error(`Expected operands array, got ${JSON.stringify(input)}`);return input.map(op);}(input.format.slice(1)):[];return{name:name,mnemonic:key,before:null,stackChange:stackChange(input[\"operand-stack\"]),ops:ops,operands:ops.length,check:!0!==input.skip};}function stackChange(stack){if(void 0===stack)return 0;let before=stack[0],after=stack[1];return hasRest(before)||hasRest(after)?null:after.length-before.length;}function hasRest(input){if(!Array.isArray(input))throw new Error(`Unexpected stack entry: ${JSON.stringify(input)}`);return input.some(s=>\"...\"===s.slice(-3));}function op(input){let[name,type]=input.split(\":\");if(s=type,-1!==OPERAND_TYPES.indexOf(s))return{name:name,type:type};throw new Error(`Expected operand, found ${JSON.stringify(input)}`);var s;}function normalizeAll(parsed){return{machine:normalizeParsed(parsed.machine),syscall:normalizeParsed(parsed.syscall)};}function normalizeParsed(parsed){let out=Object.create(null);for(const[key,value]of Object.entries(parsed))out[key]=normalize(key,value);return out;}function buildEnum(name,parsed,offset,max){let last,e=[`export enum ${name} {`];Object.values(parsed).forEach((value,i)=>{e.push(`  ${value.name} = ${offset+i},`),last=i;}),e.push(`  Size = ${last+offset+1},`),e.push(\"}\");let predicate,enumString=e.join(\"\\n\");return predicate=max?strip`\n      export function is${name}(value: number): value is ${name} {\n        return value >= ${offset} && value <= ${max};\n      }\n    `:strip`\n      export function is${name}(value: number): value is ${name} {\n        return value >= ${offset};\n      }\n    `,{enumString:enumString,predicate:predicate};}function strip(strings){let out=\"\";for(var _len70=arguments.length,args=new Array(_len70>1?_len70-1:0),_key71=1;_key71<_len70;_key71++){args[_key71-1]=arguments[_key71];}for(let i=0;i<strings.length;i++)out+=`${strings[i]}${void 0!==args[i]?String(args[i]):\"\"}`;// eslint-disable-next-line regexp/no-super-linear-backtracking\nout=/^\\s*?\\n?([\\s\\S]*?)\\s*$/u.exec(out)[1];let min=Number.MAX_SAFE_INTEGER;for(let line of out.split(\"\\n\")){let leading=/^\\s*/u.exec(line)[0].length;min=Math.min(min,leading);}let stripped=\"\";for(let line of out.split(\"\\n\"))stripped+=line.slice(min)+\"\\n\";return stripped;}const META_KIND=[\"METADATA\",\"MACHINE_METADATA\"];function buildSingleMeta(kind,all,key){return`${kind}[${\"MACHINE_METADATA\"===kind?\"MachineOp\":\"Op\"}.${all[key].name}] = ${stringify(all[key],0)};`;}function stringify(o,pad){if(\"object\"!=typeof o||null===o)return\"string\"==typeof o?`'${o}'`:JSON.stringify(o);if(Array.isArray(o))return`[${o.map(v=>stringify(v,pad)).join(\", \")}]`;let out=[\"{\"];for(let key of Object.keys(o))out.push(`${\" \".repeat(pad+2)}${key}: ${stringify(o[key],pad+2)},`);return out.push(`${\" \".repeat(pad)}}`),out.join(\"\\n\");}function buildMetas(kind,all){let out=[];for(let key of Object.keys(all))out.push(buildSingleMeta(kind,all,key));return out.join(\"\\n\\n\");}class NoopChecker{validate(value){return!0;}expected(){return\"<noop>\";}}function wrap(checker){return new NoopChecker();}function CheckInstanceof(Class){return new NoopChecker();}function CheckOption(checker){return new NoopChecker();}function CheckMaybe(checker){return new NoopChecker();}function CheckInterface(obj){return new NoopChecker();}function CheckArray(obj){return new NoopChecker();}function CheckDict(obj){return new NoopChecker();}function defaultMessage(value,expected){return`Got ${value}, expected:\\n${expected}`;}function check(value,checker){let message=arguments.length>2&&arguments[2]!==undefined?arguments[2]:defaultMessage;return value;}function recordStackSize(sp){}const CheckPrimitive=new NoopChecker(),CheckFunction=new NoopChecker(),CheckNumber=new NoopChecker(),CheckBoolean=new NoopChecker(),CheckHandle=new NoopChecker(),CheckString=new NoopChecker(),CheckUndefined=new NoopChecker(),CheckUnknown=new NoopChecker(),CheckSafeString=new NoopChecker(),CheckObject=new NoopChecker();function CheckOr(left,right){return new NoopChecker();}const CheckBlockSymbolTable=new NoopChecker(),CheckProgramSymbolTable=new NoopChecker(),CheckElement=new NoopChecker(),CheckDocumentFragment=new NoopChecker(),CheckNode=new NoopChecker();const glimmerDebug=/*#__PURE__*/Object.defineProperty({__proto__:null,CheckArray,CheckBlockSymbolTable,CheckBoolean,CheckDict,CheckDocumentFragment,CheckElement,CheckFunction,CheckHandle,CheckInstanceof,CheckInterface,CheckMaybe,CheckNode,CheckNumber,CheckObject,CheckOption,CheckOr,CheckPrimitive,CheckProgramSymbolTable,CheckSafeString,CheckString,CheckUndefined,CheckUnknown,META_KIND,OPERAND_TYPES,buildEnum,buildMetas,buildSingleMeta,check,debug,debugSlice,logOpcode,normalize,normalizeAll,normalizeParsed,opcodeMetadata,recordStackSize,strip,wrap},Symbol.toStringTag,{value:'Module'});const DEBUG=false;const CI=false;const glimmerEnv=/*#__PURE__*/Object.defineProperty({__proto__:null,CI,DEBUG},Symbol.toStringTag,{value:'Module'});/**\n            In order to tell Ember a value might change, we need to mark it as trackable.\n            Trackable values are values that:\n\n            - Can change over their component’s lifetime and\n            - Should cause Ember to rerender if and when they change\n\n            We can do this by marking the field with the `@tracked` decorator.\n\n            @module @glimmer/tracking\n            @public\n          *//**\n            Marks a property as tracked. By default, values that are rendered in Ember app\n            templates are _static_, meaning that updates to them won't cause the\n            application to rerender. Marking a property as tracked means that when that\n            property changes, any templates that used that property, directly or\n            indirectly, will rerender. For instance, consider this component:\n\n            ```handlebars\n            <div>Count: {{this.count}}</div>\n            <div>Times Ten: {{this.timesTen}}</div>\n            <div>\n              <button {{on \"click\" this.plusOne}}>\n                Plus One\n              </button>\n            </div>\n            ```\n\n            ```javascript\n            import Component from '@glimmer/component';\n            import { tracked } from '@glimmer/tracking';\n            import { action } from '@ember/object';\n\n            export default class CounterComponent extends Component {\n              @tracked count = 0;\n\n              get timesTen() {\n                return this.count * 10;\n              }\n\n              @action\n              plusOne() {\n                this.count += 1;\n              }\n            }\n            ```\n\n            Both the `{{this.count}}` and the `{{this.timesTen}}` properties in the\n            template will update whenever the button is clicked. Any tracked properties\n            that are used in any way to calculate a value that is used in the template\n            will cause a rerender when updated - this includes through method calls and\n            other means:\n\n            ```javascript\n            import Component from '@glimmer/component';\n            import { tracked } from '@glimmer/tracking';\n\n            class Entry {\n              @tracked name;\n              @tracked phoneNumber;\n\n              constructor(name, phoneNumber) {\n                this.name = name;\n                this.phoneNumber = phoneNumber;\n              }\n            }\n\n            export default class PhoneBookComponent extends Component {\n              entries = [\n                new Entry('Pizza Palace', 5551234),\n                new Entry('1st Street Cleaners', 5554321),\n                new Entry('Plants R Us', 5552468),\n              ];\n\n              // Any usage of this property will update whenever any of the names in the\n              // entries arrays are updated\n              get names() {\n                return this.entries.map(e => e.name);\n              }\n\n              // Any usage of this property will update whenever any of the numbers in the\n              // entries arrays are updated\n              get numbers() {\n                return this.getFormattedNumbers();\n              }\n\n              getFormattedNumbers() {\n                return this.entries\n                  .map(e => e.phoneNumber)\n                  .map(number => {\n                    let numberString = '' + number;\n\n                    return numberString.slice(0, 3) + '-' + numberString.slice(3);\n                  });\n              }\n            }\n            ```\n\n            It's important to note that setting tracked properties will always trigger an\n            update, even if the property is set to the same value as it was before.\n\n            ```js\n            let entry = new Entry('Pizza Palace', 5551234);\n            // if entry was used when rendering, this would cause a rerender, even though\n            // the name is being set to the same value as it was before\n            entry.name = entry.name;\n            ```\n\n            `tracked` can also be used with the classic Ember object model in a similar\n            manner to classic computed properties:\n\n            ```javascript\n            import EmberObject from '@ember/object';\n            import { tracked } from '@glimmer/tracking';\n\n            const Entry = EmberObject.extend({\n              name: tracked(),\n              phoneNumber: tracked()\n            });\n            ```\n\n            Often this is unnecessary, but to ensure robust auto-tracking behavior it is\n            advisable to mark tracked state appropriately wherever possible.\n            This form of `tracked` also accepts an optional configuration object\n            containing either an initial `value` or an `initializer` function (but not\n            both).\n\n            ```javascript\n            import EmberObject from '@ember/object';\n            import { tracked } from '@glimmer/tracking';\n\n            const Entry = EmberObject.extend({\n              name: tracked({ value: 'Zoey' }),\n              favoriteSongs: tracked({\n                initializer: () => ['Raspberry Beret', 'Time After Time']\n              })\n            });\n            ```\n\n            @method tracked\n            @static\n            @for @glimmer/tracking\n            @public\n          *//**\n            The `@cached` decorator can be used on getters in order to cache the return\n            value of the getter. This is useful when a getter is expensive and used very\n            often. For instance, in this guest list class, we have the `sortedGuests`\n            getter that sorts the guests alphabetically:\n\n            ```js\n            import { tracked } from '@glimmer/tracking';\n\n            class GuestList {\n              @tracked guests = ['Zoey', 'Tomster'];\n\n              get sortedGuests() {\n                return this.guests.slice().sort()\n              }\n            }\n            ```\n\n            Every time `sortedGuests` is accessed, a new array will be created and sorted,\n            because JavaScript getters do not cache by default. When the guest list is\n            small, like the one in the example, this is not a problem. However, if the guest\n            list were to grow very large, it would mean that we would be doing a large\n            amount of work each time we accessed `sortedGetters`. With `@cached`, we can\n            cache the value instead:\n\n            ```js\n            import { tracked, cached } from '@glimmer/tracking';\n\n            class GuestList {\n              @tracked guests = ['Zoey', 'Tomster'];\n\n              @cached\n              get sortedGuests() {\n                return this.guests.slice().sort()\n              }\n            }\n            ```\n\n            Now the `sortedGuests` getter will be cached based on _autotracking_. It will\n            only rerun and create a new sorted array when the `guests` tracked property is\n            updated.\n\n            In general, you should avoid using `@cached` unless you have confirmed that the\n            getter you are decorating is computationally expensive. `@cached` adds a small\n            amount of overhead to the getter, making it more expensive. While this overhead\n            is small, if `@cached` is overused it can add up to a large impact overall in\n            your app. Many getters and tracked properties are only accessed once, rendered,\n            and then never rerendered, so adding `@cached` when it is unnecessary can\n            negatively impact performance.\n\n            @method cached\n            @static\n            @for @glimmer/tracking\n            @public\n           */const glimmerTrackingIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,cached,tracked},Symbol.toStringTag,{value:'Module'});const glimmerTrackingPrimitivesCache=/*#__PURE__*/Object.defineProperty({__proto__:null,createCache,getValue,isConst},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          */// eslint-disable-next-line @typescript-eslint/no-namespace\nlet Ember;(function(_Ember){_Ember.isNamespace=true;function toString(){return'Ember';}_Ember.toString=toString;_Ember.Container=Container;_Ember.Registry=Registry;// ****@ember/-internals/glimmer****\n// Partially re-exported from @glimmer/manager\n_Ember._setComponentManager=setComponentManager;_Ember._componentManagerCapabilities=componentCapabilities;_Ember._modifierManagerCapabilities=modifierCapabilities;_Ember.meta=meta;_Ember._createCache=createCache;_Ember._cacheGetValue=getValue;_Ember._cacheIsConst=isConst;_Ember._descriptor=nativeDescDecorator;_Ember._getPath=_getPath;_Ember._setClassicDecorator=setClassicDecorator;_Ember._tracked=tracked;_Ember.beginPropertyChanges=beginPropertyChanges;_Ember.changeProperties=changeProperties;_Ember.endPropertyChanges=endPropertyChanges;_Ember.hasListeners=hasListeners;_Ember.libraries=LIBRARIES;_Ember._ContainerProxyMixin=ContainerProxyMixin;_Ember._ProxyMixin=ProxyMixin;_Ember._RegistryProxyMixin=RegistryProxyMixin;_Ember.ActionHandler=ActionHandler;_Ember.Comparable=Comparable;_Ember.ComponentLookup=ComponentLookup;_Ember.EventDispatcher=EventDispatcher;_Ember._Cache=Cache;_Ember.GUID_KEY=GUID_KEY;_Ember.canInvoke=canInvoke;_Ember.generateGuid=generateGuid;_Ember.guidFor=guidFor;_Ember.uuid=uuid$1;_Ember.wrap=wrap$1;_Ember.getOwner=getOwner;_Ember.onLoad=onLoad;_Ember.runLoadHooks=runLoadHooks;_Ember.setOwner=setOwner;_Ember.Application=Application;// ****@ember/application/instance****\n_Ember.ApplicationInstance=ApplicationInstance;// // ****@ember/application/namespace****\n_Ember.Namespace=Namespace;// ****@ember/array****\n_Ember.A=A;_Ember.Array=EmberArray;_Ember.NativeArray=NativeArray;_Ember.isArray=isArray$2;_Ember.makeArray=makeArray;_Ember.MutableArray=MutableArray;// ****@ember/array/proxy****\n_Ember.ArrayProxy=ArrayProxy;// ****@ember/canary-features****\n_Ember.FEATURES={isEnabled,...FEATURES};_Ember._Input=Input;_Ember.Component=Component;// // ****@ember/component/helper****\n_Ember.Helper=Helper;// ****@ember/controller****\n_Ember.Controller=Controller;_Ember.ControllerMixin=ControllerMixin;// ****@ember/debug****\n_Ember._captureRenderTree=captureRenderTree;_Ember.assert=assert$1;_Ember.warn=warn;_Ember.debug=debug$2;_Ember.deprecate=deprecate$1;_Ember.deprecateFunc=deprecateFunc;_Ember.runInDebug=runInDebug;_Ember.inspect=inspect;_Ember.Debug={registerDeprecationHandler:registerHandler$1,registerWarnHandler:registerHandler,// ****@ember/-internals/metal****\nisComputed:isComputed};_Ember.ContainerDebugAdapter=ContainerDebugAdapter;// ****@ember/debug/data-adapter****\n_Ember.DataAdapter=DataAdapter;// ****@ember/destroyable****\n_Ember._assertDestroyablesDestroyed=assertDestroyablesDestroyed;_Ember._associateDestroyableChild=associateDestroyableChild;_Ember._enableDestroyableTracking=enableDestroyableTracking;_Ember._isDestroying=isDestroying;_Ember._isDestroyed=isDestroyed;_Ember._registerDestructor=registerDestructor;_Ember._unregisterDestructor=unregisterDestructor;_Ember.destroy=destroy;_Ember.Engine=Engine;// ****@ember/engine/instance****\n_Ember.EngineInstance=EngineInstance;// ****@ember/enumerable****\n_Ember.Enumerable=Enumerable;// ****@ember/enumerable/mutable****\n_Ember.MutableEnumerable=MutableEnumerable;// ****@ember/instrumentation****\n/** @private */_Ember.instrument=instrument;_Ember.subscribe=subscribe;_Ember.Instrumentation={instrument:instrument,subscribe:subscribe,unsubscribe:unsubscribe,reset:reset};_Ember.Object=EmberObject;_Ember._action=action$1;_Ember.computed=computed;_Ember.defineProperty=defineProperty;_Ember.get=get$2;_Ember.getProperties=getProperties;_Ember.notifyPropertyChange=notifyPropertyChange;_Ember.observer=observer;_Ember.set=set;_Ember.trySet=trySet;_Ember.setProperties=setProperties;_Ember.cacheFor=getCachedValueFor;_Ember._dependentKeyCompat=dependentKeyCompat;_Ember.ComputedProperty=ComputedProperty;_Ember.expandProperties=expandProperties;_Ember.CoreObject=CoreObject;// ****@ember/object/evented****\n_Ember.Evented=Evented;_Ember.on=on$3;_Ember.addListener=addListener;_Ember.removeListener=removeListener;_Ember.sendEvent=sendEvent;_Ember.Mixin=Mixin;_Ember.mixin=mixin;_Ember.Observable=Observable;// ****@ember/object/observers****\n_Ember.addObserver=addObserver;_Ember.removeObserver=removeObserver;_Ember.PromiseProxyMixin=PromiseProxyMixin;// ****@ember/object/proxy****\n_Ember.ObjectProxy=ObjectProxy;// ****@ember/routing/-internals****\n_Ember.RouterDSL=DSLImpl;_Ember.controllerFor=controllerFor;_Ember.generateController=generateController;_Ember.generateControllerFactory=generateControllerFactory;_Ember.HashLocation=HashLocation;// ****@ember/routing/history-location****\n_Ember.HistoryLocation=HistoryLocation;// ****@ember/routing/none-location****\n_Ember.NoneLocation=NoneLocation;// ****@ember/routing/route****\n_Ember.Route=Route;// ****@ember/routing/router****\n_Ember.Router=EmberRouter;// // ****@ember/runloop****\n_Ember.run=run$1;_Ember.Service=Service;// ****@ember/utils****\n_Ember.compare=compare;_Ember.isBlank=isBlank;_Ember.isEmpty=isEmpty;_Ember.isEqual=isEqual;_Ember.isNone=isNone;_Ember.isPresent=isPresent;_Ember.typeOf=typeOf;_Ember.VERSION=Version;_Ember.ViewUtils={// ****@ember/-internals/views****\ngetChildViews:getChildViews,getElementView:getElementView,getRootViews:getRootViews,getViewBounds:getViewBounds,getViewBoundingClientRect:getViewBoundingClientRect,getViewClientRects:getViewClientRects,getViewElement:getViewElement,isSimpleClick:isSimpleClick,// ****@ember/-internals/glimmer****\nisSerializationFirstNode};_Ember._getComponentTemplate=getComponentTemplate;_Ember._helperManagerCapabilities=helperCapabilities;_Ember._setComponentTemplate=setComponentTemplate;_Ember._setHelperManager=setHelperManager$1;_Ember._setModifierManager=setModifierManager$1;_Ember._templateOnlyComponent=templateOnlyComponent;_Ember._invokeHelper=invokeHelper$1;_Ember._hash=hash$1;_Ember._array=array$1;_Ember._concat=concat$1;_Ember._get=get$1;_Ember._on=on$1;_Ember._fn=fn$1;_Ember._Backburner=Backburner;// // ****@ember/controller, @ember/service****\n/**\n              Namespace for injection helper methods.\n               @class inject\n              @namespace Ember\n              @static\n              @public\n            */function inject$1(){}_Ember.inject=inject$1;// ****@ember/controller****\ninject$1.controller=inject;// ****@ember/service****\ninject$1.service=service;_Ember.__loader={get require(){return globalThis.require;},get define(){return globalThis.define;},get registry(){var _g$requirejs;let g=globalThis;return((_g$requirejs=g.requirejs)===null||_g$requirejs===void 0?void 0:_g$requirejs.entries)??g.require.entries;}};// ------------------------------------------------------------------------ //\n// These properties are assigned to the namespace with getters (and, in some\n// cases setters) with `Object.defineProperty` below.\n// ------------------------------------------------------------------------ //\n// ****@ember/-internals/environment****\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               ```javascript\n               Ember.onerror = function(error) {\n                const payload = {\n                  stack: error.stack,\n                  otherInformation: 'whatever app state you want to provide'\n                };\n                 fetch('/report-error', {\n                  method: 'POST',\n                  body: JSON.stringify(payload)\n                });\n              };\n              ```\n               Internally, `Ember.onerror` is used as Backburner's error handler.\n               @event onerror\n              @for Ember\n              @param {Error} error the error object\n              @public\n            */// ****@ember/-internals/error-handling****\n/**\n              Whether searching on the global for new Namespace instances is enabled.\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               Internally this is only exposing a flag in Namespace.\n               @property BOOTED\n              @for Ember\n              @type Boolean\n              @private\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               @property TEMPLATES\n              @for Ember\n              @type Object\n              @private\n            */})(Ember||(Ember={}));Object.defineProperty(Ember,'ENV',{get:getENV,enumerable:false});Object.defineProperty(Ember,'lookup',{get:getLookup,set:setLookup,enumerable:false});Object.defineProperty(Ember,'onerror',{get:getOnerror,set:setOnerror,enumerable:false});Object.defineProperty(Ember,'testing',{get:isTesting,set:setTesting,enumerable:false});Object.defineProperty(Ember,'BOOTED',{configurable:false,enumerable:false,get:isSearchDisabled,set:setSearchDisabled});Object.defineProperty(Ember,'TEMPLATES',{get:getTemplates,set:setTemplates,configurable:false,enumerable:false});Object.defineProperty(Ember,'TEMPLATES',{get:getTemplates,set:setTemplates,configurable:false,enumerable:false});// ****@ember/debug****\nObject.defineProperty(Ember,'testing',{get:isTesting,set:setTesting,enumerable:false});runLoadHooks('Ember.Application',Application);let EmberHandlebars={template:templateFactory,Utils:{escapeExpression}};let EmberHTMLBars={template:templateFactory};function defineEmberTemplateCompilerLazyLoad(key){Object.defineProperty(Ember,key,{configurable:true,enumerable:true,get(){if(__emberTemplateCompiler){EmberHTMLBars.precompile=EmberHandlebars.precompile=__emberTemplateCompiler.precompile;EmberHTMLBars.compile=EmberHandlebars.compile=compileTemplate;Object.defineProperty(Ember,'HTMLBars',{configurable:true,writable:true,enumerable:true,value:EmberHTMLBars});Object.defineProperty(Ember,'Handlebars',{configurable:true,writable:true,enumerable:true,value:EmberHandlebars});}return key==='Handlebars'?EmberHandlebars:EmberHTMLBars;}});}defineEmberTemplateCompilerLazyLoad('HTMLBars');defineEmberTemplateCompilerLazyLoad('Handlebars');// do this to ensure that Ember.Test is defined properly on the global\n// if it is present.\nfunction defineEmberTestingLazyLoad(key){Object.defineProperty(Ember,key,{configurable:true,enumerable:true,get(){if(_impl){let{Test,Adapter,QUnitAdapter,setupForTesting}=_impl;// @ts-expect-error We should not do this\nTest.Adapter=Adapter;// @ts-expect-error We should not do this\nTest.QUnitAdapter=QUnitAdapter;Object.defineProperty(Ember,'Test',{configurable:true,writable:true,enumerable:true,value:Test});Object.defineProperty(Ember,'setupForTesting',{configurable:true,writable:true,enumerable:true,value:setupForTesting});return key==='Test'?Test:setupForTesting;}return undefined;}});}defineEmberTestingLazyLoad('Test');defineEmberTestingLazyLoad('setupForTesting');// @ts-expect-error Per types, runLoadHooks requires a second parameter. Should we loosen types?\nrunLoadHooks('Ember');// the special \"export import\" syntax above doesn't actually transpile correctly\n// under all build configurations. It seems to work if you're simultaneously\n// transpiling ESM to AMD but breaks when keeping ESM output.\n//\n// This is a workaround to ensure that the runtime is actually included.\nEmber.RSVP=rsvp;const doNotUseThis=Ember;const index=new Proxy(doNotUseThis,{get(target,key,receiver){// We don't have symbol exports, so this is probably fine.\nif(typeof key==='string'){deprecateUntil(`importing ${key} from the 'ember' barrel file is deprecated.`,DEPRECATIONS.DEPRECATE_IMPORT_EMBER(key));}return Reflect.get(target,key,receiver);},getOwnPropertyDescriptor(target,key){if(typeof key==='string'){deprecateUntil(`importing ${key} from the 'ember' barrel file is deprecated.`,DEPRECATIONS.DEPRECATE_IMPORT_EMBER(key));}return Object.getOwnPropertyDescriptor(target,key);}});const emberIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,default:index},Symbol.toStringTag,{value:'Module'});/* eslint-disable */d('@ember/-internals/browser-environment/index',emberinternalsBrowserEnvironmentIndex);d('@ember/-internals/container/index',emberinternalsContainerIndex);d('@ember/-internals/deprecations/index',emberinternalsDeprecationsIndex);d('@ember/-internals/environment/index',emberinternalsEnvironmentIndex);d('@ember/-internals/error-handling/index',emberinternalsErrorHandlingIndex);d('@ember/-internals/glimmer/index',emberinternalsGlimmerIndex);d('@ember/-internals/meta/index',emberinternalsMetaIndex);d('@ember/-internals/meta/lib/meta',emberinternalsMetaLibMeta);d('@ember/-internals/metal/index',emberinternalsMetalIndex);d('@ember/-internals/owner/index',emberinternalsOwnerIndex);d('@ember/-internals/routing/index',emberinternalsRoutingIndex);d('@ember/-internals/runtime/index',emberinternalsRuntimeIndex);d('@ember/-internals/runtime/lib/ext/rsvp',emberinternalsRuntimeLibExtRsvp);d('@ember/-internals/runtime/lib/mixins/-proxy',emberinternalsRuntimeLibMixinsproxy);d('@ember/-internals/runtime/lib/mixins/action_handler',emberinternalsRuntimeLibMixinsActionHandler);d('@ember/-internals/runtime/lib/mixins/comparable',emberinternalsRuntimeLibMixinsComparable);d('@ember/-internals/runtime/lib/mixins/container_proxy',emberinternalsRuntimeLibMixinsContainerProxy);d('@ember/-internals/runtime/lib/mixins/registry_proxy',emberinternalsRuntimeLibMixinsRegistryProxy);d('@ember/-internals/runtime/lib/mixins/target_action_support',emberinternalsRuntimeLibMixinsTargetActionSupport);d('@ember/-internals/string/index',emberinternalsStringIndex);d('@ember/-internals/utility-types/index',emberinternalsUtilityTypesIndex);d('@ember/-internals/utils/index',emberinternalsUtilsIndex);d('@ember/-internals/views/index',emberinternalsViewsIndex);d('@ember/-internals/views/lib/compat/attrs',emberinternalsViewsLibCompatAttrs);d('@ember/-internals/views/lib/compat/fallback-view-registry',emberinternalsViewsLibCompatFallbackViewRegistry);d('@ember/-internals/views/lib/component_lookup',emberinternalsViewsLibComponentLookup);d('@ember/-internals/views/lib/mixins/action_support',emberinternalsViewsLibMixinsActionSupport);d('@ember/-internals/views/lib/mixins/child_views_support',emberinternalsViewsLibMixinsChildViewsSupport);d('@ember/-internals/views/lib/mixins/class_names_support',emberinternalsViewsLibMixinsClassNamesSupport);d('@ember/-internals/views/lib/mixins/view_state_support',emberinternalsViewsLibMixinsViewStateSupport);d('@ember/-internals/views/lib/mixins/view_support',emberinternalsViewsLibMixinsViewSupport);d('@ember/-internals/views/lib/system/action_manager',emberinternalsViewsLibSystemActionManager);d('@ember/-internals/views/lib/system/event_dispatcher',emberinternalsViewsLibSystemEventDispatcher);d('@ember/-internals/views/lib/system/utils',emberinternalsViewsLibSystemUtils);d('@ember/-internals/views/lib/views/core_view',emberinternalsViewsLibViewsCoreView);d('@ember/-internals/views/lib/views/states',emberinternalsViewsLibViewsStates);d('@ember/application/index',emberApplicationIndex);d('@ember/application/instance',emberApplicationInstance);d('@ember/application/lib/lazy_load',emberApplicationLibLazyLoad);d('@ember/application/namespace',emberApplicationNamespace);d('@ember/array/-internals',emberArrayinternals);d('@ember/array/index',emberArrayIndex);d('@ember/array/lib/make-array',emberArrayLibMakeArray);d('@ember/array/mutable',emberArrayMutable);d('@ember/array/proxy',emberArrayProxy);d('@ember/canary-features/index',emberCanaryFeaturesIndex);d('@ember/component/helper',emberComponentHelper);d('@ember/component/index',emberComponentIndex);d('@ember/component/template-only',emberComponentTemplateOnly);d('@ember/controller/index',emberControllerIndex);d('@ember/debug/index',emberDebugIndex);d('@ember/debug/lib/capture-render-tree',emberDebugLibCaptureRenderTree);d('@ember/debug/lib/deprecate',emberDebugLibDeprecate);d('@ember/debug/lib/handlers',emberDebugLibHandlers);d('@ember/debug/lib/inspect',emberDebugLibInspect);d('@ember/debug/lib/testing',emberDebugLibTesting);d('@ember/debug/lib/warn',emberDebugLibWarn);d('@ember/debug/container-debug-adapter',emberDebugContainerDebugAdapter);d('@ember/debug/data-adapter',emberDebugDataAdapter);d('@ember/deprecated-features/index',emberDeprecatedFeaturesIndex);d('@ember/destroyable/index',emberDestroyableIndex);d('@ember/engine/index',emberEngineIndex);d('@ember/engine/instance',emberEngineInstance);d('@ember/engine/lib/engine-parent',emberEngineLibEngineParent);d('@ember/enumerable/index',emberEnumerableIndex);d('@ember/enumerable/mutable',emberEnumerableMutable);d('@ember/helper/index',emberHelperIndex);d('@ember/instrumentation/index',emberInstrumentationIndex);d('@ember/modifier/index',emberModifierIndex);d('@ember/object/-internals',emberObjectinternals);d('@ember/object/compat',emberObjectCompat);d('@ember/object/computed',emberObjectComputed);d('@ember/object/core',emberObjectCore);d('@ember/object/evented',emberObjectEvented);d('@ember/object/events',emberObjectEvents);d('@ember/object/index',emberObjectIndex);d('@ember/object/internals',emberObjectInternals);d('@ember/object/lib/computed/computed_macros',emberObjectLibComputedComputedMacros);d('@ember/object/lib/computed/reduce_computed_macros',emberObjectLibComputedReduceComputedMacros);d('@ember/object/mixin',emberObjectMixin);d('@ember/object/observable',emberObjectObservable);d('@ember/object/observers',emberObjectObservers);d('@ember/object/promise-proxy-mixin',emberObjectPromiseProxyMixin);d('@ember/object/proxy',emberObjectProxy);d('@ember/owner/index',emberOwnerIndex);d('@ember/renderer/index',emberRendererIndex);d('@ember/routing/-internals',emberRoutinginternals);d('@ember/routing/hash-location',emberRoutingHashLocation);d('@ember/routing/history-location',emberRoutingHistoryLocation);d('@ember/routing/index',emberRoutingIndex);d('@ember/routing/lib/cache',emberRoutingLibCache);d('@ember/routing/lib/controller_for',emberRoutingLibControllerFor);d('@ember/routing/lib/dsl',emberRoutingLibDsl);d('@ember/routing/lib/engines',emberRoutingLibEngines);d('@ember/routing/lib/generate_controller',emberRoutingLibGenerateController);d('@ember/routing/lib/location-utils',emberRoutingLibLocationUtils);d('@ember/routing/lib/query_params',emberRoutingLibQueryParams);d('@ember/routing/lib/route-info',emberRoutingLibRouteInfo);d('@ember/routing/lib/router_state',emberRoutingLibRouterState);d('@ember/routing/lib/routing-service',emberRoutingLibRoutingService);d('@ember/routing/lib/utils',emberRoutingLibUtils);d('@ember/routing/location',emberRoutingLocation);d('@ember/routing/none-location',emberRoutingNoneLocation);d('@ember/routing/route-info',emberRoutingRouteInfo);d('@ember/routing/route',emberRoutingRoute);d('@ember/routing/router-service',emberRoutingRouterService);d('@ember/routing/router',emberRoutingRouter);d('@ember/routing/transition',emberRoutingTransition);d('@ember/runloop/-private/backburner',emberRunloopprivateBackburner);d('@ember/runloop/index',emberRunloopIndex);d('@ember/service/index',emberServiceIndex);d('@ember/template-compilation/index',emberTemplateCompilationIndex);d('@ember/template-factory/index',emberTemplateFactoryIndex);d('@ember/template/index',emberTemplateIndex);d('@ember/test/adapter',emberTestAdapter);d('@ember/test/index',emberTestIndex);d('@ember/utils/index',emberUtilsIndex);d('@ember/utils/lib/compare',emberUtilsLibCompare);d('@ember/utils/lib/is-equal',emberUtilsLibIsEqual);d('@ember/utils/lib/is_blank',emberUtilsLibIsBlank);d('@ember/utils/lib/is_empty',emberUtilsLibIsEmpty);d('@ember/utils/lib/is_none',emberUtilsLibIsNone);d('@ember/utils/lib/is_present',emberUtilsLibIsPresent);d('@ember/utils/lib/type-of',emberUtilsLibTypeOf);d('@ember/version/index',emberVersionIndex);d('@glimmer/debug',glimmerDebug);d('@glimmer/destroyable',glimmerDestroyable);d('@glimmer/encoder',glimmerEncoder);d('@glimmer/env',glimmerEnv);d('@glimmer/global-context',glimmerGlobalContext);d('@glimmer/manager',glimmerManager);d('@glimmer/node',glimmerNode);d('@glimmer/opcode-compiler',glimmerOpcodeCompiler);d('@glimmer/owner',glimmerOwner);d('@glimmer/program',glimmerProgram);d('@glimmer/reference',glimmerReference);d('@glimmer/runtime',glimmerRuntime);d('@glimmer/tracking/index',glimmerTrackingIndex);d('@glimmer/tracking/primitives/cache',glimmerTrackingPrimitivesCache);d('@glimmer/util',glimmerUtil);d('@glimmer/validator',glimmerValidator);d('@glimmer/vm',glimmerVm);d('@glimmer/wire-format',glimmerWireFormat);d('@simple-dom/document',simpleDomDocument);d('backburner.js',backburnerjs);d('dag-map',dagMap);d('ember/index',emberIndex);d('ember/version',emberVersion);d('route-recognizer',routeRecognizer);d('router_js',routerJs);d('rsvp',rsvp);if(typeof module==='object'&&typeof module.require==='function'){module.exports=index;}})();","/* eslint-disable prettier/prettier, no-undef */\n(function() {\n  if (typeof FastBoot === 'undefined') {\n    var current = document.getElementById('fastboot-body-start');\n\n    var _Ember = require.has('ember') ? require('ember').default : window.Ember;\n\n    if (current && !_Ember) {\n      console.error(`Experimental render mode rehydrate isn't working because it couldn't find Ember via AMD or global.\nSee https://github.com/ember-fastboot/ember-cli-fastboot/issues/938 for the current state of the fix.`);\n      return;\n    }\n\n    if (\n      current &&\n      typeof _Ember.ViewUtils.isSerializationFirstNode === 'function' &&\n      _Ember.ViewUtils.isSerializationFirstNode(current.nextSibling)\n    ) {\n      _Ember.ApplicationInstance.reopen({\n        _bootSync: function(options) {\n          if (options === undefined) {\n            options = {\n              _renderMode: 'rehydrate'\n            };\n          }\n\n          return this._super(options);\n        }\n      });\n\n      // Prevent clearRender  by removing `fastboot-body-start` which is already\n      // guarded for\n      current.parentNode.removeChild(current);\n      var end = document.getElementById('fastboot-body-end');\n\n      if (end) {\n        end.parentNode.removeChild(end);\n      }\n    }\n  }\n})();\n","(function () {\n  function vendorModule() {\n    'use strict';\n\n    return {\n      'default': self['jQuery'],\n      __esModule: true\n    };\n  }\n  define('jquery', [], vendorModule);\n})();","/*!\n * @copyright Copyright (c) 2017 IcoMoon.io\n * @license   Licensed under MIT license\n *            See https://github.com/Keyamoon/svgxuse\n * @version   1.2.6\n */\n/*jslint browser: true */\n/*global XDomainRequest, MutationObserver, window */\n(function () {\n    \"use strict\";\n    if (typeof window !== \"undefined\" && window.addEventListener) {\n        var cache = Object.create(null); // holds xhr objects to prevent multiple requests\n        var checkUseElems;\n        var tid; // timeout id\n        var debouncedCheck = function () {\n            clearTimeout(tid);\n            tid = setTimeout(checkUseElems, 100);\n        };\n        var unobserveChanges = function () {\n            return;\n        };\n        var observeChanges = function () {\n            var observer;\n            window.addEventListener(\"resize\", debouncedCheck, false);\n            window.addEventListener(\"orientationchange\", debouncedCheck, false);\n            if (window.MutationObserver) {\n                observer = new MutationObserver(debouncedCheck);\n                observer.observe(document.documentElement, {\n                    childList: true,\n                    subtree: true,\n                    attributes: true\n                });\n                unobserveChanges = function () {\n                    try {\n                        observer.disconnect();\n                        window.removeEventListener(\"resize\", debouncedCheck, false);\n                        window.removeEventListener(\"orientationchange\", debouncedCheck, false);\n                    } catch (ignore) {}\n                };\n            } else {\n                document.documentElement.addEventListener(\"DOMSubtreeModified\", debouncedCheck, false);\n                unobserveChanges = function () {\n                    document.documentElement.removeEventListener(\"DOMSubtreeModified\", debouncedCheck, false);\n                    window.removeEventListener(\"resize\", debouncedCheck, false);\n                    window.removeEventListener(\"orientationchange\", debouncedCheck, false);\n                };\n            }\n        };\n        var createRequest = function (url) {\n            // In IE 9, cross origin requests can only be sent using XDomainRequest.\n            // XDomainRequest would fail if CORS headers are not set.\n            // Therefore, XDomainRequest should only be used with cross origin requests.\n            function getOrigin(loc) {\n                var a;\n                if (loc.protocol !== undefined) {\n                    a = loc;\n                } else {\n                    a = document.createElement(\"a\");\n                    a.href = loc;\n                }\n                return a.protocol.replace(/:/g, \"\") + a.host;\n            }\n            var Request;\n            var origin;\n            var origin2;\n            if (window.XMLHttpRequest) {\n                Request = new XMLHttpRequest();\n                origin = getOrigin(location);\n                origin2 = getOrigin(url);\n                if (Request.withCredentials === undefined && origin2 !== \"\" && origin2 !== origin) {\n                    Request = XDomainRequest || undefined;\n                } else {\n                    Request = XMLHttpRequest;\n                }\n            }\n            return Request;\n        };\n        var xlinkNS = \"http://www.w3.org/1999/xlink\";\n        checkUseElems = function () {\n            var base;\n            var bcr;\n            var fallback = \"\"; // optional fallback URL in case no base path to SVG file was given and no symbol definition was found.\n            var hash;\n            var href;\n            var i;\n            var inProgressCount = 0;\n            var isHidden;\n            var Request;\n            var url;\n            var uses;\n            var xhr;\n            function observeIfDone() {\n                // If done with making changes, start watching for chagnes in DOM again\n                inProgressCount -= 1;\n                if (inProgressCount === 0) { // if all xhrs were resolved\n                    unobserveChanges(); // make sure to remove old handlers\n                    observeChanges(); // watch for changes to DOM\n                }\n            }\n            function attrUpdateFunc(spec) {\n                return function () {\n                    if (cache[spec.base] !== true) {\n                        spec.useEl.setAttributeNS(xlinkNS, \"xlink:href\", \"#\" + spec.hash);\n                        if (spec.useEl.hasAttribute(\"href\")) {\n                            spec.useEl.setAttribute(\"href\", \"#\" + spec.hash);\n                        }\n                    }\n                };\n            }\n            function onloadFunc(xhr) {\n                return function () {\n                    var body = document.body;\n                    var x = document.createElement(\"x\");\n                    var svg;\n                    xhr.onload = null;\n                    x.innerHTML = xhr.responseText;\n                    svg = x.getElementsByTagName(\"svg\")[0];\n                    if (svg) {\n                        svg.setAttribute(\"aria-hidden\", \"true\");\n                        svg.style.position = \"absolute\";\n                        svg.style.width = 0;\n                        svg.style.height = 0;\n                        svg.style.overflow = \"hidden\";\n                        body.insertBefore(svg, body.firstChild);\n                    }\n                    observeIfDone();\n                };\n            }\n            function onErrorTimeout(xhr) {\n                return function () {\n                    xhr.onerror = null;\n                    xhr.ontimeout = null;\n                    observeIfDone();\n                };\n            }\n            unobserveChanges(); // stop watching for changes to DOM\n            // find all use elements\n            uses = document.getElementsByTagName(\"use\");\n            for (i = 0; i < uses.length; i += 1) {\n                try {\n                    bcr = uses[i].getBoundingClientRect();\n                } catch (ignore) {\n                    // failed to get bounding rectangle of the use element\n                    bcr = false;\n                }\n                href = uses[i].getAttribute(\"href\")\n                        || uses[i].getAttributeNS(xlinkNS, \"href\")\n                        || uses[i].getAttribute(\"xlink:href\");\n                if (href && href.split) {\n                    url = href.split(\"#\");\n                } else {\n                    url = [\"\", \"\"];\n                }\n                base = url[0];\n                hash = url[1];\n                isHidden = bcr && bcr.left === 0 && bcr.right === 0 && bcr.top === 0 && bcr.bottom === 0;\n                if (bcr && bcr.width === 0 && bcr.height === 0 && !isHidden) {\n                    // the use element is empty\n                    // if there is a reference to an external SVG, try to fetch it\n                    // use the optional fallback URL if there is no reference to an external SVG\n                    if (fallback && !base.length && hash && !document.getElementById(hash)) {\n                        base = fallback;\n                    }\n                    if (uses[i].hasAttribute(\"href\")) {\n                        uses[i].setAttributeNS(xlinkNS, \"xlink:href\", href);\n                    }\n                    if (base.length) {\n                        // schedule updating xlink:href\n                        xhr = cache[base];\n                        if (xhr !== true) {\n                            // true signifies that prepending the SVG was not required\n                            setTimeout(attrUpdateFunc({\n                                useEl: uses[i],\n                                base: base,\n                                hash: hash\n                            }), 0);\n                        }\n                        if (xhr === undefined) {\n                            Request = createRequest(base);\n                            if (Request !== undefined) {\n                                xhr = new Request();\n                                cache[base] = xhr;\n                                xhr.onload = onloadFunc(xhr);\n                                xhr.onerror = onErrorTimeout(xhr);\n                                xhr.ontimeout = onErrorTimeout(xhr);\n                                xhr.open(\"GET\", base);\n                                xhr.send();\n                                inProgressCount += 1;\n                            }\n                        }\n                    }\n                } else {\n                    if (!isHidden) {\n                        if (cache[base] === undefined) {\n                            // remember this URL if the use element was not empty and no request was sent\n                            cache[base] = true;\n                        } else if (cache[base].onload) {\n                            // if it turns out that prepending the SVG is not necessary,\n                            // abort the in-progress xhr.\n                            cache[base].abort();\n                            delete cache[base].onload;\n                            cache[base] = true;\n                        }\n                    } else if (base.length && cache[base]) {\n                        setTimeout(attrUpdateFunc({\n                            useEl: uses[i],\n                            base: base,\n                            hash: hash\n                        }), 0);\n                    }\n                }\n            }\n            uses = \"\";\n            inProgressCount += 1;\n            observeIfDone();\n        };\n        var winLoad;\n        winLoad = function () {\n            window.removeEventListener(\"load\", winLoad, false); // to prevent memory leaks\n            tid = setTimeout(checkUseElems, 0);\n        };\n        if (document.readyState !== \"complete\") {\n            // The load event fires when all resources have finished loading, which allows detecting whether SVG use elements are empty.\n            window.addEventListener(\"load\", winLoad, false);\n        } else {\n            // No need to add a listener if the document is already loaded, initialize immediately.\n            winLoad();\n        }\n    }\n}());\n"],"names":[],"mappings":";;;;;;;;uBAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC9UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC39UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC31iBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;","file":"vendor.js"}