From 983c8382ed28b6bbf1a3c6a49ba4d96400016103 Mon Sep 17 00:00:00 2001 From: Fady Sadek Date: Fri, 27 Dec 2024 05:13:50 +0100 Subject: [PATCH] V1.4.1 --- examples/angular/angular.json | 4 +- examples/angular/dist/browser/index.html | 2 +- .../angular/dist/browser/scripts-EDWLFZL6.js | 13 + examples/backbone/dist/base.js | 249 + examples/backbone/dist/index.html | 1 + examples/backbone/index.html | 1 + examples/backbone/scripts/build.js | 1 + examples/emberjs/todomvc/app/app.js | 1 + .../todomvc/app/components/attribution.gjs | 21 +- .../emberjs/todomvc/app/components/create.gjs | 45 +- .../todomvc/app/components/filters.gjs | 34 +- .../todomvc/app/components/todo-item.gjs | 118 +- examples/emberjs/todomvc/app/index.html | 1 + .../emberjs/todomvc/app/templates/active.gjs | 11 +- .../todomvc/app/templates/application.gjs | 17 +- .../todomvc/app/templates/completed.gjs | 11 +- .../emberjs/todomvc/app/templates/index.gjs | 12 +- .../dist/assets/chunk.21a7dc4906237ee38116.js | 3 + .../chunk.21a7dc4906237ee38116.js.LICENSE.txt | 4 + .../assets/chunk.21a7dc4906237ee38116.js.map | 1 + ...e60.css => chunk.5e0d2a6ae81027853a91.css} | 2 +- ...map => chunk.5e0d2a6ae81027853a91.css.map} | 2 +- .../dist/assets/chunk.5e0d2a6ae81027853a91.js | 2 + .../assets/chunk.5e0d2a6ae81027853a91.js.map | 1 + .../dist/assets/chunk.93d2eecaf3ac6c99257a.js | 2 - .../assets/chunk.93d2eecaf3ac6c99257a.js.map | 1 - .../dist/assets/chunk.98750617e108adb88e60.js | 2 - .../assets/chunk.98750617e108adb88e60.js.map | 1 - .../emberjs/todomvc/dist/assets/vendor.map | 2 +- examples/emberjs/todomvc/dist/index.html | 7 +- examples/emberjs/todomvc/package.json | 48 +- examples/emberjs/todomvc/pnpm-lock.yaml | 17249 +++++++++------- examples/javascript-es5/dist/base.js | 249 + examples/javascript-es5/dist/index.html | 3 +- examples/javascript-es5/index.html | 3 +- examples/javascript-es5/scripts/build.js | 2 +- .../javascript-es6/dist/app.bundle.js.map | 2 +- examples/javascript-es6/dist/app.css | 2 +- examples/javascript-es6/dist/app.css.map | 2 +- examples/javascript-es6/dist/base.js | 1 + examples/javascript-es6/dist/index.html | 2 +- examples/javascript-es6/package-lock.json | 412 +- examples/javascript-es6/package.json | 1 + examples/javascript-es6/src/app.js | 1 + examples/javascript-es6/src/index.html | 3 +- examples/javascript-es6/webpack.prod.js | 6 + examples/jquery/dist/base.js | 249 + examples/jquery/dist/index.html | 3 +- examples/jquery/index.html | 1 + examples/jquery/scripts/build.js | 13 +- examples/lit/dist/base.css | 141 + examples/lit/dist/base.js | 249 + examples/lit/dist/index.html | 2 + examples/lit/index.html | 2 + examples/lit/package-lock.json | 7 + examples/lit/package.json | 25 +- examples/preact/dist/app.css | 1 + examples/preact/dist/app.js.map | 2 +- examples/preact/dist/base.js | 249 + examples/preact/dist/index.html | 1 + examples/preact/public/index.html | 1 + examples/preact/rollup.config.js | 5 +- examples/preact/src/index.js | 2 + examples/react-redux/dist/app.bundle.js.map | 2 +- examples/react-redux/dist/app.css | 2 +- examples/react-redux/dist/app.css.map | 2 +- examples/react-redux/dist/base.js | 1 + examples/react-redux/dist/index.html | 2 +- examples/react-redux/package-lock.json | 272 +- examples/react-redux/package.json | 1 + examples/react-redux/public/index.html | 1 + examples/react-redux/src/index.js | 2 + examples/react-redux/webpack.prod.js | 7 +- examples/react/dist/app.bundle.js | 2 +- examples/react/dist/app.bundle.js.map | 2 +- examples/react/dist/app.css | 2 +- examples/react/dist/app.css.map | 2 +- examples/react/dist/base.js | 1 + examples/react/dist/index.html | 2 +- examples/react/package-lock.json | 270 +- examples/react/package.json | 1 + examples/react/public/index.html | 1 + examples/react/readme.md | 2 +- examples/react/src/index.js | 1 + examples/react/src/todo/components/main.jsx | 2 +- examples/react/webpack.prod.js | 7 +- .../svelte/dist/assets/index-DoeB868c.css | 1 + .../svelte/dist/assets/index-a145fce1.css | 1 - examples/svelte/dist/assets/index-ce6b2564.js | 1 - examples/svelte/dist/assets/index-hoQsBftM.js | 1 + examples/svelte/dist/base.js | 249 + examples/svelte/dist/index.html | 7 +- examples/svelte/index.html | 1 + examples/svelte/package-lock.json | 1624 +- examples/svelte/package.json | 5 +- examples/svelte/vite.config.js | 13 +- examples/vue/dist/base.js | 249 + examples/vue/dist/index.html | 1 + examples/vue/index.html | 1 + examples/vue/package-lock.json | 268 +- examples/vue/package.json | 3 +- examples/vue/vite.config.js | 9 + examples/web-components/dist/base.js | 249 + examples/web-components/dist/index.html | 6 +- examples/web-components/dist/styles/base.css | 141 + .../dist/styles/global.constructable.js | 2 - .../web-components/dist/styles/global.css | 10 +- examples/web-components/index.html | 6 +- examples/web-components/package-lock.json | 13 +- examples/web-components/package.json | 3 +- examples/web-components/scripts/build.js | 2 + .../styles/global.constructable.js | 2 - examples/web-components/styles/global.css | 10 +- index.html | 4 +- learn.json | 204 +- 115 files changed, 14503 insertions(+), 8681 deletions(-) create mode 100644 examples/angular/dist/browser/scripts-EDWLFZL6.js create mode 100644 examples/backbone/dist/base.js create mode 100644 examples/emberjs/todomvc/dist/assets/chunk.21a7dc4906237ee38116.js create mode 100644 examples/emberjs/todomvc/dist/assets/chunk.21a7dc4906237ee38116.js.LICENSE.txt create mode 100644 examples/emberjs/todomvc/dist/assets/chunk.21a7dc4906237ee38116.js.map rename examples/emberjs/todomvc/dist/assets/{chunk.98750617e108adb88e60.css => chunk.5e0d2a6ae81027853a91.css} (99%) rename examples/emberjs/todomvc/dist/assets/{chunk.98750617e108adb88e60.css.map => chunk.5e0d2a6ae81027853a91.css.map} (99%) create mode 100644 examples/emberjs/todomvc/dist/assets/chunk.5e0d2a6ae81027853a91.js create mode 100644 examples/emberjs/todomvc/dist/assets/chunk.5e0d2a6ae81027853a91.js.map delete mode 100644 examples/emberjs/todomvc/dist/assets/chunk.93d2eecaf3ac6c99257a.js delete mode 100644 examples/emberjs/todomvc/dist/assets/chunk.93d2eecaf3ac6c99257a.js.map delete mode 100644 examples/emberjs/todomvc/dist/assets/chunk.98750617e108adb88e60.js delete mode 100644 examples/emberjs/todomvc/dist/assets/chunk.98750617e108adb88e60.js.map create mode 100644 examples/javascript-es5/dist/base.js create mode 100644 examples/javascript-es6/dist/base.js create mode 100644 examples/jquery/dist/base.js create mode 100644 examples/lit/dist/base.css create mode 100644 examples/lit/dist/base.js create mode 100644 examples/preact/dist/base.js create mode 100644 examples/react-redux/dist/base.js create mode 100644 examples/react/dist/base.js create mode 100644 examples/svelte/dist/assets/index-DoeB868c.css delete mode 100644 examples/svelte/dist/assets/index-a145fce1.css delete mode 100644 examples/svelte/dist/assets/index-ce6b2564.js create mode 100644 examples/svelte/dist/assets/index-hoQsBftM.js create mode 100644 examples/svelte/dist/base.js create mode 100644 examples/vue/dist/base.js create mode 100644 examples/web-components/dist/base.js create mode 100644 examples/web-components/dist/styles/base.css diff --git a/examples/angular/angular.json b/examples/angular/angular.json index 7af66b939f..a497e30264 100644 --- a/examples/angular/angular.json +++ b/examples/angular/angular.json @@ -34,7 +34,9 @@ "node_modules/todomvc-app-css/index.css", "node_modules/todomvc-common/base.css" ], - "scripts": [] + "scripts": [ + "node_modules/todomvc-common/base.js" + ] }, "configurations": { "production": { diff --git a/examples/angular/dist/browser/index.html b/examples/angular/dist/browser/index.html index eb1a4240c1..301a433c9c 100644 --- a/examples/angular/dist/browser/index.html +++ b/examples/angular/dist/browser/index.html @@ -15,5 +15,5 @@

Created by the TodoMVC Team

Part of TodoMVC

- + diff --git a/examples/angular/dist/browser/scripts-EDWLFZL6.js b/examples/angular/dist/browser/scripts-EDWLFZL6.js new file mode 100644 index 0000000000..d8e34eb381 --- /dev/null +++ b/examples/angular/dist/browser/scripts-EDWLFZL6.js @@ -0,0 +1,13 @@ +(function(){"use strict";var w=function(e){e.defaults=function(r){if(!r)return r;for(var a=1,o=arguments.length;a/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var n=/(.)^/,t={"'":"'","\\":"\\","\r":"r","\n":"n"," ":"t","\u2028":"u2028","\u2029":"u2029"},i=/\\|'|\r|\n|\t|\u2028|\u2029/g;return e.template=function(r,a,o){var u;o=e.defaults({},o,e.templateSettings);var l=new RegExp([(o.escape||n).source,(o.interpolate||n).source,(o.evaluate||n).source].join("|")+"|$","g"),m=0,s="__p+='";r.replace(l,function(c,d,v,b,g){return s+=r.slice(m,g).replace(i,function(T){return"\\"+t[T]}),d&&(s+=`'+ +((__t=(`+d+`))==null?'':_.escape(__t))+ +'`),v&&(s+=`'+ +((__t=(`+v+`))==null?'':__t)+ +'`),b&&(s+=`'; +`+b+` +__p+='`),m=g+c.length,c}),s+=`'; +`,o.variable||(s=`with(obj||{}){ +`+s+`} +`),s=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');}; +`+s+`return __p; +`;try{u=new Function(o.variable||"obj","_",s)}catch(c){throw c.source=s,c}if(a)return u(a,e);var h=function(c){return u.call(this,c,e)};return h.source="function("+(o.variable||"obj")+`){ +`+s+"}",h},e}({});location.hostname==="todomvc.com"&&(function(e,n,t,i,r,a,o){e.GoogleAnalyticsObject=r,e[r]=e[r]||function(){(e[r].q=e[r].q||[]).push(arguments)},e[r].l=1*new Date,a=n.createElement(t),o=n.getElementsByTagName(t)[0],a.async=1,a.src=i,o.parentNode.insertBefore(a,o)}(window,document,"script","https://www.google-analytics.com/analytics.js","ga"),ga("create","UA-31081062-1","auto"),ga("send","pageview"));function y(){location.hostname==="tastejs.github.io"&&(location.href=location.href.replace("tastejs.github.io/todomvc","todomvc.com"))}function p(){var e=location.href.indexOf("examples/");return location.href.substr(0,e)}function _(e,n){if(!location.host)return console.info("Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.");var t=new XMLHttpRequest;t.open("GET",p()+e,!0),t.send(),t.onload=function(){t.status===200&&n&&n(t.responseText)}}function f(e,n){if(!(this instanceof f))return new f(e,n);var t,i;if(typeof e!="object")try{e=JSON.parse(e)}catch{return}n&&(t=n.template,i=n.framework),!t&&e.templates&&(t=e.templates.todomvc),!i&&document.querySelector("[data-framework]")&&(i=document.querySelector("[data-framework]").dataset.framework),this.template=t,e.backend?(this.frameworkJSON=e.backend,this.frameworkJSON.issueLabel=i,this.append({backend:!0})):e[i]&&(this.frameworkJSON=e[i],this.frameworkJSON.issueLabel=i,this.append()),this.fetchIssueCount()}f.prototype.append=function(e){var n=document.createElement("aside");if(n.innerHTML=w.template(this.template,this.frameworkJSON),n.className="learn",e&&e.backend){var t=n.querySelector(".source-links"),i=t.firstElementChild,r=t.lastElementChild,a=r.getAttribute("href");r.setAttribute("href",a.substr(a.lastIndexOf("http"))),t.innerHTML=i.outerHTML+r.outerHTML}else{var o=n.querySelectorAll(".demo-link");Array.prototype.forEach.call(o,function(u){u.getAttribute("href").substr(0,4)!=="http"&&u.setAttribute("href",p()+u.getAttribute("href"))})}document.body.className=(document.body.className+" learn-bar").trim(),document.body.insertAdjacentHTML("afterBegin",n.outerHTML)},f.prototype.fetchIssueCount=function(){var e=document.getElementById("issue-count-link");if(e){var n=e.href.replace("https://github.com","https://api.github.com/repos"),t=new XMLHttpRequest;t.open("GET",n,!0),t.onload=function(i){var r=JSON.parse(i.target.responseText);if(r instanceof Array){var a=r.length;a!==0&&(e.innerHTML="This app has "+a+" open issues",document.getElementById("issue-count").style.display="inline")}},t.send()}},y(),_("learn.json",f)})(); diff --git a/examples/backbone/dist/base.js b/examples/backbone/dist/base.js new file mode 100644 index 0000000000..a56b5aaca9 --- /dev/null +++ b/examples/backbone/dist/base.js @@ -0,0 +1,249 @@ +/* global _ */ +(function () { + 'use strict'; + + /* jshint ignore:start */ + // Underscore's Template Module + // Courtesy of underscorejs.org + var _ = (function (_) { + _.defaults = function (object) { + if (!object) { + return object; + } + for (var argsIndex = 1, argsLength = arguments.length; argsIndex < argsLength; argsIndex++) { + var iterable = arguments[argsIndex]; + if (iterable) { + for (var key in iterable) { + if (object[key] == null) { + object[key] = iterable[key]; + } + } + } + } + return object; + }; + + // By default, Underscore uses ERB-style template delimiters, change the + // following template settings to use alternative delimiters. + _.templateSettings = { + evaluate : /<%([\s\S]+?)%>/g, + interpolate : /<%=([\s\S]+?)%>/g, + escape : /<%-([\s\S]+?)%>/g + }; + + // When customizing `templateSettings`, if you don't want to define an + // interpolation, evaluation or escaping regex, we need one that is + // guaranteed not to match. + var noMatch = /(.)^/; + + // Certain characters need to be escaped so that they can be put into a + // string literal. + var escapes = { + "'": "'", + '\\': '\\', + '\r': 'r', + '\n': 'n', + '\t': 't', + '\u2028': 'u2028', + '\u2029': 'u2029' + }; + + var escaper = /\\|'|\r|\n|\t|\u2028|\u2029/g; + + // JavaScript micro-templating, similar to John Resig's implementation. + // Underscore templating handles arbitrary delimiters, preserves whitespace, + // and correctly escapes quotes within interpolated code. + _.template = function(text, data, settings) { + var render; + settings = _.defaults({}, settings, _.templateSettings); + + // Combine delimiters into one regular expression via alternation. + var matcher = new RegExp([ + (settings.escape || noMatch).source, + (settings.interpolate || noMatch).source, + (settings.evaluate || noMatch).source + ].join('|') + '|$', 'g'); + + // Compile the template source, escaping string literals appropriately. + var index = 0; + var source = "__p+='"; + text.replace(matcher, function(match, escape, interpolate, evaluate, offset) { + source += text.slice(index, offset) + .replace(escaper, function(match) { return '\\' + escapes[match]; }); + + if (escape) { + source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'"; + } + if (interpolate) { + source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'"; + } + if (evaluate) { + source += "';\n" + evaluate + "\n__p+='"; + } + index = offset + match.length; + return match; + }); + source += "';\n"; + + // If a variable is not specified, place data values in local scope. + if (!settings.variable) source = 'with(obj||{}){\n' + source + '}\n'; + + source = "var __t,__p='',__j=Array.prototype.join," + + "print=function(){__p+=__j.call(arguments,'');};\n" + + source + "return __p;\n"; + + try { + render = new Function(settings.variable || 'obj', '_', source); + } catch (e) { + e.source = source; + throw e; + } + + if (data) return render(data, _); + var template = function(data) { + return render.call(this, data, _); + }; + + // Provide the compiled function source as a convenience for precompilation. + template.source = 'function(' + (settings.variable || 'obj') + '){\n' + source + '}'; + + return template; + }; + + return _; + })({}); + + if (location.hostname === 'todomvc.com') { + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); + ga('create', 'UA-31081062-1', 'auto'); + ga('send', 'pageview'); + } + /* jshint ignore:end */ + + function redirect() { + if (location.hostname === 'tastejs.github.io') { + location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com'); + } + } + + function findRoot() { + var base = location.href.indexOf('examples/'); + return location.href.substr(0, base); + } + + function getFile(file, callback) { + if (!location.host) { + return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.'); + } + + var xhr = new XMLHttpRequest(); + + xhr.open('GET', findRoot() + file, true); + xhr.send(); + + xhr.onload = function () { + if (xhr.status === 200 && callback) { + callback(xhr.responseText); + } + }; + } + + function Learn(learnJSON, config) { + if (!(this instanceof Learn)) { + return new Learn(learnJSON, config); + } + + var template, framework; + + if (typeof learnJSON !== 'object') { + try { + learnJSON = JSON.parse(learnJSON); + } catch (e) { + return; + } + } + + if (config) { + template = config.template; + framework = config.framework; + } + + if (!template && learnJSON.templates) { + template = learnJSON.templates.todomvc; + } + + if (!framework && document.querySelector('[data-framework]')) { + framework = document.querySelector('[data-framework]').dataset.framework; + } + + this.template = template; + + if (learnJSON.backend) { + this.frameworkJSON = learnJSON.backend; + this.frameworkJSON.issueLabel = framework; + this.append({ + backend: true + }); + } else if (learnJSON[framework]) { + this.frameworkJSON = learnJSON[framework]; + this.frameworkJSON.issueLabel = framework; + this.append(); + } + + this.fetchIssueCount(); + } + + Learn.prototype.append = function (opts) { + var aside = document.createElement('aside'); + aside.innerHTML = _.template(this.template, this.frameworkJSON); + aside.className = 'learn'; + + if (opts && opts.backend) { + // Remove demo link + var sourceLinks = aside.querySelector('.source-links'); + var heading = sourceLinks.firstElementChild; + var sourceLink = sourceLinks.lastElementChild; + // Correct link path + var href = sourceLink.getAttribute('href'); + sourceLink.setAttribute('href', href.substr(href.lastIndexOf('http'))); + sourceLinks.innerHTML = heading.outerHTML + sourceLink.outerHTML; + } else { + // Localize demo links + var demoLinks = aside.querySelectorAll('.demo-link'); + Array.prototype.forEach.call(demoLinks, function (demoLink) { + if (demoLink.getAttribute('href').substr(0, 4) !== 'http') { + demoLink.setAttribute('href', findRoot() + demoLink.getAttribute('href')); + } + }); + } + + document.body.className = (document.body.className + ' learn-bar').trim(); + document.body.insertAdjacentHTML('afterBegin', aside.outerHTML); + }; + + Learn.prototype.fetchIssueCount = function () { + var issueLink = document.getElementById('issue-count-link'); + if (issueLink) { + var url = issueLink.href.replace('https://github.com', 'https://api.github.com/repos'); + var xhr = new XMLHttpRequest(); + xhr.open('GET', url, true); + xhr.onload = function (e) { + var parsedResponse = JSON.parse(e.target.responseText); + if (parsedResponse instanceof Array) { + var count = parsedResponse.length; + if (count !== 0) { + issueLink.innerHTML = 'This app has ' + count + ' open issues'; + document.getElementById('issue-count').style.display = 'inline'; + } + } + }; + xhr.send(); + } + }; + + redirect(); + getFile('learn.json', Learn); +})(); diff --git a/examples/backbone/dist/index.html b/examples/backbone/dist/index.html index 7111360d37..e9e8efccf2 100644 --- a/examples/backbone/dist/index.html +++ b/examples/backbone/dist/index.html @@ -54,6 +54,7 @@

todos

<% } %> + diff --git a/examples/backbone/index.html b/examples/backbone/index.html index cbfc811ec4..7a3296e927 100644 --- a/examples/backbone/index.html +++ b/examples/backbone/index.html @@ -54,6 +54,7 @@

todos

<% } %> + diff --git a/examples/backbone/scripts/build.js b/examples/backbone/scripts/build.js index ff06b67734..9eb113678a 100644 --- a/examples/backbone/scripts/build.js +++ b/examples/backbone/scripts/build.js @@ -9,6 +9,7 @@ const htmlFile = "index.html"; const filesToMove = [ "node_modules/todomvc-common/base.css", + "node_modules/todomvc-common/base.js", "node_modules/todomvc-app-css/index.css", "node_modules/jquery/dist/jquery.min.js", "node_modules/underscore/underscore-min.js", diff --git a/examples/emberjs/todomvc/app/app.js b/examples/emberjs/todomvc/app/app.js index ab2699a7ff..7e7217fcdc 100644 --- a/examples/emberjs/todomvc/app/app.js +++ b/examples/emberjs/todomvc/app/app.js @@ -5,6 +5,7 @@ * things that wouldn't depend on user state. */ import 'todomvc-common/base.css'; +import 'todomvc-common/base.js'; import 'todomvc-app-css/index.css'; import Application from '@ember/application'; diff --git a/examples/emberjs/todomvc/app/components/attribution.gjs b/examples/emberjs/todomvc/app/components/attribution.gjs index 3e8af2a239..0ace31c59f 100644 --- a/examples/emberjs/todomvc/app/components/attribution.gjs +++ b/examples/emberjs/todomvc/app/components/attribution.gjs @@ -1,14 +1,13 @@ - diff --git a/examples/emberjs/todomvc/app/components/create.gjs b/examples/emberjs/todomvc/app/components/create.gjs index cf84d3c31f..e0c39c5245 100644 --- a/examples/emberjs/todomvc/app/components/create.gjs +++ b/examples/emberjs/todomvc/app/components/create.gjs @@ -4,29 +4,30 @@ import { service } from '@ember/service'; import { isBlank } from '@ember/utils'; export default class Create extends Component { - + - @service repo; + @service repo; - // TODO: we should use a
instead of this. - // this logic was copied from "the old way" - // which was Ember 3.2, and todomvc has historically - // been not great for a11y - createTodo = (event) => { - let { keyCode, target } = event; - let value = target.value.trim(); + // TODO: we should use a instead of this. + // this logic was copied from "the old way" + // which was Ember 3.2, and todomvc has historically + // been not great for a11y + createTodo = (event) => { + let { keyCode, target } = event; + let value = target.value.trim(); - if (keyCode === 13 && !isBlank(value)) { - this.repo.add({ title: value, completed: false }); - target.value = ''; - } - }; + if (keyCode === 13 && !isBlank(value)) { + this.repo.add({ title: value, completed: false }); + target.value = ''; + } + }; } diff --git a/examples/emberjs/todomvc/app/components/filters.gjs b/examples/emberjs/todomvc/app/components/filters.gjs index 1c7ce7a580..99cba5c53c 100644 --- a/examples/emberjs/todomvc/app/components/filters.gjs +++ b/examples/emberjs/todomvc/app/components/filters.gjs @@ -1,21 +1,21 @@ import { LinkTo } from '@ember/routing'; diff --git a/examples/emberjs/todomvc/app/components/todo-item.gjs b/examples/emberjs/todomvc/app/components/todo-item.gjs index f614cefd8f..5eec8ca6a6 100644 --- a/examples/emberjs/todomvc/app/components/todo-item.gjs +++ b/examples/emberjs/todomvc/app/components/todo-item.gjs @@ -5,70 +5,74 @@ import { service } from '@ember/service'; import { isBlank } from '@ember/utils'; export default class TodoItem extends Component { - + - @service repo; - @tracked editing; + @service repo; + @tracked editing; - removeTodo = () => this.repo.delete(this.args.todo); + removeTodo = () => this.repo.delete(this.args.todo); - toggleCompleted = (event) => { - this.args.todo.completed = event.target.checked; - this.repo.persist(); - } + toggleCompleted = (event) => { + this.args.todo.completed = event.target.checked; + this.repo.persist(); + }; - handleKeydown = (event) => { - if (event.keyCode === 13) { - event.target.blur(); - } else if (event.keyCode === 27) { - this.editing = false; - } - } - - startEditing = (event) => { - this.args.onStartEdit(); - this.editing = true; - - event.target.closest('li')?.querySelector('input.edit').focus(); + handleKeydown = (event) => { + if (event.keyCode === 13) { + event.target.blur(); + } else if (event.keyCode === 27) { + this.editing = false; } + }; - doneEditing = (event) => { - if (!this.editing) { return; } + startEditing = (event) => { + this.args.onStartEdit(); + this.editing = true; - let todoTitle = event.target.value.trim(); + event.target.closest('li')?.querySelector('input.edit').focus(); + }; - if (isBlank(todoTitle)) { - this.removeTodo(); - } else { - this.args.todo.title = todoTitle; - this.editing = false; - this.args.onEndEdit(); - } - } + doneEditing = (event) => { + if (!this.editing) { + return; + } + let todoTitle = event.target.value.trim(); + + if (isBlank(todoTitle)) { + this.removeTodo(); + } else { + this.args.todo.title = todoTitle; + this.editing = false; + this.args.onEndEdit(); + } + }; } diff --git a/examples/emberjs/todomvc/app/index.html b/examples/emberjs/todomvc/app/index.html index fa22f4e0ab..add8ccba1f 100644 --- a/examples/emberjs/todomvc/app/index.html +++ b/examples/emberjs/todomvc/app/index.html @@ -12,6 +12,7 @@ {{content-for "head-footer"}} + {{content-for "body"}} diff --git a/examples/emberjs/todomvc/app/templates/active.gjs b/examples/emberjs/todomvc/app/templates/active.gjs index 6e3239a12b..ffb6338283 100644 --- a/examples/emberjs/todomvc/app/templates/active.gjs +++ b/examples/emberjs/todomvc/app/templates/active.gjs @@ -3,10 +3,9 @@ import Route from 'ember-route-template'; import TodoList from 'todomvc/components/todo-list'; export default Route( - -) + , +); diff --git a/examples/emberjs/todomvc/app/templates/application.gjs b/examples/emberjs/todomvc/app/templates/application.gjs index 3ca03e54f1..573d292f7f 100644 --- a/examples/emberjs/todomvc/app/templates/application.gjs +++ b/examples/emberjs/todomvc/app/templates/application.gjs @@ -4,14 +4,13 @@ import Attribution from 'todomvc/components/attribution'; import Layout from 'todomvc/components/layout'; export default Route( - , +); diff --git a/examples/emberjs/todomvc/app/templates/completed.gjs b/examples/emberjs/todomvc/app/templates/completed.gjs index 7dd2d65602..a522a0392c 100644 --- a/examples/emberjs/todomvc/app/templates/completed.gjs +++ b/examples/emberjs/todomvc/app/templates/completed.gjs @@ -3,10 +3,9 @@ import Route from 'ember-route-template'; import TodoList from 'todomvc/components/todo-list'; export default Route( - -) + , +); diff --git a/examples/emberjs/todomvc/app/templates/index.gjs b/examples/emberjs/todomvc/app/templates/index.gjs index a2683bc5d2..1da36367b3 100644 --- a/examples/emberjs/todomvc/app/templates/index.gjs +++ b/examples/emberjs/todomvc/app/templates/index.gjs @@ -2,9 +2,9 @@ import Route from 'ember-route-template'; import TodoList from 'todomvc/components/todo-list'; export default Route( - -) + , +); diff --git a/examples/emberjs/todomvc/dist/assets/chunk.21a7dc4906237ee38116.js b/examples/emberjs/todomvc/dist/assets/chunk.21a7dc4906237ee38116.js new file mode 100644 index 0000000000..6a4385621a --- /dev/null +++ b/examples/emberjs/todomvc/dist/assets/chunk.21a7dc4906237ee38116.js @@ -0,0 +1,3 @@ +/*! For license information please see chunk.21a7dc4906237ee38116.js.LICENSE.txt */ +(self.webpackChunktodomvc=self.webpackChunktodomvc||[]).push([[7],{9220:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>A});var r=n(9624),i=(n(2698),n(7550));function s(e,t){let n=e.load(t);if(!n)throw new Error(t+" must export an initializer.");let r=n.default;if(!r)throw new Error(t+" must have a default export");return r.name||(r.name=t.slice(t.lastIndexOf("/")+1)),r}class o{constructor(e,t,n){this.limit=e,this.func=t,this.store=n,this.size=0,this.misses=0,this.hits=0,this.store=n||new Map}get(e){let t=this.store.get(e);return this.store.has(e)?(this.hits++,this.store.get(e)):(this.misses++,t=this.set(e,this.func(e)),t)}set(e,t){return this.limit>this.size&&(this.size++,this.store.set(e,t)),t}purge(){this.store.clear(),this.size=0,this.hits=0,this.misses=0}}const a=/[ _]/g,l=new o(1e3,(e=>{return(t=e,v.get(t)).replace(a,"-");var t})),u=/^(\-|_)+(.)?/,c=/(.)(\-|\_|\.|\s)+(.)?/g,h=/(^|\/|\.)([a-z])/g,d=new o(1e3,(e=>{const t=(e,t,n)=>n?`_${n.toUpperCase()}`:"",n=(e,t,n,r)=>t+(r?r.toUpperCase():""),r=e.split("/");for(let e=0;ee.toUpperCase()))})),p=/([a-z\d])([A-Z]+)/g,f=/\-|\s+/g,m=new o(1e3,(e=>e.replace(p,"$1_$2").replace(f,"_").toLowerCase())),g=/([a-z\d])([A-Z])/g,v=new o(1e3,(e=>e.replace(g,"$1_$2").toLowerCase()));class y{constructor(e){this._entries=e||globalThis.requirejs.entries}moduleNames(){return Object.keys(this._entries)}has(e){return e in this._entries}get(...e){return globalThis.require(...e)}}class b{static create(e){return new this(e)}static withModules(e){var t;return t=class extends(this){},(0,r.A)(t,"explicitModules",e),t}constructor(e){if((0,r.A)(this,"moduleBasedResolver",!0),(0,r.A)(this,"_deprecatedPodModulePrefix",!1),(0,r.A)(this,"_normalizeCache",Object.create(null)),(0,r.A)(this,"moduleNameLookupPatterns",[this.podBasedModuleName,this.podBasedComponentsInSubdir,this.mainModuleName,this.defaultModuleName,this.nestedColocationComponentModuleName]),Object.assign(this,e),!this._moduleRegistry){const e=this.constructor.explicitModules;e?this._moduleRegistry={moduleNames:()=>Object.keys(e),has:t=>Boolean(e[t]),get:t=>e[t]}:(void 0===globalThis.requirejs.entries&&(globalThis.requirejs.entries=globalThis.requirejs._eak_seen),this._moduleRegistry=new y)}this.pluralizedTypes=this.pluralizedTypes||Object.create(null),this.pluralizedTypes.config||(this.pluralizedTypes.config="config")}makeToString(e,t){return this.namespace.modulePrefix+"@"+t+":"}shouldWrapInClassFactory(){return!1}parseName(e){if(!0===e.parsedName)return e;let t,n,r,i=e.split("@");if(3===i.length){if(0===i[0].length){t=`@${i[1]}`;let e=i[2].split(":");n=e[0],r=e[1]}else t=`@${i[1]}`,n=i[0].slice(0,-1),r=i[2];"template:components"===n&&(r=`components/${r}`,n="template")}else if(2===i.length){let e=i[0].split(":");if(2===e.length)0===e[1].length?(n=e[0],r=`@${i[1]}`):(t=e[1],n=e[0],r=i[1]);else{let e=i[1].split(":");t=i[0],n=e[0],r=e[1]}"template"===n&&0===t.lastIndexOf("components/",0)&&(r=`components/${r}`,t=t.slice(11))}else i=e.split(":"),n=i[0],r=i[1];let s=r,o=this.namespace;return{parsedName:!0,fullName:e,prefix:t||this.prefix({type:n}),type:n,fullNameWithoutType:s,name:r,root:o,resolveMethodName:"resolve"+(a=n,d.get(a))};var a}resolveOther(e){_("`modulePrefix` must be defined",this.namespace.modulePrefix);let t=this.findModuleName(e);if(t){let r=this._extractDefaultExport(t,e);if(void 0===r)throw new Error(` Expected to find: '${e.fullName}' within '${t}' but got 'undefined'. Did you forget to 'export default' within '${t}'?`);return this.shouldWrapInClassFactory(r,e)&&(n=r,r={create:e=>"function"==typeof n.extend?n.extend(e):n}),r}var n}normalize(e){return this._normalizeCache[e]||(this._normalizeCache[e]=this._normalize(e))}resolve(e){let t,n=this.parseName(e),r=n.resolveMethodName;return"function"==typeof this[r]&&(t=this[r](n)),null==t&&(t=this.resolveOther(n)),t}_normalize(e){let t=e.split(":");if(t.length>1){let e=t[0];return"component"===e||"helper"===e||"modifier"===e||"template"===e&&0===t[1].indexOf("components/")?e+":"+t[1].replace(/_/g,"-"):e+":"+(n=t[1].replace(/\./g,"/"),l.get(n))}return e;var n}pluralize(e){return this.pluralizedTypes[e]||(this.pluralizedTypes[e]=e+"s")}podBasedLookupWithPrefix(e,t){let n=t.fullNameWithoutType;return"template"===t.type&&(n=n.replace(/^components\//,"")),e+"/"+n+"/"+t.type}podBasedModuleName(e){let t=this.namespace.podModulePrefix||this.namespace.modulePrefix;return this.podBasedLookupWithPrefix(t,e)}podBasedComponentsInSubdir(e){let t=this.namespace.podModulePrefix||this.namespace.modulePrefix;if(t+="/components","component"===e.type||/^components/.test(e.fullNameWithoutType))return this.podBasedLookupWithPrefix(t,e)}resolveEngine(e){let t=e.fullNameWithoutType+"/engine";if(this._moduleRegistry.has(t))return this._extractDefaultExport(t)}resolveRouteMap(e){let t=e.fullNameWithoutType,n=t+"/routes";if(this._moduleRegistry.has(n)){let e=this._extractDefaultExport(n);return _(`The route map for ${t} should be wrapped by 'buildRoutes' before exporting.`,e.isRouteMap),e}}resolveTemplate(e){return this.resolveOther(e)}mainModuleName(e){if("main"===e.fullNameWithoutType)return e.prefix+"/"+e.type}defaultModuleName(e){return e.prefix+"/"+this.pluralize(e.type)+"/"+e.fullNameWithoutType}nestedColocationComponentModuleName(e){if("component"===e.type)return e.prefix+"/"+this.pluralize(e.type)+"/"+e.fullNameWithoutType+"/index"}prefix(e){let t=this.namespace.modulePrefix;return this.namespace[e.type+"Prefix"]&&(t=this.namespace[e.type+"Prefix"]),t}findModuleName(e){let t,n=this.moduleNameLookupPatterns;for(let r=0,i=n.length;rr.length+i.length)return e+":"+t.slice(s+r.length,o);let a=n+"/"+this.pluralize(e)+"/";return 0===t.indexOf(a)&&t.length>a.length?e+":"+t.slice(a.length):void 0}_extractDefaultExport(e){let t=this._moduleRegistry.get(e,null,null,!0);return t&&t.default&&(t=t.default),t}}function _(e,t){if(!t)throw new Error(e)}(0,r.A)(b,"moduleBasedResolver",!0);var w=n(1593);class A extends i.Ay{constructor(...e){super(...e),(0,r.A)(this,"modulePrefix",w.default.modulePrefix),(0,r.A)(this,"podModulePrefix",w.default.podModulePrefix),(0,r.A)(this,"Resolver",b)}}!function(e,t){var n=t+"/initializers/",r=t+"/instance-initializers/",i=[],o=[];let a;a={names(){let e=globalThis.requirejs;if(!e||!e._eak_seen)throw new Error("No global AMD loader found. To use loadInitializers without a global AMD loader you must provide explicit modules");return Object.keys(e._eak_seen)},load:e=>globalThis.require(e,null,null,!0)};for(let e of a.names())e.startsWith(n)&&!e.endsWith("-test")?i.push(e):e.startsWith(r)&&!e.endsWith("-test")&&o.push(e);!function(e,t,n){for(let r of n)e.initializer(s(t,r))}(e,a,i),function(e,t,n){for(let r of n)e.instanceInitializer(s(t,r))}(e,a,o)}(A,w.default.modulePrefix)},1007:(e,t,n)=>{"use strict";var r=n(6364);let i=window.define;(0,r.A)(n(4055)),i("todomvc/app",(function(){return(0,r.A)(n(9220))})),i("todomvc/config/environment",(function(){return(0,r.A)(n(1593))})),i("todomvc/router",(function(){return(0,r.A)(n(2808))})),i("todomvc/services/repo",(function(){return(0,r.A)(n(7690))})),i("todomvc/services/ember-primitives/setup",(function(){return(0,r.A)(n(6145))})),i("todomvc/services/page-title",(function(){return(0,r.A)(n(4148))})),i("todomvc/component-managers/glimmer",(function(){return(0,r.A)(n(9605))})),i("todomvc/services/-ensure-registered",(function(){return(0,r.A)(n(4492))})),i("todomvc/templates/active",(function(){return(0,r.A)(n(3111))})),i("todomvc/routes/active",(function(){return(0,r.A)(n(5980))})),i("todomvc/templates/application",(function(){return(0,r.A)(n(7284))})),i("todomvc/routes/application",(function(){return(0,r.A)(n(9878))})),i("todomvc/templates/completed",(function(){return(0,r.A)(n(4240))})),i("todomvc/routes/completed",(function(){return(0,r.A)(n(877))})),i("todomvc/templates/index",(function(){return(0,r.A)(n(77))})),i("todomvc/routes/index",(function(){return(0,r.A)(n(4408))})),runningTests||(0,r.A)(n(9220)).default.create({})},876:(e,t,n)=>{"use strict";n.d(t,{A:()=>T});var r={};n.r(r),n.d(r,{PO:()=>u.P,rX:()=>l.S});var i=n(929),s=n(9624),o=n(5319),a=n(2705),l=n(3570),u=(n(3406),n(4265),n(943),n(3753),n(6502),n(6104),n(4453));n(2590),n(5866),new WeakMap;const{PO:c,rX:h}=r;var d,p,f,m,g=n(3221),v=n(4163),y=n(769),b=n(4919),_=n(2065);let w=(m=class extends a.A{constructor(...e){super(...e),(0,i.A)(this,"repo",p,this),(0,i.A)(this,"editing",f,this),(0,s.A)(this,"removeTodo",(()=>this.repo.delete(this.args.todo))),(0,s.A)(this,"toggleCompleted",(e=>{this.args.todo.completed=e.target.checked,this.repo.persist()})),(0,s.A)(this,"handleKeydown",(e=>{13===e.keyCode?e.target.blur():27===e.keyCode&&(this.editing=!1)})),(0,s.A)(this,"startEditing",(e=>{this.args.onStartEdit(),this.editing=!0,e.target.closest("li")?.querySelector("input.edit").focus()})),(0,s.A)(this,"doneEditing",(e=>{if(!this.editing)return;let t=e.target.value.trim();(0,y.z3)(t)?this.removeTodo():(this.args.todo.title=t,this.editing=!1,this.args.onEndEdit())}))}},(0,b.Et)((0,_.X)({id:"slSvx8lu",block:'[[[1,"\\n\\t\\t"],[10,"li"],[15,0,[29,[[52,[30,1,["completed"]],"completed"]," ",[52,[30,0,["editing"]],"editing"]]]],[12],[1,"\\n\\t\\t\\t"],[10,0],[14,0,"view"],[12],[1,"\\n\\t\\t\\t\\t"],[11,"input"],[24,0,"toggle"],[24,"aria-label","Toggle the completion state of this todo"],[16,"checked",[30,1,["completed"]]],[24,4,"checkbox"],[4,[32,0],["change",[30,0,["toggleCompleted"]]],null],[12],[13],[1,"\\n\\t\\t\\t\\t"],[11,"label"],[4,[32,0],["dblclick",[30,0,["startEditing"]]],null],[12],[1,[30,1,["title"]]],[13],[1,"\\n\\t\\t\\t\\t"],[11,"button"],[24,0,"destroy"],[24,"aria-label","Delete this todo"],[24,4,"button"],[4,[32,0],["click",[30,0,["removeTodo"]]],null],[12],[13],[1,"\\n\\t\\t\\t"],[13],[1,"\\n\\t\\t\\t"],[11,"input"],[24,0,"edit"],[24,"aria-label","Edit this todo"],[16,2,[30,1,["title"]]],[24,"autofocus",""],[4,[32,0],["blur",[30,0,["doneEditing"]]],null],[4,[32,0],["keydown",[30,0,["handleKeydown"]]],null],[12],[13],[1,"\\n\\t\\t"],[13],[1,"\\n\\t"]],["@todo"],false,["if"]]',moduleName:"/home/nvp/Development/OpenSource/todomvc/examples/emberjs/todomvc/node_modules/.embroider/rewritten-app/components/todo-item.js",scope:()=>[g.on],isStrictMode:!0}),m),d=m,p=(0,o.A)(d.prototype,"repo",[v.eu],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,o.A)(d.prototype,"editing",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d);var A,E,O,k;let T=(k=class extends a.A{constructor(...e){super(...e),(0,i.A)(this,"repo",E,this),(0,i.A)(this,"canToggle",O,this),(0,s.A)(this,"toggleAll",(()=>{let e=this.areViewableCompleted;this.args.todos.forEach((t=>t.completed=!e)),this.repo.persist()})),(0,s.A)(this,"enableToggle",(()=>this.canToggle=!0)),(0,s.A)(this,"disableToggle",(()=>this.canToggle=!1))}get areViewableCompleted(){return this.args.todos.filter((e=>e.completed)).length===this.args.todos.length}},(0,b.Et)((0,_.X)({id:"aQRTWtCi",block:'[[[1,"\\n\\t\\t"],[10,"section"],[14,0,"main"],[12],[1,"\\n"],[41,[30,1,["length"]],[[[41,[30,0,["canToggle"]],[[[1,"\\t\\t\\t\\t\\t"],[11,"input"],[24,1,"toggle-all"],[24,0,"toggle-all"],[16,"checked",[30,0,["areViewableCompleted"]]],[24,4,"checkbox"],[4,[32,0],["change",[30,0,["toggleAll"]]],null],[12],[13],[1,"\\n\\t\\t\\t\\t\\t"],[10,"label"],[14,"for","toggle-all"],[12],[1,"Mark all as complete"],[13],[1,"\\n"]],[]],null],[1,"\\t\\t\\t\\t"],[10,"ul"],[14,0,"todo-list"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,1]],null]],null],null,[[[1,"\\t\\t\\t\\t\\t\\t"],[8,[32,1],null,[["@todo","@onStartEdit","@onEndEdit"],[[30,2],[30,0,["disableToggle"]],[30,0,["enableToggle"]]]],null],[1,"\\n"]],[2]],null],[1,"\\t\\t\\t\\t"],[13],[1,"\\n"]],[]],null],[1,"\\t\\t"],[13],[1,"\\n\\t"]],["@todos","todo"],false,["if","each","-track-array"]]',moduleName:"/home/nvp/Development/OpenSource/todomvc/examples/emberjs/todomvc/node_modules/.embroider/rewritten-app/components/todo-list.js",scope:()=>[g.on,w],isStrictMode:!0}),k),A=k,E=(0,o.A)(A.prototype,"repo",[v.eu],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,o.A)(A.prototype,"canToggle",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),A)},1593:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=function(){try{var e="todomvc/config/environment",t=document.querySelector('meta[name="'+e+'"]').getAttribute("content"),n={default:JSON.parse(decodeURIComponent(t))};return Object.defineProperty(n,"__esModule",{value:!0}),n}catch(t){throw new Error('Could not read config from meta tag with name "'+e+'".')}}().default},2808:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(9624),i=n(3457),s=n(1593);class o extends i.A{constructor(...e){super(...e),(0,r.A)(this,"location",s.default.locationType),(0,r.A)(this,"rootURL",s.default.rootURL)}}o.map((function(){this.route("active"),this.route("completed")}))},5980:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,i,s=n(929),o=n(5319),a=n(6219),l=n(4163);let u=(r=class extends a.Ay{constructor(...e){super(...e),(0,s.A)(this,"repo",i,this)}model(){let e=this.repo;return{get todos(){return e.active}}}},i=(0,o.A)(r.prototype,"repo",[l.eu],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},9878:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,i,s=n(929),o=n(5319),a=n(6219),l=n(4163);let u=(r=class extends a.Ay{constructor(...e){super(...e),(0,s.A)(this,"repo",i,this)}beforeModel(){this.repo.load()}},i=(0,o.A)(r.prototype,"repo",[l.eu],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},877:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,i,s=n(929),o=n(5319),a=n(6219),l=n(4163);let u=(r=class extends a.Ay{constructor(...e){super(...e),(0,s.A)(this,"repo",i,this)}model(){let e=this.repo;return{get todos(){return e.completed}}}},i=(0,o.A)(r.prototype,"repo",[l.eu],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},4408:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,i,s=n(929),o=n(5319),a=n(6219),l=n(4163);let u=(r=class extends a.Ay{constructor(...e){super(...e),(0,s.A)(this,"repo",i,this)}model(){let e=this.repo;return{get todos(){return e.all}}}},i=(0,o.A)(r.prototype,"repo",[l.eu],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},7690:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>H});var r=n(9624),i=(n(6703),n(9328),n(5795),n(5886));n(7389),n(943),n(8107),n(6169),n(2590);const s=i.u;var o=n(4163),a=n(4453);class l{constructor(e,t){this._value=this._lastValue=e,this._isEqual=t}}function u(e,t){return e===t}function c(e,t=u){return new l(e,t)}function h(e){return e._value}function d(e,t){const{_isEqual:n,_lastValue:r}=e;n(t,r)||(e._value=e._lastValue=t)}!function(e,t,n,r){var i,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,n,o):i(t,n))||o);s>3&&o&&Object.defineProperty(t,n,o)}([a.r],l.prototype,"_value",void 0);class p{readStorageFor(e){const{storages:t}=this;let n=t.get(e);void 0===n&&(n=c(null,(()=>!1)),t.set(e,n)),h(n)}dirtyStorageFor(e){const t=this.storages.get(e);t&&d(t,null)}constructor(e){(0,r.A)(this,"collection",c(null,(()=>!1))),(0,r.A)(this,"storages",new Map),this.vals=e?new Map(e):new Map}get(e){return this.readStorageFor(e),this.vals.get(e)}has(e){return this.readStorageFor(e),this.vals.has(e)}entries(){return h(this.collection),this.vals.entries()}keys(){return h(this.collection),this.vals.keys()}values(){return h(this.collection),this.vals.values()}forEach(e){h(this.collection),this.vals.forEach(e)}get size(){return h(this.collection),this.vals.size}[Symbol.iterator](){return h(this.collection),this.vals[Symbol.iterator]()}get[Symbol.toStringTag](){return this.vals[Symbol.toStringTag]}set(e,t){return this.dirtyStorageFor(e),d(this.collection,null),this.vals.set(e,t),this}delete(e){return this.dirtyStorageFor(e),d(this.collection,null),this.vals.delete(e)}clear(){this.storages.forEach((e=>d(e,null))),d(this.collection,null),this.vals.clear()}}Object.setPrototypeOf(p.prototype,Map.prototype);class f{readStorageFor(e){const{storages:t}=this;let n=t.get(e);void 0===n&&(n=c(null,(()=>!1)),t.set(e,n)),h(n)}dirtyStorageFor(e){const t=this.storages.get(e);t&&d(t,null)}constructor(e){(0,r.A)(this,"storages",new WeakMap),this.vals=e?new WeakMap(e):new WeakMap}get(e){return this.readStorageFor(e),this.vals.get(e)}has(e){return this.readStorageFor(e),this.vals.has(e)}set(e,t){return this.dirtyStorageFor(e),this.vals.set(e,t),this}delete(e){return this.dirtyStorageFor(e),this.vals.delete(e)}get[Symbol.toStringTag](){return this.vals[Symbol.toStringTag]}}Object.setPrototypeOf(f.prototype,WeakMap.prototype);class m{storageFor(e){const t=this.storages;let n=t.get(e);return void 0===n&&(n=c(null,(()=>!1)),t.set(e,n)),n}dirtyStorageFor(e){const t=this.storages.get(e);t&&d(t,null)}constructor(e){(0,r.A)(this,"collection",c(null,(()=>!1))),(0,r.A)(this,"storages",new Map),this.vals=new Set(e)}has(e){return h(this.storageFor(e)),this.vals.has(e)}entries(){return h(this.collection),this.vals.entries()}keys(){return h(this.collection),this.vals.keys()}values(){return h(this.collection),this.vals.values()}forEach(e){h(this.collection),this.vals.forEach(e)}get size(){return h(this.collection),this.vals.size}[Symbol.iterator](){return h(this.collection),this.vals[Symbol.iterator]()}get[Symbol.toStringTag](){return this.vals[Symbol.toStringTag]}add(e){return this.dirtyStorageFor(e),d(this.collection,null),this.vals.add(e),this}delete(e){return this.dirtyStorageFor(e),d(this.collection,null),this.vals.delete(e)}clear(){this.storages.forEach((e=>d(e,null))),d(this.collection,null),this.vals.clear()}}Object.setPrototypeOf(m.prototype,Set.prototype);class g{storageFor(e){const t=this.storages;let n=t.get(e);return void 0===n&&(n=c(null,(()=>!1)),t.set(e,n)),n}dirtyStorageFor(e){const t=this.storages.get(e);t&&d(t,null)}constructor(e){(0,r.A)(this,"storages",new WeakMap),this.vals=new WeakSet(e)}has(e){return h(this.storageFor(e)),this.vals.has(e)}add(e){return this.vals.add(e),this.dirtyStorageFor(e),this}delete(e){return this.dirtyStorageFor(e),this.vals.delete(e)}get[Symbol.toStringTag](){return this.vals[Symbol.toStringTag]}}function v(e,t){var n=function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}(e,t);return function(e,t){return t.get?t.get.call(e):t.value}(e,n)}function y(e,t){_(e,t),t.add(e)}function b(e,t,n){_(e,t),t.set(e,n)}function _(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function w(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}Object.setPrototypeOf(g.prototype,WeakSet.prototype);const A=new Set([Symbol.iterator,"concat","entries","every","filter","find","findIndex","flat","flatMap","forEach","includes","indexOf","join","keys","lastIndexOf","map","reduce","reduceRight","slice","some","values"]),E=new Set(["fill","push","unshift"]);function O(e){if("symbol"==typeof e)return null;const t=Number(e);return isNaN(t)?null:t%1==0?t:null}var k=new WeakMap,T=new WeakMap,C=new WeakSet,S=new WeakSet;class R{static from(e,t,n){return new R(t?Array.from(e,t,n):Array.from(e))}static of(...e){return new R(e)}constructor(e=[]){y(this,S),y(this,C),b(this,k,{writable:!0,value:c(null,(()=>!1))}),b(this,T,{writable:!0,value:new Map});let t=e.slice(),n=this,r=new Map,i=!1;return new Proxy(t,{get(e,t){let s=O(t);if(null!==s)return w(n,C,x).call(n,s),h(v(n,k)),e[s];if("length"===t)return i?i=!1:h(v(n,k)),e[t];if(E.has(t)&&(i=!0),A.has(t)){let i=r.get(t);return void 0===i&&(i=(...r)=>(h(v(n,k)),e[t](...r)),r.set(t,i)),i}return e[t]},set(e,t,r){e[t]=r;let i=O(t);return null!==i?(w(n,S,D).call(n,i),d(v(n,k),null)):"length"===t&&d(v(n,k),null),!0},getPrototypeOf:()=>R.prototype})}}function x(e){let t=v(this,T).get(e);void 0===t&&(t=c(null,(()=>!1)),v(this,T).set(e,t)),h(t)}function D(e){const t=v(this,T).get(e);t&&d(t,null)}function P(e,t){N(e,t),t.add(e)}function I(e,t,n){N(e,t),t.set(e,n)}function N(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function M(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}Object.setPrototypeOf(R.prototype,Array.prototype);var F=new WeakMap,L=new WeakMap,B=new WeakSet,j=new WeakSet,z=new WeakSet;class U{static fromEntries(e){return new U(Object.fromEntries(e))}constructor(e={}){P(this,z),P(this,j),P(this,B),I(this,F,{writable:!0,value:new Map}),I(this,L,{writable:!0,value:c(null,(()=>!1))});let t=Object.getPrototypeOf(e),n=Object.getOwnPropertyDescriptors(e),r=Object.create(t);for(let e in n)Object.defineProperty(r,e,n[e]);let i=this;return new Proxy(r,{get:(e,t)=>(M(i,B,W).call(i,t),e[t]),has:(e,t)=>(M(i,B,W).call(i,t),t in e),ownKeys:e=>(h(v(i,L)),Reflect.ownKeys(e)),set:(e,t,n)=>(e[t]=n,M(i,j,Q).call(i,t),M(i,z,V).call(i),!0),deleteProperty:(e,t)=>(t in e&&(delete e[t],M(i,j,Q).call(i,t),M(i,z,V).call(i)),!0),getPrototypeOf:()=>U.prototype})}}function W(e){let t=v(this,F).get(e);void 0===t&&(t=c(null,(()=>!1)),v(this,F).set(e,t)),h(t)}function Q(e){const t=v(this,F).get(e);t&&d(t,null)}function V(){d(v(this,L),null)}class H extends o.Ay{constructor(...e){super(...e),(0,r.A)(this,"data",null),(0,r.A)(this,"load",(()=>{this.data=JSON.parse(window.localStorage.getItem("todos")||"[]").reduce(((e,t)=>(e.set(t.id,new U(t)),e)),new p)})),(0,r.A)(this,"clearCompleted",(()=>{this.completed.forEach(this.delete)})),(0,r.A)(this,"add",(e=>{let t=s();this.data.set(t,new U({...e,id:t})),this.persist()})),(0,r.A)(this,"delete",(e=>{this.data.delete(e.id),this.persist()})),(0,r.A)(this,"persist",(()=>{!function(e){let t=[...e.values()];window.localStorage.setItem("todos",JSON.stringify(t))}(this.data)}))}get all(){return[...this.data.values()]}get completed(){return this.all.filter((e=>e.completed))}get active(){return this.all.filter((e=>!e.completed))}get remaining(){return this.active}}},3111:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(7634),i=n(9778),s=n(876),o=n(4919),a=n(2065),l=n(424);const u=(0,i.A)((0,o.Et)((0,a.X)({id:"h53fDedb",block:'[[[1,"\\n\\t\\t"],[1,[28,[32,0],["Active"],null]],[1,"\\n\\n\\t\\t"],[8,[32,1],null,[["@todos"],[[30,1,["todos"]]]],null],[1,"\\n\\t"]],["@model"],false,[]]',moduleName:"/home/nvp/Development/OpenSource/todomvc/examples/emberjs/todomvc/node_modules/.embroider/rewritten-app/templates/active.js",scope:()=>[r.A,s.A],isStrictMode:!0}),(0,l.A)(void 0,void 0)))},7284:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});var r=n(7634),i=n(9778),s=n(4919),o=n(2065),a=n(424);const l=(0,s.Et)((0,o.X)({id:"lvdIxZ9d",block:'[[[1,"\\n\\t"],[10,"footer"],[14,0,"info"],[12],[1,"\\n\\t\\t"],[10,2],[12],[1,"Double-click to edit a todo"],[13],[1,"\\n\\t\\t"],[10,2],[12],[1,"\\n\\t\\t\\tCreated by\\n\\t\\t\\t"],[10,3],[14,6,"https://github.com/cibernox"],[12],[1,"Miguel Camba"],[13],[1,",\\n\\t\\t\\t"],[10,3],[14,6,"https://github.com/addyosmani"],[12],[1,"Addy Osmani"],[13],[1,",\\n\\t\\t\\t"],[10,3],[14,6,"https://github.com/NullVoxPopuli"],[12],[1,"NullVoxPopuli"],[13],[1,"\\n\\t\\t"],[13],[1,"\\n\\n\\t\\t"],[10,2],[12],[1,"Part of "],[10,3],[14,6,"https://todomvc.com"],[12],[1,"TodoMVC"],[13],[13],[1,"\\n\\t"],[13],[1,"\\n"]],[],false,[]]',moduleName:"/home/nvp/Development/OpenSource/todomvc/examples/emberjs/todomvc/node_modules/.embroider/rewritten-app/components/attribution.js",isStrictMode:!0}),(0,a.A)(void 0,"attribution"));var u=n(5680),c=(n(943),n(7551));class h extends u.A{compute(e){return(0,c.Q)(this).lookup(`service:${e[0]}`)}}const d=h;var p,f,m,g=n(929),v=n(9624),y=n(5319),b=n(2705),_=n(3221),w=n(4163),A=n(769);let E=(m=class extends b.A{constructor(...e){super(...e),(0,g.A)(this,"repo",f,this),(0,v.A)(this,"createTodo",(e=>{let{keyCode:t,target:n}=e,r=n.value.trim();13!==t||(0,A.z3)(r)||(this.repo.add({title:r,completed:!1}),n.value="")}))}},(0,s.Et)((0,o.X)({id:"RAV0r8Id",block:'[[[1,"\\n\\t\\t"],[11,"input"],[24,0,"new-todo"],[24,"aria-label","What needs to be done?"],[24,"placeholder","What needs to be done?"],[24,"autofocus",""],[4,[32,0],["keydown",[30,0,["createTodo"]]],null],[12],[13],[1,"\\n\\t"]],[],false,[]]',moduleName:"/home/nvp/Development/OpenSource/todomvc/examples/emberjs/todomvc/node_modules/.embroider/rewritten-app/components/create.js",scope:()=>[_.on],isStrictMode:!0}),m),p=m,f=(0,y.A)(p.prototype,"repo",[w.eu],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p);n(5795);var O=n(5886);n(7389),n(9328),n(8107),n(6169),n(2590),n(6703);const k=(0,s.Et)((0,o.X)({id:"JVSyEOad",block:'[[[1,"\\n\\t"],[10,"ul"],[14,0,"filters"],[12],[1,"\\n\\t\\t"],[10,"li"],[12],[1,"\\n\\t\\t\\t"],[8,[32,0],null,[["@route","@activeClass"],["index","selected"]],[["default"],[[[[1,"\\n\\t\\t\\t\\tAll\\n\\t\\t\\t"]],[]]]]],[1,"\\n\\t\\t"],[13],[1,"\\n\\t\\t"],[10,"li"],[12],[1,"\\n\\t\\t\\t"],[8,[32,0],null,[["@route","@activeClass"],["active","selected"]],[["default"],[[[[1,"\\n\\t\\t\\t\\tActive\\n\\t\\t\\t"]],[]]]]],[1,"\\n\\t\\t"],[13],[1,"\\n\\t\\t"],[10,"li"],[12],[1,"\\n\\t\\t\\t"],[8,[32,0],null,[["@route","@activeClass"],["completed","selected"]],[["default"],[[[[1,"\\n\\t\\t\\t\\tCompleted\\n\\t\\t\\t"]],[]]]]],[1,"\\n\\t\\t"],[13],[1,"\\n\\t"],[13],[1,"\\n"]],[],false,[]]',moduleName:"/home/nvp/Development/OpenSource/todomvc/examples/emberjs/todomvc/node_modules/.embroider/rewritten-app/components/filters.js",scope:()=>[O.L],isStrictMode:!0}),(0,a.A)(void 0,"filters"));function T(e){return 0===e||e>1?"items":"item"}const C=(0,s.Et)((0,o.X)({id:"t12/rraA",block:'[[[1,"\\n"],[44,[[28,[32,0],["repo"],null]],[[[1,"\\t\\t"],[10,"footer"],[14,0,"footer"],[12],[1,"\\n\\t\\t\\t"],[10,1],[14,0,"todo-count"],[12],[1,"\\n\\t\\t\\t\\t"],[10,"strong"],[12],[1,[30,1,["remaining","length"]]],[13],[1,"\\n\\t\\t\\t\\t"],[1,[28,[32,1],[[30,1,["remaining","length"]]],null]],[1,"\\n\\t\\t\\t\\tleft\\n\\t\\t\\t"],[13],[1,"\\n\\n\\t\\t\\t"],[8,[32,2],null,null,null],[1,"\\n\\n"],[41,[30,1,["completed","length"]],[[[1,"\\t\\t\\t\\t"],[11,"button"],[24,0,"clear-completed"],[24,4,"button"],[4,[32,3],["click",[30,1,["clearCompleted"]]],null],[12],[1,"\\n\\t\\t\\t\\t\\tClear completed\\n\\t\\t\\t\\t"],[13],[1,"\\n"]],[]],null],[1,"\\t\\t"],[13],[1,"\\n"]],[1]]]],["repo"],false,["let","if"]]',moduleName:"/home/nvp/Development/OpenSource/todomvc/examples/emberjs/todomvc/node_modules/.embroider/rewritten-app/components/footer.js",scope:()=>[d,T,k,_.on],isStrictMode:!0}),(0,a.A)(void 0,"footer"));function S(e){return e.length>0}const R=(0,s.Et)((0,o.X)({id:"/f2Pi5Yb",block:'[[[1,"\\n\\t"],[10,"section"],[14,0,"todoapp"],[12],[1,"\\n\\t\\t"],[10,"header"],[14,0,"header"],[12],[1,"\\n\\t\\t\\t"],[10,"h1"],[12],[1,"todos"],[13],[1,"\\n\\n\\t\\t\\t"],[8,[32,0],null,null,null],[1,"\\n\\t\\t"],[13],[1,"\\n\\n\\t\\t"],[18,2,null],[1,"\\n\\n"],[44,[[28,[32,1],["repo"],null]],[[[41,[28,[32,2],[[30,1,["all"]]],null],[[[1,"\\t\\t\\t\\t"],[8,[32,3],null,null,null],[1,"\\n"]],[]],null]],[1]]],[1,"\\t"],[13],[1,"\\n"]],["repo","&default"],false,["yield","let","if"]]',moduleName:"/home/nvp/Development/OpenSource/todomvc/examples/emberjs/todomvc/node_modules/.embroider/rewritten-app/components/layout.js",scope:()=>[E,d,S,C],isStrictMode:!0}),(0,a.A)(void 0,"layout")),x=(0,i.A)((0,s.Et)((0,o.X)({id:"bJmDDFgZ",block:'[[[1,"\\n\\t\\t"],[1,[28,[32,0],["TodoMVC"],null]],[1,"\\n\\n\\t\\t"],[8,[32,1],null,null,[["default"],[[[[1,"\\n\\t\\t\\t"],[46,[28,[31,1],null,null],null,null,null],[1,"\\n\\t\\t"]],[]]]]],[1,"\\n\\n\\t\\t"],[8,[32,2],null,null,null],[1,"\\n\\t"]],[],false,["component","-outlet"]]',moduleName:"/home/nvp/Development/OpenSource/todomvc/examples/emberjs/todomvc/node_modules/.embroider/rewritten-app/templates/application.js",scope:()=>[r.A,R,l],isStrictMode:!0}),(0,a.A)(void 0,void 0)))},4240:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(7634),i=n(9778),s=n(876),o=n(4919),a=n(2065),l=n(424);const u=(0,i.A)((0,o.Et)((0,a.X)({id:"OQaeSy4w",block:'[[[1,"\\n\\t\\t"],[1,[28,[32,0],["Completed"],null]],[1,"\\n\\n\\t\\t"],[8,[32,1],null,[["@todos"],[[30,1,["todos"]]]],null],[1,"\\n\\t"]],["@model"],false,[]]',moduleName:"/home/nvp/Development/OpenSource/todomvc/examples/emberjs/todomvc/node_modules/.embroider/rewritten-app/templates/completed.js",scope:()=>[r.A,s.A],isStrictMode:!0}),(0,l.A)(void 0,void 0)))},77:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(9778),i=n(876),s=n(4919),o=n(2065),a=n(424);const l=(0,r.A)((0,s.Et)((0,o.X)({id:"SlFzMhpn",block:'[[[1,"\\n"],[41,[30,1,["todos","length"]],[[[1,"\\t\\t\\t"],[8,[32,0],null,[["@todos"],[[30,1,["todos"]]]],null],[1,"\\n"]],[]],null],[1,"\\t"]],["@model"],false,["if"]]',moduleName:"/home/nvp/Development/OpenSource/todomvc/examples/emberjs/todomvc/node_modules/.embroider/rewritten-app/templates/index.js",scope:()=>[i.A],isStrictMode:!0}),(0,a.A)(void 0,void 0)))},4492:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(4163),i=n(7550);function s(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class o extends r.Ay{constructor(...e){super(...e),s(this,"classNonces",new WeakMap),s(this,"nonceCounter",0)}register(e,t=(0,i.QQ)(this)){let n=this.classNonces.get(e);return null==n&&(n="-ensure"+this.nonceCounter++,this.classNonces.set(e,n),t.register(`component:${n}`,e)),n}}},999:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(7550),i=n(537);class s{constructor(e,t){var n,i,s;n=this,s=void 0,(i=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(i="args"))in n?Object.defineProperty(n,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[i]=s,this.args=t,(0,r.km)(this,e)}get isDestroying(){return(0,i.Z)(this)}get isDestroyed(){return(0,i.E)(this)}willDestroy(){}}},537:(e,t,n)=>{"use strict";n.d(t,{E:()=>s,Z:()=>i});var r=n(3911);const i=r.default._isDestroying,s=r.default._isDestroyed},998:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(3911),i=(n(4831),n(7550)),s=n(4919);n(8107),n(999);var o=n(537);const{setDestroyed:a,setDestroying:l}=o,u=(0,s.R7)("3.13",{destructor:!0,asyncLifecycleCallbacks:!1,updateHook:!1}),c=r.default.destroy,h=r.default._registerDestructor;class d extends(function(e,t,n){return class{static create(e){return new this(t(e))}constructor(t){var r,i,s;r=this,s=n,(i=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(i="capabilities"))in r?Object.defineProperty(r,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):r[i]=s,e(this,t)}createComponent(e,n){return new e(t(this),n.named)}getContext(e){return e}}}(i.km,i.QQ,u)){createComponent(e,t){const n=super.createComponent(e,t);return h(n,(()=>{n.willDestroy()})),n}destroyComponent(e){c(e)}}const p=d},9605:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(998)},2705:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(4919),i=n(998);let s=n(999).A;(0,r.d2)((e=>new i.A(e)),s);const o=s},8167:(e,t,n)=>{"use strict";n.d(t,{U8:()=>c,UZ:()=>h});var r=n(2461),i=n(6399),s=(n(943),n(5757));function o(e){return Object.hasOwnProperty.call(e.since,"enabled")||r.E._ALL_DEPRECATIONS_ENABLED}let a=parseFloat(r.E._OVERRIDE_DEPRECATION_VERSION??i.A);function l(e){return function(e,t=a){let n=e.replace(/(\.0+)/g,"");return t>=parseFloat(n)}(e.until)}function u(e){return{options:e,test:!o(e),isEnabled:o(e)||l(e),isRemoved:l(e)}}const c={DEPRECATE_IMPORT_EMBER:e=>u({id:`deprecate-import-${(0,s._)(e).toLowerCase()}-from-ember`,for:"ember-source",since:{available:"5.10.0"},until:"6.0.0",url:`https://deprecations.emberjs.com/id/import-${(0,s._)(e).toLowerCase()}-from-ember`}),DEPRECATE_IMPLICIT_ROUTE_MODEL:u({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:u({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:u({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:u({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 h(e,t){const{options:n}=t;if(t.isRemoved)throw new Error(`The API deprecated by ${n.id} was removed in ember-source ${n.until}. The message was: ${e}. Please see ${n.url} for more details.`)}const{EXTEND_PROTOTYPES:d}=r.E;!1!==d.Array&&h("Array prototype extensions are deprecated. Follow the deprecation guide for migration instructions, and set EmberENV.EXTEND_PROTOTYPES to false in your config/environment.js",c.DEPRECATE_ARRAY_PROTOTYPE_EXTENSIONS)},124:(e,t,n)=>{"use strict";let r;n.d(t,{RM:()=>l,S:()=>s,cz:()=>o,jY:()=>i});const i={get onerror(){return r}};function s(){return r}function o(e){r=e}let a=null;function l(){return a}},1724:(e,t,n)=>{"use strict";n.d(t,{Xe:()=>d,mI:()=>p});var r=n(9624),i=n(7207);n(1719),n(943),n(5806);const s=Object.prototype,o=(0,i.s)("undefined");var a=function(e){return e[e.ADD=0]="ADD",e[e.ONCE=1]="ONCE",e[e.REMOVE=2]="REMOVE",e}(a||{});let l=1;class u{constructor(e){(0,r.A)(this,"_descriptors",void 0),(0,r.A)(this,"_mixins",void 0),(0,r.A)(this,"_isInit",void 0),(0,r.A)(this,"_lazyChains",void 0),(0,r.A)(this,"_values",void 0),(0,r.A)(this,"_revisions",void 0),(0,r.A)(this,"source",void 0),(0,r.A)(this,"proto",void 0),(0,r.A)(this,"_parent",void 0),(0,r.A)(this,"_listeners",void 0),(0,r.A)(this,"_listenersVersion",1),(0,r.A)(this,"_inheritedEnd",-1),(0,r.A)(this,"_flattenedVersion",0),this._parent=void 0,this._descriptors=void 0,this._mixins=void 0,this._lazyChains=void 0,this._values=void 0,this._revisions=void 0,this._isInit=!1,this.source=e,this.proto=void 0===e.constructor?void 0:e.constructor.prototype,this._listeners=void 0}get parent(){let e=this._parent;if(void 0===e){let t=c(this.source);this._parent=e=null===t||t===s?null:p(t)}return e}setInitializing(){this._isInit=!0}unsetInitializing(){this._isInit=!1}isInitializing(){return this._isInit}isPrototypeMeta(e){return this.proto===this.source&&this.source===e}_getOrCreateOwnMap(e){return this[e]||(this[e]=Object.create(null))}_getOrCreateOwnSet(e){return this[e]||(this[e]=new Set)}_findInheritedMap(e,t){let n=this;for(;null!==n;){let r=n[e];if(void 0!==r){let e=r.get(t);if(void 0!==e)return e}n=n.parent}}_hasInInheritedSet(e,t){let n=this;for(;null!==n;){let r=n[e];if(void 0!==r&&r.has(t))return!0;n=n.parent}return!1}valueFor(e){let t=this._values;return void 0!==t?t[e]:void 0}setValueFor(e,t){this._getOrCreateOwnMap("_values")[e]=t}revisionFor(e){let t=this._revisions;return void 0!==t?t[e]:void 0}setRevisionFor(e,t){this._getOrCreateOwnMap("_revisions")[e]=t}writableLazyChainsFor(e){let t=this._getOrCreateOwnMap("_lazyChains"),n=t[e];return void 0===n&&(n=t[e]=[]),n}readableLazyChainsFor(e){let t=this._lazyChains;if(void 0!==t)return t[e]}addMixin(e){this._getOrCreateOwnSet("_mixins").add(e)}hasMixin(e){return this._hasInInheritedSet("_mixins",e)}forEachMixins(e){let t,n=this;for(;null!==n;){let r=n._mixins;void 0!==r&&(t=void 0===t?new Set:t,r.forEach((n=>{t.has(n)||(t.add(n),e(n))}))),n=n.parent}}writeDescriptors(e,t){(this._descriptors||(this._descriptors=new Map)).set(e,t)}peekDescriptors(e){let t=this._findInheritedMap("_descriptors",e);return t===o?void 0:t}removeDescriptors(e){this.writeDescriptors(e,o)}forEachDescriptors(e){let t,n=this;for(;null!==n;){let r=n._descriptors;void 0!==r&&(t=void 0===t?new Set:t,r.forEach(((n,r)=>{t.has(r)||(t.add(r),n!==o&&e(r,n))}))),n=n.parent}}addToListeners(e,t,n,r,i){this.pushListener(e,t,n,r?a.ONCE:a.ADD,i)}removeFromListeners(e,t,n){this.pushListener(e,t,n,a.REMOVE)}pushListener(e,t,n,r,i=!1){let s=this.writableListeners(),o=f(s,e,t,n);if(-1!==o&&o0&&(e.splice(0,this._inheritedEnd),this._inheritedEnd=0);for(let n of t)-1===f(e,n.event,n.target,n.method)&&(e.unshift(n),this._inheritedEnd++)}}this._flattenedVersion=l}return this._listeners}matchingListeners(e){let t,n=this.flattenedListeners();if(void 0!==n)for(let r of n)r.event!==e||r.kind!==a.ADD&&r.kind!==a.ONCE||(void 0===t&&(t=[]),t.push(r.target,r.method,r.kind===a.ONCE));return t}observerEvents(){let e,t=this.flattenedListeners();if(void 0!==t)for(let n of t)n.kind!==a.ADD&&n.kind!==a.ONCE||-1===n.event.indexOf(":change")||(void 0===e&&(e=[]),e.push(n));return e}}const c=Object.getPrototypeOf,h=new WeakMap;function d(e){let t=h.get(e);if(void 0!==t)return t;let n=c(e);for(;null!==n;){if(t=h.get(n),void 0!==t)return t.proto!==n&&(t.proto=n),t;n=c(n)}return null}const p=function(e){let t=d(e);if(null!==t&&t.source===e)return t;let n=new u(e);return function(e,t){h.set(e,t)}(e,n),n};function f(e,t,n,r){for(let i=e.length-1;i>=0;i--){let s=e[i];if(s.event===t&&s.target===n&&s.method===r)return i}return-1}},3703:(e,t,n)=>{"use strict";n.d(t,{QQ:()=>s,T$:()=>i,km:()=>o});var r=n(7479);function i(e){return null!=e&&"function"==typeof e.create}function s(e){return(0,r.QQ)(e)}function o(e,t){(0,r.km)(e,t)}},3299:(e,t,n)=>{"use strict";var r=n(7202),i=n(8107),s=n(124);n(943),(0,r.c)("async",((e,t)=>{i.Xg.schedule("actions",null,e,t)})),(0,r.c)("after",(e=>{i.Xg.schedule(i.M4,null,e)})),(0,r.o)("error",(function(e){let t=function(e){if(!e)return;let t=e;return t.errorThrown?function(e){let t=e.errorThrown;return"string"==typeof t&&(t=new Error(t)),Object.defineProperty(t,"__reason_with_error_thrown__",{value:e,enumerable:!1}),t}(t):"UnrecognizedURLError"!==e.name&&"TransitionAborted"!==e.name?e:void 0}(e);if(t){let e=(0,s.RM)();if(!e)throw t;e(t)}}))},6306:(e,t,n)=>{"use strict";n.d(t,{A:()=>p,F:()=>h});var r=n(1724),i=n(9118),s=n(3570),o=(n(943),n(2590)),a=n(1719),l=n(7927),u=n(3753),c=(n(2461),n(6703));function h(e){let t=(0,s.g)(e,"content");return(0,o.Gw)((0,s.t)(e),(0,s.t)(t)),t}function d(e,t,n){let r=(0,o.Pz)(e),i=(0,o.gY)(e,t,r);if(t in e)return i;{let l=[i,(0,o.gY)(e,"content",r)],u=h(e);return(0,a.e)(u)&&l.push((0,s.a)(u,t,n)),(0,o.kg)(l)}}const p=i.Ay.create({content:null,init(){this._super(...arguments),(0,l.s)(this),(0,s.t)(this),(0,c.PE)(this,d)},willDestroy(){this.set("content",null),this._super(...arguments)},isTruthy:(0,s.c)("content",(function(){return Boolean((0,s.g)(this,"content"))})),unknownProperty(e){let t=h(this);return t?(0,s.g)(t,e):void 0},setUnknownProperty(e,t){let n=(0,r.mI)(this);if(n.isInitializing()||n.isPrototypeMeta(this))return(0,s.d)(this,e,null,t),t;let i=h(this);return(0,u.s)(i,e,t)}})},9242:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(9118),i=(n(1724),n(1719),n(943),n(5806),n(2590),n(6703),n(3570));n(2461);const s=r.Ay.create({mergedProperties:["actions"],send(e,...t){if(this.actions&&this.actions[e]&&!0!==this.actions[e].apply(this,t))return;let n=(0,i.g)(this,"target");n&&n.send(...arguments)}})},8399:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(9118).Ay.create({compare:null})},2047:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(8107);const i=n(9118).Ay.create({__container__:null,ownerInjection(){return this.__container__.ownerInjection()},lookup(e,t){return this.__container__.lookup(e,t)},destroy(){let e=this.__container__;e&&(0,r.fj)((()=>{e.destroy(),(0,r._)("destroy",e,"finalizeDestroy")})),this._super()},factoryFor(e){return this.__container__.factoryFor(e)}})},4903:(e,t,n)=>{"use strict";n.d(t,{A:()=>r}),n(943);const r=n(9118).Ay.create({__registry__:null,resolveRegistration(e){return this.__registry__.resolve(e)},register:i("register"),unregister:i("unregister"),hasRegistration:i("has"),registeredOption:i("getOption"),registerOptions:i("options"),registeredOptions:i("getOptions"),registerOptionsForType:i("optionsForType"),registeredOptionsForType:i("getOptionsForType")});function i(e){return function(...t){return this.__registry__[e](...t)}}},8079:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(2461),i=n(3570);n(1724),n(943),n(2590),n(1719),n(5806),n(6703);const s=n(9118).Ay.create({target:null,action:null,actionContext:null,actionContextObject:(0,i.c)("actionContext",(function(){let e=(0,i.g)(this,"actionContext");if("string"==typeof e){let t=(0,i.g)(this,e);return void 0===t&&(t=(0,i.g)(r.c.lookup,e)),t}return e})),triggerAction(e={}){let{action:t,target:n,actionContext:s}=e;t=t||(0,i.g)(this,"action"),n=n||function(e){let t=(0,i.g)(e,"target");if(t){if("string"==typeof t){let n=(0,i.g)(e,t);return void 0===n&&(n=(0,i.g)(r.c.lookup,t)),n}return t}return e._target?e._target:null}(this),void 0===s&&(s=(0,i.g)(this,"actionContextObject")||this);let o=Array.isArray(s)?s:[s];if(n&&t){let e;if(e=null!=(a=n)&&"object"==typeof a&&"function"==typeof a.send?n.send(t,...o):n[t](...o),!1!==e)return!0}var a;return!1}})},5757:(e,t,n)=>{"use strict";n.d(t,{L:()=>p,_:()=>d}),n(1719);var r=n(7755);const i=/[ _]/g,s=new r.C(1e3,(e=>{return(t=e,h.get(t)).replace(i,"-");var t})),o=/^(-|_)+(.)?/,a=/(.)(-|_|\.|\s)+(.)?/g,l=/(^|\/|\.)([a-z])/g,u=new r.C(1e3,(e=>{let t=(e,t,n)=>n?`_${n.toUpperCase()}`:"",n=(e,t,n,r)=>t+(r?r.toUpperCase():""),r=e.split("/");for(let e=0;ee.toUpperCase()))})),c=/([a-z\d])([A-Z])/g,h=new r.C(1e3,(e=>e.replace(c,"$1_$2").toLowerCase()));function d(e){return s.get(e)}function p(e){return u.get(e)}},1670:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(4831).Ay.extend({componentFor(e,t){let n=`component:${e}`;return t.factoryFor(n)},layoutFor(e,t,n){let r=`template:components/${e}`;return t.lookup(r,n)}})},9519:(e,t,n)=>{"use strict";n.d(t,{A:()=>s}),n(1724),n(1719),n(943),n(5806),n(2590),n(6703);var r=n(3570),i=(n(2461),n(9118));n(5975);const s=i.Ay.create({send(e,...t){let n=this.actions&&this.actions[e];if(n&&!0!==n.apply(this,t))return;let i=(0,r.g)(this,"target");i&&i.send(...arguments)}})},6034:(e,t,n)=>{"use strict";n.d(t,{A:()=>o}),n(1724),n(1719),n(943),n(5806),n(2590),n(6703);var r=n(3570),i=(n(2461),n(9118)),s=n(8919);const o=i.Ay.create({childViews:(0,r.B)({configurable:!1,enumerable:!1,get(){return(0,s.Zr)(this)}}),appendChild(e){(0,s.TE)(this,e)}})},6:(e,t,n)=>{"use strict";n.d(t,{A:()=>s}),n(1724),n(1719),n(943),n(5806),n(2590),n(6703),n(3570),n(2461);var r=n(9118);const i=Object.freeze([]),s=r.Ay.create({concatenatedProperties:["classNames","classNameBindings"],init(){this._super(...arguments)},classNames:i,classNameBindings:i})},1506:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(9118).Ay.create({_transitionTo(e){let t=this._currentState,n=this._currentState=this._states[e];this._state=e,t&&t.exit&&t.exit(this),n.enter&&n.enter(this)}})},3304:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(1719),i=(n(1724),n(943),n(5806),n(2590),n(6703),n(3570)),s=(n(2461),n(9118)),o=n(7513);function a(){return this}n(8919);const l=s.Ay.create({concatenatedProperties:["attributeBindings"],nearestOfType(e){let t=this.parentView,n=e instanceof s.Ay?t=>e.detect(t):t=>e.detect(t.constructor);for(;t;){if(n(t))return t;t=t.parentView}},nearestWithProperty(e){let t=this.parentView;for(;t;){if(e in t)return t;t=t.parentView}},rerender(){return this._currentState.rerender(this)},element:(0,i.B)({configurable:!1,enumerable:!1,get(){return this.renderer.getElement(this)}}),appendTo(e){let t;return t=o.h&&"string"==typeof e?document.querySelector(e):e,this.renderer.appendTo(this,t),this},append(){return this.appendTo(document.body)},elementId:null,willInsertElement:a,didInsertElement:a,willClearRender:a,destroy(){this._super(...arguments),this._currentState.destroy(this)},willDestroyElement:a,didDestroyElement:a,parentViewDidChange:a,tagName:null,init(){this._super(...arguments),this.elementId||""===this.tagName||(this.elementId=(0,r.g)(this))},handleEvent(e,t){return this._currentState.handleEvent(this,e,t)}})},3505:(e,t,n)=>{"use strict";function r(){}n.d(t,{A:()=>r}),r.registeredActions={}},8236:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9624),i=(n(3703),n(943),n(1724),n(1719),n(5806),n(2590),n(6703),n(3570)),s=n(3753),o=(n(2461),n(4831)),a=n(8919),l=n(3505);const u="ember-application";class c extends o.Ay{constructor(...e){super(...e),(0,r.A)(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"}),(0,r.A)(this,"rootElement","body"),(0,r.A)(this,"_eventHandlers",Object.create(null)),(0,r.A)(this,"_didSetup",!1),(0,r.A)(this,"finalEventNameMapping",null),(0,r.A)(this,"_sanitizedRootElement",null),(0,r.A)(this,"lazyEvents",new Map),(0,r.A)(this,"_reverseEventNameMapping",null)}setup(e,t){let n=this.finalEventNameMapping={...(0,i.g)(this,"events"),...e};this._reverseEventNameMapping=Object.keys(n).reduce(((e,t)=>{let r=n[t];return r?{...e,[r]:t}:e}),{});let r=this.lazyEvents;null!=t&&(0,s.s)(this,"rootElement",t);let o=(0,i.g)(this,"rootElement"),a="string"!=typeof o?o:document.querySelector(o);a.classList.add(u),this._sanitizedRootElement=a;for(let e in n)Object.prototype.hasOwnProperty.call(n,e)&&r.set(e,n[e]??null);this._didSetup=!0}setupHandlerForBrowserEvent(e){this.setupHandler(this._sanitizedRootElement,e,this.finalEventNameMapping[e]??null)}setupHandlerForEmberEvent(e){let t=this._reverseEventNameMapping?.[e];t&&this.setupHandler(this._sanitizedRootElement,t,e)}setupHandler(e,t,n){if(null===n||!this.lazyEvents.has(t))return;let r=(e,t)=>{let r=(0,a.GA)(e),i=!0;return r&&(i=r.handleEvent(n,t)),i},i=(e,t)=>{let r,i=e.getAttribute("data-ember-action");if(""===i){r=[];for(let t of e.attributes)if(0===t.name.indexOf("data-ember-action-")){let e=l.A.registeredActions[t.value];r.push(e)}}else if(i){let e=l.A.registeredActions[i];e&&(r=[e])}if(!r)return;let s=!0;for(let e=0;e{let t=e.target;do{if((0,a.GA)(t)){if(!1===r(t,e)){e.preventDefault(),e.stopPropagation();break}if(!0===e.cancelBubble)break}else if("function"==typeof t.hasAttribute&&t.hasAttribute("data-ember-action")&&!1===i(t,e))break;t=t.parentNode}while(t instanceof Element)};e.addEventListener(t,s),this.lazyEvents.delete(t)}destroy(){if(!1===this._didSetup)return;let e=this._sanitizedRootElement;if(e){for(let t in this._eventHandlers)e.removeEventListener(t,this._eventHandlers[t]);return e.classList.remove(u),this._super(...arguments)}}toString(){return"(EventDispatcher)"}}},8919:(e,t,n)=>{"use strict";n.d(t,{CB:()=>h,FF:()=>b,GA:()=>c,GG:()=>w,P_:()=>A,TE:()=>y,VP:()=>o,WN:()=>p,ZF:()=>a,Zj:()=>f,Zr:()=>v,r5:()=>m,sX:()=>d,xQ:()=>s});var r=n(3703),i=n(1719);function s(e){if(!(e instanceof MouseEvent))return!1;let t=e.shiftKey||e.metaKey||e.altKey||e.ctrlKey,n=e.which>1;return!t&&!n}function o(e){let t=e.lookup("-view-registry:main"),n=[];return Object.keys(t).forEach((e=>{let r=t[e];null===r.parentView&&n.push(r)})),n}function a(e){return""!==e.tagName&&e.elementId?e.elementId:(0,i.g)(e)}n(943);const l=new WeakMap,u=new WeakMap;function c(e){return l.get(e)||null}function h(e){return u.get(e)||null}function d(e,t){l.set(e,t)}function p(e,t){u.set(e,t)}function f(e){l.delete(e)}function m(e){u.delete(e)}const g=new WeakMap;function v(e){return function(e,t){let n=[],r=g.get(e);return void 0!==r&&r.forEach((e=>{let r=t[e];!r||r.isDestroying||r.isDestroyed||n.push(r)})),n}(e,(0,r.QQ)(e).lookup("-view-registry:main"))}function y(e,t){let n=g.get(e);void 0===n&&(n=function(e){let t=new Set;return g.set(e,t),t}(e)),n.add(a(t))}function b(e){return e.renderer.getBounds(e)}function _(e){let t=b(e),n=document.createRange();return n.setStartBefore(t.firstNode),n.setEndAfter(t.lastNode),n}function w(e){return _(e).getClientRects()}function A(e){return _(e).getBoundingClientRect()}"undefined"!=typeof Element&&Element.prototype.matches},2734:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(9624),i=(n(1724),n(1719),n(943),n(5806),n(2590),n(6703),n(3570)),s=(n(2461),n(4903),n(2047),n(8399),n(9242)),o=(n(6306),n(5812),n(8079),n(3299),n(8158)),a=n(1376),l=n(4586),u=n(8107);const c=Object.freeze({appendChild(){throw new Error("You can't use appendChild outside of the rendering process")},handleEvent:()=>!0,rerender(){},destroy(){}}),h=Object.freeze({...c}),d=Object.freeze({...c,rerender(e){e.renderer.rerender()},destroy(e){e.renderer.remove(e)},handleEvent:(e,t,n)=>!e.has(t)||(0,l.gP)(`interaction.${t}`,{event:n,view:e},(()=>(0,u.fj)(e,e.trigger,t,n)))}),p=Object.freeze({...d,enter(e){e.renderer.register(e)}}),f=Object.freeze({...c,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")}}),m=Object.freeze({preRender:h,inDOM:p,hasElement:d,destroying:f});var g,v=n(5381);var y=new WeakMap;class b extends(a.YD.extend(o.A,s.A)){constructor(...e){var t,n,i;super(...e),(0,r.A)(this,"isView",!0),(0,r.A)(this,"_superTrigger",void 0),(0,r.A)(this,"_superHas",void 0),t=this,n=y,i=void(0,v.i)(this,"renderer"),function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(t,n),n.set(t,i)}init(e){super.init(e),this._superTrigger=this.trigger,this.trigger=this._trigger,this._superHas=this.has,this.has=this._has,this.parentView??=null,this._state="preRender",this._currentState=this._states.preRender}instrumentDetails(e){return e.object=this.toString(),e.containerKey=this._debugContainerKey,e.view=this,e}_trigger(e,...t){this._superTrigger(e,...t);let n=this[e];if("function"==typeof n)return n.apply(this,t)}_has(e){return"function"==typeof this[e]||this._superHas(e)}}g=b,(0,v.d)(g.prototype,"renderer",[(0,i.p)("renderer","-dom")]),(0,r.A)(b,"isViewFactory",!0),b.prototype._states=m},7550:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>k,QQ:()=>E,km:()=>O});var r=n(9624),i=n(7551),s=(n(1719),n(4330)),o=(n(2461),n(7513)),a=(n(943),n(8107)),l=(n(1724),n(5806),n(2590),n(6703),n(3570),n(3989)),u=(n(4903),n(2047),n(8399),n(9242),n(6306),n(5812),n(8079),n(3299),n(3703)),c=n(8236),h=(n(1670),n(2734),n(6),n(6034),n(1506),n(3304),n(9519),n(3505),n(6219)),d=n(3457),p=n(8446),f=n(2048),m=n(6840),g=(n(47),n(7986),n(7202));n(6109),n(6706),n(7956);class v{constructor(){(0,r.A)(this,"cache",void 0),this.cache=new Map}has(e){return this.cache.has(e)}stash(e,t,n){let r=this.cache.get(e);void 0===r&&(r=new Map,this.cache.set(e,r)),r.set(t,n)}lookup(e,t,n){if(!this.has(e))return n;let r=this.cache.get(e);return r.has(t)?r.get(t):n}}var y=n(419),b=n(7900),_=n(7389),w=(n(5795),n(5886),n(7466)),A=(n(9328),n(6169),n(5611));const E=i.Q,O=u.km;class k extends b.Ay{constructor(...e){super(...e),(0,r.A)(this,"Router",void 0),(0,r.A)(this,"__deprecatedInstance__",void 0),(0,r.A)(this,"__container__",void 0),(0,r.A)(this,"_bootPromise",null),(0,r.A)(this,"_bootResolver",null)}static buildRegistry(e){let t=super.buildRegistry(e);return function(e){e.register("router:main",d.A),e.register("-view-registry:main",{create:()=>(0,s.m)(null)}),e.register("route:basic",h.Ay),e.register("event_dispatcher:main",c.A),e.register("location:hash",p.A),e.register("location:history",f.A),e.register("location:none",m.A),e.register(_.p`-bucket-cache:main`,{create:()=>new v}),e.register("service:router",A.A)}(t),(0,w.a)(t),t}init(e){super.init(e),this.rootElement??="body",this._document??=null,this.eventDispatcher??=null,this.customEvents??=null,this.autoboot??=!0,this._document??=o.h?window.document:null,this._globalsMode??=!0,this._readinessDeferrals=1,this._booted=!1,this._applicationInstances=new Set,this.autoboot=this._globalsMode=Boolean(this.autoboot),this._globalsMode&&this._prepareForGlobalsMode(),this.autoboot&&this.waitForDOMReady()}buildInstance(e={}){return y.A.create({...e,base:this,application:this})}_watchInstance(e){this._applicationInstances.add(e)}_unwatchInstance(e){return this._applicationInstances.delete(e)}_prepareForGlobalsMode(){this.Router=(this.Router||d.A).extend(),this._buildDeprecatedInstance()}_buildDeprecatedInstance(){let e=this.buildInstance();this.__deprecatedInstance__=e,this.__container__=e.__container__}waitForDOMReady(){const e=this._document;if(null===e||"loading"!==e.readyState)(0,a._)("actions",this,this.domReady);else{let t=()=>{e.removeEventListener("DOMContentLoaded",t),(0,a.eF)(this,this.domReady)};e.addEventListener("DOMContentLoaded",t)}}domReady(){this.isDestroying||this.isDestroyed||this._bootSync()}deferReadiness(){this._readinessDeferrals++}advanceReadiness(){this._readinessDeferrals--,0===this._readinessDeferrals&&(0,a.Oo)(this,this.didBecomeReady)}boot(){if(this._bootPromise)return this._bootPromise;try{this._bootSync()}catch(e){}return this._bootPromise}_bootSync(){if(this._booted||this.isDestroying||this.isDestroyed)return;let e=this._bootResolver=g.R.defer();this._bootPromise=e.promise;try{this.runInitializers(),(0,l.Oz)("application",this),this.advanceReadiness()}catch(t){throw e.reject(t),t}}reset(){let e=this.__deprecatedInstance__;this._readinessDeferrals=1,this._bootPromise=null,this._bootResolver=null,this._booted=!1,(0,a.fj)(this,(function(){(0,a.eF)(e,"destroy"),this._buildDeprecatedInstance(),(0,a._)("actions",this,"_bootSync")}))}didBecomeReady(){if(!this.isDestroying&&!this.isDestroyed)try{if(this.autoboot){let e;e=this._globalsMode?this.__deprecatedInstance__:this.buildInstance(),e._bootSync(),this.ready(),e.startRouting()}this._bootResolver.resolve(this),this._booted=!0}catch(e){throw this._bootResolver.reject(e),e}}ready(){return this}willDestroy(){super.willDestroy(),l.xb.application===this&&(l.xb.application=void 0),this._applicationInstances.size&&(this._applicationInstances.forEach((e=>e.destroy())),this._applicationInstances.clear())}visit(e,t){return this.boot().then((()=>{let n=this.buildInstance();return n.boot(t).then((()=>n.visit(e))).catch((e=>{throw(0,a.eF)(n,"destroy"),e}))}))}}(0,r.A)(k,"initializer",(0,b.At)("initializers","initializer")),(0,r.A)(k,"instanceInitializer",(0,b.At)("instanceInitializers","instance initializer"))},419:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(9624),i=(n(4831),n(7513)),s=n(47),o=(n(5795),n(5886)),a=(n(7389),n(943),n(9328),n(8107),n(6169),n(2590),n(6703),n(3457),n(1719),n(8236),n(1670),n(2734),n(6),n(6034),n(1506),n(3304),n(9519),n(3505),n(3753)),l=(n(1724),n(5806),n(3570));n(2461);class u extends s.A{constructor(...e){super(...e),(0,r.A)(this,"rootElement",null),(0,r.A)(this,"_router",void 0)}init(e){super.init(e),this.application._watchInstance(this),this.register("-application-instance:main",this,{instantiate:!1})}_bootSync(e){return this._booted||(e=new c(e),this.setupRegistry(e),e.rootElement?this.rootElement=e.rootElement:this.rootElement=this.application.rootElement,e.location&&(0,a.s)(this.router,"location",e.location),this.application.runInstanceInitializers(this),e.isInteractive&&this.setupEventDispatcher(),this._booted=!0),this}setupRegistry(e){this.constructor.setupRegistry(this.__registry__,e)}get router(){if(!this._router){let e=this.lookup("router:main");this._router=e}return this._router}didCreateRootView(e){e.appendTo(this.rootElement)}startRouting(){this.router.startRouting()}setupRouter(){this.router.setupRouter()}handleURL(e){return this.setupRouter(),this.router.handleURL(e)}setupEventDispatcher(){let e=this.lookup("event_dispatcher:main"),t=(0,l.g)(this.application,"customEvents"),n=(0,l.g)(this,"customEvents"),r=Object.assign({},t,n);return e.setup(r,this.rootElement),e}getURL(){return this.router.url}visit(e){this.setupRouter();let t=this.__container__.lookup("-environment:main"),n=this.router,r=()=>t.options.shouldRender?(0,o.r)().then((()=>this)):this,i=e=>{if(e.error&&e.error instanceof Error)throw e.error;if("TransitionAborted"===e.name&&n._routerMicrolib.activeTransition)return n._routerMicrolib.activeTransition.then(r,i);throw"TransitionAborted"===e.name?new Error(e.message):e},s=(0,l.g)(n,"location");return s.setURL(e),n.handleURL(s.getURL()).then(r,i)}willDestroy(){super.willDestroy(),this.application._unwatchInstance(this)}static setupRegistry(e,t={}){let n=t instanceof c?t:new c(t);e.register("-environment:main",n.toEnvironment(),{instantiate:!1}),e.register("service:-document",n.document,{instantiate:!1}),super.setupRegistry(e,n)}}class c{constructor(e={}){(0,r.A)(this,"isInteractive",void 0),(0,r.A)(this,"_renderMode",void 0),(0,r.A)(this,"isBrowser",void 0),(0,r.A)(this,"location",null),(0,r.A)(this,"shouldRender",void 0),(0,r.A)(this,"document",void 0),(0,r.A)(this,"rootElement",void 0),this.isInteractive=Boolean(i.h),this._renderMode=e._renderMode,void 0!==e.isBrowser?this.isBrowser=Boolean(e.isBrowser):this.isBrowser=Boolean(i.h),this.isBrowser||(this.isInteractive=!1,this.location="none"),void 0!==e.shouldRender?this.shouldRender=Boolean(e.shouldRender):this.shouldRender=!0,this.shouldRender||(this.isInteractive=!1),e.document?this.document=e.document:this.document="undefined"!=typeof document?document:null,e.rootElement&&(this.rootElement=e.rootElement),void 0!==e.location&&(this.location=e.location),void 0!==e.isInteractive&&(this.isInteractive=Boolean(e.isInteractive))}toEnvironment(){return{...i.e,hasDOM:this.isBrowser,isInteractive:this.isInteractive,_renderMode:this._renderMode,options:this}}}},3989:(e,t,n)=>{"use strict";n.d(t,{Oz:()=>u,kF:()=>l,xb:()=>a});var r=n(2461),i=n(7513);const s=r.E.EMBER_LOAD_HOOKS||{},o={};let a=o;function l(e,t){let n=o[e];(s[e]??=[]).push(t),n&&t(n)}function u(e,t){if(o[e]=t,i.w&&"function"==typeof CustomEvent){let n=new CustomEvent(e,{detail:t});i.w.dispatchEvent(n)}s[e]?.forEach((e=>e(t)))}},2253:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(9624),i=(n(1724),n(1719)),s=n(2161),o=(n(943),n(5806),n(2590),n(6703),n(3570)),a=n(5866),l=n(4831);class u extends l.Ay{init(e){super.init(e),(0,a.b)(this)}toString(){let e=(0,o.g)(this,"name")||(0,o.g)(this,"modulePrefix");if(e)return e;(0,a.c)();let t=(0,s.g)(this);return void 0===t&&(t=(0,i.g)(this),(0,s.s)(this,t)),t}nameClasses(){(0,a.d)(this)}destroy(){return(0,a.r)(this),super.destroy()}}(0,r.A)(u,"NAMESPACES",a.N),(0,r.A)(u,"NAMESPACES_BY_ID",a.a),(0,r.A)(u,"processAll",a.p),(0,r.A)(u,"byName",a.f),u.prototype.isNamespace=!0},5930:(e,t,n)=>{"use strict";n.d(t,{P:()=>s,z:()=>i});const r=new WeakSet;function i(e){r.add(e)}function s(e){return r.has(e)}},5761:(e,t,n)=>{"use strict";n.d(t,{A:()=>D,Ay:()=>C,M:()=>S,bq:()=>R,cy:()=>O});var r=n(3570),i=(n(1724),n(943),n(2590),n(1719),n(5806),n(6703),n(3753)),s=n(6502),o=n(2461),a=(n(4831),n(9118)),l=n(5730),u=n(5812),c=n(2999),h=n(1610),d=n(2678),p=n(5930);const f=Object.freeze([]),m=e=>e;function g(e,t=m){let n=D(),i=new Set,s="function"==typeof t?t:e=>(0,r.g)(e,t);return e.forEach((e=>{let t=s(e);i.has(t)||(i.add(t),n.push(e))})),n}function v(...e){let t=2===e.length,[n,i]=e;return t?e=>i===(0,r.g)(e,n):e=>Boolean((0,r.g)(e,n))}function y(e,t,n){let i=e.length;for(let s=n;s!r(e,t,n)),0)}function A(e,t,n=0,r){let i=e.length;return n<0&&(n+=i),y(e,r&&t!=t?e=>e!=e:e=>e===t,n)}function E(e,t,n){return(0,s.a)(e,t,0,[n]),n}function O(e){if(!e||e.setInterval)return!1;if(Array.isArray(e)||C.detect(e))return!0;let t=(0,c.A)(e);if("array"===t)return!0;let n=e.length;return"number"==typeof n&&n==n&&"object"===t}function k(e){let t=(0,r.c)(e);return t.enumerable=!1,t}function T(e){return this.map((t=>(0,r.g)(t,e)))}const C=a.Ay.create(l.A,{init(){this._super(...arguments),(0,p.z)(this)},objectsAt(e){return e.map((e=>(0,r.o)(this,e)))},"[]":k({get(){return this},set(e,t){return this.replace(0,this.length,t),this}}),firstObject:k((function(){return(0,r.o)(this,0)})).readOnly(),lastObject:k((function(){return(0,r.o)(this,this.length-1)})).readOnly(),slice(e=0,t){let n,i=D(),s=this.length;for(e<0&&(e=s+e),n=void 0===t||t>s?s:t<0?s+t:t;e=n)&&(t=n-1),t<0&&(t+=n);for(let n=t;n>=0;n--)if((0,r.o)(this,n)===e)return n;return-1},forEach(e,t=null){let n=this.length;for(let r=0;r(0,i.s)(n,e,t)))},map(e,t=null){let n=D();return this.forEach(((r,i,s)=>n[i]=e.call(t,r,i,s))),n},mapBy:T,filter(e,t=null){let n=D();return this.forEach(((r,i,s)=>{e.call(t,r,i,s)&&n.push(r)})),n},reject(e,t=null){return this.filter((function(){return!e.apply(t,arguments)}))},filterBy(){return this.filter(v(...arguments))},rejectBy(){return this.reject(v(...arguments))},find(e,t=null){return b(this,e,t)},findBy(){return b(this,v(...arguments))},every(e,t=null){return w(this,e,t)},isEvery(){return w(this,v(...arguments))},any(e,t=null){return _(this,e,t)},isAny(){return _(this,v(...arguments))},reduce(e,t){let n=t;return this.forEach((function(t,r){n=e(n,t,r,this)}),this),n},invoke(e,...t){let n=D();return this.forEach((r=>n.push(r[e]?.(...t)))),n},toArray(){return this.map((e=>e))},compact(){return this.filter((e=>null!=e))},includes(e,t){return-1!==A(this,e,t,!0)},sortBy(){let e=arguments;return this.toArray().sort(((t,n)=>{for(let i=0;it!==e:e=>e==e;return this.filter(t)}}),S=a.Ay.create(C,u.A,{clear(){let e=this.length;return 0===e||this.replace(0,e,f),this},insertAt(e,t){return E(this,e,t),this},removeAt(e,t){return function(e,t,n){return(0,s.a)(e,t,n??1,f),e}(this,e,t)},pushObject(e){return E(this,this.length,e)},pushObjects(e){return this.replace(this.length,0,e),this},popObject(){let e=this.length;if(0===e)return null;let t=(0,r.o)(this,e-1);return this.removeAt(e-1,1),t},shiftObject(){if(0===this.length)return null;let e=(0,r.o)(this,0);return this.removeAt(0),e},unshiftObject(e){return E(this,0,e)},unshiftObjects(e){return this.replace(0,0,e),this},reverseObjects(){let e=this.length;if(0===e)return this;let t=this.toArray().reverse();return this.replace(0,e,t),this},setObjects(e){if(0===e.length)return this.clear();let t=this.length;return this.replace(0,t,e),this},removeObject(e){let t=this.length||0;for(;--t>=0;)(0,r.o)(this,t)===e&&this.removeAt(t);return this},removeObjects(e){(0,r.m)();for(let t=e.length-1;t>=0;t--)this.removeObject(e[t]);return(0,r.l)(),this},addObject(e){return this.includes(e)||this.pushObject(e),this},addObjects(e){return(0,r.m)(),e.forEach((e=>this.addObject(e))),(0,r.l)(),this}});let R=a.Ay.create(S,d.A,{objectAt(e){return this[e]},replace(e,t,n=f){return(0,s.r)(this,e,t,n),this}});const x=["length"];let D;R.keys().forEach((e=>{Array.prototype[e]&&x.push(e)})),R=R.without(...x),o.E.EXTEND_PROTOTYPES.Array?(R.apply(Array.prototype,!0),D=function(e){return e||[]}):D=function(e){return(0,p.P)(e)?e:R.apply(e??[])}},4547:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const{isArray:r}=Array;function i(e){return null==e?[]:r(e)?e:[e]}},5680:(e,t,n)=>{"use strict";n.d(t,{A:()=>r.H}),n(5795);var r=n(5886);n(7389),n(943),n(9328),n(8107),n(6169),n(2590),n(6703)},4919:(e,t,n)=>{"use strict";n.d(t,{Et:()=>r.Et,R7:()=>r.QK,d2:()=>i.s});var r=n(6703),i=(n(5795),n(5886),n(7389),n(943),n(9328),n(8107),n(6169),n(2590),n(2989))},424:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(9328).W},7956:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>h,WQ:()=>d,w6:()=>c});var r=n(3703),i=(n(4831),n(1376)),s=n(3570),o=(n(1724),n(943),n(2590),n(7207)),a=(n(1719),n(5806),n(6703),n(2461),n(9118)),l=(n(4903),n(2047),n(8399),n(9242));n(6306),n(5812),n(8079),n(3299);const u=(0,o.s)("MODEL"),c=a.Ay.create(l.A,{isController:!0,concatenatedProperties:["queryParams"],target:null,store:null,init(){this._super(...arguments);let e=(0,r.QQ)(this);e&&(this.namespace=e.lookup("application:main"),this.target=e.lookup("router:main"))},model:(0,s.c)({get(){return this[u]},set(e,t){return this[u]=t}}),queryParams:null,_qpDelegate:null,_qpChanged(e,t){let n=t.indexOf(".[]"),r=-1===n?t:t.slice(0,n);(0,e._qpDelegate)(r,(0,s.g)(e,r))}});class h extends(i.YD.extend(c)){}function d(...e){return(0,s.p)("controller",...e)}},8468:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(9624),i=n(5757),s=n(4831),o=(n(1724),n(1719),n(943),n(5806),n(2590),n(6703),n(3570),n(2461),n(2999)),a=(n(4903),n(2047),n(8399),n(9242),n(6306),n(5812),n(8079),n(3299),n(3703)),l=n(2253);class u extends s.Ay{constructor(e){super(e),(0,r.A)(this,"resolver",void 0),this.resolver=(0,a.QQ)(this).lookup("resolver-for-debugging:main")}canCatalogEntriesByType(e){return"model"!==e&&"template"!==e}catalogEntriesByType(e){let t=l.A.NAMESPACES,n=[],r=new RegExp(`${(0,i.L)(e)}$`);return t.forEach((e=>{for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&r.test(t)){let s=e[t];"class"===(0,o.A)(s)&&n.push((0,i._)(t.replace(r,"")))}})),n}}},943:(e,t,n)=>{"use strict";n.d(t,{A1:()=>u,CI:()=>h,OB:()=>c,R8:()=>o,Yz:()=>a,pN:()=>l}),n(7513);var r=n(5520);n(1871),n(5975),n(1931);const i=()=>{};let s,o=i,a=i,l=i,u=i,c=function(){return arguments[arguments.length-1]};function h(...e){return(s??r.Ay)(...e)}},4529:(e,t,n)=>{"use strict";n.d(t,{v:()=>r});let r=()=>{}},1931:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6200);function i(e){return(0,r.E3)(e.lookup("renderer:-dom"),"BUG: owner is missing renderer").debugRenderTree.capture()}},5520:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>i,ik:()=>r}),n(2461),n(794);let r=()=>{};const i=()=>{}},794:(e,t,n)=>{},5975:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(4529);const{toString:i}=Object.prototype,{toString:s}=Function.prototype,{isArray:o}=Array,{keys:a}=Object,{stringify:l}=JSON,u=100,c=4,h=/^[\w$]+$/;function d(e){return"number"==typeof e&&2===arguments.length?this:p(e,0)}function p(e,t,n){let h=!1;switch(typeof e){case"undefined":return"undefined";case"object":if(null===e)return"null";if(o(e)){h=!0;break}if(e.toString===i||void 0===e.toString)break;return e.toString();case"function":return e.toString===s?e.name?`[Function:${e.name}]`:"[Function]":e.toString();case"string":return l(e);default:return e.toString()}if(void 0===n)n=new WeakSet;else if(n.has(e))return"[Circular]";return n.add(e),h?function(e,t,n){if(t>c)return"[Array]";let r="[";for(let i=0;i=u){r+=`... ${e.length-u} more items`;break}r+=p(e[i],t,n)}return r+=" ]",r}(e,t+1,n):function(e,t,n){if(t>c)return"[Object]";let i="{",s=a(e);for(let o=0;o=u){i+=`... ${s.length-u} more keys`;break}let a=s[o];(0,r.v)("has key",a),i+=`${f(String(a))}: ${p(e[a],t,n)}`}return i+=" }",i}(e,t+1,n)}function f(e){return h.test(e)?e:l(e)}},4135:(e,t,n)=>{"use strict";n.d(t,{f:()=>s,z:()=>i});let r=!1;function i(){return r}function s(e){r=Boolean(e)}},1871:(e,t,n)=>{"use strict";n.d(t,{ik:()=>r}),n(794);let r=()=>{}},7900:(e,t,n)=>{"use strict";n.d(t,{At:()=>_,Ay:()=>y});var r=n(9624),i=(n(5091),n(1719),n(7956)),s=n(2253),o=n(7389),a=function(){function e(){this._vertices=new l}return e.prototype.add=function(e,t,n,r){if(!e)throw new Error("argument `key` is required");var i=this._vertices,s=i.add(e);if(s.val=t,n)if("string"==typeof n)i.addEdge(s,i.add(n));else for(var o=0;o0){var r="cycle detected: "+t;throw this.each(this.path,(function(e){r+=" <- "+e})),new Error(r)}}},e.prototype.reset=function(){this.stack.length=0,this.path.length=0,this.result.length=0;for(var e=0,t=this.length;e=0){var a=this[o];if(a.flag)continue;if(a.flag=!0,i.push(o),t===a.key)break;r.push(~o),this.pushIncoming(a)}else i.pop(),s.push(~o)}},e.prototype.pushIncoming=function(e){for(var t=this.stack,n=e.length-1;n>=0;n--){var r=e[n];this[r].flag||t.push(r)}},e.prototype.each=function(e,t){for(var n=0,r=e.length;n{t.initialize(this)}))}runInstanceInitializers(e){this._runInitializer("instanceInitializers",((t,n)=>{n.initialize(e)}))}_runInitializer(e,t){let n,r=(0,d.g)(this.constructor,e),i=function(e){let t=[];for(let n in e)t.push(n);return t}(r),s=new a;for(let e of i)n=r[e],s.add(n.name,n,n.before,n.after);s.topsort(t)}}function b(e){let t={namespace:e};return e.Resolver.create(t)}function _(e,t){return function(t){let n=this.superclass;if(void 0!==n[e]&&n[e]===this[e]){let t={[e]:Object.create(this[e])};this.reopenClass(t)}this[e][t.name]=t}}(0,r.A)(y,"initializers",Object.create(null)),(0,r.A)(y,"instanceInitializers",Object.create(null)),(0,r.A)(y,"initializer",_("initializers")),(0,r.A)(y,"instanceInitializer",_("instanceInitializers"))},47:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(9624),i=n(4831),s=n(4903),o=n(2047),a=(n(8399),n(9242),n(6306),n(5812),n(8079),n(3299),n(943),n(7389)),l=n(1719),u=n(5091),c=(n(3703),n(7202));class h extends(i.Ay.extend(s.A,o.A)){constructor(...e){super(...e),(0,r.A)(this,u.iE,void 0),(0,r.A)(this,"_booted",!1),(0,r.A)(this,"_bootPromise",null)}static setupRegistry(e,t){}init(e){super.init(e),(0,l.g)(this),this.base??=this.application;let t=this.__registry__=new a.R({fallback:this.base.__registry__});this.__container__=t.container({owner:this}),this._booted=!1}boot(e){return this._bootPromise||(this._bootPromise=new c.R.Promise((t=>{t(this._bootSync(e))}))),this._bootPromise}_bootSync(e){return this._booted||(this.cloneParentDependencies(),this.setupRegistry(e),this.base.runInstanceInitializers(this),this._booted=!0),this}setupRegistry(e=this.__container__.lookup("-environment:main")){this.constructor.setupRegistry(this.__registry__,e)}unregister(e){this.__container__.reset(e),this.__registry__.unregister(e)}buildChildEngineInstance(e,t={}){let n=this.lookup(`engine:${e}`);if(!n)throw new Error(`You attempted to mount the engine '${e}', but it is not registered with its parent.`);let r=n.buildInstance(t);return(0,u.JI)(r,this),r}cloneParentDependencies(){const e=(0,u.vr)(this);["route:basic","service:-routing"].forEach((t=>{let n=e.resolveRegistration(t);this.register(t,n)}));let t=e.lookup("-environment:main");this.register("-environment:main",t,{instantiate:!1});let n=["router:main",a.p`-bucket-cache:main`,"-view-registry:main","renderer:-dom","service:-document"];t.isInteractive&&n.push("event_dispatcher:main"),n.forEach((t=>{let n=e.lookup(t);this.register(t,n,{instantiate:!1})}))}}},5091:(e,t,n)=>{"use strict";n.d(t,{JI:()=>s,iE:()=>r,vr:()=>i});const r=Symbol("ENGINE_PARENT");function i(e){return e[r]}function s(e,t){e[r]=t}},5730:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(9118).Ay.create()},5812:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5730);const i=n(9118).Ay.create(r.A)},4586:(e,t,n)=>{"use strict";n.d(t,{B1:()=>h,al:()=>d,cL:()=>p,gP:()=>l,r1:()=>c,wV:()=>a});var r=n(2461);n(943);let i=[],s={};const o=(()=>{let e="undefined"!=typeof window&&window.performance||{},t=e.now||e.mozNow||e.webkitNow||e.msNow||e.oNow;return t?t.bind(e):Date.now})();function a(e,t,n,r){let s,o,a;if(arguments.length<=3&&"function"==typeof t?(o=t,a=n):(s=t,o=n,a=r),0===i.length)return o.call(a);let l=s||{},h=c(e,(()=>l));return h===u?o.call(a):function(e,t,n,r){try{return e.call(r)}catch(e){throw n.exception=e,e}finally{t()}}(o,h,l,a)}function l(e,t,n){return n()}function u(){}function c(e,t,n){if(0===i.length)return u;let a=s[e];if(a||(a=function(e){let t=[];for(let n of i)n.regex.test(e)&&t.push(n.object);return s[e]=t,t}(e)),0===a.length)return u;let l,c=t(n),h=r.E.STRUCTURED_PROFILE;h&&(l=`${e}: ${c.object}`,console.time(l));let d=[],p=o();for(let t of a)d.push(t.before(e,p,c));const f=a;return function(){let t=o();for(let n=0;n{"use strict";n.d(t,{on:()=>r.on}),n(6703);var r=n(2324);n(5795),n(5886),n(7389),n(943),n(9328),n(8107),n(6169),n(2590)},2324:(e,t,n)=>{"use strict";n.d(t,{on:()=>r});const r=n(9328).on},1376:(e,t,n)=>{"use strict";n.d(t,{YD:()=>i}),n(1724),n(7207),n(1719),n(943),n(5806),n(2590),n(6703),n(3570),n(3406),n(2461);var r=n(4831);let i=class extends r.Ay{}},6481:(e,t,n)=>{"use strict";n.d(t,{L:()=>o}),n(1724),n(1719),n(943),n(5806);var r=n(2590),i=(n(6703),n(3570));n(2461);let s=function(e,t,n){let{get:i}=n;return void 0!==i&&(n.get=function(){let e,n=(0,r.gY)(this,t),s=(0,r.u4)((()=>{e=i.call(this)}));return(0,r.Gw)(n,s),(0,r.XE)(s),e}),n};function o(...e){if((0,i.i)(e)){let[t,n,r]=e;return s(t,n,r)}{const t=e[0];let n=function(e,n,r,i,o){return s(e,n,t)};return(0,i.s)(n),n}}(0,i.s)(o)},2568:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(9624),i=n(7389),s=n(3703),o=(n(7207),n(1719)),a=n(1724),l=(n(943),n(5806)),u=(n(2590),n(6703),n(3570)),c=(n(2461),n(9118)),h=(n(4903),n(2047),n(8399),n(9242),n(6306),n(5812),n(8079),n(3299),n(4547)),d=n(7479);const p=c.Ay.prototype.reopen,f=new WeakSet,m=new WeakMap,g=new Set;function v(e){g.has(e)||e.destroy()}function y(e,t){let n=(0,a.mI)(e);if(void 0!==t){let i=e.concatenatedProperties,s=e.mergedProperties,o=Object.keys(t);for(let a of o){let o=t[a],l=(0,u.b)(e,a,n),c=void 0!==l;if(!c){if(void 0!==i&&i.length>0&&i.includes(a)){let t=e[a];o=t?(0,h.A)(t).concat(o):(0,h.A)(o)}if(void 0!==s&&s.length>0&&s.includes(a)){let t=e[a];o=Object.assign({},t,o)}}c?l.set(e,a,o):"object"!=typeof(r=e)||null===r||"function"!=typeof r.setUnknownProperty||a in e?e[a]=o:e.setUnknownProperty(a,o)}}var r;e.init(t),n.unsetInitializing();let i=n.observerEvents();if(void 0!==i)for(let t=0;tn.willDestroy())),(0,a.mI)(t).setInitializing()}reopen(...e){return(0,c.AD)(this,e),this}init(e){}get isDestroyed(){return(0,l.EP)(this)}set isDestroyed(e){}get isDestroying(){return(0,l.ZL)(this)}set isDestroying(e){}destroy(){g.add(this);try{(0,l.zr)(this)}finally{g.delete(this)}return this}willDestroy(){}toString(){let e="object"==typeof this&&null!==this&&"function"==typeof this.toStringExtension?`:${this.toStringExtension()}`:"";return`<${(0,i.g)(this)||"(unknown)"}:${(0,o.g)(this)}${e}>`}static extend(...e){let t=class extends(this){};return p.apply(t.PrototypeMixin,e),t}static create(...e){let t,n=e[0];if(void 0!==n){t=new this((0,s.QQ)(n));let e=(0,i.g)(n);(0,i.s)(t,e)}else t=new this;return e.length<=1?y(t,n):y(t,_.apply(this,e)),t}static reopen(...e){return this.willReopen(),p.apply(this.PrototypeMixin,e),this}static willReopen(){let e=this.prototype;f.has(e)&&(f.delete(e),m.has(this)&&m.set(this,c.Ay.create(this.PrototypeMixin)))}static reopenClass(...e){return(0,c.AD)(this,e),this}static detect(e){if("function"!=typeof e)return!1;for(;e;){if(e===this)return!0;e=e.superclass}return!1}static detectInstance(e){return e instanceof this}static metaForProperty(e){let t=this.proto();return(0,u.b)(t,e)._meta||{}}static eachComputedProperty(e,t=this){this.proto();let n={};(0,a.mI)(this.prototype).forEachDescriptors(((r,i)=>{if(i.enumerable){let s=i._meta||n;e.call(t,r,s)}}))}static get PrototypeMixin(){let e=m.get(this);return void 0===e&&(e=c.Ay.create(),e.ownerConstructor=this,m.set(this,e)),e}static get superclass(){let e=Object.getPrototypeOf(this);return e!==Function.prototype?e:void 0}static proto(){let e=this.prototype;if(!f.has(e)){f.add(e);let t=this.superclass;t&&t.proto(),m.has(this)&&this.PrototypeMixin.apply(e)}return e}static toString(){return`<${(0,i.g)(this)||"(unknown)"}:constructor>`}}function _(...e){let t={};for(let n of e){let e=Object.keys(n);for(let r=0,i=e.length;r{"use strict";n.d(t,{A:()=>i}),n(1724),n(1719),n(943),n(5806),n(2590),n(6703);var r=n(3570);n(2461);const i=n(9118).Ay.create({on(e,t,n){return(0,r.G)(this,e,t,n),this},one(e,t,n){return(0,r.G)(this,e,t,n,!0),this},trigger(e,...t){(0,r.k)(this,e,t)},off(e,t,n){return(0,r.H)(this,e,t,n),this},has(e){return(0,r.x)(this,e)}})},4831:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u,PA:()=>p,XI:()=>d}),n(943);var r=n(2461),i=n(3570),s=(n(1724),n(2590),n(1719)),o=(n(5806),n(6703),n(3753),n(6104),n(7389)),a=n(2568),l=n(2678);class u extends(a.A.extend(l.A)){get _debugContainerKey(){let e=(0,o.g)(this);return void 0!==e&&e.fullName}}const c=new WeakMap;function h(e,t,n){var r;if(null!=(r=e)&&void 0!==r.constructor&&"function"==typeof r.constructor.proto&&e.constructor.proto(),!Object.prototype.hasOwnProperty.call(e,"actions")){let t=e.actions;e.actions=t?Object.assign({},t):{}}return e.actions[t]=n,{get(){let e=c.get(this);void 0===e&&(e=new Map,c.set(this,e));let t=e.get(n);return void 0===t&&(t=n.bind(this),e.set(n,t)),t}}}function d(...e){let t;if(!(0,i.i)(e)){t=e[0];let n=function(e,n,r,i,s){return h(e,n,t)};return(0,i.s)(n),n}let[n,r,s]=e;return t=s?.value,h(n,r,t)}function p(...e){let t,n,o,a=e.pop();"function"==typeof a?(t=a,n=e,o=!r.E._DEFAULT_ASYNC_OBSERVERS):(t=a.fn,n=a.dependentKeys,o=a.sync);let l=[];for(let e of n)(0,i.e)(e,(e=>l.push(e)));return(0,s.s)(t,{paths:l,sync:o}),t}(0,i.s)(d)},3858:(e,t,n)=>{"use strict";n.d(t,{Tu:()=>o});var r=n(3570),i=(n(1724),n(4265));function s(e,t){return(e,...n)=>{let i=function(e,t){let n=[];function i(e){n.push(e)}for(let e of t)(0,r.e)(e,i);return n}(0,[e,...n]);return(0,r.c)(...i,(function(){let e=i.length-1;for(let n=0;ne)),s(0,(e=>!e))},9118:(e,t,n)=>{"use strict";n.d(t,{AD:()=>b,Ay:()=>A,co:()=>_});var r=n(9624),i=(n(7389),n(1724)),s=n(1719),o=(n(943),n(3570)),a=(n(2590),n(5806),n(6703),n(5866));const l=Array.prototype.concat,{isArray:u}=Array;function c(e,t,n,r){let i=n[e]||r[e];return t[e]&&(i=i?l.call(i,t[e]):t[e]),i}function h(e,t,n,r){if(!0===n)return t;let i=n._getter;if(void 0===i)return t;let a=r[e],l="function"==typeof a?(0,o.E)(a):a;if(void 0===l||!0===l)return t;let u=l._getter;if(void 0===u)return t;let c,h=(0,s.w)(i,u),d=n._setter,p=l._setter;if(c=void 0!==p?void 0!==d?(0,s.w)(d,p):p:d,h!==i||c!==d){let e=n._dependentKeys||[],t=new o.C([...e,{get:h,set:c}]);return t._readOnly=n._readOnly,t._meta=n._meta,t.enumerable=n.enumerable,(0,o.F)(t,o.C)}return t}function d(e,t,n,r){if(void 0!==r[e])return t;let i=n[e];return"function"==typeof i?(0,s.w)(t,i):t}function p(e){return e?Array.isArray(e)?e:[e]:[]}function f(e,t,n){return p(n[e]).concat(p(t))}function m(e,t,n){let r=n[e];if(!r)return t;let i=Object.assign({},r),o=!1,a=Object.keys(t);for(let e of a){let n=t[e];"function"==typeof n?(o=!0,i[e]=d(e,n,r,{})):i[e]=n}return o&&(i._super=s.R),i}function g(e,t,n,r,i,s,o){let a;for(let l=0;l{let t=s.indexOf(e);-1!==t&&s.splice(t,1)})))}else v(t,a,n,r,i,s,o)}function v(e,t,n,r,i,s,a){let l=c("concatenatedProperties",t,r,i),u=c("mergedProperties",t,r,i),p=Object.keys(t);for(let c of p){let p=t[c];if(void 0===p)continue;if(-1===s.indexOf(c)){s.push(c);let t=e.peekDescriptors(c);if(void 0===t){if(!(0,o.f)(p)){let e=r[c]=i[c];"function"==typeof e&&y(i,c,e,!1)}}else n[c]=t,a.push(c),t.teardown(i,c,e)}let g="function"==typeof p;if(g){let e=(0,o.E)(p);if(void 0!==e){n[c]=h(c,p,e,n),r[c]=void 0;continue}}l&&l.indexOf(c)>=0||"concatenatedProperties"===c||"mergedProperties"===c?p=f(c,p,r):u&&u.indexOf(c)>-1?p=m(c,p,r):g&&(p=d(c,p,r,n)),r[c]=p,n[c]=void 0}}function y(e,t,n,r){let i=(0,s.o)(n);if(void 0===i)return;let{observers:a,listeners:l}=i;if(void 0!==a){let n=r?o.v:o.w;for(let r of a.paths)n(e,r,null,t,a.sync)}if(void 0!==l){let n=r?o.G:o.H;for(let r of l)n(e,r,null,t)}}function b(e,t,n=!1){let r=Object.create(null),a=Object.create(null),l=(0,i.mI)(e),u=[],c=[];e._super=s.R,g(t,l,r,a,e,u,c);for(let t of u){let i=a[t],s=r[t];void 0!==i?("function"==typeof i&&y(e,t,i,!0),(0,o.y)(e,t,i,-1!==c.indexOf(t),!n)):void 0!==s&&(0,o.z)(e,t,s,l)}return l.isPrototypeMeta(e)||(0,o.A)(e),e}function _(e,...t){return b(e,t),e}const w=new WeakSet;class A{constructor(e,t){(0,r.A)(this,"mixins",void 0),(0,r.A)(this,"properties",void 0),(0,r.A)(this,"ownerConstructor",void 0),(0,r.A)(this,"_without",void 0),w.add(this),this.properties=function(e){if(void 0!==e)for(let t of Object.keys(e)){let n=Object.getOwnPropertyDescriptor(e,t);void 0===n.get&&void 0===n.set||Object.defineProperty(e,t,{value:(0,o.B)(n)})}return e}(t),this.mixins=E(e),this.ownerConstructor=void 0,this._without=void 0}static create(...e){return(0,a.s)(),new this(e,void 0)}static mixins(e){let t=(0,i.Xe)(e),n=[];return null===t||t.forEachMixins((e=>{e.properties||n.push(e)})),n}reopen(...e){if(0===e.length)return this;if(this.properties){let e=new A(void 0,this.properties);this.properties=void 0,this.mixins=[e]}else this.mixins||(this.mixins=[]);return this.mixins=this.mixins.concat(E(e)),this}apply(e,t=!1){return b(e,[this],t)}applyPartial(e){return b(e,[this])}detect(e){if("object"!=typeof e||null===e)return!1;if(w.has(e))return O(e,this);let t=(0,i.Xe)(e);return null!==t&&t.hasMixin(this)}without(...e){let t=new A([this]);return t._without=e,t}keys(){return k(this)}toString(){return"(unknown mixin)"}}function E(e){let t,n=e&&e.length||0;if(n>0){t=new Array(n);for(let r=0;rO(e,t,n)))}function k(e,t=new Set,n=new Set){if(!n.has(e)){if(n.add(e),e.properties){let n=Object.keys(e.properties);for(let e of n)t.add(e)}else e.mixins&&e.mixins.forEach((e=>k(e,t,n)));return t}}},2678:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1724),i=(n(1719),n(943),n(5806),n(2590),n(6703),n(3570)),s=n(3753),o=n(6104);n(2461);const a=n(9118).Ay.create({get(e){return(0,i.g)(this,e)},getProperties(...e){return(0,o.g)(this,...e)},set(e,t){return(0,s.s)(this,e,t)},setProperties(e){return(0,o.s)(this,e)},beginPropertyChanges(){return(0,i.m)(),this},endPropertyChanges(){return(0,i.l)(),this},notifyPropertyChange(e){return(0,i.n)(this,e),this},addObserver(e,t,n,r){return(0,i.v)(this,e,t,n,r),this},removeObserver(e,t,n,r){return(0,i.w)(this,e,t,n,r),this},hasObserverFor(e){return(0,i.x)(this,`${e}:change`)},incrementProperty(e,t=1){return(0,s.s)(this,e,(parseFloat((0,i.g)(this,e))||0)+t)},decrementProperty(e,t=1){return(0,s.s)(this,e,((0,i.g)(this,e)||0)-t)},toggleProperty(e){return(0,s.s)(this,e,!(0,i.g)(this,e))},cacheFor(e){let t=(0,r.Xe)(this);return null!==t?t.valueFor(e):void 0}})},7551:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});const r=n(3703).QQ},8446:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(9624),i=n(4831),s=n(8107),o=n(2291);class a extends i.Ay{constructor(...e){super(...e),(0,r.A)(this,"_hashchangeHandler",void 0),(0,r.A)(this,"_location",void 0),(0,r.A)(this,"lastSetURL",null)}init(){this.location=this._location??window.location,this._hashchangeHandler=void 0}getHash(){return(0,o.Zd)(this.location)}getURL(){let e=this.getHash().substring(1),t=e;return"/"!==t[0]&&(t="/",e&&(t+=`#${e}`)),t}setURL(e){this.location.hash=e,this.lastSetURL=e}replaceURL(e){this.location.replace(`#${e}`),this.lastSetURL=e}onUpdateURL(e){this._removeEventListener(),this._hashchangeHandler=(0,s.oI)(this,(function(t){let n=this.getURL();this.lastSetURL!==n&&(this.lastSetURL=null,e(n))})),window.addEventListener("hashchange",this._hashchangeHandler)}formatURL(e){return`#${e}`}willDestroy(){this._removeEventListener()}_removeEventListener(){this._hashchangeHandler&&window.removeEventListener("hashchange",this._hashchangeHandler)}}},2048:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(9624),i=n(4831),s=(n(943),n(2291));let o=!1;function a(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){let t,n;return t=16*Math.random()|0,n="x"===e?t:3&t|8,n.toString(16)}))}class l extends i.Ay{constructor(...e){super(...e),(0,r.A)(this,"history",void 0),(0,r.A)(this,"_previousURL",void 0),(0,r.A)(this,"_popstateHandler",void 0),(0,r.A)(this,"rootURL","/")}getHash(){return(0,s.Zd)(this.location)}init(){this._super(...arguments);let e=document.querySelector("base"),t="";null!==e&&e.hasAttribute("href")&&(t=e.getAttribute("href")??""),this.baseURL=t,this.location=this.location??window.location,this._popstateHandler=void 0}initState(){let e=this.history??window.history;this.history=e;let{state:t}=e,n=this.formatURL(this.getURL());t&&t.path===n?this._previousURL=this.getURL():this.replaceState(n)}getURL(){let{location:e,rootURL:t,baseURL:n}=this,r=e.pathname;t=t.replace(/\/$/,""),n=n.replace(/\/$/,"");let i=r.replace(new RegExp(`^${n}(?=/|$)`),"").replace(new RegExp(`^${t}(?=/|$)`),"").replace(/\/\//g,"/");return i+=(e.search||"")+this.getHash(),i}setURL(e){let{state:t}=this.history;e=this.formatURL(e),t&&t.path===e||this.pushState(e)}replaceURL(e){let{state:t}=this.history;e=this.formatURL(e),t&&t.path===e||this.replaceState(e)}pushState(e){let t={path:e,uuid:a()};this.history.pushState(t,"",e),this._previousURL=this.getURL()}replaceState(e){let t={path:e,uuid:a()};this.history.replaceState(t,"",e),this._previousURL=this.getURL()}onUpdateURL(e){this._removeEventListener(),this._popstateHandler=()=>{(o||(o=!0,this.getURL()!==this._previousURL))&&e(this.getURL())},window.addEventListener("popstate",this._popstateHandler)}formatURL(e){let{rootURL:t,baseURL:n}=this;return""!==e?(t=t.replace(/\/$/,""),n=n.replace(/\/$/,"")):"/"===n[0]&&"/"===t[0]&&(n=n.replace(/\/$/,"")),n+t+e}willDestroy(){this._removeEventListener()}_removeEventListener(){this._popstateHandler&&window.removeEventListener("popstate",this._popstateHandler)}}},933:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(9624);n(943);let i=0;function s(e){return"function"==typeof e}class o{constructor(e=null,t){(0,r.A)(this,"parent",void 0),(0,r.A)(this,"matches",void 0),(0,r.A)(this,"enableLoadingSubstates",void 0),(0,r.A)(this,"explicitIndex",!1),(0,r.A)(this,"options",void 0),this.parent=e,this.enableLoadingSubstates=Boolean(t&&t.enableLoadingSubstates),this.matches=[],this.options=t}route(e,t,n){let r,i=null,u=`/_unused_dummy_error_path_route_${e}/:error`;if(s(t)?(r={},i=t):s(n)?(r=t,i=n):r=t||{},this.enableLoadingSubstates&&(l(this,`${e}_loading`,{resetNamespace:r.resetNamespace}),l(this,`${e}_error`,{resetNamespace:r.resetNamespace,path:u})),i){let t=a(this,e,r.resetNamespace),n=new o(t,this.options);l(n,"loading"),l(n,"error",{path:u}),i.call(n),l(this,e,r,n.generate())}else l(this,e,r)}push(e,t,n,r){let i=t.split(".");if(this.options.engineInfo){let e=t.slice(this.options.engineInfo.fullName.length+1),n=Object.assign({localFullName:e},this.options.engineInfo);r&&(n.serializeMethod=r),this.options.addRouteForEngine(t,n)}else if(r)throw new Error(`Defining a route serializer on route '${t}' outside an Engine is not allowed.`);""!==e&&"/"!==e&&"index"!==i[i.length-1]||(this.explicitIndex=!0),this.matches.push(e,t,n)}generate(){let e=this.matches;return this.explicitIndex||this.route("index",{path:"/"}),t=>{for(let n=0;n{"use strict";function r(e,t){let n=e.factoryFor("controller:basic").class;n=n.extend({toString:()=>`(generated ${t} controller)`});let r=`controller:${t}`;return e.register(r,n),e.factoryFor(r)}function i(e,t){r(e,t);let n=`controller:${t}`;return e.lookup(n)}n.d(t,{A:()=>i,C:()=>r}),n(1724),n(1719),n(943),n(5806),n(2590),n(6703),n(3570),n(2461),n(7956)},2291:(e,t,n)=>{"use strict";function r(e){return void 0!==e.hash?e.hash.substring(0):""}n.d(t,{Zd:()=>r})},6706:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(9624),i=n(3703),s=(n(943),n(1724),n(1719),n(5806),n(2590),n(6703),n(3570),n(2461),n(3858)),o=(n(4831),n(2568),n(4903),n(2047),n(8399),n(9242),n(6306),n(5812),n(8079),n(3299),n(5761),n(4163)),a=(n(3457),n(5611));class l extends o.Ay{constructor(...e){super(...e),(0,r.A)(this,a.i,void 0)}get router(){let e=this[a.i];if(void 0!==e)return e;let t=(0,i.QQ)(this).lookup("router:main");return t.setupRouter(),this[a.i]=t}hasRoute(e){return this.router.hasRoute(e)}transitionTo(e,t,n,r){let i=this.router._doTransition(e,t,n);return r&&i.method("replace"),i}normalizeQueryParams(e,t,n){this.router._prepareQueryParams(e,t,n)}_generateURL(e,t,n){let r={};return n&&(Object.assign(r,n),this.normalizeQueryParams(e,t,r)),this.router.generate(e,...t,{queryParams:r})}generateURL(e,t,n){if(this.router._initialTransitionStarted)return this._generateURL(e,t,n);try{return this._generateURL(e,t,n)}catch(e){return}}isActiveForRoute(e,t,n,r){let i=this.router._routerMicrolib.recognizer.handlersFor(n),s=i[i.length-1].handler,o=function(e,t){let n=0;for(let r=0;ro&&(n=s),r.isActiveIntent(n,e,t)}}l.reopen({targetState:(0,s.Tu)("router.targetState"),currentState:(0,s.Tu)("router.currentState"),currentRouteName:(0,s.Tu)("router.currentRouteName"),currentPath:(0,s.Tu)("router.currentPath")})},7571:(e,t,n)=>{"use strict";n.d(t,{Db:()=>u,FF:()=>m,Ie:()=>d,YE:()=>a,bN:()=>g,iP:()=>f,n0:()=>l,u$:()=>h}),n(1724),n(1719),n(943),n(5806),n(2590),n(6703);var r=n(3570),i=(n(2461),n(3703)),s=(n(47),n(7986),n(7202),n(6109));const o=/\./g;function a(e){let t,n,r=(e=e.slice())[e.length-1];return function(e){if(e&&"object"==typeof e){let t=e.queryParams;if(t&&"object"==typeof t)return Object.keys(t).every((e=>"string"==typeof e))}return!1}(r)?(e.pop(),t=r.queryParams):t={},"string"==typeof e[0]&&(n=e.shift()),{routeName:n,models:e,queryParams:t}}function l(e){let t=e.activeTransition?e.activeTransition[s.S].routeInfos:e.state.routeInfos;return t[t.length-1].name}function u(e,t){if(t._namesStashed)return;let n,r=t[t.length-1].name,i=e._routerMicrolib.recognizer.handlersFor(r);for(let e=0;e{"use strict";n.d(t,{A:()=>s});var r=n(9624),i=n(4831);n(943);class s extends i.Ay{constructor(...e){super(...e),(0,r.A)(this,"updateCallback",void 0)}initState(){this._super(...arguments);let{rootURL:e}=this}getURL(){let{path:e,rootURL:t}=this;return t=t.replace(/\/$/,""),e.replace(new RegExp(`^${t}(?=/|$)`),"")}setURL(e){this.path=e}onUpdateURL(e){this.updateCallback=e}handleURL(e){this.path=e,this.updateCallback&&this.updateCallback(e)}formatURL(e){let{rootURL:t}=this;return""!==e&&(t=t.replace(/\/$/,"")),t+e}}s.reopen({path:"",rootURL:"/"})},6219:(e,t,n)=>{"use strict";n.d(t,{Aw:()=>M,Ay:()=>S,cJ:()=>R,o1:()=>x,yc:()=>N});var r,i=n(9624),s=n(7389),o=n(3570),a=(n(1724),n(943),n(2590),n(1719)),l=n(7927),u=(n(5806),n(6703),n(3753)),c=n(6104),h=n(2461),d=n(3703),p=n(4831),f=n(8158),m=n(5761),g=(n(4903),n(2047),n(8399),n(9242)),v=(n(6306),n(5812),n(8079),n(3299),n(2999)),y=(n(7956),n(8167)),b=(n(47),n(6481)),_=n(8107),w=(n(7986),n(7202),n(6109)),A=n(5526),E=n(7571),O=n(5381),k=n(4135);const T=Symbol("render"),C=Symbol("render-state");class S extends(p.Ay.extend(g.A,f.A)){constructor(e){if(super(e),(0,i.A)(this,"context",{}),(0,i.A)(this,"_bucketCache",void 0),(0,i.A)(this,"_internalName",void 0),(0,i.A)(this,"_names",void 0),(0,i.A)(this,"_router",void 0),(0,i.A)(this,C,void 0),e){let t=e.lookup("router:main"),n=e.lookup(s.p`-bucket-cache:main`);this._router=t,this._bucketCache=n,this._topLevelViewTemplate=e.lookup("template:-outlet"),this._environment=e.lookup("-environment:main")}}serialize(e,t){if(t.length<1||!e)return;let n={};if(1===t.length){let[r]=t;"object"==typeof e&&r in e?n[r]=(0,o.g)(e,r):/_id$/.test(r)?n[r]=(0,o.g)(e,"id"):(0,l.i)(e)&&(n[r]=(0,o.g)(e,r))}else n=(0,c.g)(e,t);return n}_setRouteName(e){this.routeName=e;let t=(0,d.QQ)(this);this.fullRouteName=I(t,e)}_stashNames(e,t){if(this._names)return;let n=this._names=e._names;n.length||(n=(e=t)&&e._names||[]);let r=(0,o.g)(this,"_qp").qps,i=new Array(n.length);for(let t=0;t(e[t]=n,e)),s)}serializeQueryParamKey(e){return e}serializeQueryParam(e,t,n){return this._router._serializeQueryParam(e,n)}deserializeQueryParam(e,t,n){return this._router._deserializeQueryParam(e,n)}_optionsForQueryParam(e){const t=(0,o.g)(this,"queryParams");return(0,o.g)(t,e.urlKey)||(0,o.g)(t,e.prop)||t[e.urlKey]||t[e.prop]||{}}resetController(e,t,n){return this}exit(e){this.deactivate(e),this.trigger("deactivate",e),this.teardownViews()}_internalReset(e,t){let n=this.controller;n._qpDelegate=(0,o.g)(this,"_qp").states.inactive,this.resetController(n,e,t)}enter(e){this[C]=void 0,this.activate(e),this.trigger("activate",e)}deactivate(e){}activate(e){}intermediateTransitionTo(...e){let[t,...n]=(0,E.FF)(this,e);this._router.intermediateTransitionTo(t,...n)}refresh(){return this._router._routerMicrolib.refresh(this)}setup(e,t){let n=this.controllerName||this.routeName,r=this.controllerFor(n,!0)??this.generateController(n),i=(0,o.g)(this,"_qp");if(!this.controller){let e=i.propertyNames;!function(e,t){t.forEach((t=>{if(void 0===(0,o.b)(e,t)){let n=(0,a.l)(e,t);null===n||"function"!=typeof n.get&&"function"!=typeof n.set||(0,o.d)(e,t,(0,b.L)({get:n.get,set:n.set}))}(0,o.v)(e,`${t}.[]`,e,e._qpChanged,!1)}))}(r,e),this.controller=r}let s=i.states;if(r._qpDelegate=s.allowOverrides,t){(0,E.Db)(this._router,t[w.S].routeInfos);let e=this._bucketCache,n=t[w.P];i.propertyNames.forEach((t=>{let s=i.map[t];s.values=n;let o=(0,E.u$)(s.route.fullRouteName,s.parts,s.values),a=e.lookup(o,t,s.undecoratedDefaultValue);(0,u.s)(r,t,a)}));let s=D(this,t[w.S]);(0,c.s)(r,s)}this.setupController(r,e,t),this._environment.options.shouldRender&&this[T](),(0,o.I)(!1)}_qpChanged(e,t,n){if(!n)return;let r=this._bucketCache,i=(0,E.u$)(n.route.fullRouteName,n.parts,n.values);r.stash(i,e,t)}beforeModel(e){}afterModel(e,t){}redirect(e,t){}contextDidChange(){this.currentModel=this.context}model(e,t){let n,r,i,s=(0,o.g)(this,"_qp").map;for(let t in e){if("queryParams"===t||s&&t in s)continue;let o=t.match(/^(.*)_id$/);null!==o&&(n=o[1],i=e[t]),r=!0}if(!n){if(r)return Object.assign({},e);if(t.resolveIndex<1)return;return t[w.S].routeInfos[t.resolveIndex-1].context}return this.findModel(n,i)}deserialize(e,t){return this.model(this._paramsFor(this.routeName,e),t)}findModel(e,t){if(!h.E._NO_IMPLICIT_ROUTE_MODEL)return(0,y.UZ)(`The implicit model loading behavior for routes is deprecated. Please define an explicit model hook for ${this.fullRouteName}.`,y.U8.DEPRECATE_IMPLICIT_ROUTE_MODEL),("store"in this?this.store:(0,o.g)(this,"_store")).find(e,t)}setupController(e,t,n){e&&void 0!==t&&(0,u.s)(e,"model",t)}controllerFor(e,t=!1){let n=(0,d.QQ)(this),r=n.lookup(`route:${e}`);return r&&r.controllerName&&(e=r.controllerName),n.lookup(`controller:${e}`)}generateController(e){let t=(0,d.QQ)(this);return(0,A.A)(t,e)}modelFor(e){let t,n=(0,d.QQ)(this),r=this._router&&this._router._routerMicrolib?this._router._routerMicrolib.activeTransition:void 0;t=n.routable&&void 0!==r?I(n,e):e;let i=n.lookup(`route:${t}`);if(null!=r){let e=i&&i.routeName||t;if(Object.prototype.hasOwnProperty.call(r.resolvedModels,e))return r.resolvedModels[e]}return i?.currentModel}[T](){this[C]=function(e){let t=(0,d.QQ)(e),n=e.routeName,r=t.lookup(`controller:${e.controllerName||n}`),i=e.currentModel,s=t.lookup(`template:${e.templateName||n}`);return{owner:t,into:void 0,outlet:"main",name:n,controller:r,model:i,template:s?.(t)??e._topLevelViewTemplate(t)}}(this),(0,_.Oo)(this._router,"_setOutlets")}willDestroy(){this.teardownViews()}teardownViews(){this[C]&&(this[C]=void 0,(0,_.Oo)(this._router,"_setOutlets"))}buildRouteInfoMetadata(){}_paramsFor(e,t){return void 0!==this._router._routerMicrolib.activeTransition?this.paramsFor(e):t}get _store(){const e=(0,d.QQ)(this);return this.routeName,{find(t,n){let r=e.factoryFor(`model:${t}`);if(r)return r=r.class,r.find(n)}}}get _qp(){let e={},t=this.controllerName||this.routeName,n=(0,d.QQ)(this),r=n.lookup(`controller:${t}`),i=(0,o.g)(this,"queryParams"),s=Object.keys(i).length>0;if(r){let t=(0,o.g)(r,"queryParams")||[];e=function(e,t){let n={},r={defaultValue:!0,type:!0,scope:!0,as:!0};for(let i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]={...e[i],...t[i]},r[i]=!0);for(let i in t)Object.prototype.hasOwnProperty.call(t,i)&&!r[i]&&(n[i]={...t[i],...e[i]});return n}((0,E.Ie)(t),i)}else s&&(r=(0,A.A)(n,t),e=i);let a=[],l={},u=[];for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;if("unknownProperty"===n||"_super"===n)continue;let i,s=e[n],c=s.scope||"model";"controller"===c&&(i=[]);let h=s.as||this.serializeQueryParamKey(n),d=(0,o.g)(r,n);d=P(d);let p=s.type||(0,v.A)(d),f=this.serializeQueryParam(d,h,p),m=`${t}:${n}`,g={undecoratedDefaultValue:(0,o.g)(r,n),defaultValue:d,serializedDefaultValue:f,serializedValue:f,type:p,urlKey:h,prop:n,scopedPropertyName:m,controllerName:t,route:this,parts:i,values:null,scope:c};l[n]=l[h]=l[m]=g,a.push(g),u.push(n)}return{qps:a,map:l,propertyNames:u,states:{inactive:(e,t)=>{let n=l[e];this._qpChanged(e,t,n)},active:(e,t)=>{let n=l[e];return this._qpChanged(e,t,n),this._activeQPChanged(n,t)},allowOverrides:(e,t)=>{let n=l[e];return this._qpChanged(e,t,n),this._updatingQPChanged(n)}}}}}function R(e){return e[C]}function x(e,t){if(t.fullQueryParams)return t.fullQueryParams;let n=t.routeInfos.every((e=>e.route)),r={...t.queryParams};return e._deserializeQueryParams(t.routeInfos,r),n&&(t.fullQueryParams=r),r}function D(e,t){t.queryParamsFor=t.queryParamsFor||{};let n=e.fullRouteName,r=t.queryParamsFor[n];if(r)return r;let i=x(e._router,t),s=t.queryParamsFor[n]={},a=(0,o.g)(e,"_qp").qps;for(let e of a){let t=e.prop in i;s[e.prop]=t?i[e.prop]:P(e.defaultValue)}return s}function P(e){return Array.isArray(e)?(0,m.A)(e.slice()):e}function I(e,t){if(e.routable){let n=e.mountPoint;return"application"===t?n:`${n}.${t}`}return t}r=S,(0,i.A)(S,"isRouteFactory",!0),(0,O.a)(r.prototype,"_store",[o.c]),(0,O.a)(r.prototype,"_qp",[o.c]);const N=S.prototype.serialize;function M(e){return e.serialize===N}S.reopen({mergedProperties:["queryParams"],queryParams:{},templateName:null,controllerName:null,send(...e){if(this._router&&this._router._routerMicrolib||!(0,k.z)())this._router.send(...e);else{let t=e.shift(),n=this.actions[t];if(n)return n.apply(this,e)}},actions:{queryParamsDidChange(e,t,n){let r=(0,o.g)(this,"_qp").map,i=Object.keys(e).concat(Object.keys(n));for(let e of i){let t=r[e];if(t){let e=this._optionsForQueryParam(t);if((0,o.g)(e,"refreshModel")&&this._router.currentState){this.refresh();break}}}return!0},finalizeQueryParamChange(e,t,n){if("application"!==this.fullRouteName)return!0;if(!n)return;let r,i=n[w.S].routeInfos,s=this._router,a=s._queryParamsFor(i),l=s._qpUpdates,c=!1;(0,E.Db)(s,i);for(let i of a.qps){let s,a,h=i.route,d=h.controller,p=i.urlKey in e&&i.urlKey;if(l.has(i.urlKey)?(s=(0,o.g)(d,i.prop),a=h.serializeQueryParam(s,i.urlKey,i.type)):p?(a=e[p],void 0!==a&&(s=h.deserializeQueryParam(a,i.urlKey,i.type))):(a=i.serializedDefaultValue,s=P(i.defaultValue)),d._qpDelegate=(0,o.g)(h,"_qp").states.inactive,a!==i.serializedValue){if(n.queryParamsOnly&&!1!==r){let e=h._optionsForQueryParam(i),t=(0,o.g)(e,"replace");t?r=!0:!1===t&&(r=!1)}(0,u.s)(d,i.prop,s),c=!0}i.serializedValue=a,i.serializedDefaultValue===a||t.push({value:a,visible:!0,key:p||i.urlKey})}!0===c&&(0,o.I)(!1),r&&n.method("replace"),a.qps.forEach((e=>{let t=(0,o.g)(e.route,"_qp");e.route.controller._qpDelegate=(0,o.g)(t,"states.active")})),s._qpUpdates.clear()}}})},5611:(e,t,n)=>{"use strict";n.d(t,{A:()=>_,i:()=>p});var r,i=n(9624),s=n(3703),o=n(8158),a=(n(943),n(1724),n(1719),n(5806),n(2590)),l=(n(6703),n(3570),n(2461),n(3858)),u=(n(4831),n(2568),n(4903),n(2047),n(8399),n(9242),n(6306),n(5812),n(8079),n(3299),n(5761),n(4163)),c=(n(3457),n(7571)),h=n(5381);function d(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}const p=Symbol("ROUTER");function f(e,t){return"/"===t?e:e.substring(t.length)}var m=new WeakMap,g=new WeakMap,v=new WeakMap,y=new WeakMap,b=new WeakMap;class _ extends(u.Ay.extend(o.A)){constructor(...e){super(...e),(0,i.A)(this,p,void 0),d(this,m,void(0,h.i)(this,"currentRouteName")),d(this,g,void(0,h.i)(this,"currentURL")),d(this,v,void(0,h.i)(this,"location")),d(this,y,void(0,h.i)(this,"rootURL")),d(this,b,void(0,h.i)(this,"currentRoute"))}get _router(){let e=this[p];if(void 0!==e)return e;let t=(0,s.QQ)(this).lookup("router:main");return this[p]=t}willDestroy(){super.willDestroy(),this[p]=void 0}transitionTo(...e){if((0,c.iP)(e[0]))return this._router._doURLTransition("transitionTo",e[0]);let{routeName:t,models:n,queryParams:r}=(0,c.YE)(e);return this._router._doTransition(t,n,r,!0)}replaceWith(...e){return this.transitionTo(...e).method("replace")}urlFor(e,...t){return this._router.setupRouter(),this._router.generate(e,...t)}isActive(...e){let{routeName:t,models:n,queryParams:r}=(0,c.YE)(e),i=this._router._routerMicrolib;if((0,a.XE)((0,a.gY)(this._router,"currentURL")),!i.isActiveIntent(t,n))return!1;if(Object.keys(r).length>0){let e=t;r=Object.assign({},r),this._router._prepareQueryParams(e,n,r,!0);let s=Object.assign({},i.state.queryParams);return this._router._prepareQueryParams(e,n,s,!0),(0,c.bN)(r,s)}return!0}recognize(e){this._router.setupRouter();let t=f(e,this.rootURL);return this._router._routerMicrolib.recognize(t)}recognizeAndLoad(e){this._router.setupRouter();let t=f(e,this.rootURL);return this._router._routerMicrolib.recognizeAndLoad(t)}refresh(e){if(!e)return this._router._routerMicrolib.refresh();let t=(0,s.QQ)(this).lookup(`route:${e}`);return this._router._routerMicrolib.refresh(t)}}r=_,(0,h.d)(r.prototype,"currentRouteName",[(0,l.Tu)("_router.currentRouteName")]),(0,h.d)(r.prototype,"currentURL",[(0,l.Tu)("_router.currentURL")]),(0,h.d)(r.prototype,"location",[(0,l.Tu)("_router.location")]),(0,h.d)(r.prototype,"rootURL",[(0,l.Tu)("_router.rootURL")]),(0,h.d)(r.prototype,"currentRoute",[(0,l.Tu)("_router.currentRoute")])},3457:(e,t,n)=>{"use strict";n.d(t,{A:()=>U});var r=n(9624),i=n(7389),s=n(4831),o=n(7551),a=n(933),l=n(7571);class u{constructor(e,t,n){(0,r.A)(this,"router",void 0),(0,r.A)(this,"emberRouter",void 0),(0,r.A)(this,"routerJsState",void 0),this.emberRouter=e,this.router=t,this.routerJsState=n}isActiveIntent(e,t,n){let r=this.routerJsState;if(!this.router.isActiveIntent(e,t,void 0,r))return!1;if(void 0!==n&&Object.keys(n).length>0){let i=Object.assign({},n);return this.emberRouter._prepareQueryParams(e,t,i),(0,l.bN)(i,r.queryParams)}return!0}}var c=n(5761),h=n(3570),d=(n(1724),n(943),n(2590),n(1719),n(5806),n(6703),n(3753)),p=(n(2461),n(2999)),f=(n(4903),n(2047),n(8399),n(9242),n(6306),n(5812),n(8079),n(3299),n(8158)),m=n(8107),g=n(6219),v=n(7986),y=n(7202),b=n(6109);let _=new WeakMap;function w(e,t={},n={includeAttributes:!1,localizeMapUpdates:!1}){const r=new WeakMap;return e.map(((i,s)=>{let{name:o,params:a,paramNames:l,context:u,route:c}=i,h=i;if(_.has(h)&&n.includeAttributes){let e=_.get(h);e=function(e,t){let n={get metadata(){return E(e)}};return!Object.isExtensible(t)||t.hasOwnProperty("metadata")?Object.freeze(Object.assign({},t,n)):Object.assign(t,n)}(c,e);let t=A(e,u);return r.set(h,e),n.localizeMapUpdates||_.set(h,t),t}const d=n.localizeMapUpdates?r:_;let p={find(t,n){let r,i=[];3===t.length&&(i=e.map((e=>d.get(e))));for(let s=0;e.length>s;s++)if(r=d.get(e[s]),t.call(n,r,s,i))return r},get name(){return o},get paramNames(){return l},get metadata(){return E(i.route)},get parent(){let t=e[s-1];return void 0===t?null:d.get(t)},get child(){let t=e[s+1];return void 0===t?null:d.get(t)},get localName(){let e=this.name.split(".");return e[e.length-1]},get params(){return a},get queryParams(){return t}};return n.includeAttributes&&(p=A(p,u)),r.set(i,p),n.localizeMapUpdates||_.set(i,p),p}))}function A(e,t){let n={get attributes(){return t}};return!Object.isExtensible(e)||e.hasOwnProperty("attributes")?Object.freeze(Object.assign({},e,n)):Object.assign(e,n)}function E(e){return null!=e&&void 0!==e.buildRouteInfoMetadata?e.buildRouteInfoMetadata():null}class O{constructor(e,t,n,r){this._routePromise=void 0,this._route=null,this.params={},this.isResolved=!1,this.name=t,this.paramNames=n,this.router=e,r&&this._processRoute(r)}getModel(e){return y.P.resolve(this.context)}serialize(e){return this.params||{}}resolve(e){return y.P.resolve(this.routePromise).then((t=>((0,b.t)(e),t))).then((()=>this.runBeforeModelHook(e))).then((()=>(0,b.t)(e))).then((()=>this.getModel(e))).then((t=>((0,b.t)(e),t))).then((t=>this.runAfterModelHook(e,t))).then((t=>this.becomeResolved(e,t)))}becomeResolved(e,t){let n,r=this.serialize(t);e&&(this.stashResolvedModel(e,t),e[b.P]=e[b.P]||{},e[b.P][this.name]=r);let i=t===this.context;!("context"in this)&&i||(n=t);let s=_.get(this),o=new k(this.router,this.name,this.paramNames,r,this.route,n);return void 0!==s&&_.set(o,s),o}shouldSupersede(e){if(!e)return!0;let t=e.context===this.context;return e.name!==this.name||"context"in this&&!t||this.hasOwnProperty("params")&&!function(e,t){if(e===t)return!0;if(!e||!t)return!1;for(let n in e)if(e.hasOwnProperty(n)&&e[n]!==t[n])return!1;return!0}(this.params,e.params)}get route(){return null!==this._route?this._route:this.fetchRoute()}set route(e){this._route=e}get routePromise(){return this._routePromise||this.fetchRoute(),this._routePromise}set routePromise(e){this._routePromise=e}log(e,t){e.log&&e.log(this.name+": "+t)}updateRoute(e){return e._internalName=this.name,this.route=e}runBeforeModelHook(e){let t;return e.trigger&&e.trigger(!0,"willResolveModel",e,this.route),this.route&&void 0!==this.route.beforeModel&&(t=this.route.beforeModel(e)),(0,b.i)(t)&&(t=null),y.P.resolve(t)}runAfterModelHook(e,t){let n,r=this.name;return this.stashResolvedModel(e,t),void 0!==this.route&&void 0!==this.route.afterModel&&(n=this.route.afterModel(t,e)),n=(0,b.p)(n),y.P.resolve(n).then((()=>e.resolvedModels[r]))}stashResolvedModel(e,t){e.resolvedModels=e.resolvedModels||{},e.resolvedModels[this.name]=t}fetchRoute(){let e=this.router.getRoute(this.name);return this._processRoute(e)}_processRoute(e){return this.routePromise=y.P.resolve(e),(0,b.a)(e)?(this.routePromise=this.routePromise.then((e=>this.updateRoute(e))),this.route=void 0):e?this.updateRoute(e):void 0}}class k extends O{constructor(e,t,n,r,i,s){super(e,t,n,i),this.params=r,this.isResolved=!0,this.context=s}resolve(e){return e&&e.resolvedModels&&(e.resolvedModels[this.name]=this.context),y.P.resolve(this)}}class T extends O{constructor(e,t,n,r,i){super(e,t,n,i),this.params={},r&&(this.params=r)}getModel(e){let t=this.params;e&&e[b.Q]&&(t={},(0,b.m)(t,this.params),t.queryParams=e[b.Q]);let n,r=this.route;return r.deserialize?n=r.deserialize(t,e):r.model&&(n=r.model(t,e)),n&&(0,b.i)(n)&&(n=void 0),y.P.resolve(n)}}class C extends O{constructor(e,t,n,r){super(e,t,n),this.context=r,this.serializer=this.router.getSerializer(t)}getModel(e){return void 0!==this.router.log&&this.router.log(this.name+": resolving provided model"),super.getModel(e)}serialize(e){let{paramNames:t,context:n}=this;e||(e=n);let r={};if((0,b.b)(e))return r[t[0]]=e,r;if(this.serializer)return this.serializer.call(null,e,t);if(void 0!==this.route&&this.route.serialize)return this.route.serialize(e,t);if(1!==t.length)return;let i=t[0];return/_id$/.test(i)?r[i]=e.id:r[i]=e,r}}class S{constructor(e,t={}){this.router=e,this.data=t}}function R(e,t,n){let r=e.routeInfos,i=t.resolveIndex>=r.length?r.length-1:t.resolveIndex,s=t.isAborted;throw new I(n,e.routeInfos[i].route,s,e)}function x(e,t){if(t.resolveIndex===e.routeInfos.length)return;let n=e.routeInfos[t.resolveIndex],r=D.bind(null,e,t);return n.resolve(t).then(r,null,e.promiseLabel("Proceed"))}function D(e,t,n){let r=e.routeInfos[t.resolveIndex].isResolved;if(e.routeInfos[t.resolveIndex++]=n,!r){let{route:e}=n;void 0!==e&&e.redirect&&e.redirect(n.context,t)}return(0,b.t)(t),x(e,t)}class P{constructor(){this.routeInfos=[],this.queryParams={},this.params={}}promiseLabel(e){let t="";return(0,b.f)(this.routeInfos,(function(e){return""!==t&&(t+="."),t+=e.name,!0})),(0,b.c)("'"+t+"': "+e)}resolve(e){let t=this.params;(0,b.f)(this.routeInfos,(e=>(t[e.name]=e.params||{},!0))),e.resolveIndex=0;let n=x.bind(null,this,e),r=R.bind(null,this,e);return y.P.resolve(null,this.promiseLabel("Start transition")).then(n,null,this.promiseLabel("Resolve route")).catch(r,this.promiseLabel("Handle error")).then((()=>this))}}class I{constructor(e,t,n,r){this.error=e,this.route=t,this.wasAborted=n,this.state=r}}class N extends S{constructor(e,t,n,r=[],i={},s){super(e,s),this.preTransitionState=void 0,this.name=t,this.pivotHandler=n,this.contexts=r,this.queryParams=i}applyToState(e,t){let n=this.router.recognizer.handlersFor(this.name),r=n[n.length-1].handler;return this.applyToHandlers(e,n,r,t,!1)}applyToHandlers(e,t,n,r,i){let s,o,a=new P,l=this.contexts.slice(0),u=t.length;if(this.pivotHandler)for(s=0,o=t.length;s=0;--s){let o=t[s],c=o.handler,h=e.routeInfos[s],d=null;if(d=o.names.length>0?s>=u?this.createParamHandlerInfo(c,o.names,l,h):this.getHandlerInfoForDynamicSegment(c,o.names,l,h,n,s):this.createParamHandlerInfo(c,o.names,l,h),i){d=d.becomeResolved(null,d.context);let e=h&&h.context;o.names.length>0&&void 0!==h.context&&d.context===e&&(d.params=h&&h.params),d.context=e}let p=h;(s>=u||d.shouldSupersede(h))&&(u=Math.min(s,u),p=d),r&&!i&&(p=p.becomeResolved(null,p.context)),a.routeInfos.unshift(p)}if(l.length>0)throw new Error("More context objects were passed than there are dynamic segments for the route: "+n);return r||this.invalidateChildren(a.routeInfos,u),(0,b.m)(a.queryParams,this.queryParams||{}),r&&e.queryParams&&(0,b.m)(a.queryParams,e.queryParams),a}invalidateChildren(e,t){for(let n=t,r=e.length;n0){if(o=n[n.length-1],(0,b.b)(o))return this.createParamHandlerInfo(e,t,n,r);n.pop()}else{if(r&&r.name===e)return r;if(!this.preTransitionState)return r;{let e=this.preTransitionState.routeInfos[s];o=null==e?void 0:e.context}}return new C(this.router,e,t,o)}createParamHandlerInfo(e,t,n,r){let i={},s=t.length,o=[];for(;s--;){let a=r&&e===r.name&&r.params||{},l=n[n.length-1],u=t[s];(0,b.b)(l)?i[u]=""+n.pop():a.hasOwnProperty(u)?i[u]=a[u]:o.push(u)}if(o.length>0)throw new Error(`You didn't provide enough string/numeric parameters to satisfy all of the dynamic segments for route ${e}. Missing params: ${o}`);return new T(this.router,e,t,i)}}class M extends S{constructor(e,t,n){super(e,n),this.url=t,this.preTransitionState=void 0}applyToState(e){let t,n,r=new P,i=this.router.recognizer.recognize(this.url);if(!i)throw new b.U(this.url);let s=!1,o=this.url;function a(e){if(e&&e.inaccessibleByURL)throw new b.U(o);return e}for(t=0,n=i.length;t=0&&r;--n){let i=t[n],s=i.handler;e.add(t,{as:s}),r="/"===i.path||""===i.path||".index"===s.slice(-6)}}))}hasRoute(e){return this.recognizer.hasRoute(e)}queryParamsTransition(e,t,n,r){if(this.fireQueryParamDidChange(r,e),!t&&this.activeTransition)return this.activeTransition;{let e=new b.T(this,void 0,void 0);return e.queryParamsOnly=!0,n.queryParams=this.finalizeQueryParamChange(r.routeInfos,r.queryParams,e),e[b.Q]=r.queryParams,this.toReadOnlyInfos(e,r),this.routeWillChange(e),e.promise=e.promise.then((t=>(e.isAborted||(this._updateURL(e,n),this.didTransition(this.currentRouteInfos),this.toInfos(e,r.routeInfos,!0),this.routeDidChange(e)),t)),null,(0,b.c)("Transition complete")),e}}transitionByIntent(e,t){try{return this.getTransitionByIntent(e,t)}catch(t){return new b.T(this,e,void 0,t,void 0)}}recognize(e){let t=new M(this,e),n=this.generateNewState(t);if(null===n)return n;let r=w(n.routeInfos,n.queryParams,{includeAttributes:!1,localizeMapUpdates:!0});return r[r.length-1]}recognizeAndLoad(e){let t=new M(this,e),n=this.generateNewState(t);if(null===n)return y.P.reject(`URL ${e} was not recognized`);let r=new b.T(this,t,n,void 0);return r.then((()=>{let e=w(n.routeInfos,r[b.Q],{includeAttributes:!0,localizeMapUpdates:!1});return e[e.length-1]}))}generateNewState(e){try{return e.applyToState(this.state,!1)}catch(e){return null}}getTransitionByIntent(e,t){let n,r=!!this.activeTransition,i=r?this.activeTransition[b.S]:this.state,s=e.applyToState(i,t),o=(0,b.g)(i.queryParams,s.queryParams);if(L(s.routeInfos,i.routeInfos)){if(o){let e=this.queryParamsTransition(o,r,i,s);return e.queryParamsOnly=!0,e}return this.activeTransition||new b.T(this,void 0,void 0)}if(t){let e=new b.T(this,void 0,s);return e.isIntermediate=!0,this.toReadOnlyInfos(e,s),this.setupContexts(s,e),this.routeWillChange(e),this.activeTransition}return n=new b.T(this,e,s,void 0,this.activeTransition),function(e,t){if(e.length!==t.length)return!1;for(let n=0,r=e.length;nthis.finalizeTransition(n,e)),null,(0,b.c)("Settle transition promise when transition is finalized")),r||this.notifyExistingHandlers(s,n),this.fireQueryParamDidChange(s,o),n}doTransition(e,t=[],n=!1){let r,i=t[t.length-1],s={};if(i&&Object.prototype.hasOwnProperty.call(i,"queryParams")&&(s=t.pop().queryParams),void 0===e){(0,b.d)(this,"Updating query params");let{routeInfos:e}=this.state;r=new N(this,e[e.length-1].name,void 0,[],s)}else"/"===e.charAt(0)?((0,b.d)(this,"Attempting URL transition to "+e),r=new M(this,e)):((0,b.d)(this,"Attempting transition to "+e),r=new N(this,e,void 0,t,s));return this.transitionByIntent(r,n)}finalizeTransition(e,t){try{(0,b.d)(e.router,e.sequence,"Resolved all models on destination route; finalizing transition.");let n=t.routeInfos;return this.setupContexts(t,e),e.isAborted?(this.state.routeInfos=this.currentRouteInfos,y.P.reject((0,b.l)(e))):(this._updateURL(e,t),e.isActive=!1,this.activeTransition=void 0,this.triggerEvent(this.currentRouteInfos,!0,"didTransition",[]),this.didTransition(this.currentRouteInfos),this.toInfos(e,t.routeInfos,!0),this.routeDidChange(e),(0,b.d)(this,e.sequence,"TRANSITION COMPLETE."),n[n.length-1].route)}catch(t){if(!(0,b.e)(t)){let n=e[b.S].routeInfos;e.trigger(!0,"error",t,e,n[n.length-1].route),e.abort()}throw t}}setupContexts(e,t){let n,r,i,s=this.partitionRoutes(this.state,e);for(n=0,r=s.exited.length;n=0;--e){let t=r[e];(0,b.m)(s,t.params),t.route.inaccessibleByURL&&(n=null)}if(n){s.queryParams=e._visibleQueryParams||t.queryParams;let r=this.recognizer.generate(i,s),o=e.isCausedByInitialTransition,a="replace"===n&&!e.isCausedByAbortingTransition,l=e.queryParamsOnly&&"replace"===n,u="replace"===n&&e.isCausedByAbortingReplaceTransition;o||a||l||u?this.replaceURL(r):this.updateURL(r)}}finalizeQueryParamChange(e,t,n){for(let e in t)t.hasOwnProperty(e)&&null===t[e]&&delete t[e];let r=[];this.triggerEvent(e,!0,"finalizeQueryParamChange",[t,r,n]),n&&(n._visibleQueryParams={});let i={};for(let e=0,t=r.length;e0){let n=w(t,Object.assign({},this._lastQueryParams),{includeAttributes:!0,localizeMapUpdates:!1});e.from=n[n.length-1]||null}}toInfos(e,t,n=!1){if(void 0!==e&&t.length>0){let r=w(t,Object.assign({},e[b.Q]),{includeAttributes:n,localizeMapUpdates:!1});e.to=r[r.length-1]||null}}notifyExistingHandlers(e,t){let n,r,i,s,o=this.state.routeInfos;for(r=o.length,n=0;n{e.setURL(n),(0,d.s)(t,"currentURL",n)}))}didTransition(e){t.didTransition(e)}willTransition(e,n){t.willTransition(e,n)}triggerEvent(e,n,r,i){return $.bind(t)(e,n,r,i)}routeWillChange(e){t.trigger("routeWillChange",e),t._routerService.trigger("routeWillChange",e),e.isIntermediate&&t.set("currentRoute",e.to)}routeDidChange(e){t.set("currentRoute",e.to),(0,m.Oo)((()=>{t.trigger("routeDidChange",e),t._routerService.trigger("routeDidChange",e)}))}transitionDidError(e,n){return e.wasAborted||n.isAborted?(0,b.l)(n):(n.trigger(!1,"error",e.error,n,e.route),t._isErrorHandled(e.error)?(n.rollback(),this.routeDidChange(n),e.error):(n.abort(),e.error))}replaceURL(n){if(e.replaceURL){let r=()=>{e.replaceURL(n),(0,d.s)(t,"currentURL",n)};(0,m.Oo)(r)}else this.updateURL(n)}},s=this.constructor.dslCallbacks||[j],a=this._buildDSL();a.route("application",{path:"/",resetNamespace:!0,overrideNameAssertion:!0},(function(){for(let e=0;en.factoryFor(`route-map:${e}`),addRouteForEngine(e,n){t._engineInfoByRoute[e]||(t._engineInfoByRoute[e]=n)}};return new a.A(null,r)}_resetQueuedQueryParameterChanges(){this._queuedQPChanges={}}_hasModuleBasedResolver(){let e=(0,o.Q)(this),t=(0,h.g)(e,"application.__registry__.resolver.moduleBasedResolver");return Boolean(t)}startRouting(){if(this.setupRouter()){let e=(0,h.g)(this,"initialURL");void 0===e&&(e=(0,h.g)(this,"location").getURL());let t=this.handleURL(e);if(t&&t.error)throw t.error}}setupRouter(){if(this._didSetupRouter)return!1;this._didSetupRouter=!0,this._setupLocation();let e=(0,h.g)(this,"location");return!(0,h.g)(e,"cancelRouterSetup")&&(this._initRouterJs(),e.onUpdateURL((e=>{this.handleURL(e)})),!0)}_setOutlets(){if(this.isDestroying||this.isDestroyed)return;let e=this._routerMicrolib.currentRouteInfos;if(!e)return;let t=null,n=null;for(let r of e){let e=r.route,i=(0,g.cJ)(e);if(!i)break;{let e={render:i,outlets:{main:void 0}};n?n.outlets.main=e:t=e,n=e}}if(null!==t)if(this._toplevelView)this._toplevelView.setOutletState(t);else{let e=(0,o.Q)(this),n=e.factoryFor("view:-outlet"),r=e.lookup("application:main"),i=e.lookup("-environment:main"),s=e.lookup("template:-outlet");this._toplevelView=n.create({environment:i,template:s,application:r}),this._toplevelView.setOutletState(t);let a=e.lookup("-application-instance:main");a&&a.didCreateRootView(this._toplevelView)}}handleURL(e){let t=e.split(/#(.+)?/)[0];return this._doURLTransition("handleURL",t)}_doURLTransition(e,t){this._initialTransitionStarted=!0;let n=this._routerMicrolib[e](t||"/");return X(n,this),n}transitionTo(...e){if((0,l.iP)(e[0]))return this._doURLTransition("transitionTo",e[0]);let{routeName:t,models:n,queryParams:r}=(0,l.YE)(e);return this._doTransition(t,n,r)}intermediateTransitionTo(e,...t){this._routerMicrolib.intermediateTransitionTo(e,...t),K(this)}replaceWith(...e){return this.transitionTo(...e).method("replace")}generate(e,...t){let n=this._routerMicrolib.generate(e,...t);return this.location.formatURL(n)}isActive(e){return this._routerMicrolib.isActive(e)}isActiveIntent(e,t,n){return this.currentState.isActiveIntent(e,t,n)}send(e,...t){this._routerMicrolib.trigger(e,...t)}hasRoute(e){return this._routerMicrolib.hasRoute(e)}reset(){this._didSetupRouter=!1,this._initialTransitionStarted=!1,this._routerMicrolib&&this._routerMicrolib.reset()}willDestroy(){this._toplevelView&&(this._toplevelView.destroy(),this._toplevelView=null),super.willDestroy(),this.reset();let e=this._engineInstances;for(let t in e){let n=e[t];for(let e in n){let t=n[e];(0,m.eF)(t,"destroy")}}}_activeQPChanged(e,t){this._queuedQPChanges[e]=t,(0,m.Oo)(this,this._fireQueryParamTransition)}_updatingQPChanged(e){this._qpUpdates.add(e)}_fireQueryParamTransition(){this.transitionTo({queryParams:this._queuedQPChanges}),this._resetQueuedQueryParameterChanges()}_setupLocation(){let e=this.location,t=this.rootURL,n=(0,o.Q)(this);if("string"==typeof e){let t=n.lookup(`location:${e}`);e=(0,d.s)(this,"location",t)}null!==e&&"object"==typeof e&&(t&&(0,d.s)(e,"rootURL",t),"function"==typeof e.initState&&e.initState())}_serializeQueryParams(e,t){Y(this,e,t,((e,n,r)=>{if(r)delete t[e],t[r.urlKey]=r.route.serializeQueryParam(n,r.urlKey,r.type);else{if(void 0===n)return;t[e]=this._serializeQueryParam(n,(0,p.A)(n))}}))}_serializeQueryParam(e,t){return null==e?e:"array"===t?JSON.stringify(e):`${e}`}_deserializeQueryParams(e,t){Y(this,e,t,((e,n,r)=>{r&&(delete t[e],t[r.prop]=r.route.deserializeQueryParam(n,r.urlKey,r.type))}))}_deserializeQueryParam(e,t){return null==e?e:"boolean"===t?"true"===e:"number"===t?Number(e).valueOf():"array"===t?(0,c.A)(JSON.parse(e)):e}_pruneDefaultQueryParamValues(e,t){let n=this._queryParamsFor(e);for(let e in t){let r=n.map[e];r&&r.serializedDefaultValue===t[e]&&delete t[e]}}_doTransition(e,t,n,r){let i=e||(0,l.n0)(this._routerMicrolib);this._initialTransitionStarted=!0;let s={};this._processActiveTransitionQueryParams(i,t,s,n),Object.assign(s,n),this._prepareQueryParams(i,t,s,Boolean(r));let o=this._routerMicrolib.transitionTo(i,...t,{queryParams:s});return X(o,this),o}_processActiveTransitionQueryParams(e,t,n,r){if(!this._routerMicrolib.activeTransition)return;let i={},s=this._qpUpdates,o=(0,g.o1)(this,this._routerMicrolib.activeTransition[b.S]);for(let e in o)s.has(e)||(i[e]=o[e]);this._fullyScopeQueryParams(e,t,r),this._fullyScopeQueryParams(e,t,i),Object.assign(n,i)}_prepareQueryParams(e,t,n,r){let i=G(this,e,t);this._hydrateUnsuppliedQueryParams(i,n,Boolean(r)),this._serializeQueryParams(i.routeInfos,n),r||this._pruneDefaultQueryParamValues(i.routeInfos,n)}_getQPMeta(e){let t=e.route;return t&&(0,h.g)(t,"_qp")}_queryParamsFor(e){let t=e[e.length-1].name,n=this._qpCache[t];if(void 0!==n)return n;let r,i=!0,s={},o=[];for(let t of e)if(r=this._getQPMeta(t),r){for(let e of r.qps)o.push(e);Object.assign(s,r.map)}else i=!1;let a={qps:o,map:s};return i&&(this._qpCache[t]=a),a}_fullyScopeQueryParams(e,t,n){let r,i=G(this,e,t).routeInfos;for(let e of i)if(r=this._getQPMeta(e),r)for(let e of r.qps){let t=e.prop in n&&e.prop||e.scopedPropertyName in n&&e.scopedPropertyName||e.urlKey in n&&e.urlKey;t&&t!==e.scopedPropertyName&&(n[e.scopedPropertyName]=n[t],delete n[t])}}_hydrateUnsuppliedQueryParams(e,t,n){let r,i,s,o=e.routeInfos,a=this._bucketCache;for(let n of o)if(r=this._getQPMeta(n),r)for(let n=0,o=r.qps.length;n=0;--n){let r=e[n],i=r.route;if(void 0!==i&&!0!==t(i,r))return}}(0,r.A)(U,"dslCallbacks",void 0);let Q={willResolveModel(e,t,n){this._scheduleLoadingEvent(t,n)},error(e,t,n){let r=this,i=e[e.length-1];W(e,((e,n)=>{if(n!==i){let n=H(e,"error");if(n)return r._markErrorAsHandled(t),r.intermediateTransitionTo(n,t),!1}let s=V(e,"error");return!s||(r._markErrorAsHandled(t),r.intermediateTransitionTo(s,t),!1)})),function(e,t){let n,r=[];n=e&&"object"==typeof e&&"object"==typeof e.errorThrown?e.errorThrown:e,t&&r.push(t),n&&(n.message&&r.push(n.message),n.stack&&r.push(n.stack),"string"==typeof n&&r.push(n)),console.error(...r)}(t,`Error while processing route: ${n.targetName}`)},loading(e,t){let n=this,r=e[e.length-1];W(e,((e,i)=>{if(i!==r){let t=H(e,"loading");if(t)return n.intermediateTransitionTo(t),!1}let s=V(e,"loading");return s?(n.intermediateTransitionTo(s),!1):t.pivotHandler!==e}))}};function V(e,t){let n=(0,o.Q)(e),{routeName:r,fullRouteName:i,_router:s}=e,a=`${i}_${t}`;return q(n,s,`${r}_${t}`,a)?a:""}function H(e,t){let n=(0,o.Q)(e),{routeName:r,fullRouteName:i,_router:s}=e,a="application"===i?t:`${i}.${t}`;return q(n,s,"application"===r?t:`${r}.${t}`,a)?a:""}function q(e,t,n,r){let i=t.hasRoute(r),s=e.factoryFor(`template:${n}`)||e.factoryFor(`route:${n}`);return i&&s}function $(e,t,n,r){if(!e){if(t)return;throw new Error(`Can't trigger action '${n}' 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 i,s,o,a=!1;for(let t=e.length-1;t>=0;t--)if(i=e[t],s=i.route,o=s&&s.actions&&s.actions[n],o){if(!0!==o.apply(s,r))return void("error"===n&&s._router._markErrorAsHandled(r[0]));a=!0}let l=Q[n];if(l)l.call(this,e,...r);else if(!a&&!t)throw new Error(`Nothing handled the action '${n}'. 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 G(e,t,n){let r=e._routerMicrolib.applyIntent(t,n),{routeInfos:i,params:s}=r;for(let e of i)e.isResolved?s[e.name]=e.params:s[e.name]=e.serialize(e.context);return r}function K(e){let t=e._routerMicrolib.currentRouteInfos;if(0===t.length)return;let n=U._routePath(t),r=t[t.length-1].name,i=e.location.getURL();(0,d.s)(e,"currentPath",n),(0,d.s)(e,"currentRouteName",r),(0,d.s)(e,"currentURL",i)}function X(e,t){let n=new u(t,t._routerMicrolib,e[b.S]);t.currentState||t.set("currentState",n),t.set("targetState",n),e.promise=e.catch((e=>{if(!t._isErrorHandled(e))throw e;t._clearHandledError(e)}),"Transition Error")}function Y(e,t,n,r){let i=e._queryParamsFor(t);for(let e in n)Object.prototype.hasOwnProperty.call(n,e)&&r(e,n[e],i.map[e])}U.reopen({didTransition:function(e){K(this),this._cancelSlowTransitionTimer(),this.notifyPropertyChange("url"),this.set("currentState",this.targetState)},willTransition:function(e,t){},rootURL:"/",location:"hash",url:(0,h.c)((function(){let e=(0,h.g)(this,"location");if("string"!=typeof e)return e.getURL()}))})},8107:(e,t,n)=>{"use strict";n.d(t,{DR:()=>g,K2:()=>v,M4:()=>l,Oo:()=>m,Xg:()=>c,ZT:()=>y,_:()=>f,eF:()=>h,fj:()=>d,oI:()=>p,uJ:()=>a}),n(943);var r=n(124),i=(n(1724),n(1719),n(5806),n(2590),n(6703),n(3570)),s=(n(2461),n(6858));let o=null;function a(){return o}const l=`${Math.random()}${Date.now()}`.replace(".",""),u=["actions","routerTransitions","render","afterRender","destroy",l],c=new s.A(u,{defaultQueue:"actions",onBegin:function(e){o=e},onEnd:function(e,t){o=t,(0,i.I)(f)},onErrorTarget:r.jY,onErrorMethod:"onerror",flush:function(e,t){"render"!==e&&e!==l||(0,i.I)(f),t()}});function h(...e){return c.run(...e)}function d(e,t,...n){return c.join(e,t,...n)}function p(...e){return(...t)=>d(...e.concat(t))}function f(...e){return c.schedule(...e)}function m(...e){return c.scheduleOnce("actions",...e)}function g(...e){return c.scheduleOnce(...e)}function v(...e){return c.later(...e,1)}function y(e){return c.cancel(e)}},4163:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,WQ:()=>o,eu:()=>a});var r=n(9624),i=n(1376),s=(n(1724),n(1719),n(943),n(5806),n(2590),n(6703),n(3570));function o(...e){return(0,s.p)("service",...e)}function a(...e){return(0,s.p)("service",...e)}n(2461);class l extends i.YD{}(0,r.A)(l,"isServiceFactory",!0)},2065:(e,t,n)=>{"use strict";n.d(t,{X:()=>r.vW});var r=n(5795)},769:(e,t,n)=>{"use strict";n.d(t,{Im:()=>i.A,z3:()=>r.A});var r=n(6100),i=n(2271);n(6045),n(2999),n(1610)},1610:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(2999),i=(n(4903),n(2047),n(8399));n(9242),n(6306),n(5812),n(8079),n(3299),n(943);const s={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};function o(e,t){return Math.sign(e-t)}function a(e,t){if(e===t)return 0;let n=(0,r.A)(e),i=(0,r.A)(t);if("instance"===n&&l(e)&&e.constructor.compare)return e.constructor.compare(e,t);if("instance"===i&&l(t)&&t.constructor.compare)return-1*t.constructor.compare(t,e);let u=o(s[n],s[i]);if(0!==u)return u;switch(n){case"boolean":return o(Number(e),Number(t));case"number":return o(e,t);case"string":return o(e.localeCompare(t),0);case"array":{let n=e.length,r=t.length,i=Math.min(n,r);for(let n=0;n{"use strict";n.d(t,{A:()=>i});var r=n(2271);function i(e){return(0,r.A)(e)||"string"==typeof e&&!1===/\S/.test(e)}},2271:(e,t,n)=>{"use strict";n.d(t,{A:()=>i}),n(4831),n(1724),n(1719),n(943),n(5806),n(2590),n(6703);var r=n(3570);function i(e){if(null==e)return!0;if(!(0,r.h)(e)&&"number"==typeof e.size)return!e.size;if("object"==typeof e){let t=(0,r.g)(e,"size");if("number"==typeof t)return!t;let n=(0,r.g)(e,"length");if("number"==typeof n)return!n}return"number"==typeof e.length&&"function"!=typeof e&&!e.length}n(2461)},6045:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6100);function i(e){return!(0,r.A)(e)}},2999:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2568);const i={"[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"},{toString:s}=Object.prototype;function o(e){if(null===e)return"null";if(void 0===e)return"undefined";let t=i[s.call(e)]||"object";return"function"===t?r.A.detect(e)&&(t="class"):"object"===t&&(e instanceof Error?t="error":e instanceof r.A?t="instance":e instanceof Date&&(t="date")),t}},5806:(e,t,n)=>{"use strict";n.d(t,{EP:()=>v,G:()=>d,JF:()=>h,T3:()=>c,ZL:()=>g,dZ:()=>{},fj:()=>{},mx:()=>f,xL:()=>m,zr:()=>p});var r=n(1629),i=(n(6200),function(e){return e[e.Live=0]="Live",e[e.Destroying=1]="Destroying",e[e.Destroyed=2]="Destroyed",e}(i||{}));let s=new WeakMap;function o(e,t){return null===e?t:Array.isArray(e)?(e.push(t),e):[e,t]}function a(e,t){Array.isArray(e)?e.forEach(t):null!==e&&t(e)}function l(e,t,n){if(Array.isArray(e)&&e.length>1){let n=e.indexOf(t);return e.splice(n,1),e}return null}function u(e){let t=s.get(e);return void 0===t&&(t={parents:null,children:null,eagerDestructors:null,destructors:null,state:i.Live},s.set(e,t)),t}function c(e,t){let n=u(e),r=u(t);return n.children=o(n.children,t),r.parents=o(r.parents,e),t}function h(e,t,n=!1){let r=u(e),i=!0===n?"eagerDestructors":"destructors";return r[i]=o(r[i],t),t}function d(e,t,n=!1){let r=u(e),i=!0===n?"eagerDestructors":"destructors";r[i]=l(r[i],t)}function p(e){let t=u(e);if(t.state>=i.Destroying)return;let{parents:n,children:s,eagerDestructors:o,destructors:c}=t;t.state=i.Destroying,a(s,p),a(o,(t=>t(e))),a(c,(t=>(0,r.wM)(e,t))),(0,r.z_)((()=>{a(n,(t=>function(e,t){let n=u(t);n.state===i.Live&&(n.children=l(n.children,e))}(e,t))),t.state=i.Destroyed}))}function f(e){let{children:t}=u(e);a(t,p)}function m(e){let t=s.get(e);return void 0!==t&&null!==t.children}function g(e){let t=s.get(e);return void 0!==t&&t.state>=i.Destroying}function v(e){let t=s.get(e);return void 0!==t&&t.state>=i.Destroyed}},1629:(e,t,n)=>{"use strict";n.d(t,{AF:()=>o,Ay:()=>m,GT:()=>a,Ie:()=>l,SO:()=>c,Yn:()=>u,m9:()=>s,nY:()=>f,wM:()=>r,z_:()=>i});let r,i,s,o,a,l,u,c,h,d,p,f=()=>{};function m(e){f=e.scheduleRevalidate,r=e.scheduleDestroy,i=e.scheduleDestroyed,s=e.toIterator,o=e.toBool,a=e.getProp,l=e.setProp,u=e.getPath,c=e.setPath,h=e.warnIfStyleNotTrusted,d=e.assert,p=e.deprecate}},6703:(e,t,n)=>{"use strict";n.d(t,{Ak:()=>I,BK:()=>F,Du:()=>E,Et:()=>ee,L$:()=>z,PE:()=>h,QK:()=>W,a4:()=>A,aO:()=>L,b$:()=>X,bL:()=>N,d2:()=>K,eL:()=>$,eY:()=>j,ht:()=>c,oO:()=>v,oT:()=>B,p0:()=>_,rw:()=>w,u0:()=>te,wU:()=>Y,wc:()=>P,wm:()=>b});var r=n(9624),i=n(6200),s=n(5806),o=n(6169),a=n(2590),l=n(5865);const u=new WeakMap;function c(e){return u.get(e)}function h(e,t){u.set(e,t)}function d(e){if("symbol"==typeof e)return null;const t=Number(e);return isNaN(t)?null:t%1==0?t:null}class p{constructor(e){this.named=e}get(e,t){const n=this.named[t];if(void 0!==n)return(0,o.QO)(n)}has(e,t){return t in this.named}ownKeys(){return Object.keys(this.named)}isExtensible(){return!1}getOwnPropertyDescriptor(e,t){return{enumerable:!0,configurable:!0}}}class f{constructor(e){this.positional=e}get(e,t){let{positional:n}=this;if("length"===t)return n.length;const r=d(t);return null!==r&&r{const{named:n,positional:r}=e,i=new p(n),s=new f(r),l=Object.create(null),u=new Proxy(l,i),c=new Proxy([],s);return h(u,((e,t)=>function(e,t){return(0,a.u4)((()=>{t in e&&(0,o.QO)(e[t])}))}(n,t))),h(c,((e,t)=>function(e,t){return(0,a.u4)((()=>{"[]"===t&&e.forEach(o.QO);const n=d(t);null!==n&&n{let r=this.getDelegateFor(n);const i=m(t),a=r.createHelper(e,i);if(A(r)){let e=(0,o.t1)((()=>r.getValue(a)),null,!1);return E(r)&&(0,s.T3)(e,r.getDestroyable(a)),e}if(E(r)){let e=(0,o.zF)(void 0,!1);return(0,s.T3)(e,r.getDestroyable(a)),e}return o.BG}}}class k{constructor(){(0,r.A)(this,"capabilities",{hasValue:!0,hasDestroyable:!1,hasScheduledEffect:!1})}createHelper(e,t){return{fn:e,args:t}}getValue({fn:e,args:t}){return Object.keys(t.named).length>0?e(...t.positional,t.named):e(...t.positional)}getDebugName(e){return e.name?`(helper function ${e.name})`:"(anonymous helper function)"}}const T=new WeakMap,C=new WeakMap,S=new WeakMap,R=Object.getPrototypeOf;function x(e,t,n){return e.set(n,t),n}function D(e,t){let n=t;for(;null!=n;){const t=e.get(n);if(void 0!==t)return t;n=R(n)}}function P(e,t){return x(C,e,t)}function I(e,t){const n=D(C,e);return void 0===n&&!0===t?null:n}function N(e,t){return x(S,e,t)}const M=new O((()=>new k));function F(e,t){let n=D(S,e);return void 0===n&&"function"==typeof e&&(n=M),n||null}function L(e,t){return x(T,e,t)}function B(e,t){const n=D(T,e);return void 0===n&&!0===t?null:n}function j(e){return void 0!==D(T,e)}function z(e){return function(e){return"function"==typeof e}(e)||void 0!==D(S,e)}const U={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 W(e,t={}){let n=Boolean(t.updateHook);return{asyncLifeCycleCallbacks:Boolean(t.asyncLifecycleCallbacks),destructor:Boolean(t.destructor),updateHook:n}}function Q(e){return e.capabilities.asyncLifeCycleCallbacks}function V(e){return e.capabilities.updateHook}class H{constructor(e){(0,r.A)(this,"componentManagerDelegates",new WeakMap),this.factory=e}getDelegateFor(e){let{componentManagerDelegates:t}=this,n=t.get(e);if(void 0===n){let{factory:r}=this;n=r(e),t.set(e,n)}return n}create(e,t,n){let r=this.getDelegateFor(e),i=m(n.capture()),s=r.createComponent(t,i);return new q(s,r,i)}getDebugName(e){return"function"==typeof e?e.name:e.toString()}update(e){let{delegate:t}=e;if(V(t)){let{component:n,args:r}=e;t.updateComponent(n,r)}}didCreate({component:e,delegate:t}){Q(t)&&t.didCreateComponent(e)}didUpdate({component:e,delegate:t}){(function(e){return Q(e)&&V(e)})(t)&&t.didUpdateComponent(e)}didRenderLayout(){}didUpdateLayout(){}getSelf({component:e,delegate:t}){return(0,o.zF)(t.getContext(e),"this")}getDestroyable(e){const{delegate:t}=e;if(function(e){return e.capabilities.destructor}(t)){const{component:n}=e;return(0,s.JF)(e,(()=>t.destroyComponent(n))),e}return null}getCapabilities(){return U}}class q{constructor(e,t,n){this.component=e,this.delegate=t,this.args=n}}function $(e,t={}){return{disableAutoTracking:Boolean(t.disableAutoTracking)}}class G{constructor(e){(0,r.A)(this,"componentManagerDelegates",new WeakMap),this.factory=e}getDelegateFor(e){let{componentManagerDelegates:t}=this,n=t.get(e);if(void 0===n){let{factory:r}=this;n=r(e),t.set(e,n)}return n}create(e,t,n,r){let i,o=this.getDelegateFor(e),l=m(r),u=o.createModifier(n,l);return i={tag:(0,a.jA)(),element:t,delegate:o,args:l,modifier:u},(0,s.JF)(i,(()=>o.destroyModifier(u,l))),i}getDebugName(e){return"function"==typeof e?e.name||e.toString():""}getDebugInstance({modifier:e}){return e}getTag({tag:e}){return e}install({element:e,args:t,modifier:n,delegate:r}){let{capabilities:s}=r;!0===s.disableAutoTracking?(0,a.vz)((()=>r.installModifier(n,(0,i.BO)(e,"ELEMENT"),t))):r.installModifier(n,(0,i.BO)(e,"ELEMENT"),t)}update({args:e,modifier:t,delegate:n}){let{capabilities:r}=n;!0===r.disableAutoTracking?(0,a.vz)((()=>n.updateModifier(t,e))):n.updateModifier(t,e)}getDestroyable(e){return e}}function K(e,t){return L(new H(e),t)}function X(e,t){return P(new G(e),t)}function Y(e,t){return N(new O(e),t)}const J=new WeakMap,Z=Object.getPrototypeOf;function ee(e,t){return J.set(t,e),t}function te(e){let t=e;for(;null!==t;){let e=J.get(t);if(void 0!==e)return e;t=Z(t)}}},7489:(e,t,n)=>{"use strict";n.d(t,{O:()=>g,I:()=>b});var r=n(9624),i=n(9328);const s=[];function o(e,t,n){for(let r=0;r-1&&"tr"===e.slice(t+1,t+3)&&(e=`${e}`)}""===e?this.__appendComment("% %"):super.__appendHTML(e);let r=this.__appendComment("%glmr%");return new i.p1(this.element,n,r)}__appendText(e){let{tagName:t}=this.element,n=function(e){let{element:t,nextSibling:n}=e;return null===n?t.lastChild:n.previousSibling}(this);return"TITLE"===t||"SCRIPT"===t||"STYLE"===t?super.__appendText(e):""===e?this.__appendComment("% %"):(n&&3===n.nodeType&&this.__appendComment("%|%"),super.__appendText(e))}closeElement(){return v.has(this.element)&&(v.delete(this.element),super.closeElement()),super.closeElement()}openElement(e){return"tr"===e&&"TBODY"!==this.element.tagName&&"THEAD"!==this.element.tagName&&"TFOOT"!==this.element.tagName&&(this.openElement("tbody"),v.set(this.constructing,!0),this.flushElement(null)),super.openElement(e)}pushRemoteElement(e,t,n=null){let{dom:r}=this,i=r.createElement("script");return i.setAttribute("glmr",t),r.insertBefore(e,i,n),super.pushRemoteElement(e,t,n)}}function b(e,t){return y.forInitialRender(e,t)}},5795:(e,t,n)=>{"use strict";n.d(t,{Dj:()=>ae,vW:()=>be});var r=n(9624),i=n(6200),s=n(5865);class o{constructor(e){(0,r.A)(this,"size",0),this.buffer=e}encode(e,t,...n){if(e>s.JZ)throw new Error(`Opcode type over 8-bits. Got ${e}.`);let r=e|t|arguments.length-2<{if(!function(e){return Array.isArray(e)&&2===e.length}(t))return!1;let n=t[0];return n===a.WM.GetStrictKeyword||n===a.WM.GetLexicalSymbol||n===e}}new Array(s.Op.Size).fill(null),new Array(s.Op.Size).fill(null);const c=u(a.WM.GetFreeAsComponentHead),h=u(a.WM.GetFreeAsModifierHead),d=u(a.WM.GetFreeAsHelperHead),p=u(a.WM.GetFreeAsComponentOrHelperHead);function f(e,t,n,r,s){let{upvars:o}=n,a=(0,i.oA)(o[e[1]]),l=t.lookupBuiltInHelper(a);return r.helper(l,a)}const m=1004,g=1005,v=1010,y=1e3,b=1001,_=1002;function w(e){return{type:1,value:e}}function A(e){return{type:5,value:e}}function E(e){return{type:7,value:e}}function O(e){return{type:8,value:e}}class k{constructor(){(0,r.A)(this,"labels",(0,i.jd)()),(0,r.A)(this,"targets",[])}label(e,t){this.labels[e]=t}target(e,t){this.targets.push({at:e,target:t})}patch(e){let{targets:t,labels:n}=this;for(const{at:r,target:s}of t){let t=n[s]-r;(0,i.vA)(-1===e.getbyaddr(r),"Expected heap to contain a placeholder, but it did not"),e.setbyaddr(r,t)}}}function T(e,t,n,r,s){if(function(e){return e<1e3}(s[0])){let[n,...r]=s;e.push(t,n,...r)}else switch(s[0]){case y:return e.label(s[1]);case b:return e.startLabels();case _:return e.stopLabels();case m:return function(e,t,n,[,r,s]){if((0,i.vA)(c(r),"Attempted to resolve a component with incorrect opcode"),r[0]===a.WM.GetLexicalSymbol){let{scopeValues:e,owner:o}=n,a=(0,i.E3)(e,"BUG: scopeValues must exist if template symbol is used")[r[1]];s(t.component(a,(0,i.E3)(o,"BUG: expected owner when resolving component definition")))}else{let{upvars:o,owner:a}=n,l=(0,i.oA)(o[r[1]]),u=e.lookupComponent(l,a);s(t.resolvedComponent(u,l))}}(n,t,r,s);case 1003:return function(e,t,n,[,r,s]){(0,i.vA)(h(r),"Attempted to resolve a modifier with incorrect opcode");let o=r[0];if(o===a.WM.GetLexicalSymbol){let{scopeValues:e}=n,o=(0,i.E3)(e,"BUG: scopeValues must exist if template symbol is used")[r[1]];s(t.modifier(o))}else if(o===a.WM.GetStrictKeyword){let{upvars:o}=n,a=(0,i.oA)(o[r[1]]),l=e.lookupBuiltInModifier(a);s(t.modifier(l,a))}else{let{upvars:o,owner:a}=n,l=(0,i.oA)(o[r[1]]),u=e.lookupModifier(l,a);s(t.modifier(u,l))}}(n,t,r,s);case g:return function(e,t,n,[,r,s]){(0,i.vA)(d(r),"Attempted to resolve a helper with incorrect opcode");let o=r[0];if(o===a.WM.GetLexicalSymbol){let{scopeValues:e}=n,o=(0,i.E3)(e,"BUG: scopeValues must exist if template symbol is used")[r[1]];s(t.helper(o))}else if(o===a.WM.GetStrictKeyword)s(f(r,e,n,t));else{let{upvars:o,owner:a}=n,l=(0,i.oA)(o[r[1]]),u=e.lookupHelper(l,a);s(t.helper(u,l))}}(n,t,r,s);case 1007:return function(e,t,n,[,r,{ifComponent:s,ifHelper:o}]){(0,i.vA)(p(r),"Attempted to resolve a component or helper with incorrect opcode");let l=r[0];if(l===a.WM.GetLexicalSymbol){let{scopeValues:e,owner:a}=n,l=(0,i.E3)(e,"BUG: scopeValues must exist if template symbol is used")[r[1]],u=t.component(l,(0,i.E3)(a,"BUG: expected owner when resolving component definition"),!0);if(null!==u)return void s(u);let c=t.helper(l,null,!0);o((0,i.E3)(c,"BUG: helper must exist"))}else if(l===a.WM.GetStrictKeyword)o(f(r,e,n,t));else{let{upvars:a,owner:l}=n,u=(0,i.oA)(a[r[1]]),c=e.lookupComponent(u,l);if(null!==c)s(t.resolvedComponent(c,u));else{let n=e.lookupHelper(u,l);o(t.helper(n,u))}}}(n,t,r,s);case 1008:return function(e,t,n,[,r,{ifComponent:s,ifHelper:o,ifValue:l}]){(0,i.vA)(p(r),"Attempted to resolve an optional component or helper with incorrect opcode");let u=r[0];if(u===a.WM.GetLexicalSymbol){let{scopeValues:e,owner:a}=n,u=(0,i.E3)(e,"BUG: scopeValues must exist if template symbol is used")[r[1]];if("function"!=typeof u&&("object"!=typeof u||null===u))return void l(t.value(u));let c=t.component(u,(0,i.E3)(a,"BUG: expected owner when resolving component definition"),!0);if(null!==c)return void s(c);let h=t.helper(u,null,!0);if(null!==h)return void o(h);l(t.value(u))}else if(u===a.WM.GetStrictKeyword)o(f(r,e,n,t));else{let{upvars:a,owner:l}=n,u=(0,i.oA)(a[r[1]]),c=e.lookupComponent(u,l);if(null!==c)return void s(t.resolvedComponent(c,u));let h=e.lookupHelper(u,l);null!==h&&o(t.helper(h,u))}}(n,t,r,s);case v:{let e=s[1],t=(0,i.E3)(r.upvars,"BUG: attempted to resolve value but no upvars found")[e];(0,s[2])(t,r.moduleName);break}case 1011:{let[,e,n]=s,o=(0,i.E3)(r.scopeValues,"BUG: Attempted to get a template local, but template does not have any")[e];n(t.value(o));break}default:throw new Error(`Unexpected high level opcode ${s[0]}`)}}class C{constructor(e,t,n){(0,r.A)(this,"labelsStack",new i.BJ),(0,r.A)(this,"encoder",new o([])),(0,r.A)(this,"errors",[]),(0,r.A)(this,"handle",void 0),this.heap=e,this.meta=t,this.stdlib=n,this.handle=e.malloc()}error(e){this.encoder.encode(s.Op.Primitive,0),this.errors.push(e)}commit(e){let t=this.handle;return this.heap.pushMachine(s.BO.Return),this.heap.finishMalloc(t,e),(0,i.jp)(this.errors)?{errors:this.errors,handle:t}:t}push(e,t,...n){let{heap:r}=this,i=t|((0,s.nL)(t)?s.nK:0)|n.length<=0;t--){let n=(0,i.oA)(r[t]);e(y,n.label),e(s.Op.Pop,1),n.callback(),0!==t&&e(s.BO.Jump,w("END"))}e(y,"END"),e(_),e(s.Op.Exit)}function Y(e,t,n){e(b),e(s.BO.PushFrame),e(s.BO.ReturnTo,w("ENDINITIAL"));let r=t();e(s.Op.Enter,r),n(),e(y,"FINALLY"),e(s.Op.Exit),e(s.BO.Return),e(y,"ENDINITIAL"),e(s.BO.PopFrame),e(_)}function J(e,t,n,r){return Y(e,t,(()=>{e(s.Op.JumpUnless,w("ELSE")),n(),e(s.BO.Jump,w("FINALLY")),e(y,"ELSE"),void 0!==r&&r()}))}function Z(e,t,n,r,o,a){let{compilable:u,capabilities:c,handle:h}=t,d=n?[n,[]]:null,p=Array.isArray(a)||null===a?D(a):a;u?(e(s.Op.PushComponentDefinition,h),function(e,{capabilities:t,layout:n,elementBlock:r,positional:o,named:a,blocks:u}){let{symbolTable:c}=n;if(c.hasEval||(0,l.p0)(t,s.Lx.prepareArgs))return void te(e,{capabilities:t,elementBlock:r,positional:o,named:a,atNames:!0,blocks:u,layout:n});e(s.Op.Fetch,s.iK),e(s.Op.Dup,s.w$,1),e(s.Op.Load,s.iK),e(s.BO.PushFrame);let{symbols:h}=c,d=[],p=[],f=[],m=u.names;if(null!==r){let t=h.indexOf("&attrs");-1!==t&&(q(e,r),d.push(t))}for(const t of m){let n=h.indexOf(`&${t}`);-1!==n&&(q(e,u.get(t)),d.push(n))}if((0,l.p0)(t,s.Lx.createArgs)){let t=W(e,o)<<4;t|=8;let n=i.aq;if(null!==a){n=a[0];let t=a[1];for(let r=0;r0?1:0),e(s.Op.SetVariable,0);for(const t of(0,i.BE)(p))-1===t?e(s.Op.Pop,1):e(s.Op.SetVariable,t+1);null!==o&&e(s.Op.Pop,o.length);for(const t of(0,i.BE)(d))e(s.Op.SetBlock,t+1);e(s.Op.Constant,O(n)),e(s.Op.CompileBlock),e(s.BO.InvokeVirtual),e(s.Op.DidRenderLayout,s.iK),e(s.BO.PopFrame),e(s.Op.PopScope),(0,l.p0)(t,s.Lx.dynamicScope)&&e(s.Op.PopDynamicScope),e(s.Op.CommitComponentTransaction),e(s.Op.Load,s.iK)}(e,{capabilities:c,layout:u,elementBlock:d,positional:r,named:o,blocks:p})):(e(s.Op.PushComponentDefinition,h),te(e,{capabilities:c,elementBlock:d,positional:r,named:o,atNames:!0,blocks:p}))}function ee(e,t,n,r,i,o,a,l){let u=n?[n,[]]:null,c=Array.isArray(o)||null===o?D(o):o;Y(e,(()=>(z(e,t),e(s.Op.Dup,s.w$,0),2)),(()=>{e(s.Op.JumpUnless,w("ELSE")),l?e(s.Op.ResolveCurriedComponent):e(s.Op.ResolveDynamicComponent,{type:2,value:void 0}),e(s.Op.PushDynamicComponentInstance),te(e,{capabilities:!0,elementBlock:u,positional:r,named:i,atNames:a,blocks:c}),e(y,"ELSE")}))}function te(e,{capabilities:t,elementBlock:n,positional:r,named:o,atNames:a,blocks:u,layout:c}){let h=!!u,d=!0===t||(0,l.p0)(t,s.Lx.prepareArgs)||!(!o||0===o[0].length),p=u.with("attrs",n);e(s.Op.Fetch,s.iK),e(s.Op.Dup,s.w$,1),e(s.Op.Load,s.iK),e(s.BO.PushFrame),function(e,t,n,r,o){let a=r.names;for(const t of a)q(e,r.get(t));let l=W(e,t)<<4;o&&(l|=8),r&&(l|=7);let u=i.Ml;if(n){u=n[0];let t=n[1];for(let n=0;n{c?(e(s.Op.PushSymbolTable,E(c.symbolTable)),e(s.Op.Constant,O(c)),e(s.Op.CompileBlock)):e(s.Op.GetComponentLayout,s.iK),e(s.Op.PopulateLayout,s.iK)})),e(s.Op.Load,s.iK)}function ne(e,t,n,r,i=null){e(s.Op.BeginComponentTransaction,s.iK),e(s.Op.PushDynamicScope),e(s.Op.CreateComponent,0|t,s.iK),i&&i(),e(s.Op.RegisterComponentDestructor,s.iK),e(s.Op.GetComponentSelf,s.iK),e(s.Op.VirtualRootScope,s.iK),e(s.Op.SetVariable,0),e(s.Op.SetupForEval,s.iK),r&&e(s.Op.SetNamedVariables,s.iK),n&&e(s.Op.SetBlocks,s.iK),e(s.Op.Pop,1),e(s.Op.InvokeComponentLayout,s.iK),e(s.Op.DidRenderLayout,s.iK),e(s.BO.PopFrame),e(s.Op.PopScope),e(s.Op.PopDynamicScope),e(s.Op.CommitComponentTransaction)}function re(e,t,n){X(e,(()=>e(s.Op.ContentType)),(r=>{r(s.cM.String,(()=>{t?(e(s.Op.AssertSame),e(s.Op.AppendHTML)):e(s.Op.AppendText)})),"number"==typeof n?(r(s.cM.Component,(()=>{e(s.Op.ResolveCurriedComponent),e(s.Op.PushDynamicComponentInstance),function(e){e(s.Op.Fetch,s.iK),e(s.Op.Dup,s.w$,1),e(s.Op.Load,s.iK),e(s.BO.PushFrame),e(s.Op.PushEmptyArgs),e(s.Op.PrepareArgs,s.iK),ne(e,!1,!1,!0,(()=>{e(s.Op.GetComponentLayout,s.iK),e(s.Op.PopulateLayout,s.iK)})),e(s.Op.Load,s.iK)}(e)})),r(s.cM.Helper,(()=>{M(e,null,null,(()=>{e(s.BO.InvokeStatic,n)}))}))):(r(s.cM.Component,(()=>{e(s.Op.AppendText)})),r(s.cM.Helper,(()=>{e(s.Op.AppendText)}))),r(s.cM.SafeString,(()=>{e(s.Op.AssertSame),e(s.Op.AppendSafeHTML)})),r(s.cM.Fragment,(()=>{e(s.Op.AssertSame),e(s.Op.AppendDocumentFragment)})),r(s.cM.Node,(()=>{e(s.Op.AssertSame),e(s.Op.AppendNode)}))}))}B.add(a.WM.Concat,((e,[,t])=>{for(let n of t)z(e,n);e(s.Op.Concat,t.length)})),B.add(a.WM.Call,((e,[,t,n,r])=>{d(t)?e(g,t,(t=>{N(e,t,n,r)})):(z(e,t),M(e,n,r))})),B.add(a.WM.Curry,((e,[,t,n,r,i])=>{F(e,n,t,r,i)})),B.add(a.WM.GetSymbol,((e,[,t,n])=>{e(s.Op.GetVariable,t),j(e,n)})),B.add(a.WM.GetLexicalSymbol,((e,[,t,n])=>{e(1011,t,(t=>{e(s.Op.ConstantReference,t),j(e,n)}))})),B.add(a.WM.GetStrictKeyword,((e,t)=>{e(v,t[1],(n=>{e(g,t,(t=>{N(e,t,null,null)}))}))})),B.add(a.WM.GetFreeAsHelperHead,((e,t)=>{e(v,t[1],(n=>{e(g,t,(t=>{N(e,t,null,null)}))}))})),B.add(a.WM.Undefined,(e=>P(e,void 0))),B.add(a.WM.HasBlock,((e,[,t])=>{z(e,t),e(s.Op.HasBlock)})),B.add(a.WM.HasBlockParams,((e,[,t])=>{z(e,t),e(s.Op.SpreadBlock),e(s.Op.CompileBlock),e(s.Op.HasBlockParams)})),B.add(a.WM.IfInline,((e,[,t,n,r])=>{z(e,r),z(e,n),z(e,t),e(s.Op.IfInline)})),B.add(a.WM.Not,((e,[,t])=>{z(e,t),e(s.Op.Not)})),B.add(a.WM.GetDynamicVar,((e,[,t])=>{z(e,t),e(s.Op.GetDynamicVar)})),B.add(a.WM.Log,((e,[,t])=>{e(s.BO.PushFrame),U(e,t,null,!1),e(s.Op.Log),e(s.BO.PopFrame),e(s.Op.Fetch,s.xW)}));const ie={evalSymbols:null,upvars:null,moduleName:"stdlib",scopeValues:null,isStrictMode:!0,owner:null,size:0};function se(e,t){let{constants:n,heap:r,resolver:i}=e,s=new C(r,ie);t((function(...e){T(s,n,i,ie,e)}));let o=s.commit(0);if("number"!=typeof o)throw new Error("Unexpected errors compiling std");return o}class oe{constructor({constants:e,heap:t},n,i){(0,r.A)(this,"constants",void 0),(0,r.A)(this,"heap",void 0),(0,r.A)(this,"stdlib",void 0),this.resolver=n,this.createOp=i,this.constants=e,this.heap=t,this.stdlib=function(e){let t=se(e,(e=>function(e){e(s.Op.Main,s.iK),ne(e,!1,!1,!0)}(e))),n=se(e,(e=>re(e,!0,null))),r=se(e,(e=>re(e,!1,null))),i=se(e,(e=>re(e,!0,n))),o=se(e,(e=>re(e,!1,r)));return new S(t,i,o,n,r)}(this)}}function ae(e,t,n){return new oe(e,t,n)}function le(e,t){return{program:e,encoder:new C(e.heap,t,e.stdlib),meta:t}}const ue=new L,ce=["class","id","value","name","type","style","href"],he=["div","span","p","a"];function de(e){return"string"==typeof e?e:he[e]}function pe(e){return"string"==typeof e?e:ce[e]}function fe(e){return null===e?null:[e[0].map((e=>`@${e}`)),e[1]]}ue.add(a.WM.Comment,((e,t)=>e(s.Op.Comment,t[1]))),ue.add(a.WM.CloseElement,(e=>e(s.Op.CloseElement))),ue.add(a.WM.FlushElement,(e=>e(s.Op.FlushElement))),ue.add(a.WM.Modifier,((e,[,t,n,r])=>{h(t)?e(1003,t,(t=>{e(s.BO.PushFrame),U(e,n,r,!1),e(s.Op.Modifier,t),e(s.BO.PopFrame)})):(z(e,t),e(s.BO.PushFrame),U(e,n,r,!1),e(s.Op.Dup,s.zf,1),e(s.Op.DynamicModifier),e(s.BO.PopFrame))})),ue.add(a.WM.StaticAttr,((e,[,t,n,r])=>{e(s.Op.StaticAttr,pe(t),n,r??null)})),ue.add(a.WM.StaticComponentAttr,((e,[,t,n,r])=>{e(s.Op.StaticComponentAttr,pe(t),n,r??null)})),ue.add(a.WM.DynamicAttr,((e,[,t,n,r])=>{z(e,n),e(s.Op.DynamicAttr,pe(t),!1,r??null)})),ue.add(a.WM.TrustingDynamicAttr,((e,[,t,n,r])=>{z(e,n),e(s.Op.DynamicAttr,pe(t),!0,r??null)})),ue.add(a.WM.ComponentAttr,((e,[,t,n,r])=>{z(e,n),e(s.Op.ComponentAttr,pe(t),!1,r??null)})),ue.add(a.WM.TrustingComponentAttr,((e,[,t,n,r])=>{z(e,n),e(s.Op.ComponentAttr,pe(t),!0,r??null)})),ue.add(a.WM.OpenElement,((e,[,t])=>{e(s.Op.OpenElement,de(t))})),ue.add(a.WM.OpenElementWithSplat,((e,[,t])=>{e(s.Op.PutComponentOperations),e(s.Op.OpenElement,de(t))})),ue.add(a.WM.Component,((e,[,t,n,r,i])=>{c(t)?e(m,t,(t=>{Z(e,t,n,null,r,i)})):ee(e,t,n,null,r,i,!0,!0)})),ue.add(a.WM.Yield,((e,[,t,n])=>H(e,t,n))),ue.add(a.WM.AttrSplat,((e,[,t])=>H(e,t,null))),ue.add(a.WM.Debugger,((e,[,t])=>e(s.Op.Debugger,{type:3,value:void 0},t))),ue.add(a.WM.Append,((e,[,t])=>{if(Array.isArray(t))if(p(t))e(1008,t,{ifComponent(t){Z(e,t,null,null,null,null)},ifHelper(t){e(s.BO.PushFrame),N(e,t,null,null),e(s.BO.InvokeStatic,A("cautious-non-dynamic-append")),e(s.BO.PopFrame)},ifValue(t){e(s.BO.PushFrame),e(s.Op.ConstantReference,t),e(s.BO.InvokeStatic,A("cautious-non-dynamic-append")),e(s.BO.PopFrame)}});else if(t[0]===a.WM.Call){let[,n,r,i]=t;p(n)?e(1007,n,{ifComponent(t){Z(e,t,null,r,fe(i),null)},ifHelper(t){e(s.BO.PushFrame),N(e,t,r,i),e(s.BO.InvokeStatic,A("cautious-non-dynamic-append")),e(s.BO.PopFrame)}}):X(e,(()=>{z(e,n),e(s.Op.DynamicContentType)}),(t=>{t(s.cM.Component,(()=>{e(s.Op.ResolveCurriedComponent),e(s.Op.PushDynamicComponentInstance),te(e,{capabilities:!0,elementBlock:null,positional:r,named:i,atNames:!1,blocks:D(null)})})),t(s.cM.Helper,(()=>{M(e,r,i,(()=>{e(s.BO.InvokeStatic,A("cautious-non-dynamic-append"))}))}))}))}else e(s.BO.PushFrame),z(e,t),e(s.BO.InvokeStatic,A("cautious-append")),e(s.BO.PopFrame);else e(s.Op.Text,null==t?"":String(t))})),ue.add(a.WM.TrustingAppend,((e,[,t])=>{Array.isArray(t)?(e(s.BO.PushFrame),z(e,t),e(s.BO.InvokeStatic,A("trusting-append")),e(s.BO.PopFrame)):e(s.Op.Text,null==t?"":String(t))})),ue.add(a.WM.Block,((e,[,t,n,r,i])=>{c(t)?e(m,t,(t=>{Z(e,t,null,n,fe(r),i)})):ee(e,t,null,n,r,i,!1,!1)})),ue.add(a.WM.InElement,((e,[,t,n,r,i])=>{J(e,(()=>(z(e,n),void 0===i?P(e,void 0):z(e,i),z(e,r),e(s.Op.Dup,s.w$,0),4)),(()=>{e(s.Op.PushRemoteElement),$(e,t),e(s.Op.PopRemoteElement)}))})),ue.add(a.WM.If,((e,[,t,n,r])=>J(e,(()=>(z(e,t),e(s.Op.ToBoolean),1)),(()=>{$(e,n)}),r?()=>{$(e,r)}:void 0))),ue.add(a.WM.Each,((e,[,t,n,r,i])=>Y(e,(()=>(n?z(e,n):P(e,null),z(e,t),2)),(()=>{e(s.Op.EnterList,w("BODY"),w("ELSE")),e(s.BO.PushFrame),e(s.Op.Dup,s.zf,1),e(s.BO.ReturnTo,w("ITER")),e(y,"ITER"),e(s.Op.Iterate,w("BREAK")),e(y,"BODY"),G(e,r,2),e(s.Op.Pop,2),e(s.BO.Jump,w("FINALLY")),e(y,"BREAK"),e(s.BO.PopFrame),e(s.Op.ExitList),e(s.BO.Jump,w("FINALLY")),e(y,"ELSE"),i&&$(e,i)})))),ue.add(a.WM.Let,((e,[,t,n])=>{G(e,n,W(e,t))})),ue.add(a.WM.WithDynamicVars,((e,[,t,n])=>{if(t){let[r,i]=t;W(e,i),function(e,t,n){e(s.Op.PushDynamicScope),e(s.Op.BindDynamicScope,t),n(),e(s.Op.PopDynamicScope)}(e,r,(()=>{$(e,n)}))}else $(e,n)})),ue.add(a.WM.InvokeComponent,((e,[,t,n,r,i])=>{c(t)?e(m,t,(t=>{Z(e,t,null,n,fe(r),i)})):ee(e,t,null,n,r,i,!1,!1)}));class me{constructor(e,t,n,i="plain block"){(0,r.A)(this,"compiled",null),this.statements=e,this.meta=t,this.symbolTable=n,this.moduleName=i}compile(e){return function(e,t){if(null!==e.compiled)return e.compiled;e.compiled=-1;let{statements:n,meta:r}=e,i=function(e,t,n){let r=ue,i=le(n,t),{encoder:s,program:{constants:o,resolver:a}}=i;function l(...e){T(s,o,a,t,e)}for(const t of e)r.compile(l,t);return i.encoder.commit(t.size)}(n,r,t);return e.compiled=i,i}(this,e)}}class ge{constructor(e,t){(0,r.A)(this,"symbolTable",void 0),(0,r.A)(this,"compiled",null),(0,r.A)(this,"attrsBlockNumber",void 0),this.layout=e,this.moduleName=t;let{block:n}=e,[,i,s]=n;i=i.slice();let o=i.indexOf("&attrs");this.attrsBlockNumber=-1===o?i.push("&attrs"):o+1,this.symbolTable={hasEval:s,symbols:i}}compile(e){if(null!==this.compiled)return this.compiled;let t=Q(this.layout),n=le(e,t),{encoder:r,program:{constants:i,resolver:o}}=n;var a,l,u;a=function(...e){T(r,i,o,t,e)},l=this.layout,u=this.attrsBlockNumber,a(b),function(e,t,n){e(s.Op.Fetch,t),n(),e(s.Op.Load,t)}(a,s.b8,(()=>{a(s.Op.GetComponentTagName,s.iK),a(s.Op.PrimitiveReference),a(s.Op.Dup,s.w$,0)})),a(s.Op.JumpUnless,w("BODY")),a(s.Op.Fetch,s.b8),a(s.Op.PutComponentOperations),a(s.Op.OpenDynamicElement),a(s.Op.DidCreateElement,s.iK),H(a,u,null),a(s.Op.FlushElement),a(y,"BODY"),$(a,[l.block[0],[]]),a(s.Op.Fetch,s.b8),a(s.Op.JumpUnless,w("END")),a(s.Op.CloseElement),a(y,"END"),a(s.Op.Load,s.b8),a(_);let c=n.encoder.commit(t.size);return"number"!=typeof c||(this.compiled=c),c}}let ve=0,ye={cacheHit:0,cacheMiss:0};function be({id:e,moduleName:t,block:n,scope:r,isStrictMode:i}){let s,o=e||"client-"+ve++,a=null,l=new WeakMap,u=e=>{if(void 0===s&&(s=JSON.parse(n)),void 0===e)return null===a?(ye.cacheMiss++,a=new _e({id:o,block:s,moduleName:t,owner:null,scope:r,isStrictMode:i})):ye.cacheHit++,a;let u=l.get(e);return void 0===u?(ye.cacheMiss++,u=new _e({id:o,block:s,moduleName:t,owner:e,scope:r,isStrictMode:i}),l.set(e,u)):ye.cacheHit++,u};return u.__id=o,u.__meta={moduleName:t},u}class _e{constructor(e){(0,r.A)(this,"result","ok"),(0,r.A)(this,"layout",null),(0,r.A)(this,"wrappedLayout",null),this.parsedLayout=e}get moduleName(){return this.parsedLayout.moduleName}get id(){return this.parsedLayout.id}get referrer(){return{moduleName:this.parsedLayout.moduleName,owner:this.parsedLayout.owner}}asLayout(){return this.layout?this.layout:this.layout=function(e,t){let[n,r,i]=e.block;return new me(n,Q(e),{symbols:r,hasEval:i},t)}((0,i.kp)({},this.parsedLayout),this.moduleName)}asWrappedLayout(){return this.wrappedLayout?this.wrappedLayout:this.wrappedLayout=new ge((0,i.kp)({},this.parsedLayout),this.moduleName)}}},7479:(e,t,n)=>{"use strict";n.d(t,{QQ:()=>i,km:()=>s,yo:()=>r});const r=Symbol("OWNER");function i(e){return e[r]}function s(e,t){e[r]=t}},744:(e,t,n)=>{"use strict";n.d(t,{i9:()=>m,p9:()=>y,qi:()=>b});var r=n(9624),i=n(6703),s=n(5795),o=n(6200),a=n(5865);const l=[[[n(5523).WM.Yield,1,null]],["&default"],!1,[]],u={id:"1b32f5c2-7623-43d6-a0ad-9672898920a1",moduleName:"__default__.hbs",block:JSON.stringify(l),scope:null,isStrictMode:!0},c=Object.freeze([]),h=(0,o.AA)(c),d=h.indexOf(c);class p{constructor(){(0,r.A)(this,"values",h.slice()),(0,r.A)(this,"indexMap",new Map(this.values.map(((e,t)=>[e,t]))))}value(e){let t=this.indexMap,n=t.get(e);return void 0===n&&(n=this.values.push(e)-1,t.set(e,n)),n}array(e){if(0===e.length)return d;let t=new Array(e.length);for(let n=0;n=0,`cannot get value for handle: ${e}`),this.values[e]}getArray(e){let t=this.reifiedArrs,n=t[e];if(void 0===n){let r=this.getValue(e);n=new Array(r.length);for(const[e,t]of(0,o.HL)(r))n[e]=this.getValue(t);t[e]=n}return n}}class m{constructor(e){(0,r.A)(this,"offset",0),this.heap=e}get size(){return 1+((this.heap.getbyaddr(this.offset)&a.v_)>>a.mK)}get isMachine(){return this.heap.getbyaddr(this.offset)&a.nK?1:0}get type(){return this.heap.getbyaddr(this.offset)&a.mb}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 g=function(e){return e[e.Allocated=0]="Allocated",e[e.Freed=1]="Freed",e[e.Purged=2]="Purged",e[e.Pointer=3]="Pointer",e}(g||{});class v{constructor(){(0,r.A)(this,"offset",0),(0,r.A)(this,"heap",void 0),(0,r.A)(this,"handleTable",void 0),(0,r.A)(this,"handleState",void 0),(0,r.A)(this,"handle",0),this.heap=new Int32Array(1048576),this.handleTable=[],this.handleState=[]}pushRaw(e){this.sizeCheck(),this.heap[this.offset++]=e}pushOp(e){this.pushRaw(e)}pushMachine(e){this.pushRaw(e|a.nK)}sizeCheck(){let{heap:e}=this;if(this.offset===this.heap.length){let t=new Int32Array(e.length+1048576);t.set(e,0),this.heap=t}}getbyaddr(e){return(0,o.oA)(this.heap[e])}setbyaddr(e,t){this.heap[e]=t}malloc(){return this.handleTable.push(this.offset),this.handleTable.length-1}finishMalloc(e){}size(){return this.offset}getaddr(e){return(0,o.oA)(this.handleTable[e])}sizeof(e){return this.handleTable,-1}free(e){this.handleState[e]=g.Freed}compact(){let e=0,{handleTable:t,handleState:n,heap:r}=this;for(let i=0;i{"use strict";n.d(t,{AF:()=>C,BG:()=>d,GT:()=>m,L:()=>w,Od:()=>p,P2:()=>h,QO:()=>O,Qy:()=>E,Yb:()=>M,c1:()=>b,df:()=>f,du:()=>k,fR:()=>F,lq:()=>A,pZ:()=>v,t1:()=>y,xU:()=>T,xz:()=>_,zF:()=>g});var r=n(9624),i=n(1629),s=n(6200),o=n(2590);const a=Symbol("REFERENCE"),l=1,u=2;class c{constructor(e){(0,r.A)(this,a,void 0),(0,r.A)(this,"tag",null),(0,r.A)(this,"lastRevision",o.DI),(0,r.A)(this,"lastValue",void 0),(0,r.A)(this,"children",null),(0,r.A)(this,"compute",null),(0,r.A)(this,"update",null),(0,r.A)(this,"debugLabel",void 0),this[a]=e}}function h(e){const t=new c(u);return t.tag=o.ky,t.lastValue=e,t}const d=h(void 0),p=h(null),f=h(!0),m=h(!1);function g(e,t){const n=new c(0);return n.lastValue=e,n.tag=o.ky,n}function v(e,t){const n=new c(u);return n.lastValue=e,n.tag=o.ky,n}function y(e,t=null,n="unknown"){const r=new c(l);return r.compute=e,r.update=t,r}function b(e){return E(e)?y((()=>O(e)),null,e.debugLabel):e}function _(e){return 3===e[a]}function w(e){const t=y((()=>O(e)),(t=>k(e,t)));return t.debugLabel=e.debugLabel,t[a]=3,t}function A(e){return e.tag===o.ky}function E(e){return null!==e.update}function O(e){const t=e;let{tag:n}=t;if(n===o.ky)return t.lastValue;const{lastRevision:r}=t;let i;if(null!==n&&(0,o.z7)(n,r))i=t.lastValue;else{const{compute:e}=t,r=(0,o.u4)((()=>{i=t.lastValue=e()}),!1);n=t.tag=r,t.lastRevision=(0,o.RR)(r)}return(0,o.XE)(n),i}function k(e,t){(0,s.E3)(e.update,"called update on a non-updatable reference")(t)}function T(e,t){const n=e,r=n[a];let o,l=n.children;if(null===l)l=n.children=new Map;else if(o=l.get(t),void 0!==o)return o;if(r===u){const e=O(n);o=(0,s.Zm)(e)?v(e[t]):d}else o=y((()=>{const e=O(n);if((0,s.Zm)(e))return(0,i.GT)(e,t)}),(e=>{const r=O(n);if((0,s.Zm)(r))return(0,i.Ie)(r,t,e)}));return l.set(t,o),o}function C(e,t){let n=e;for(const e of t)n=T(n,e);return n}const S={},R=(e,t)=>t,x=(e,t)=>String(t),D=e=>null===e?S:e;class P{constructor(){(0,r.A)(this,"_weakMap",void 0),(0,r.A)(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(e,t){(0,s.Gv)(e)?this.weakMap.set(e,t):this.primitiveMap.set(e,t)}get(e){return(0,s.Gv)(e)?this.weakMap.get(e):this.primitiveMap.get(e)}}const I=new P;function N(e){let t=new P;return(n,r)=>{let i=e(n,r),s=t.get(i)||0;return t.set(i,s+1),0===s?i:function(e,t){let n=I.get(e);void 0===n&&(n=[],I.set(e,n));let r=n[t];return void 0===r&&(r={value:e,count:t},n[t]=r),r}(i,s)}}function M(e,t){return y((()=>{let n=O(e),r=function(e){switch(e){case"@key":return N(R);case"@index":return N(x);case"@identity":return N(D);default:return t=e,N((e=>(0,i.Yn)(e,t)))}var t}(t);if(Array.isArray(n))return new B(n,r);let o=(0,i.m9)(n);return null===o?new B(s.Ml,(()=>null)):new L(o,r)}))}function F(e){let t=e,n=(0,o.VZ)();return y((()=>((0,o.XE)(n),t)),(e=>{t!==e&&(t=e,(0,o.DT)(n))}))}class L{constructor(e,t){this.inner=e,this.keyFor=t}isEmpty(){return this.inner.isEmpty()}next(){let e=this.inner.next();return null!==e&&(e.key=this.keyFor(e.value,e.memo)),e}}class B{constructor(e,t){(0,r.A)(this,"current",void 0),(0,r.A)(this,"pos",0),this.iterator=e,this.keyFor=t,0===e.length?this.current={kind:"empty"}:this.current={kind:"first",value:e[this.pos]}}isEmpty(){return"empty"===this.current.kind}next(){let e,t=this.current;if("first"===t.kind)this.current={kind:"progress"},e=t.value;else{if(this.pos>=this.iterator.length-1)return null;e=this.iterator[++this.pos]}let{keyFor:n}=this;return{key:n(e,this.pos),value:e,memo:this.pos}}}},9328:(e,t,n)=>{"use strict";n.d(t,{$c:()=>hn,Co:()=>qe,ES:()=>xt,Fu:()=>Je,I2:()=>ne,Jt:()=>Bt,K9:()=>bt,Kv:()=>Ze,O9:()=>He,Qo:()=>ut,Tz:()=>ae,W:()=>ht,Xv:()=>Wt,Y9:()=>cn,YO:()=>It,c3:()=>Et,cF:()=>be,fn:()=>Lt,np:()=>D,nz:()=>An,on:()=>$t,p1:()=>E,sA:()=>Dt,tW:()=>jt,xW:()=>Mt});var r=n(9624),i=n(5865),s=n(6169),o=n(6200),a=n(5806),l=n(1629),u=n(6703),c=n(2590),h=n(744),d=n(7479);new Array(i.Op.Size).fill(null),new Array(i.Op.Size).fill(null);class p{constructor(e){(0,r.A)(this,"bucket",void 0),this.bucket=e?(0,o.kp)({},e):{}}get(e){return(0,o.oA)(this.bucket[e])}set(e,t){return this.bucket[e]=t}child(){return new p(this.bucket)}}class f{static root(e,t=0,n){let r=new Array(t+1).fill(s.BG);return new f(r,n,null,null,null).init({self:e})}static sized(e=0,t){let n=new Array(e+1).fill(s.BG);return new f(n,t,null,null,null)}constructor(e,t,n,r,i){this.slots=e,this.owner=t,this.callerScope=n,this.evalScope=r,this.partialMap=i}init({self:e}){return this.slots[0]=e,this}getSelf(){return this.get(0)}getSymbol(e){return this.get(e)}getBlock(e){let t=this.get(e);return t===s.BG?null:t}getEvalScope(){return this.evalScope}getPartialMap(){return this.partialMap}bind(e,t){this.set(e,t)}bindSelf(e){this.set(0,e)}bindSymbol(e,t){this.set(e,t)}bindBlock(e,t){this.set(e,t)}bindEvalScope(e){this.evalScope=e}bindPartialMap(e){this.partialMap=e}bindCallerScope(e){this.callerScope=e}getCallerScope(){return this.callerScope}child(){return new f(this.slots.slice(),this.owner,this.callerScope,this.evalScope,this.partialMap)}get(e){if(e>=this.slots.length)throw new RangeError(`BUG: cannot get $${e} from scope; length=${this.slots.length}`);return this.slots[e]}set(e,t){if(e>=this.slots.length)throw new RangeError(`BUG: cannot get $${e} from scope; length=${this.slots.length}`);this.slots[e]=t}}const m=Symbol("INNER_VM"),g=Symbol("DESTROYABLE_STACK"),v=Symbol("STACKS"),y=Symbol("REGISTERS"),b=Symbol("HEAP"),_=Symbol("CONSTANTS"),w=Symbol("ARGS");class A{constructor(e,t){this.element=e,this.nextSibling=t}}class E{constructor(e,t,n){this.parentNode=e,this.first=t,this.last=n}parentElement(){return this.parentNode}firstNode(){return this.first}lastNode(){return this.last}}function O(e,t){let n=e.parentElement(),r=e.firstNode(),i=e.lastNode(),s=r;for(;;){let e=s.nextSibling;if(n.insertBefore(s,t),s===i)return e;s=(0,o.E3)(e,"invalid bounds")}}function k(e){let t=e.parentElement(),n=e.firstNode(),r=e.lastNode(),i=n;for(;;){let e=i.nextSibling;if(t.removeChild(i),i===r)return e;i=(0,o.E3)(e,"invalid bounds")}}function T(e){return C(e)?"":String(e)}function C(e){return null==e||"function"!=typeof e.toString}function S(e){return"object"==typeof e&&null!==e&&"function"==typeof e.toHTML}function R(e){return"object"==typeof e&&null!==e&&"number"==typeof e.nodeType}function x(e){return"string"==typeof e}function D(e,t){let n,r;if(t in e)r=t,n="prop";else{let i=t.toLowerCase();i in e?(n="prop",r=i):(n="attr",r=t)}return"prop"!==n||"style"!==r.toLowerCase()&&!function(e,t){let n=P[e.toUpperCase()];return n&&n[t.toLowerCase()]||!1}(e.tagName,r)||(n="attr"),{normalized:r,type:n}}const P={INPUT:{form:!0,autocorrect:!0,list:!0},SELECT:{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}},I=["javascript:","vbscript:"],N=["A","BODY","LINK","IMG","IFRAME","BASE","FORM"],M=["EMBED"],F=["href","src","background","action"],L=["src"];function B(e,t){return-1!==e.indexOf(t)}function j(e,t){return(null===e||B(N,e))&&B(F,t)}function z(e,t){return null!==e&&B(M,e)&&B(L,t)}function U(e,t){return j(e,t)||z(e,t)}let W;function Q(e,t,n){let r=null;if(null==n)return n;if(S(n))return n.toHTML();r=e?e.tagName.toUpperCase():null;let i=T(n);if(j(r,t)){let e=(s=i,W||(W=function(){if("object"==typeof URL&&null!==URL&&"function"==typeof URL.parse){let e=URL;return t=>{let n=null;return"string"==typeof t&&(n=e.parse(t).protocol),null===n?":":n}}if("function"==typeof URL)return e=>{try{return new URL(e).protocol}catch(e){return":"}};throw new Error('@glimmer/runtime needs a valid "globalThis.URL"')}()),W(s));if(B(I,e))return`unsafe:${i}`}var s;return z(r,t)?`unsafe:${i}`:i}function V(e,t,n){return U(e,t)?new K(n):new q(n)}class H{constructor(e){this.attribute=e}}class q extends H{set(e,t,n){const r=J(t);if(null!==r){const{name:t,namespace:n}=this.attribute;e.__setAttribute(t,r,n)}}update(e,t){const n=J(e),{element:r,name:i}=this.attribute;null===n?r.removeAttribute(i):r.setAttribute(i,n)}}class $ extends H{constructor(e,t){super(t),(0,r.A)(this,"value",void 0),this.normalizedName=e}set(e,t,n){null!=t&&(this.value=t,e.__setProperty(this.normalizedName,t))}update(e,t){const{element:n}=this.attribute;this.value!==e&&(n[this.normalizedName]=this.value=e,null==e&&this.removeAttribute())}removeAttribute(){const{element:e,namespace:t}=this.attribute;t?e.removeAttributeNS(t,this.normalizedName):e.removeAttribute(this.normalizedName)}}class G extends ${set(e,t,n){const{element:r,name:i}=this.attribute,s=Q(r,i,t);super.set(e,s,n)}update(e,t){const{element:n,name:r}=this.attribute,i=Q(n,r,e);super.update(i,t)}}class K extends q{set(e,t,n){const{element:r,name:i}=this.attribute,s=Q(r,i,t);super.set(e,s,n)}update(e,t){const{element:n,name:r}=this.attribute,i=Q(n,r,e);super.update(i,t)}}class X extends ${set(e,t){e.__setProperty("value",T(t))}update(e){const t=(0,o.BO)(this.attribute.element,["input","textarea"]),n=t.value,r=T(e);n!==r&&(t.value=r)}}class Y extends ${set(e,t){null!=t&&!1!==t&&e.__setProperty("selected",!0)}update(e){(0,o.BO)(this.attribute.element,"option").selected=!!e}}function J(e){return!1===e||null==e||void 0===e.toString?null:!0===e?"":"function"==typeof e?null:String(e)}class Z{constructor(e){this.node=e}firstNode(){return this.node}}class ee{constructor(e){this.node=e}lastNode(){return this.node}}const te=Symbol("CURSOR_STACK");class ne{static forInitialRender(e,t){return new this(e,t.element,t.nextSibling).initialize()}static resume(e,t){let n=new this(e,t.parentElement(),t.reset(e)).initialize();return n.pushLiveBlock(t),n}constructor(e,t,n){(0,r.A)(this,"dom",void 0),(0,r.A)(this,"updateOperations",void 0),(0,r.A)(this,"constructing",null),(0,r.A)(this,"operations",null),(0,r.A)(this,"env",void 0),(0,r.A)(this,te,new o.BJ),(0,r.A)(this,"modifierStack",new o.BJ),(0,r.A)(this,"blockStack",new o.BJ),this.pushElement(t,n),this.env=e,this.dom=e.getAppendOperations(),this.updateOperations=e.getDOM()}initialize(){return this.pushSimpleBlock(),this}debugBlocks(){return this.blockStack.toArray()}get element(){return this[te].current.element}get nextSibling(){return this[te].current.nextSibling}get hasBlocks(){return this.blockStack.size>0}block(){return(0,o.E3)(this.blockStack.current,"Expected a current live block")}popElement(){this[te].pop(),(0,o.E3)(this[te].current,"can't pop past the last element")}pushSimpleBlock(){return this.pushLiveBlock(new re(this.element))}pushUpdatableBlock(){return this.pushLiveBlock(new se(this.element))}pushBlockList(e){return this.pushLiveBlock(new oe(this.element,e))}pushLiveBlock(e,t=!1){let n=this.blockStack.current;return null!==n&&(t||n.didAppendBounds(e)),this.__openBlock(),this.blockStack.push(e),e}popBlock(){return this.block().finalize(this),this.__closeBlock(),(0,o.E3)(this.blockStack.pop(),"Expected popBlock to return a block")}__openBlock(){}__closeBlock(){}openElement(e){let t=this.__openElement(e);return this.constructing=t,t}__openElement(e){return this.dom.createElement(e,this.element)}flushElement(e){let t=this.element,n=(0,o.E3)(this.constructing,"flushElement should only be called when constructing an element");this.__flushElement(t,n),this.constructing=null,this.operations=null,this.pushModifiers(e),this.pushElement(n,null),this.didOpenElement(n)}__flushElement(e,t){this.dom.insertBefore(e,t,this.nextSibling)}closeElement(){return this.willCloseElement(),this.popElement(),this.popModifiers()}pushRemoteElement(e,t,n){return this.__pushRemoteElement(e,t,n)}__pushRemoteElement(e,t,n){if(this.pushElement(e,n),void 0===n)for(;e.lastChild;)e.removeChild(e.lastChild);let r=new ie(e);return this.pushLiveBlock(r,!0)}popRemoteElement(){const e=this.popBlock();return(0,o.vA)(e instanceof ie,"[BUG] expecting a RemoteLiveBlock"),this.popElement(),e}pushElement(e,t=null){this[te].push(new A(e,t))}pushModifiers(e){this.modifierStack.push(e)}popModifiers(){return this.modifierStack.pop()}didAppendBounds(e){return this.block().didAppendBounds(e),e}didAppendNode(e){return this.block().didAppendNode(e),e}didOpenElement(e){return this.block().openElement(e),e}willCloseElement(){this.block().closeElement()}appendText(e){return this.didAppendNode(this.__appendText(e))}__appendText(e){let{dom:t,element:n,nextSibling:r}=this,i=t.createTextNode(e);return t.insertBefore(n,i,r),i}__appendNode(e){return this.dom.insertBefore(this.element,e,this.nextSibling),e}__appendFragment(e){let t=e.firstChild;if(t){let n=new E(this.element,t,e.lastChild);return this.dom.insertBefore(this.element,e,this.nextSibling),n}{const e=this.__appendComment("");return new E(this.element,e,e)}}__appendHTML(e){return this.dom.insertHTMLBefore(this.element,this.nextSibling,e)}appendDynamicHTML(e){let t=this.trustedContent(e);this.didAppendBounds(t)}appendDynamicText(e){let t=this.untrustedContent(e);return this.didAppendNode(t),t}appendDynamicFragment(e){let t=this.__appendFragment(e);this.didAppendBounds(t)}appendDynamicNode(e){let t=this.__appendNode(e),n=new E(this.element,t,t);this.didAppendBounds(n)}trustedContent(e){return this.__appendHTML(e)}untrustedContent(e){return this.__appendText(e)}appendComment(e){return this.didAppendNode(this.__appendComment(e))}__appendComment(e){let{dom:t,element:n,nextSibling:r}=this,i=t.createComment(e);return t.insertBefore(n,i,r),i}__setAttribute(e,t,n){this.dom.setAttribute(this.constructing,e,t,n)}__setProperty(e,t){this.constructing[e]=t}setStaticAttribute(e,t,n){this.__setAttribute(e,t,n)}setDynamicAttribute(e,t,n,r){let i=function(e,t,n){const{tagName:r,namespaceURI:i}=e,s={element:e,name:t,namespace:n};if(i===o.pr)return V(r,t,s);const{type:a,normalized:l}=D(e,t);return"attr"===a?V(r,l,s):function(e,t,n){return U(e,t)?new G(t,n):function(e,t){return("INPUT"===e||"TEXTAREA"===e)&&"value"===t}(e,t)?new X(t,n):function(e,t){return"OPTION"===e&&"selected"===t}(e,t)?new Y(t,n):new $(t,n)}(r,l,s)}(this.constructing,e,r);return i.set(this,t,this.env),i}}class re{constructor(e){(0,r.A)(this,"first",null),(0,r.A)(this,"last",null),(0,r.A)(this,"nesting",0),this.parent=e}parentElement(){return this.parent}firstNode(){return(0,o.E3)(this.first,"cannot call `firstNode()` while `SimpleLiveBlock` is still initializing").firstNode()}lastNode(){return(0,o.E3)(this.last,"cannot call `lastNode()` while `SimpleLiveBlock` is still initializing").lastNode()}openElement(e){this.didAppendNode(e),this.nesting++}closeElement(){this.nesting--}didAppendNode(e){0===this.nesting&&(this.first||(this.first=new Z(e)),this.last=new ee(e))}didAppendBounds(e){0===this.nesting&&(this.first||(this.first=e),this.last=e)}finalize(e){null===this.first&&e.appendComment("")}}class ie extends re{constructor(e){super(e),(0,a.JF)(this,(()=>{this.parentElement()===this.firstNode().parentNode&&k(this)}))}}class se extends re{reset(){(0,a.zr)(this);let e=k(this);return this.first=null,this.last=null,this.nesting=0,e}}class oe{constructor(e,t){this.parent=e,this.boundList=t,this.parent=e,this.boundList=t}parentElement(){return this.parent}firstNode(){return(0,o.E3)(this.boundList[0],"cannot call `firstNode()` while `LiveBlockList` is still initializing").firstNode()}lastNode(){let e=this.boundList;return(0,o.E3)(e[e.length-1],"cannot call `lastNode()` while `LiveBlockList` is still initializing").lastNode()}openElement(e){(0,o.vA)(!1,"Cannot openElement directly inside a block list")}closeElement(){(0,o.vA)(!1,"Cannot closeElement directly inside a block list")}didAppendNode(e){(0,o.vA)(!1,"Cannot create a new node directly inside a block list")}didAppendBounds(e){}finalize(e){(0,o.vA)(this.boundList.length>0,"boundsList cannot be empty")}}function ae(e,t){return ne.forInitialRender(e,t)}const le=new class{constructor(){(0,r.A)(this,"evaluateOpcode",new Array(i.Op.Size).fill(null))}add(e,t,n="syscall"){this.evaluateOpcode[e]={syscall:"machine"!==n,evaluate:t}}debugBefore(e,t){return{sp:void 0,pc:e.fetchValue(i.ME),name:void 0,params:void 0,type:t.type,isMachine:t.isMachine,size:t.size,state:void 0}}debugAfter(e,t){}evaluate(e,t,n){let r=(0,o.oA)(this.evaluateOpcode[n]);r.syscall?((0,o.vA)(!t.isMachine,`BUG: Mismatch between operation.syscall (${r.syscall}) and opcode.isMachine (${t.isMachine}) for ${t.type}`),r.evaluate(e,t)):((0,o.vA)(t.isMachine,`BUG: Mismatch between operation.syscall (${r.syscall}) and opcode.isMachine (${t.isMachine}) for ${t.type}`),r.evaluate(e[m],t))}},ue=Symbol("TYPE"),ce=Symbol("INNER"),he=Symbol("OWNER"),de=Symbol("ARGS"),pe=Symbol("RESOLVED"),fe=new WeakSet;function me(e){return fe.has(e)}function ge(e,t){return me(e)&&e[ue]===t}class ve{constructor(e,t,n,i,s=!1){(0,r.A)(this,ue,void 0),(0,r.A)(this,ce,void 0),(0,r.A)(this,he,void 0),(0,r.A)(this,de,void 0),(0,r.A)(this,pe,void 0),fe.add(this),this[ue]=e,this[ce]=t,this[he]=n,this[de]=i,this[pe]=s}}function ye(e){let t,n,r,i,s,o=e;for(;;){let{[de]:e,[ce]:a}=o;if(null!==e){let{named:r,positional:i}=e;i.length>0&&(t=void 0===t?i:i.concat(t)),void 0===n&&(n=[]),n.unshift(r)}if(!me(a)){r=a,i=o[he],s=o[pe];break}o=a}return{definition:r,owner:i,resolved:s,positional:t,named:n}}function be(e,t,n,r,i=!1){return new ve(e,t,n,r,i)}function _e(e){return"getDebugCustomRenderTree"in e}le.add(i.Op.ChildScope,(e=>e.pushChildScope())),le.add(i.Op.PopScope,(e=>e.popScope())),le.add(i.Op.PushDynamicScope,(e=>e.pushDynamicScope())),le.add(i.Op.PopDynamicScope,(e=>e.popDynamicScope())),le.add(i.Op.Constant,((e,{op1:t})=>{e.stack.push(e[_].getValue((0,o.XB)(t)))})),le.add(i.Op.ConstantReference,((e,{op1:t})=>{e.stack.push((0,s.zF)(e[_].getValue((0,o.XB)(t)),!1))})),le.add(i.Op.Primitive,((e,{op1:t})=>{let n=e.stack;if((0,o.r0)(t)){let r=e[_].getValue((0,o.XB)(t));n.push(r)}else n.push((0,o.Oq)(t))})),le.add(i.Op.PrimitiveReference,(e=>{let t,n=e.stack,r=n.pop();t=void 0===r?s.BG:null===r?s.Od:!0===r?s.df:!1===r?s.GT:(0,s.P2)(r),n.push(t)})),le.add(i.Op.Dup,((e,{op1:t,op2:n})=>{let r=e.fetchValue(t)-n;e.stack.dup(r)})),le.add(i.Op.Pop,((e,{op1:t})=>{e.stack.pop(t)})),le.add(i.Op.Load,((e,{op1:t})=>{e.load(t)})),le.add(i.Op.Fetch,((e,{op1:t})=>{e.fetch(t)})),le.add(i.Op.BindDynamicScope,((e,{op1:t})=>{let n=e[_].getArray(t);e.bindDynamicScope(n)})),le.add(i.Op.Enter,((e,{op1:t})=>{e.enter(t)})),le.add(i.Op.Exit,(e=>{e.exit()})),le.add(i.Op.PushSymbolTable,((e,{op1:t})=>{e.stack.push(e[_].getValue(t))})),le.add(i.Op.PushBlockScope,(e=>{e.stack.push(e.scope())})),le.add(i.Op.CompileBlock,(e=>{let t=e.stack,n=t.pop();n?t.push(e.compile(n)):t.push(null)})),le.add(i.Op.InvokeYield,(e=>{let{stack:t}=e,n=t.pop(),r=t.pop(),i=t.pop();(0,o.vA)(null===i||i&&"object"==typeof i&&Array.isArray(i.parameters),`Expected top of stack to be Option, was ${String(i)}`);let s=t.pop();if(null===i)return e.pushFrame(),void e.pushScope(r??e.scope());let a=(0,o.E3)(r,"BUG: expected scope");{let e=i.parameters,t=e.length;if(t>0){a=a.child();for(let n=0;n{let n=e.stack.pop(),r=Boolean((0,s.QO)(n));(0,s.lq)(n)?!0===r&&e.goto(t):(!0===r&&e.goto(t),e.updateWith(new we(n)))})),le.add(i.Op.JumpUnless,((e,{op1:t})=>{let n=e.stack.pop(),r=Boolean((0,s.QO)(n));(0,s.lq)(n)?!1===r&&e.goto(t):(!1===r&&e.goto(t),e.updateWith(new we(n)))})),le.add(i.Op.JumpEq,((e,{op1:t,op2:n})=>{e.stack.peek()===n&&e.goto(t)})),le.add(i.Op.AssertSame,(e=>{let t=e.stack.peek();!1===(0,s.lq)(t)&&e.updateWith(new we(t))})),le.add(i.Op.ToBoolean,(e=>{let{stack:t}=e,n=t.pop();t.push((0,s.t1)((()=>(0,l.AF)((0,s.QO)(n)))))}));class we{constructor(e){(0,r.A)(this,"last",void 0),this.ref=e,this.last=(0,s.QO)(e)}evaluate(e){let{last:t,ref:n}=this;t!==(0,s.QO)(n)&&e.throw()}}class Ae{constructor(e,t){(0,r.A)(this,"last",void 0),this.ref=e,this.filter=t,this.last=t((0,s.QO)(e))}evaluate(e){let{last:t,ref:n,filter:r}=this;t!==r((0,s.QO)(n))&&e.throw()}}class Ee{constructor(){(0,r.A)(this,"tag",c.ky),(0,r.A)(this,"lastRevision",c.DI),(0,r.A)(this,"target",void 0)}finalize(e,t){this.target=t,this.didModify(e)}evaluate(e){let{tag:t,target:n,lastRevision:r}=this;!e.alwaysRevalidate&&(0,c.z7)(t,r)&&((0,c.XE)(t),e.goto((0,o.E3)(n,"VM BUG: Target must be set before attempting to jump")))}didModify(e){this.tag=e,this.lastRevision=(0,c.RR)(this.tag),(0,c.XE)(e)}}class Oe{constructor(e){this.debugLabel=e}evaluate(){(0,c.yd)(this.debugLabel)}}class ke{constructor(e){this.target=e}evaluate(){let e=(0,c.QM)();this.target.didModify(e)}}le.add(i.Op.Text,((e,{op1:t})=>{e.elements().appendText(e[_].getValue(t))})),le.add(i.Op.Comment,((e,{op1:t})=>{e.elements().appendComment(e[_].getValue(t))})),le.add(i.Op.OpenElement,((e,{op1:t})=>{e.elements().openElement(e[_].getValue(t))})),le.add(i.Op.OpenDynamicElement,(e=>{let t=(0,s.QO)(e.stack.pop());e.elements().openElement(t)})),le.add(i.Op.PushRemoteElement,(e=>{let t=e.stack.pop(),n=e.stack.pop(),r=e.stack.pop(),i=(0,s.QO)(t),o=(0,s.QO)(n),l=(0,s.QO)(r);(0,s.lq)(t)||e.updateWith(new we(t)),void 0===o||(0,s.lq)(n)||e.updateWith(new we(n));let u=e.elements().pushRemoteElement(i,l,o);if(u&&e.associateDestroyable(u),void 0!==e.env.debugRenderTree){let r=He(void 0===o?{}:{insertBefore:n},[t]);e.env.debugRenderTree.create(u,{type:"keyword",name:"in-element",args:r,instance:null}),(0,a.JF)(u,(()=>{e.env.debugRenderTree?.willDestroy(u)}))}})),le.add(i.Op.PopRemoteElement,(e=>{let t=e.elements().popRemoteElement();void 0!==e.env.debugRenderTree&&e.env.debugRenderTree.didRender(t,t)})),le.add(i.Op.FlushElement,(e=>{let t=e.fetchValue(i.Di),n=null;t&&(n=t.flush(e),e.loadValue(i.Di,null)),e.elements().flushElement(n)})),le.add(i.Op.CloseElement,(e=>{let t=e.elements().closeElement();null!==t&&t.forEach((t=>{e.env.scheduleInstallModifier(t);const n=t.manager.getDestroyable(t.state);null!==n&&e.associateDestroyable(n)}))})),le.add(i.Op.Modifier,((e,{op1:t})=>{if(!1===e.env.isInteractive)return;let n=e.getOwner(),r=e.stack.pop(),s=e[_].getValue(t),{manager:a}=s,{constructing:l}=e.elements(),u=r.capture(),h=a.create(n,(0,o.E3)(l,"BUG: ElementModifier could not find the element it applies to"),s.state,u),d={manager:a,state:h,definition:s};(0,o.E3)(e.fetchValue(i.Di),"BUG: ElementModifier could not find operations to append to").addModifier(e,d,u);let p=a.getTag(h);return null!==p?((0,c.XE)(p),e.updateWith(new Te(p,d))):void 0})),le.add(i.Op.DynamicModifier,(e=>{if(!1===e.env.isInteractive)return;let{stack:t}=e,n=t.pop(),r=t.pop().capture(),{positional:a,named:l}=r,{constructing:h}=e.elements(),d=e.getOwner(),p=(0,s.t1)((()=>{let e,t,c=(0,s.QO)(n);if(!(0,o.Gv)(c))return;if(ge(c,i.P1.Modifier)){let{definition:n,owner:i,positional:s,named:o}=ye(c);t=n,e=i,void 0!==s&&(r.positional=s.concat(a)),void 0!==o&&(r.named=Object.assign({},...o,l))}else t=c,e=d;let p=(0,u.Ak)(t,!0);if(null===p)throw new Error("BUG: modifier manager expected");let f={resolvedName:null,manager:p,state:t},m=p.create(e,(0,o.E3)(h,"BUG: ElementModifier could not find the element it applies to"),f.state,r);return{manager:p,state:m,definition:f}})),f=(0,s.QO)(p),m=null;return void 0!==f&&((0,o.E3)(e.fetchValue(i.Di),"BUG: ElementModifier could not find operations to append to").addModifier(e,f,r),m=f.manager.getTag(f.state),null!==m&&(0,c.XE)(m)),!(0,s.lq)(n)||m?e.updateWith(new Ce(m,f,p)):void 0}));class Te{constructor(e,t){(0,r.A)(this,"lastUpdated",void 0),this.tag=e,this.modifier=t,this.lastUpdated=(0,c.RR)(e)}evaluate(e){let{modifier:t,tag:n,lastUpdated:r}=this;(0,c.XE)(n),(0,c.z7)(n,r)||(e.env.scheduleUpdateModifier(t),this.lastUpdated=(0,c.RR)(n))}}class Ce{constructor(e,t,n){(0,r.A)(this,"lastUpdated",void 0),this.tag=e,this.instance=t,this.instanceRef=n,this.lastUpdated=(0,c.RR)(e??c.lE)}evaluate(e){let{tag:t,lastUpdated:n,instance:r,instanceRef:i}=this,o=(0,s.QO)(i);if(o!==r){if(void 0!==r){let e=r.manager.getDestroyable(r.state);null!==e&&(0,a.zr)(e)}if(void 0!==o){let{manager:n,state:r}=o,i=n.getDestroyable(r);null!==i&&(0,a.T3)(this,i),t=n.getTag(r),null!==t&&(this.lastUpdated=(0,c.RR)(t)),this.tag=t,e.env.scheduleInstallModifier(o)}this.instance=o}else null===t||(0,c.z7)(t,n)||(e.env.scheduleUpdateModifier(r),this.lastUpdated=(0,c.RR)(t));null!==t&&(0,c.XE)(t)}}le.add(i.Op.StaticAttr,((e,{op1:t,op2:n,op3:r})=>{let i=e[_].getValue(t),s=e[_].getValue(n),o=r?e[_].getValue(r):null;e.elements().setStaticAttribute(i,s,o)})),le.add(i.Op.DynamicAttr,((e,{op1:t,op2:n,op3:r})=>{let i=e[_].getValue(t),o=e[_].getValue(n),a=e.stack.pop(),l=(0,s.QO)(a),u=r?e[_].getValue(r):null,c=e.elements().setDynamicAttribute(i,l,o,u);(0,s.lq)(a)||e.updateWith(new Se(a,c,e.env))}));class Se{constructor(e,t,n){(0,r.A)(this,"updateRef",void 0);let i=!1;this.updateRef=(0,s.t1)((()=>{let r=(0,s.QO)(e);!0===i?t.update(r,n):i=!0})),(0,s.QO)(this.updateRef)}evaluate(){(0,s.QO)(this.updateRef)}}le.add(i.Op.PushComponentDefinition,((e,{op1:t})=>{let n=e[_].getValue(t);(0,o.vA)(!!n,`Missing component for ${t}`);let{manager:r,capabilities:i}=n,s={definition:n,manager:r,capabilities:i,state:null,handle:null,table:null,lookup:null};e.stack.push(s)})),le.add(i.Op.ResolveDynamicComponent,((e,{op1:t})=>{let n,r=e.stack,a=(0,s.QO)(r.pop()),l=e[_],u=e.getOwner();if(l.getValue(t),e.loadValue(i.KW,null),"string"==typeof a){let t=function(e,t,n,r){let i=e.lookupComponent(n,(0,o.E3)(r,"BUG: expected owner when looking up component"));return t.resolvedComponent(i,n)}(e.runtime.resolver,l,a,u);n=(0,o.E3)(t,`Could not find a component named "${a}"`)}else n=me(a)?a:l.component(a,u);r.push(n)})),le.add(i.Op.ResolveCurriedComponent,(e=>{let t,n=e.stack,r=n.pop(),i=(0,s.QO)(r),o=e[_];t=me(i)?i:o.component(i,e.getOwner(),!0),n.push(t)})),le.add(i.Op.PushDynamicComponentInstance,(e=>{let t,n,{stack:r}=e,i=r.pop();me(i)?n=t=null:(n=i.manager,t=i.capabilities),r.push({definition:i,capabilities:t,manager:n,state:null,handle:null,table:null})})),le.add(i.Op.PushArgs,((e,{op1:t,op2:n,op3:r})=>{let i=e.stack,s=e[_].getArray(t),a=r>>4,l=8&r,u=7&r?e[_].getArray(n):o.aq;e[w].setup(i,s,u,a,!!l),i.push(e[w])})),le.add(i.Op.PushEmptyArgs,(e=>{let{stack:t}=e;t.push(e[w].empty(t))})),le.add(i.Op.CaptureArgs,(e=>{let t=e.stack,n=t.pop().capture();t.push(n)})),le.add(i.Op.PrepareArgs,((e,{op1:t})=>{let n=e.stack,r=e.fetchValue(t),s=n.pop(),{definition:a}=r;if(ge(a,i.P1.Component)){(0,o.vA)(!a.manager,"If the component definition was curried, we don't yet have a manager");let t=e[_],{definition:n,owner:l,resolved:u,positional:c,named:h}=ye(a);if(!0===u)a=n;else if("string"==typeof n){let r=e.runtime.resolver.lookupComponent(n,l);a=t.resolvedComponent((0,o.E3)(r,"BUG: expected resolved component"),n)}else a=t.component(n,l);void 0!==h&&s.named.merge((0,o.kp)({},...h)),void 0!==c&&(s.realloc(c.length),s.positional.prepend(c));let{manager:d}=a;(0,o.vA)(null===r.manager,"component instance manager should not be populated yet"),(0,o.vA)(null===r.capabilities,"component instance manager should not be populated yet"),r.definition=a,r.manager=d,r.capabilities=a.capabilities,e.loadValue(i.KW,l)}let{manager:l,state:c}=a,h=r.capabilities;if(!(0,u.wm)(l,h,i.Lx.prepareArgs))return void n.push(s);let d=s.blocks.values,p=s.blocks.names,f=l.prepareArgs(c,s);if(f){s.clear();for(let e=0;e{let r=e.fetchValue(n),{definition:s,manager:o,capabilities:a}=r;if(!(0,u.wm)(o,a,i.Lx.createInstance))return;let l=null;(0,u.wm)(o,a,i.Lx.dynamicScope)&&(l=e.dynamicScope());let c=1&t,h=null;(0,u.wm)(o,a,i.Lx.createArgs)&&(h=e.stack.peek());let d=null;(0,u.wm)(o,a,i.Lx.createCaller)&&(d=e.getSelf());let p=o.create(e.getOwner(),s.state,h,e.env,l,d,!!c);r.state=p,(0,u.wm)(o,a,i.Lx.updateHook)&&e.updateWith(new Ie(p,o,l))})),le.add(i.Op.RegisterComponentDestructor,((e,{op1:t})=>{let{manager:n,state:r,capabilities:i}=e.fetchValue(t),s=n.getDestroyable(r);s&&e.associateDestroyable(s)})),le.add(i.Op.BeginComponentTransaction,((e,{op1:t})=>{e.beginCacheGroup(void 0),e.elements().pushSimpleBlock()})),le.add(i.Op.PutComponentOperations,(e=>{e.loadValue(i.Di,new Re)})),le.add(i.Op.ComponentAttr,((e,{op1:t,op2:n,op3:r})=>{let s=e[_].getValue(t),o=e[_].getValue(n),a=e.stack.pop(),l=r?e[_].getValue(r):null;e.fetchValue(i.Di).setAttribute(s,a,o,l)})),le.add(i.Op.StaticComponentAttr,((e,{op1:t,op2:n,op3:r})=>{let s=e[_].getValue(t),o=e[_].getValue(n),a=r?e[_].getValue(r):null;e.fetchValue(i.Di).setStaticAttribute(s,o,a)}));class Re{constructor(){(0,r.A)(this,"attributes",(0,o.jd)()),(0,r.A)(this,"classes",[]),(0,r.A)(this,"modifiers",[])}setAttribute(e,t,n,r){let i={value:t,namespace:r,trusting:n};"class"===e&&this.classes.push(t),this.attributes[e]=i}setStaticAttribute(e,t,n){let r={value:t,namespace:n};"class"===e&&this.classes.push(t),this.attributes[e]=r}addModifier(e,t,n){if(this.modifiers.push(t),void 0!==e.env.debugRenderTree){const{manager:r,definition:i,state:s}=t;if(null===s||"object"!=typeof s&&"function"!=typeof s)return;let{element:l,constructing:u}=e.elements(),c=r.getDebugName(i.state),h=r.getDebugInstance(s);(0,o.vA)(u,"Expected a constructing element in addModifier");let d=new E(l,u,u);e.env.debugRenderTree.create(s,{type:"modifier",name:c,args:n,instance:h}),e.env.debugRenderTree.didRender(s,d),e.associateDestroyable(s),e.updateWith(new Me(s)),e.updateWith(new Fe(s,d)),(0,a.JF)(s,(()=>{e.env.debugRenderTree?.willDestroy(s)}))}}flush(e){let t,n=this.attributes;for(let r in this.attributes){if("type"===r){t=n[r];continue}let i=(0,o.oA)(this.attributes[r]);"class"===r?De(e,"class",xe(this.classes),i.namespace,i.trusting):De(e,r,i.value,i.namespace,i.trusting)}return void 0!==t&&De(e,"type",t.value,t.namespace,t.trusting),this.modifiers}}function xe(e){return 0===e.length?"":1===e.length?(0,o.oA)(e[0]):function(e){return e.every((e=>"string"==typeof e))}(e)?e.join(" "):(t=e,(0,s.t1)((()=>{let e=[];for(const n of t){let t=T("string"==typeof n?n:(0,s.QO)(n));t&&e.push(t)}return 0===e.length?null:e.join(" ")})));var t}function De(e,t,n,r,i=!1){if("string"==typeof n)e.elements().setStaticAttribute(t,n,r);else{let o=e.elements().setDynamicAttribute(t,(0,s.QO)(n),i,r);(0,s.lq)(n)||e.updateWith(new Se(n,o,e.env))}}function Pe(e,t,n,r,i){let s=n.table.symbols.indexOf(e),o=r.get(t);-1!==s&&i.scope().bindBlock(s+1,o),n.lookup&&(n.lookup[e]=o)}le.add(i.Op.DidCreateElement,((e,{op1:t})=>{let{definition:n,state:r}=e.fetchValue(t),{manager:s}=n,a=e.fetchValue(i.Di);s.didCreateElement(r,(0,o.E3)(e.elements().constructing,"Expected a constructing element in DidCreateOpcode"),a)})),le.add(i.Op.GetComponentSelf,((e,{op1:t,op2:n})=>{let r=e.fetchValue(t),{definition:l,state:c}=r,{manager:h}=l,d=h.getSelf(c);if(void 0!==e.env.debugRenderTree){let r,l,h=e.fetchValue(t),{definition:p,manager:f}=h;if(e.stack.peek()===e[w])r=e[w].capture();else{let t=e[_].getArray(n);e[w].setup(e.stack,t,[],0,!0),r=e[w].capture()}let m=p.compilable;if(null===m?((0,o.vA)((0,u.wm)(f,h.capabilities,i.Lx.dynamicLayout),"BUG: No template was found for this component, and the component did not have the dynamic layout capability"),m=f.getDynamicLayout(c,e.runtime.resolver),l=null!==m?m.moduleName:"__default__.hbs"):l=m.moduleName,e.associateDestroyable(h),_e(f))f.getDebugCustomRenderTree(h.definition.state,h.state,r,l).forEach((t=>{let{bucket:n}=t;e.env.debugRenderTree.create(n,t),(0,a.JF)(h,(()=>{e.env.debugRenderTree?.willDestroy(n)})),e.updateWith(new Me(n))}));else{let t=p.resolvedName??f.getDebugName(p.state);e.env.debugRenderTree.create(h,{type:"component",name:t,args:r,template:l,instance:(0,s.QO)(d)}),(0,a.JF)(h,(()=>{e.env.debugRenderTree?.willDestroy(h)})),e.updateWith(new Me(h))}}e.stack.push(d)})),le.add(i.Op.GetComponentTagName,((e,{op1:t})=>{let{definition:n,state:r}=e.fetchValue(t),{manager:i}=n,s=i.getTagName(r);e.stack.push(s)})),le.add(i.Op.GetComponentLayout,((e,{op1:t})=>{let n=e.fetchValue(t),{manager:r,definition:s}=n,{stack:a}=e,{compilable:l}=s;if(null===l){let{capabilities:t}=n;(0,o.vA)((0,u.wm)(r,t,i.Lx.dynamicLayout),"BUG: No template was found for this component, and the component did not have the dynamic layout capability"),l=r.getDynamicLayout(n.state,e.runtime.resolver),null===l&&(l=(0,u.wm)(r,t,i.Lx.wrapped)?(0,o.gx)(e[_].defaultTemplate).asWrappedLayout():(0,o.gx)(e[_].defaultTemplate).asLayout())}let c=l.compile(e.context);a.push(l.symbolTable),a.push(c)})),le.add(i.Op.Main,((e,{op1:t})=>{let n=e.stack.pop(),r=e.stack.pop(),{manager:i,capabilities:s}=n,o={definition:n,manager:i,capabilities:s,state:null,handle:r.handle,table:r.symbolTable,lookup:null};e.loadValue(t,o)})),le.add(i.Op.PopulateLayout,((e,{op1:t})=>{let{stack:n}=e,r=n.pop(),i=n.pop(),s=e.fetchValue(t);s.handle=r,s.table=i})),le.add(i.Op.VirtualRootScope,((e,{op1:t})=>{let n,{table:r,manager:s,capabilities:o,state:a}=e.fetchValue(t);(0,u.wm)(s,o,i.Lx.hasSubOwner)?(n=s.getOwner(a),e.loadValue(i.KW,null)):(n=e.fetchValue(i.KW),null===n?n=e.getOwner():e.loadValue(i.KW,null)),e.pushRootScope(r.symbols.length+1,n)})),le.add(i.Op.SetupForEval,((e,{op1:t})=>{let n=e.fetchValue(t);if(n.table.hasEval){let t=n.lookup=(0,o.jd)();e.scope().bindEvalScope(t)}})),le.add(i.Op.SetNamedVariables,((e,{op1:t})=>{let n=e.fetchValue(t),r=e.scope(),i=e.stack.peek(),s=i.named.atNames;for(let e=s.length-1;e>=0;e--){let t=(0,o.oA)(s[e]),a=n.table.symbols.indexOf(t),l=i.named.get(t,!0);-1!==a&&r.bindSymbol(a+1,l),n.lookup&&(n.lookup[t]=l)}})),le.add(i.Op.SetBlocks,((e,{op1:t})=>{let n=e.fetchValue(t),{blocks:r}=e.stack.peek();for(const[t]of(0,o.HL)(r.names))Pe((0,o.oA)(r.symbolNames[t]),(0,o.oA)(r.names[t]),n,r,e)})),le.add(i.Op.InvokeComponentLayout,((e,{op1:t})=>{let n=e.fetchValue(t);e.call(n.handle)})),le.add(i.Op.DidRenderLayout,((e,{op1:t})=>{let n=e.fetchValue(t),{manager:r,state:s,capabilities:o}=n,a=e.elements().popBlock();void 0!==e.env.debugRenderTree&&(_e(r)?r.getDebugCustomRenderTree(n.definition.state,s,Ze).reverse().forEach((t=>{let{bucket:n}=t;e.env.debugRenderTree.didRender(n,a),e.updateWith(new Fe(n,a))})):(e.env.debugRenderTree.didRender(n,a),e.updateWith(new Fe(n,a)))),(0,u.wm)(r,o,i.Lx.createInstance)&&(r.didRenderLayout(s,a),e.env.didCreate(n),e.updateWith(new Ne(n,a)))})),le.add(i.Op.CommitComponentTransaction,(e=>{e.commitCacheGroup()}));class Ie{constructor(e,t,n){this.component=e,this.manager=t,this.dynamicScope=n}evaluate(e){let{component:t,manager:n,dynamicScope:r}=this;n.update(t,r)}}class Ne{constructor(e,t){this.component=e,this.bounds=t}evaluate(e){let{component:t,bounds:n}=this,{manager:r,state:i}=t;r.didUpdateLayout(i,n),e.env.didUpdate(t)}}class Me{constructor(e){this.bucket=e}evaluate(e){e.env.debugRenderTree?.update(this.bucket)}}class Fe{constructor(e,t){this.bucket=e,this.bounds=t}evaluate(e){e.env.debugRenderTree?.didRender(this.bucket,this.bounds)}}class Le{constructor(){(0,r.A)(this,"stack",null),(0,r.A)(this,"positional",new je),(0,r.A)(this,"named",new ze),(0,r.A)(this,"blocks",new Qe)}empty(e){let t=e[y][i.w$]+1;return this.named.empty(e,t),this.positional.empty(e,t),this.blocks.empty(e,t),this}setup(e,t,n,r,s){this.stack=e;let o=this.named,a=t.length,l=e[y][i.w$]-a+1;o.setup(e,l,a,t,s);let u=l-r;this.positional.setup(e,u,r);let c=this.blocks,h=n.length,d=u-3*h;c.setup(e,d,h,n)}get base(){return this.blocks.base}get length(){return this.positional.length+this.named.length+3*this.blocks.length}at(e){return this.positional.at(e)}realloc(e){let{stack:t}=this;if(e>0&&null!==t){let{positional:n,named:r}=this,s=n.base+e;for(let e=n.length+r.length-1;e>=0;e--)t.copy(e+n.base,e+s);n.base+=e,r.base+=e,t[y][i.w$]+=e}}capture(){let e=0===this.positional.length?Je:this.positional.capture();return{named:0===this.named.length?Ye:this.named.capture(),positional:e}}clear(){let{stack:e,length:t}=this;t>0&&null!==e&&e.pop(t)}}const Be=(0,o.tR)();class je{constructor(){(0,r.A)(this,"base",0),(0,r.A)(this,"length",0),(0,r.A)(this,"stack",null),(0,r.A)(this,"_references",null)}empty(e,t){this.stack=e,this.base=t,this.length=0,this._references=Be}setup(e,t,n){this.stack=e,this.base=t,this.length=n,this._references=0===n?Be:null}at(e){let{base:t,length:n,stack:r}=this;return e<0||e>=n?s.BG:r.get(e,t)}capture(){return this.references}prepend(e){let t=e.length;if(t>0){let{base:n,length:r,stack:i}=this;this.base=n-=t,this.length=r+t;for(let r=0;r0){let{names:n,length:r,stack:i}=this,s=n.slice();for(const n of t)-1===s.indexOf(n)&&(r=s.push(n),i.push(e[n]));this.length=r,this._references=null,this._names=s,this._atNames=null}}get references(){let e=this._references;if(!e){let{base:t,length:n,stack:r}=this;e=this._references=r.slice(t,t+n)}return e}toSyntheticName(e){return e.slice(1)}toAtName(e){return`@${e}`}}function Ue(e){return`&${e}`}const We=(0,o.tR)();class Qe{constructor(){(0,r.A)(this,"internalValues",null),(0,r.A)(this,"_symbolNames",null),(0,r.A)(this,"internalTag",null),(0,r.A)(this,"names",o.aq),(0,r.A)(this,"length",0),(0,r.A)(this,"base",0)}empty(e,t){this.stack=e,this.names=o.aq,this.base=t,this.length=0,this._symbolNames=null,this.internalTag=c.ky,this.internalValues=We}setup(e,t,n,r){this.stack=e,this.names=r,this.base=t,this.length=n,this._symbolNames=null,0===n?(this.internalTag=c.ky,this.internalValues=We):(this.internalTag=null,this.internalValues=null)}get values(){let e=this.internalValues;if(!e){let{base:t,length:n,stack:r}=this;e=this.internalValues=r.slice(t,t+3*n)}return e}has(e){return-1!==this.names.indexOf(e)}get(e){let t=this.names.indexOf(e);if(-1===t)return null;let{base:n,stack:r}=this,i=r.get(3*t,n),s=r.get(3*t+1,n),o=r.get(3*t+2,n);return null===o?null:[o,s,i]}capture(){return new Ve(this.names,this.values)}get symbolNames(){let e=this._symbolNames;return null===e&&(e=this._symbolNames=this.names.map(Ue)),e}}class Ve{constructor(e,t){(0,r.A)(this,"length",void 0),this.names=e,this.values=t,this.length=e.length}has(e){return-1!==this.names.indexOf(e)}get(e){let t=this.names.indexOf(e);return-1===t?null:[this.values[3*t+2],this.values[3*t+1],this.values[3*t]]}}function He(e,t){return{named:e,positional:t}}function qe(e){return e.map(s.QO)}const $e=Symbol("ARGUMENT_ERROR");function Ge(e){return null!==e&&"object"==typeof e&&e[$e]}function Ke(e){return{[$e]:!0,error:e}}function Xe(e){return{named:function(e){let t=(0,o.jd)();for(const[n,r]of Object.entries(e))try{t[n]=(0,s.QO)(r)}catch(e){t[n]=Ke(e)}return t}(e.named),positional:(t=e.positional,t.map((e=>{try{return(0,s.QO)(e)}catch(e){return Ke(e)}})))};var t}const Ye=Object.freeze(Object.create(null)),Je=Be,Ze=He(Ye,Je);function et(e){return"string"==typeof e?e:"function"!=typeof e.toString?"":String(e)}function tt(e,t){let n,r=(0,u.BK)(e,!0);return null===r?n=null:(n="function"==typeof r?r:r.getHelper(e),(0,o.vA)(r,"BUG: expected manager or helper")),n}function nt(e){return(0,o.vA)(Array.isArray(e)||e===s.BG,"a reference other than UNDEFINED_REFERENCE is illegal here"),e===s.BG}le.add(i.Op.Curry,((e,{op1:t,op2:n})=>{let r=e.stack,a=r.pop(),l=r.pop(),u=e.getOwner();e.runtime.resolver,e.loadValue(i.xW,function(e,t,n,r){let a,l;return(0,s.t1)((()=>{let u=(0,s.QO)(t);return u===a||(l=ge(u,e)?r?be(e,u,n,r):r:e===i.P1.Component&&"string"==typeof u&&u||(0,o.Gv)(u)?be(e,u,n,r):null,a=u),l}))}(t,a,u,l))})),le.add(i.Op.DynamicHelper,(e=>{let t,n=e.stack,r=n.pop(),l=n.pop().capture(),u=e.getOwner(),c=(0,s.t1)((()=>{void 0!==t&&(0,a.zr)(t);let e=(0,s.QO)(r);if(ge(e,i.P1.Helper)){let{definition:n,owner:r,positional:i,named:s}=ye(e),u=tt(n);void 0!==s&&(l.named=(0,o.kp)({},...s,l.named)),void 0!==i&&(l.positional=i.concat(l.positional)),t=u(l,r),(0,a.T3)(c,t)}else if((0,o.Gv)(e)){let n=tt(e);t=n(l,u),(0,a.xL)(t)&&(0,a.T3)(c,t)}else t=s.BG})),h=(0,s.t1)((()=>((0,s.QO)(c),(0,s.QO)(t))));e.associateDestroyable(c),e.loadValue(i.xW,h)})),le.add(i.Op.Helper,((e,{op1:t})=>{let n=e.stack,r=e[_].getValue(t)(n.pop().capture(),e.getOwner(),e.dynamicScope());(0,a.xL)(r)&&e.associateDestroyable(r),e.loadValue(i.xW,r)})),le.add(i.Op.GetVariable,((e,{op1:t})=>{let n=e.referenceForSymbol(t);e.stack.push(n)})),le.add(i.Op.SetVariable,((e,{op1:t})=>{let n=e.stack.pop();e.scope().bindSymbol(t,n)})),le.add(i.Op.SetBlock,((e,{op1:t})=>{let n=e.stack.pop(),r=e.stack.pop(),i=e.stack.pop();e.scope().bindBlock(t,[n,r,i])})),le.add(i.Op.ResolveMaybeLocal,((e,{op1:t})=>{let n=e[_].getValue(t),r=e.scope().getPartialMap()[n];void 0===r&&(r=(0,s.xU)(e.getSelf(),n)),e.stack.push(r)})),le.add(i.Op.RootScope,((e,{op1:t})=>{e.pushRootScope(t,e.getOwner())})),le.add(i.Op.GetProperty,((e,{op1:t})=>{let n=e[_].getValue(t),r=e.stack.pop();e.stack.push((0,s.xU)(r,n))})),le.add(i.Op.GetBlock,((e,{op1:t})=>{let{stack:n}=e,r=e.scope().getBlock(t);n.push(r)})),le.add(i.Op.SpreadBlock,(e=>{let{stack:t}=e,n=t.pop();if(n&&!nt(n)){let[e,r,i]=n;t.push(i),t.push(r),t.push(e)}else t.push(null),t.push(null),t.push(null)})),le.add(i.Op.HasBlock,(e=>{let{stack:t}=e,n=t.pop();n&&!nt(n)?t.push(s.df):t.push(s.GT)})),le.add(i.Op.HasBlockParams,(e=>{e.stack.pop(),e.stack.pop();let t=e.stack.pop(),n=t&&t.parameters.length;e.stack.push(n?s.df:s.GT)})),le.add(i.Op.Concat,((e,{op1:t})=>{let n=new Array(t);for(let r=t;r>0;r--)n[r-1]=e.stack.pop();var r;e.stack.push((r=n,(0,s.t1)((()=>{const e=[];for(const t of r){const n=(0,s.QO)(t);null!=n&&e.push(et(n))}return e.length>0?e.join(""):null}))))})),le.add(i.Op.IfInline,(e=>{let t=e.stack.pop(),n=e.stack.pop(),r=e.stack.pop();e.stack.push((0,s.t1)((()=>!0===(0,l.AF)((0,s.QO)(t))?(0,s.QO)(n):(0,s.QO)(r))))})),le.add(i.Op.Not,(e=>{let t=e.stack.pop();e.stack.push((0,s.t1)((()=>!(0,l.AF)((0,s.QO)(t)))))})),le.add(i.Op.GetDynamicVar,(e=>{let t=e.dynamicScope(),n=e.stack,r=n.pop();n.push((0,s.t1)((()=>{let e=String((0,s.QO)(r));return(0,s.QO)(t.get(e))})))})),le.add(i.Op.Log,(e=>{let{positional:t}=e.stack.pop().capture();e.loadValue(i.xW,(0,s.t1)((()=>{console.log(...qe(t))})))}));class rt{constructor(e,t,n){this.node=e,this.reference=t,this.lastValue=n}evaluate(){let e,t=(0,s.QO)(this.reference),{lastValue:n}=this;t!==n&&(e=C(t)?"":x(t)?t:String(t),e!==n)&&(this.node.nodeValue=this.lastValue=e)}}function it(e){return function(e){return x(e)||C(e)||"boolean"==typeof e||"number"==typeof e}(e)?i.cM.String:ge(e,i.P1.Component)||(0,u.eY)(e)?i.cM.Component:ge(e,i.P1.Helper)||(0,u.L$)(e)?i.cM.Helper:S(e)?i.cM.SafeString:function(e){return R(e)&&11===e.nodeType}(e)?i.cM.Fragment:R(e)?i.cM.Node:i.cM.String}function st(e){return(0,o.Gv)(e)?ge(e,i.P1.Component)||(0,u.eY)(e)?i.cM.Component:i.cM.Helper:i.cM.String}le.add(i.Op.ContentType,(e=>{let t=e.stack.peek();e.stack.push(it((0,s.QO)(t))),(0,s.lq)(t)||e.updateWith(new Ae(t,it))})),le.add(i.Op.DynamicContentType,(e=>{let t=e.stack.peek();e.stack.push(st((0,s.QO)(t))),(0,s.lq)(t)||e.updateWith(new Ae(t,st))})),le.add(i.Op.AppendHTML,(e=>{let t=e.stack.pop(),n=(0,s.QO)(t),r=C(n)?"":String(n);e.elements().appendDynamicHTML(r)})),le.add(i.Op.AppendSafeHTML,(e=>{let t=e.stack.pop(),n=(0,s.QO)(t).toHTML(),r=C(n)?"":n;e.elements().appendDynamicHTML(r)})),le.add(i.Op.AppendText,(e=>{let t=e.stack.pop(),n=(0,s.QO)(t),r=C(n)?"":String(n),i=e.elements().appendDynamicText(r);(0,s.lq)(t)||e.updateWith(new rt(i,t,r))})),le.add(i.Op.AppendDocumentFragment,(e=>{let t=e.stack.pop(),n=(0,s.QO)(t);e.elements().appendDynamicFragment(n)})),le.add(i.Op.AppendNode,(e=>{let t=e.stack.pop(),n=(0,s.QO)(t);e.elements().appendDynamicNode(n)}));let ot=function(e,t){console.info("Use `context`, and `get()` to debug this template."),t("this")};class at{constructor(e,t,n){(0,r.A)(this,"locals",(0,o.jd)()),this.scope=e;for(const r of n){let n=(0,o.oA)(t[r-1]),i=e.getSymbol(r);this.locals[n]=i}}get(e){let t,{scope:n,locals:r}=this,i=e.split("."),[a,...l]=e.split("."),u=n.getEvalScope();return"this"===a?t=n.getSelf():r[a]?t=(0,o.oA)(r[a]):0===a.indexOf("@")&&u[a]?t=u[a]:(t=this.scope.getSelf(),l=i),l.reduce(((e,t)=>(0,s.xU)(e,t)),t)}}le.add(i.Op.Debugger,((e,{op1:t,op2:n})=>{let r=e[_].getArray(t),i=e[_].getArray((0,o.XB)(n)),a=new at(e.scope(),r,i);ot((0,s.QO)(e.getSelf()),(e=>(0,s.QO)(a.get(e))))})),le.add(i.Op.EnterList,((e,{op1:t,op2:n})=>{let r=e.stack,i=r.pop(),o=r.pop(),a=(0,s.QO)(o),l=null===a?"@identity":String(a),u=(0,s.Yb)(i,l),c=(0,s.QO)(u);e.updateWith(new Ae(u,(e=>e.isEmpty()))),!0===c.isEmpty()?e.goto(n+1):(e.enterList(u,t),e.stack.push(c))})),le.add(i.Op.ExitList,(e=>{e.exitList()})),le.add(i.Op.Iterate,((e,{op1:t})=>{let n=e.stack.peek().next();null!==n?e.registerItem(e.enterItem(n)):e.goto(t)}));const lt={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},ut=new class{getCapabilities(){return lt}getDebugName({name:e}){return e}getSelf(){return s.Od}getDestroyable(){return null}};class ct{constructor(e="@glimmer/component/template-only",t="(unknown template-only component)"){this.moduleName=e,this.name=t}toString(){return this.moduleName}}function ht(e,t){return new ct(e,t)}(0,u.aO)(ut,ct.prototype);const dt={foreignObject:1,desc:1,title:1},pt=Object.create(null);class ft{constructor(e){this.document=e,this.setupUselessElement()}setupUselessElement(){this.uselessElement=this.document.createElement("div")}createElement(e,t){let n,r;if(t?(n=t.namespaceURI===o.pr||"svg"===e,r=!!dt[t.tagName]):(n="svg"===e,r=!1),n&&!r){if(pt[e])throw new Error(`Cannot create a ${e} inside an SVG context`);return this.document.createElementNS(o.pr,e)}return this.document.createElement(e)}insertBefore(e,t,n){e.insertBefore(t,n)}insertHTMLBefore(e,t,n){if(""===n){const n=this.createComment("");return e.insertBefore(n,t),new E(e,n,n)}const r=t?t.previousSibling:e.lastChild;let i;if(null===t)e.insertAdjacentHTML(o.gh,n),i=(0,o.E3)(e.lastChild,"bug in insertAdjacentHTML?");else if(t instanceof HTMLElement)t.insertAdjacentHTML("beforebegin",n),i=(0,o.E3)(t.previousSibling,"bug in insertAdjacentHTML?");else{const{uselessElement:r}=this;e.insertBefore(r,t),r.insertAdjacentHTML(o.cx,n),i=(0,o.E3)(r.previousSibling,"bug in insertAdjacentHTML?"),e.removeChild(r)}const s=(0,o.E3)(r?r.nextSibling:e.firstChild,"bug in insertAdjacentHTML?");return new E(e,s,i)}createTextNode(e){return this.document.createTextNode(e)}createComment(e){return this.document.createComment(e)}}function mt(e,t,n){if(!e)return t;if(!function(e,t){const n=e.createElementNS(t,"svg");try{n.insertAdjacentHTML(o.gh,"")}catch(e){}finally{return 1!==n.childNodes.length||(0,o.BO)((0,o.oA)(n.firstChild),"SVG").namespaceURI!==o.pr}}(e,n))return t;const r=e.createElement("div");return class extends t{insertHTMLBefore(e,t,i){return""===i||e.namespaceURI!==n?super.insertHTMLBefore(e,t,i):function(e,t,n,r){let i;if((0,o.vA)(""!==n,"html cannot be empty"),"FOREIGNOBJECT"===e.tagName.toUpperCase()){const e=""+n+"";(0,o.EW)(t),t.insertAdjacentHTML(o.ND,e),i=t.firstChild.firstChild}else{const e=""+n+"";(0,o.EW)(t),t.insertAdjacentHTML(o.ND,e),i=t.firstChild}return function(e,t,n){const r=(0,o.E3)(e.firstChild,"source is empty");let i=r,s=r;for(;s;){const e=s.nextSibling;t.insertBefore(s,n),i=s,s=e}return new E(t,r,i)}(i,e,r)}(e,r,i,t)}}}function gt(e,t){return e&&function(e){const t=e.createElement("div");return t.appendChild(e.createTextNode("first")),t.insertAdjacentHTML(o.gh,"second"),2!==t.childNodes.length}(e)?class extends t{constructor(e){super(e),(0,r.A)(this,"uselessComment",void 0),this.uselessComment=e.createComment("")}insertHTMLBefore(e,t,n){if(""===n)return super.insertHTMLBefore(e,t,n);let r=!1;const i=t?t.previousSibling:e.lastChild;i&&i instanceof Text&&(r=!0,e.insertBefore(this.uselessComment,t));const s=super.insertHTMLBefore(e,t,n);return r&&e.removeChild(this.uselessComment),s}}:t}const vt="undefined"==typeof document?null:(0,o.DP)(document);let yt=class extends ft{createElementNS(e,t){return this.document.createElementNS(e,t)}setAttribute(e,t,n,r=null){r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}};yt=gt(vt,yt),yt=mt(vt,yt,o.pr);const bt=yt;["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((e=>pt[e]=1));const _t="undefined"==typeof document?null:(0,o.DP)(document);class wt extends ft{constructor(e){super(e),(0,r.A)(this,"namespace",void 0),this.document=e,this.namespace=null}setAttribute(e,t,n){e.setAttribute(t,n)}removeAttribute(e,t){e.removeAttribute(t)}insertAfter(e,t,n){this.insertBefore(e,t,n.nextSibling)}}let At=wt;At=gt(_t,At),At=mt(_t,At,o.pr);const Et=At;let Ot=0;class kt{constructor(e){(0,r.A)(this,"id",Ot++),(0,r.A)(this,"value",void 0),this.value=e}get(){return this.value}release(){this.value=null}toString(){let e=`Ref ${this.id}`;if(null===this.value)return`${e} (released)`;try{return`${e}: ${this.value}`}catch{return e}}}class Tt{constructor(){(0,r.A)(this,"stack",new o.BJ),(0,r.A)(this,"refs",new WeakMap),(0,r.A)(this,"roots",new Set),(0,r.A)(this,"nodes",new WeakMap)}begin(){this.reset()}create(e,t){let n=(0,o.kp)({},t,{bounds:null,refs:new Set});this.nodes.set(e,n),this.appendChild(n,e),this.enter(e)}update(e){this.enter(e)}didRender(e,t){this.nodeFor(e).bounds=t,this.exit()}willDestroy(e){(0,o.E3)(this.refs.get(e),"BUG: missing ref").release()}commit(){this.reset()}capture(){return this.captureRefs(this.roots)}reset(){if(0!==this.stack.size){let e=(0,o.E3)(this.stack.toArray()[0],"expected root state when resetting render tree"),t=this.refs.get(e);for(void 0!==t&&this.roots.delete(t);!this.stack.isEmpty();)this.stack.pop()}}enter(e){this.stack.push(e)}exit(){this.stack.pop()}nodeFor(e){return(0,o.E3)(this.nodes.get(e),"BUG: missing node")}appendChild(e,t){let n=this.stack.current,r=new kt(t);if(this.refs.set(t,r),n){let t=this.nodeFor(n);t.refs.add(r),e.parent=t}else this.roots.add(r)}captureRefs(e){let t=[];return e.forEach((n=>{let r=n.get();r?t.push(this.captureNode(`render-node:${n.id}`,r)):e.delete(n)})),t}captureNode(e,t){let n=this.nodeFor(t),{type:r,name:i,args:s,instance:o,refs:a}=n,l=this.captureTemplate(n),u=this.captureBounds(n),c=this.captureRefs(a);return{id:e,type:r,name:i,args:Xe(s),instance:o,template:l,bounds:u,children:c}}captureTemplate({template:e}){return e||null}captureBounds(e){let t=(0,o.E3)(e.bounds,"BUG: missing bounds");return{parentElement:t.parentElement(),firstNode:t.firstNode(),lastNode:t.lastNode()}}}const Ct=Symbol("TRANSACTION");class St{constructor(){(0,r.A)(this,"scheduledInstallModifiers",[]),(0,r.A)(this,"scheduledUpdateModifiers",[]),(0,r.A)(this,"createdComponents",[]),(0,r.A)(this,"updatedComponents",[])}didCreate(e){this.createdComponents.push(e)}didUpdate(e){this.updatedComponents.push(e)}scheduleInstallModifier(e){this.scheduledInstallModifiers.push(e)}scheduleUpdateModifier(e){this.scheduledUpdateModifiers.push(e)}commit(){let{createdComponents:e,updatedComponents:t}=this;for(const{manager:t,state:n}of e)t.didCreate(n);for(const{manager:e,state:n}of t)e.didUpdate(n);let{scheduledInstallModifiers:n,scheduledUpdateModifiers:r}=this;for(const{manager:e,state:t,definition:r}of n){let n=e.getTag(t);if(null!==n){let r=(0,c.u4)((()=>e.install(t)),!1);(0,c.Gw)(n,r)}else e.install(t)}for(const{manager:e,state:t,definition:n}of r){let n=e.getTag(t);if(null!==n){let r=(0,c.u4)((()=>e.update(t)),!1);(0,c.Gw)(n,r)}else e.update(t)}}}class Rt{constructor(e,t){(0,r.A)(this,Ct,null),(0,r.A)(this,"updateOperations",void 0),(0,r.A)(this,"isInteractive",void 0),(0,r.A)(this,"isArgumentCaptureError",void 0),(0,r.A)(this,"debugRenderTree",void 0),this.delegate=t,this.isInteractive=t.isInteractive,this.debugRenderTree=this.delegate.enableDebugTooling?new Tt:void 0,this.isArgumentCaptureError=this.delegate.enableDebugTooling?Ge:void 0,e.appendOperations?(this.appendOperations=e.appendOperations,this.updateOperations=e.updateOperations):e.document&&(this.appendOperations=new bt(e.document),this.updateOperations=new wt(e.document))}getAppendOperations(){return this.appendOperations}getDOM(){return(0,o.E3)(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(){(0,o.vA)(!this[Ct],"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?.begin(),this[Ct]=new St}get transaction(){return(0,o.E3)(this[Ct],"must be in a transaction")}didCreate(e){this.transaction.didCreate(e)}didUpdate(e){this.transaction.didUpdate(e)}scheduleInstallModifier(e){this.isInteractive&&this.transaction.scheduleInstallModifier(e)}scheduleUpdateModifier(e){this.isInteractive&&this.transaction.scheduleUpdateModifier(e)}commit(){let e=this.transaction;this[Ct]=null,e.commit(),this.debugRenderTree?.commit(),this.delegate.onTransactionCommit()}}function xt(e,t,n,r){return{env:new Rt(e,t),program:new h.p9(n.constants,n.heap),resolver:r}}function Dt(e,t){if(e[Ct])t();else{e.begin();try{t()}finally{e.commit()}}}function Pt(e){return(0,u.bL)(e,{})}const It=Pt((({positional:e})=>(0,s.t1)((()=>qe(e)),null,"array"))),Nt=e=>(e=>null==e||"function"!=typeof e.toString)(e)?"":String(e),Mt=Pt((({positional:e})=>(0,s.t1)((()=>qe(e).map(Nt).join("")),null,"concat"))),Ft=(0,o.rw)("`fn` helper"),Lt=Pt((({positional:e})=>{let t=e[0];return(0,s.t1)((()=>(...n)=>{let[r,...i]=qe(e);if((0,s.xz)(t)){let e=i.length>0?i[0]:n[0];return(0,s.du)(t,e)}return r.call(Ft,...i,...n)}),null,"fn")})),Bt=Pt((({positional:e})=>{let t=e[0]??s.BG,n=e[1]??s.BG;return(0,s.t1)((()=>{let e=(0,s.QO)(t);if((0,o.Zm)(e))return(0,l.Yn)(e,String((0,s.QO)(n)))}),(e=>{let r=(0,s.QO)(t);if((0,o.Zm)(r))return(0,l.SO)(r,String((0,s.QO)(n)),e)}),"get")})),jt=Pt((({named:e})=>{let t=(0,s.t1)((()=>function(e){let t=(0,o.jd)();for(const[n,r]of Object.entries(e))t[n]=(0,s.QO)(r);return t}(e)),null,"hash"),n=new Map;for(let t in e)n.set(t,e[t]);return t.children=n,t}));function zt(e){return(0,c._W)(e.argsCache)}class Ut{constructor(e,t=()=>Ze){(0,r.A)(this,"argsCache",void 0);let n=(0,c.VC)((()=>t(e)));this.argsCache=n}get named(){return zt(this).named||Ye}get positional(){return zt(this).positional||Je}}function Wt(e,t,n){const r=(0,d.QQ)(e),i=(0,u.BK)(t).getDelegateFor(r);let s,o=new Ut(e,n),l=i.createHelper(t,o);if(!(0,u.a4)(i))throw new Error("TODO: unreachable, to be implemented with hasScheduledEffect");if(s=(0,c.VC)((()=>i.getValue(l))),(0,a.T3)(e,s),(0,u.Du)(i)){let e=i.getDestroyable(l);(0,a.T3)(s,e)}return s}(0,o.rw)("`on` modifier");class Qt{constructor(e,t){(0,r.A)(this,"tag",(0,c.jA)()),(0,r.A)(this,"element",void 0),(0,r.A)(this,"args",void 0),(0,r.A)(this,"listener",null),this.element=e,this.args=t,(0,a.JF)(this,(()=>{let{element:e,listener:t}=this;if(t){let{eventName:n,callback:r,options:i}=t;qt(e,n,r,i)}}))}updateListener(){let{element:e,args:t,listener:n}=this;(0,o.vA)(t.positional[0],"You must pass a valid DOM event name as the first argument to the `on` modifier");let r=(0,s.QO)(t.positional[0]);(0,o.vA)(t.positional[1],"You must pass a function as the second argument to the `on` modifier");let i,a,l,u=(0,s.QO)(t.positional[1]);{let{once:e,passive:n,capture:r}=t.named;e&&(i=(0,s.QO)(e)),n&&(a=(0,s.QO)(n)),r&&(l=(0,s.QO)(r))}let c,h=!1;if(h=null===n||r!==n.eventName||u!==n.userProvidedCallback||i!==n.once||a!==n.passive||l!==n.capture,h&&(void 0===i&&void 0===a&&void 0===l||(c={once:i,passive:a,capture:l})),h){let t=u;this.listener={eventName:r,callback:t,userProvidedCallback:u,once:i,passive:a,capture:l,options:c},n&&qt(e,n.eventName,n.callback,n.options),function(e,t,n,r){Vt++,e.addEventListener(t,n,r)}(e,r,t,c)}}}let Vt=0,Ht=0;function qt(e,t,n,r){Ht++,e.removeEventListener(t,n,r)}const $t=(0,u.wc)(new class{getDebugName(){return"on"}getDebugInstance(){return null}get counters(){return{adds:Vt,removes:Ht}}create(e,t,n,r){return new Qt(t,r)}getTag({tag:e}){return e}install(e){e.updateListener()}update(e){e.updateListener()}getDestroyable(e){return e}},{});class Gt{constructor(e,t,n,i,s){(0,r.A)(this,"currentOpSize",0),this.stack=e,this.heap=t,this.program=n,this.externs=i,this.registers=s}fetchRegister(e){return this.registers[e]}loadRegister(e,t){this.registers[e]=t}setPc(e){(0,o.vA)("number"==typeof e&&!isNaN(e),"pc is set to a number"),this.registers[i.ME]=e}pushFrame(){this.stack.push(this.registers[i.sq]),this.stack.push(this.registers[i.zf]),this.registers[i.zf]=this.registers[i.w$]-1}popFrame(){this.registers[i.w$]=this.registers[i.zf]-1,this.registers[i.sq]=this.stack.get(0),this.registers[i.zf]=this.stack.get(1)}pushSmallFrame(){this.stack.push(this.registers[i.sq])}popSmallFrame(){this.registers[i.sq]=this.stack.pop()}goto(e){this.setPc(this.target(e))}target(e){return this.registers[i.ME]+e-this.currentOpSize}call(e){(0,o.vA)(e<4294967295,"Jumping to placeholder address"),this.registers[i.sq]=this.registers[i.ME],this.setPc(this.heap.getaddr(e))}returnTo(e){this.registers[i.sq]=this.target(e)}return(){this.setPc(this.registers[i.sq])}nextStatement(){let{registers:e,program:t}=this,n=e[i.ME];if((0,o.vA)("number"==typeof n,"pc is a number"),-1===n)return null;let r=t.opcode(n),s=this.currentOpSize=r.size;return this.registers[i.ME]+=s,r}evaluateOuter(e,t){this.evaluateInner(e,t)}evaluateInner(e,t){e.isMachine?this.evaluateMachine(e):this.evaluateSyscall(e,t)}evaluateMachine(e){switch(e.type){case i.BO.PushFrame:return this.pushFrame();case i.BO.PopFrame:return this.popFrame();case i.BO.InvokeStatic:return this.call(e.op1);case i.BO.InvokeVirtual:return this.call(this.stack.pop());case i.BO.Jump:return this.goto(e.op1);case i.BO.Return:return this.return();case i.BO.ReturnTo:return this.returnTo(e.op1)}}evaluateSyscall(e,t){le.evaluate(t,e,e.type)}}class Kt{constructor(e,{alwaysRevalidate:t=!1}){(0,r.A)(this,"env",void 0),(0,r.A)(this,"dom",void 0),(0,r.A)(this,"alwaysRevalidate",void 0),(0,r.A)(this,"frameStack",new o.BJ),this.env=e,this.dom=e.getDOM(),this.alwaysRevalidate=t}execute(e,t){this._execute(e,t)}_execute(e,t){let{frameStack:n}=this;for(this.try(e,t);!n.isEmpty();){let e=this.frame.nextStatement();void 0!==e?e.evaluate(this):n.pop()}}get frame(){return(0,o.E3)(this.frameStack.current,"bug: expected a frame")}goto(e){this.frame.goto(e)}try(e,t){this.frameStack.push(new tn(e,t))}throw(){this.frame.handleException(),this.frameStack.pop()}}class Xt{constructor(e,t){this.state=e,this.resumeCallback=t}resume(e,t){return this.resumeCallback(e,this.state,t)}}class Yt{constructor(e,t,n,i){(0,r.A)(this,"children",void 0),(0,r.A)(this,"bounds",void 0),this.state=e,this.runtime=t,this.children=i,this.bounds=n}parentElement(){return this.bounds.parentElement()}firstNode(){return this.bounds.firstNode()}lastNode(){return this.bounds.lastNode()}evaluate(e){e.try(this.children,null)}}class Jt extends Yt{constructor(...e){super(...e),(0,r.A)(this,"type","try")}evaluate(e){e.try(this.children,this)}handleException(){let{state:e,bounds:t,runtime:n}=this;(0,a.mx)(this);let r=ne.resume(n.env,t),i=e.resume(n,r),s=[],o=this.children=[],l=i.execute((e=>{e.pushUpdating(s),e.updateWith(this),e.pushUpdating(o)}));(0,a.T3)(this,l.drop)}}class Zt extends Jt{constructor(e,t,n,i,s,o){super(e,t,n,[]),(0,r.A)(this,"retained",!1),(0,r.A)(this,"index",-1),this.key=i,this.memo=s,this.value=o}updateReferences(e){this.retained=!0,(0,s.du)(this.value,e.value),(0,s.du)(this.memo,e.memo)}shouldRemove(){return!this.retained}reset(){this.retained=!1}}class en extends Yt{constructor(e,t,n,i,o){super(e,t,n,i),(0,r.A)(this,"type","list-block"),(0,r.A)(this,"opcodeMap",new Map),(0,r.A)(this,"marker",null),(0,r.A)(this,"lastIterator",void 0),this.iterableRef=o,this.lastIterator=(0,s.QO)(o)}initializeChild(e){e.index=this.children.length-1,this.opcodeMap.set(e.key,e)}evaluate(e){let t=(0,s.QO)(this.iterableRef);if(this.lastIterator!==t){let{bounds:n}=this,{dom:r}=e,i=this.marker=r.createComment("");r.insertAfter(n.parentElement(),i,(0,o.E3)(n.lastNode(),"can't insert after an empty bounds")),this.sync(t),this.parentElement().removeChild(i),this.marker=null,this.lastIterator=t}super.evaluate(e)}sync(e){let{opcodeMap:t,children:n}=this,r=0,i=0;for(this.children=this.bounds.boundList=[];;){let s=e.next();if(null===s)break;let a=n[r],{key:l}=s;for(;void 0!==a&&!0===a.retained;)a=n[++r];if(void 0!==a&&a.key===l)this.retainItem(a,s),r++;else if(t.has(l)){let e=t.get(l);if(e.index{t.pushUpdating();let r=t.enterItem(e);r.index=o.length,o.push(r),n.set(l,r),(0,a.T3)(this,r)}))}moveItem(e,t,n){let r,i,{children:o}=this;(0,s.du)(e.memo,t.memo),(0,s.du)(e.value,t.value),e.retained=!0,void 0===n?O(e,this.marker):(r=e.lastNode().nextSibling,i=n.firstNode(),r!==i&&O(e,i)),e.index=o.length,o.push(e)}deleteItem(e){(0,a.zr)(e),k(e),this.opcodeMap.delete(e.key)}}class tn{constructor(e,t){(0,r.A)(this,"current",0),this.ops=e,this.exceptionHandler=t}goto(e){this.current=e}nextStatement(){return this.ops[this.current++]}handleException(){this.exceptionHandler&&this.exceptionHandler.handleException()}}class nn{constructor(e,t,n,r){this.env=e,this.updating=t,this.bounds=n,this.drop=r,(0,a.T3)(this,r),(0,a.JF)(this,(()=>k(this.bounds)))}rerender({alwaysRevalidate:e=!1}={alwaysRevalidate:!1}){let{env:t,updating:n}=this;new Kt(t,{alwaysRevalidate:e}).execute(n,this)}parentElement(){return this.bounds.parentElement()}firstNode(){return this.bounds.firstNode()}lastNode(){return this.bounds.lastNode()}handleException(){throw"this should never happen"}}class rn{static restore(e){return new this(e.slice(),[0,-1,e.length-1,0])}constructor(e=[],t){(0,r.A)(this,y,void 0),this.stack=e,this[y]=t}push(e){this.stack[++this[y][i.w$]]=e}dup(e=this[y][i.w$]){this.stack[++this[y][i.w$]]=this.stack[e]}copy(e,t){this.stack[t]=this.stack[e]}pop(e=1){let t=this.stack[this[y][i.w$]];return this[y][i.w$]-=e,t}peek(e=0){return this.stack[this[y][i.w$]-e]}get(e,t=this[y][i.zf]){return this.stack[t+e]}set(e,t,n=this[y][i.zf]){this.stack[n+t]=e}slice(e,t){return this.stack.slice(e,t)}capture(e){let t=this[y][i.w$]+1,n=t-e;return this.stack.slice(n,t)}reset(){this.stack.length=0}toArray(){return this.stack.slice(this[y][i.zf],this[y][i.w$]+1)}}class sn{constructor(){(0,r.A)(this,"scope",new o.BJ),(0,r.A)(this,"dynamicScope",new o.BJ),(0,r.A)(this,"updating",new o.BJ),(0,r.A)(this,"cache",new o.BJ),(0,r.A)(this,"list",new o.BJ)}}class on{get stack(){return this[m].stack}get pc(){return this[m].fetchRegister(i.ME)}fetch(e){let t=this.fetchValue(e);this.stack.push(t)}load(e){let t=this.stack.pop();this.loadValue(e,t)}fetchValue(e){if((0,i.qQ)(e))return this[m].fetchRegister(e);switch(e){case i.iK:return this.s0;case i.b8:return this.s1;case i.Di:return this.t0;case i.KW:return this.t1;case i.xW:return this.v0}}loadValue(e,t){switch((0,i.qQ)(e)&&this[m].loadRegister(e,t),e){case i.iK:this.s0=t;break;case i.b8:this.s1=t;break;case i.Di:this.t0=t;break;case i.KW:this.t1=t;break;case i.xW:this.v0=t}}pushFrame(){this[m].pushFrame()}popFrame(){this[m].popFrame()}goto(e){this[m].goto(e)}call(e){this[m].call(e)}returnTo(e){this[m].returnTo(e)}return(){this[m].return()}constructor(e,{pc:t,scope:n,dynamicScope:s,stack:a},l,u){(0,r.A)(this,v,new sn),(0,r.A)(this,b,void 0),(0,r.A)(this,"destructor",void 0),(0,r.A)(this,g,new o.BJ),(0,r.A)(this,_,void 0),(0,r.A)(this,w,void 0),(0,r.A)(this,m,void 0),(0,r.A)(this,"s0",null),(0,r.A)(this,"s1",null),(0,r.A)(this,"t0",null),(0,r.A)(this,"t1",null),(0,r.A)(this,"v0",null),(0,r.A)(this,"resume",void 0),this.runtime=e,this.elementStack=l,this.context=u,this.resume=ln(u);let c=rn.restore(a);(0,o.vA)("number"==typeof t,"pc is a number"),c[y][i.ME]=t,c[y][i.w$]=a.length-1,c[y][i.zf]=-1,this[b]=this.program.heap,this[_]=this.program.constants,this.elementStack=l,this[v].scope.push(n),this[v].dynamicScope.push(s),this[w]=new Le,this[m]=new Gt(c,this[b],e.program,{debugBefore:e=>le.debugBefore(this,e),debugAfter:e=>{le.debugAfter(this,e)}},c[y]),this.destructor={},this[g].push(this.destructor)}static initial(e,t,{handle:n,self:r,dynamicScope:i,treeBuilder:s,numSymbols:o,owner:a}){let l=f.root(r,o,a),u=an(e.program.heap.getaddr(n),l,i),c=ln(t)(e,u,s);return c.pushUpdating(),c}static empty(e,{handle:t,treeBuilder:n,dynamicScope:r,owner:i},o){let a=ln(o)(e,an(e.program.heap.getaddr(t),f.root(s.BG,0,i),r),n);return a.pushUpdating(),a}compile(e){return(0,o.eg)(e.compile(this.context))}get program(){return this.runtime.program}get env(){return this.runtime.env}captureState(e,t=this[m].fetchRegister(i.ME)){return{pc:t,scope:this.scope(),dynamicScope:this.dynamicScope(),stack:this.stack.capture(e)}}capture(e,t=this[m].fetchRegister(i.ME)){return new Xt(this.captureState(e,t),this.resume)}beginCacheGroup(e){let t=this.updating(),n=new Ee;t.push(n),t.push(new Oe(e)),this[v].cache.push(n),(0,c.yd)(e)}commitCacheGroup(){let e=this.updating(),t=(0,o.E3)(this[v].cache.pop(),"VM BUG: Expected a cache group"),n=(0,c.QM)();e.push(new ke(t)),t.finalize(n,e.length)}enter(e){let t=this.capture(e),n=this.elements().pushUpdatableBlock(),r=new Jt(t,this.runtime,n,[]);this.didEnter(r)}enterItem({key:e,value:t,memo:n}){let{stack:r}=this,i=(0,s.fR)(t),o=(0,s.fR)(n);r.push(i),r.push(o);let a=this.capture(2),l=this.elements().pushUpdatableBlock(),u=new Zt(a,this.runtime,l,e,o,i);return this.didEnter(u),u}registerItem(e){this.listBlock().initializeChild(e)}enterList(e,t){let n=[],r=this[m].target(t),i=this.capture(0,r),s=this.elements().pushBlockList(n),o=new en(i,this.runtime,s,n,e);this[v].list.push(o),this.didEnter(o)}didEnter(e){this.associateDestroyable(e),this[g].push(e),this.updateWith(e),this.pushUpdating(e.children)}exit(){this[g].pop(),this.elements().popBlock(),this.popUpdating()}exitList(){this.exit(),this[v].list.pop()}pushUpdating(e=[]){this[v].updating.push(e)}popUpdating(){return(0,o.E3)(this[v].updating.pop(),"can't pop an empty stack")}updateWith(e){this.updating().push(e)}listBlock(){return(0,o.E3)(this[v].list.current,"expected a list block")}associateDestroyable(e){let t=(0,o.E3)(this[g].current,"Expected destructor parent");(0,a.T3)(t,e)}tryUpdating(){return this[v].updating.current}updating(){return(0,o.E3)(this[v].updating.current,"expected updating opcode on the updating opcode stack")}elements(){return this.elementStack}scope(){return(0,o.E3)(this[v].scope.current,"expected scope on the scope stack")}dynamicScope(){return(0,o.E3)(this[v].dynamicScope.current,"expected dynamic scope on the dynamic scope stack")}pushChildScope(){this[v].scope.push(this.scope().child())}pushDynamicScope(){let e=this.dynamicScope().child();return this[v].dynamicScope.push(e),e}pushRootScope(e,t){let n=f.sized(e,t);return this[v].scope.push(n),n}pushScope(e){this[v].scope.push(e)}popScope(){this[v].scope.pop()}popDynamicScope(){this[v].dynamicScope.pop()}getOwner(){return this.scope().owner}getSelf(){return this.scope().getSelf()}referenceForSymbol(e){return this.scope().getSymbol(e)}execute(e){return this._execute(e)}_execute(e){let t;e&&e(this);do{t=this.next()}while(!t.done);return t.value}next(){let e,{env:t,elementStack:n}=this,r=this[m].nextStatement();return null!==r?(this[m].evaluateOuter(r,this),e={done:!1,value:null}):(this.stack.reset(),e={done:!0,value:new nn(t,this.popUpdating(),n.popBlock(),this.destructor)}),e}bindDynamicScope(e){let t=this.dynamicScope();for(const n of(0,o.BE)(e))t.set(n,this.stack.pop())}}function an(e,t,n){return{pc:e,scope:t,dynamicScope:n,stack:[]}}function ln(e){return(t,n,r)=>new on(t,n,r,e)}class un{constructor(e){this.vm=e}next(){return this.vm.next()}sync(){return this.vm.execute()}}function cn(e,t,n,r,i,s,a=new p){let l=(0,o.eg)(s.compile(t)),u=s.symbolTable.symbols.length,c=on.initial(e,t,{self:r,dynamicScope:a,treeBuilder:i,handle:l,numSymbols:u,owner:n});return new un(c)}function hn(e){return"%+b:0%"===e.nodeValue}class dn extends A{constructor(e,t,n){super(e,t),(0,r.A)(this,"candidate",null),(0,r.A)(this,"openBlockDepth",void 0),(0,r.A)(this,"injectedOmittedNode",!1),this.startingBlockDepth=n,this.openBlockDepth=n-1}}class pn extends ne{constructor(e,t,n){if(super(e,t,n),(0,r.A)(this,"unmatchedAttributes",null),(0,r.A)(this,"blockDepth",0),(0,r.A)(this,"startingBlockOffset",void 0),n)throw new Error("Rehydration with nextSibling not supported");let i=this.currentCursor.element.firstChild;for(;null!==i&&!fn(i);)i=i.nextSibling;(0,o.vA)(i,"Must have opening comment for rehydration."),this.candidate=i;const s=gn(i);if(0!==s){const e=s-1,t=this.dom.createComment(`%+b:${e}%`);i.parentNode.insertBefore(t,this.candidate);let n=i.nextSibling;for(;null!==n&&(!mn(n)||gn(n)!==s);)n=n.nextSibling;(0,o.vA)(n,"Must have closing comment for starting block comment");const r=this.dom.createComment(`%-b:${e}%`);i.parentNode.insertBefore(r,n.nextSibling),this.candidate=t,this.startingBlockOffset=e}else this.startingBlockOffset=0}get currentCursor(){return this[te].current}get candidate(){return this.currentCursor?this.currentCursor.candidate:null}set candidate(e){this.currentCursor.candidate=e}disableRehydration(e){const t=this.currentCursor;t.candidate=null,t.nextSibling=e}enableRehydration(e){const t=this.currentCursor;t.candidate=e,t.nextSibling=null}pushElement(e,t=null){const n=new dn(e,t,this.blockDepth||0);null!==this.candidate&&(n.candidate=e.firstChild,this.candidate=e.nextSibling),this[te].push(n)}clearMismatch(e){let t=e;const n=this.currentCursor;if(null!==n){const e=n.openBlockDepth;if(e>=n.startingBlockDepth)for(;t&&!(mn(t)&&e>=vn(t,this.startingBlockOffset));)t=this.remove(t);else for(;null!==t;)t=this.remove(t);this.disableRehydration(t)}}__openBlock(){const{currentCursor:e}=this;if(null===e)return;const t=this.blockDepth;this.blockDepth++;const{candidate:n}=e;if(null===n)return;const{tagName:r}=e.element;fn(n)&&vn(n,this.startingBlockOffset)===t?(this.candidate=this.remove(n),e.openBlockDepth=t):"TITLE"!==r&&"SCRIPT"!==r&&"STYLE"!==r&&this.clearMismatch(n)}__closeBlock(){const{currentCursor:e}=this;if(null===e)return;const t=e.openBlockDepth;this.blockDepth--;const{candidate:n}=e;let r=!1;if(null!==n)if(r=!0,mn(n)&&vn(n,this.startingBlockOffset)===t){const t=this.remove(n);this.candidate=t,e.openBlockDepth--}else this.clearMismatch(n),r=!1;if(!1===r){const t=e.nextSibling;if(null!==t&&mn(t)&&vn(t,this.startingBlockOffset)===this.blockDepth){const n=this.remove(t);this.enableRehydration(n),e.openBlockDepth--}}}__appendNode(e){const{candidate:t}=this;return t||super.__appendNode(e)}__appendHTML(e){const t=this.markerBounds();if(t){const e=t.firstNode(),n=t.lastNode(),r=new E(this.element,e.nextSibling,n.previousSibling),i=this.remove(e);return this.remove(n),null!==i&&_n(i)&&(this.candidate=this.remove(i),null!==this.candidate&&this.clearMismatch(this.candidate)),r}return super.__appendHTML(e)}remove(e){const t=(0,o.E3)(e.parentNode,"cannot remove a detached node"),n=e.nextSibling;return t.removeChild(e),n}markerBounds(){const e=this.candidate;if(e&&bn(e)){const t=e;let n=(0,o.E3)(t.nextSibling,"BUG: serialization markers must be paired");for(;n&&!bn(n);)n=(0,o.E3)(n.nextSibling,"BUG: serialization markers must be paired");return new E(this.element,t,n)}return null}__appendText(e){const{candidate:t}=this;return t?3===t.nodeType?(t.nodeValue!==e&&(t.nodeValue=e),this.candidate=t.nextSibling,t):8===(n=t).nodeType&&"%|%"===n.nodeValue||_n(t)&&""===e?(this.candidate=this.remove(t),this.__appendText(e)):(this.clearMismatch(t),super.__appendText(e)):super.__appendText(e);var n}__appendComment(e){const t=this.candidate;return t&&8===t.nodeType?(t.nodeValue!==e&&(t.nodeValue=e),this.candidate=t.nextSibling,t):(t&&this.clearMismatch(t),super.__appendComment(e))}__openElement(e){const t=this.candidate;if(t&&yn(t)&&function(e,t){return e.namespaceURI===o.pr?e.tagName===t:e.tagName===t.toUpperCase()}(t,e))return this.unmatchedAttributes=[].slice.call(t.attributes),t;if(t){if(yn(t)&&"TBODY"===t.tagName)return this.pushElement(t,null),this.currentCursor.injectedOmittedNode=!0,this.__openElement(e);this.clearMismatch(t)}return super.__openElement(e)}__setAttribute(e,t,n){const r=this.unmatchedAttributes;if(r){const n=wn(r,e);if(n)return n.value!==t&&(n.value=t),void r.splice(r.indexOf(n),1)}return super.__setAttribute(e,t,n)}__setProperty(e,t){const n=this.unmatchedAttributes;if(n){const r=wn(n,e);if(r)return r.value!==t&&(r.value=t),void n.splice(n.indexOf(r),1)}return super.__setProperty(e,t)}__flushElement(e,t){const{unmatchedAttributes:n}=this;if(n){for(const e of n)this.constructing.removeAttribute(e.name);this.unmatchedAttributes=null}else super.__flushElement(e,t)}willCloseElement(){const{candidate:e,currentCursor:t}=this;null!==e&&this.clearMismatch(e),t&&t.injectedOmittedNode&&this.popElement(),super.willCloseElement()}getMarker(e,t){const n=e.querySelector(`script[glmr="${t}"]`);return n?(0,o.DP)(n):null}__pushRemoteElement(e,t,n){const r=this.getMarker((0,o.BO)(e,"HTML"),t);if((0,o.vA)(!r||r.parentNode===e,"expected remote element marker's parent node to match remote element"),void 0===n){for(;null!==e.firstChild&&e.firstChild!==r;)this.remove(e.firstChild);n=null}const i=new dn(e,null,this.blockDepth);this[te].push(i),null===r?this.disableRehydration(n):this.candidate=this.remove(r);const s=new ie(e);return this.pushLiveBlock(s,!0)}didAppendBounds(e){if(super.didAppendBounds(e),this.candidate){const t=e.lastNode();this.candidate=t&&t.nextSibling}return e}}function fn(e){return e.nodeType===o.dz&&0===e.nodeValue.lastIndexOf("%+b:",0)}function mn(e){return e.nodeType===o.dz&&0===e.nodeValue.lastIndexOf("%-b:",0)}function gn(e){return parseInt(e.nodeValue.slice(4),10)}function vn(e,t){return gn(e)-t}function yn(e){return 1===e.nodeType}function bn(e){return 8===e.nodeType&&"%glmr%"===e.nodeValue}function _n(e){return 8===e.nodeType&&"% %"===e.nodeValue}function wn(e,t){for(const n of e)if(n.name===t)return n}function An(e,t){return pn.forInitialRender(e,t)}},4453:(e,t,n)=>{"use strict";n.d(t,{P:()=>s,r:()=>i.S}),n(1724),n(1719),n(943),n(5806);var r=n(2590),i=(n(6703),n(3570));n(2461);const s=(...e)=>{const[t,n,i]=e,s=new WeakMap,o=i.get;i.get=function(){return s.has(this)||s.set(this,(0,r.VC)(o.bind(this))),(0,r._W)(s.get(this))}}},6200:(e,t,n)=>{"use strict";n.d(t,{$5:()=>R,AA:()=>C,BE:()=>a,BJ:()=>g,BO:()=>M,DP:()=>N,E3:()=>h,EW:()=>y,Gv:()=>m,HL:()=>l,Ml:()=>i,ND:()=>E,Oq:()=>P,XB:()=>x,Zm:()=>f,aq:()=>o,cT:()=>D,cx:()=>A,dz:()=>b,eg:()=>B,g1:()=>v,gh:()=>O,gx:()=>j,jd:()=>p,jp:()=>d,kp:()=>I,oA:()=>c,pr:()=>w,r0:()=>T,rw:()=>z,tR:()=>s,vA:()=>u,zb:()=>S});var r=n(9624);const i=Object.freeze([]);function s(){return i}const o=s();function*a(e){for(let t=e.length-1;t>=0;t--)yield e[t]}function*l(e){let t=0;for(const n of e)yield[t++,n]}function u(e,t){if(!e)throw new Error(t||"assertion failure")}function c(e){if(null==e)throw new Error("Expected value to be present");return e}function h(e,t){if(null==e)throw new Error(t);return e}function d(e){return e.length>0}function p(){return Object.create(null)}function f(e){return null!=e}function m(e){return"function"==typeof e||"object"==typeof e&&null!==e}s();class g{constructor(e=[]){(0,r.A)(this,"stack",void 0),(0,r.A)(this,"current",null),this.stack=e}get size(){return this.stack.length}push(e){this.current=e,this.stack.push(e)}pop(){let e=this.stack.pop();return this.current=(0===(t=this.stack).length?void 0:t[t.length-1])??null,void 0===e?null:e;var t}nth(e){let t=this.stack.length;return t=0}function C(...e){return[!1,!0,null,void 0,...e]}function S(e){return e%1==0&&e<=k.MAX_INT&&e>=k.MIN_INT}function R(e){return e}function x(e){return e}function D(e){return(e|=0)<0?function(e){return e&k.SIGN_BIT}(e):function(e){return~e}(e)}function P(e){return(e|=0)>k.SIGN_BIT?function(e){return~e}(e):function(e){return e|~k.SIGN_BIT}(e)}[1,-1].forEach((e=>P(D(e))));let I=Object.assign;function N(e){return F(e),e}function M(e,t){if(null==e)return null;if(void 0===typeof document)throw new Error("Attempted to cast to a browser node in a non-browser context");if(F(e))return e;if(e.ownerDocument!==document)throw new Error("Attempted to cast to a browser node with a node that was not created from this document");return function(e,t){let n=!1;if(null!==e)if("string"==typeof t)n=L(e,t);else{if(!Array.isArray(t))throw function(e="unreachable"){return new Error(e)}();n=t.some((t=>L(e,t)))}if(n&&e instanceof Node)return e;throw function(e,t){return new Error(`cannot cast a ${e} into ${String(t)}`)}(`SimpleElement(${e?.constructor?.name??"null"})`,t)}(e,t)}function F(e){return e.nodeType===_}function L(e,t){switch(t){case"NODE":return!0;case"HTML":return e instanceof HTMLElement;case"SVG":return e instanceof SVGElement;case"ELEMENT":return e instanceof Element;default:if(t.toUpperCase()===t)throw new Error("BUG: this code is missing handling for a generic node type");return e instanceof Element&&e.tagName.toLowerCase()===t}}function B(e){if("number"==typeof e)return e;{let t=e.errors[0];throw new Error(`Compile Error: ${t.problem} @ ${t.span.start}..${t.span.end}`)}}function j(e){if("error"===e.result)throw new Error(`Compile Error: ${e.problem} @ ${e.span.start}..${e.span.end}`);return e}function z(e){return null}},2590:(e,t,n)=>{"use strict";n.d(t,{DI:()=>s,DT:()=>p,Gk:()=>Q,Gw:()=>f,Pz:()=>k,QM:()=>D,R6:()=>$,RR:()=>u,VC:()=>U,VE:()=>P,VZ:()=>m,XE:()=>F,_W:()=>W,bl:()=>N,dU:()=>I,gY:()=>T,jA:()=>g,kg:()=>b,ky:()=>v,lE:()=>y,oz:()=>M,st:()=>O,u4:()=>H,vz:()=>q,yd:()=>x,z7:()=>c});var r=n(9624),i=n(1629);n(6200);const s=1;let o=1;const a=1,l=Symbol("TAG_COMPUTE");function u(e){return e[l]()}function c(e,t){return t>=e[l]()}const h=Symbol("TAG_TYPE");class d{static combine(e){switch(e.length){case 0:return v;case 1:return e[0];default:{let t=new d(2);return t.subtag=e,t}}}constructor(e){(0,r.A)(this,"revision",1),(0,r.A)(this,"lastChecked",1),(0,r.A)(this,"lastValue",1),(0,r.A)(this,"isUpdating",!1),(0,r.A)(this,"subtag",null),(0,r.A)(this,"subtagBufferCache",null),(0,r.A)(this,h,void 0),this[h]=e}[l](){let{lastChecked:e}=this;if(!0===this.isUpdating)this.lastChecked=++o;else if(e!==o){this.isUpdating=!0,this.lastChecked=o;try{let{subtag:e,revision:t}=this;if(null!==e)if(Array.isArray(e))for(const n of e){let e=n[l]();t=Math.max(e,t)}else{let n=e[l]();n===this.subtagBufferCache?t=Math.max(t,this.lastValue):(this.subtagBufferCache=null,t=Math.max(t,n))}this.lastValue=t}finally{this.isUpdating=!1}}return this.lastValue}static updateTag(e,t){let n=e,r=t;r===v?n.subtag=null:(n.subtagBufferCache=r[l](),n.subtag=r)}static dirtyTag(e,t){e.revision=++o,(0,i.nY)()}}const p=d.dirtyTag,f=d.updateTag;function m(){return new d(0)}function g(){return new d(a)}const v=new d(3);new class{constructor(){(0,r.A)(this,h,100)}[l](){return NaN}};const y=new class{constructor(){(0,r.A)(this,h,101)}[l](){return o}},b=d.combine;let _=g(),w=g(),A=g();u(_),p(_),u(_),f(_,b([w,A])),u(_),p(w),u(_),p(A),u(_),f(_,A),u(_),p(A),u(_);const E=new WeakMap;function O(e,t,n){let r=void 0===n?E.get(e):n;if(void 0===r)return;let i=r.get(t);void 0!==i&&p(i,!0)}function k(e){let t=E.get(e);return void 0===t&&(t=new Map,E.set(e,t)),t}function T(e,t,n){let r=void 0===n?k(e):n,i=r.get(t);return void 0===i&&(i=g(),r.set(t,i)),i}class C{constructor(){(0,r.A)(this,"tags",new Set),(0,r.A)(this,"last",null)}add(e){e!==v&&(this.tags.add(e),this.last=e)}combine(){let{tags:e}=this;return 0===e.size?v:1===e.size?this.last:b(Array.from(this.tags))}}let S=null;const R=[];function x(e){R.push(S),S=new C}function D(){let e=S;return S=R.pop()||null,function(e){if(null==e)throw new Error("Expected value to be present");return e}(e).combine()}function P(){R.push(S),S=null}function I(){S=R.pop()||null}function N(){for(;R.length>0;)R.pop();S=null}function M(){return null!==S}function F(e){null!==S&&S.add(e)}const L=Symbol("FN"),B=Symbol("LAST_VALUE"),j=Symbol("TAG"),z=Symbol("SNAPSHOT");function U(e,t){return{[L]:e,[B]:void 0,[j]:void 0,[z]:-1}}function W(e){V();let t=e[L],n=e[j],r=e[z];if(void 0!==n&&c(n,r))F(n);else{x();try{e[B]=t()}finally{n=D(),e[j]=n,e[z]=u(n),F(n)}}return e[B]}function Q(e){return V(),function(e){return e===v}(e[j])}function V(e,t){}function H(e,t){let n;x();try{e()}finally{n=D()}return n}function q(e){P();try{return e()}finally{I()}}function $(e,t){let n=new WeakMap,r="function"==typeof t;return{getter:function(i){let s;return F(T(i,e)),r&&!n.has(i)?(s=t.call(i),n.set(i,s)):s=n.get(i),s},setter:function(t,r){O(t,e),n.set(t,r)}}}Symbol("DEBUG_LABEL");const G=Symbol("GLIMMER_VALIDATOR_REGISTRATION"),K=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===K[G])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.");K[G]=!0},5865:(e,t,n)=>{"use strict";n.d(t,{BO:()=>h,Di:()=>_,JZ:()=>a,KW:()=>w,Lx:()=>s,ME:()=>f,Op:()=>d,P1:()=>i,b8:()=>b,cM:()=>r,iK:()=>y,mK:()=>o,mb:()=>l,nK:()=>c,nL:()=>p,qQ:()=>T,sq:()=>m,v_:()=>u,w$:()=>v,xW:()=>A,zf:()=>g});const r={Component:0,Helper:1,String:2,Empty:3,SafeString:4,Fragment:5,Node:6,Other:8},i={Component:0,Helper:1,Modifier:2},s={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},o=8,a=255,l=255,u=768,c=1024,h={PushFrame:0,PopFrame:1,InvokeVirtual:2,InvokeStatic:3,Jump:4,Return:5,ReturnTo:6,Size:7},d={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 p(e){return e>=0&&e<=15}const f=0,m=1,g=2,v=3,y=4,b=5,_=6,w=7,A=8;var E,O,k;function T(e){return e<=3}(E={})[E.pc=0]="pc",E[E.ra=1]="ra",E[E.fp=2]="fp",E[E.sp=3]="sp",(k={})[k.s0=4]="s0",k[k.s1=5]="s1",(O={})[O.t0=6]="t0",O[O.t1=7]="t1"},5523:(e,t,n)=>{"use strict";n.d(t,{WM:()=>r});const r={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};function i(e){return function(t){return Array.isArray(t)&&t[0]===e}}i(r.FlushElement),i(r.GetSymbol)},6858:(e,t,n)=>{"use strict";n.d(t,{A:()=>W});const r=setTimeout,i=()=>{};function s(e){if("function"==typeof Promise){const t=Promise.resolve();return()=>t.then(e)}if("function"==typeof MutationObserver){let t=0,n=new MutationObserver(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),()=>(t=++t%2,r.data=""+t,t)}return()=>r(e,0)}function o(e){let t=i;return{setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),now:()=>Date.now(),next:s(e),clearNext:t}}const a=/\d+/;function l(e){let t=typeof e;return"number"===t&&e==e||"string"===t&&a.test(e)}function u(e){return e.onError||e.onErrorTarget&&e.onErrorTarget[e.onErrorMethod]}function c(e,t,n){let r=-1;for(let i=0,s=n.length;i=t[n]?i=n+6:s=n;return e>=t[i]?i+6:i}class f{constructor(e,t={},n={}){this._queueBeingFlushed=[],this.targetQueues=new Map,this.index=0,this._queue=[],this.name=e,this.options=t,this.globalOptions=n}stackFor(e){if(e0){let e=u(this.globalOptions);s=e?this.invokeWithOnError:this.invoke;for(let o=this.index;o0&&this.flush(!0)}hasWork(){return this._queueBeingFlushed.length>0||this._queue.length>0}cancel({target:e,method:t}){let n=this._queue,r=this.targetQueues.get(e);void 0!==r&&r.delete(t);let i=c(e,t,n);return i>-1?(n[i+1]=null,!0):(n=this._queueBeingFlushed,i=c(e,t,n),i>-1&&(n[i+1]=null,!0))}push(e,t,n,r){return this._queue.push(e,t,n,r),{queue:this,target:e,method:t}}pushUnique(e,t,n,r){let i=this.targetQueues.get(e);void 0===i&&(i=new Map,this.targetQueues.set(e,i));let s=i.get(t);if(void 0===s){let s=this._queue.push(e,t,n,r)-4;i.set(t,s)}else{let e=this._queue;e[s+2]=n,e[s+3]=r}return{queue:this,target:e,method:t}}_getDebugInfo(e){if(e)return d(this._queue,4)}invoke(e,t,n){void 0===n?t.call(e):t.apply(e,n)}invokeWithOnError(e,t,n,r,i){try{void 0===n?t.call(e):t.apply(e,n)}catch(e){r(e,i)}}}class m{constructor(e=[],t){this.queues={},this.queueNameIndex=0,this.queueNames=e,e.reduce((function(e,n){return e[n]=new f(n,t[n],t),e}),this.queues)}schedule(e,t,n,r,i,s){let o=this.queues[e];if(void 0===o)throw new Error(`You attempted to schedule an action in a queue (${e}) that doesn't exist`);if(null==n)throw new Error(`You attempted to schedule an action in a queue (${e}) for a method that doesn't exist`);return this.queueNameIndex=0,i?o.pushUnique(t,n,r,s):o.push(t,n,r,s)}flush(e=!1){let t,n,r=this.queueNames.length;for(;this.queueNameIndexi){let t=r-i;e=new Array(t);for(let n=0;n{j++,!1!==this._autorun&&(this._autorun=!1,this._autorunStack=null,this._end(!0))};let n=this.options._buildPlatform||o;this._platform=n(this._boundAutorunEnd)}get counters(){return{begin:A,end:E,events:{begin:O,end:0},autoruns:{created:B,completed:j},run:k,join:T,defer:C,schedule:S,scheduleIterable:R,deferOnce:x,scheduleOnce:D,setTimeout:P,later:I,throttle:N,debounce:M,cancelTimers:F,cancel:L,loops:{total:z,nested:U}}}get defaultQueue(){return this._defaultQueue}begin(){A++;let e,t=this.options,n=this.currentInstance;return!1!==this._autorun?(e=n,this._cancelAutorun()):(null!==n&&(U++,this.instanceStack.push(n)),z++,e=this.currentInstance=new m(this.queueNames,t),O++,this._trigger("begin",e,n)),this._onBegin(e,n),e}end(){E++,this._end(!1)}on(e,t){if("function"!=typeof t)throw new TypeError("Callback must be a function");let n=this._eventCallbacks[e];if(void 0===n)throw new TypeError(`Cannot on() event ${e} because it does not exist`);n.push(t)}off(e,t){let n=this._eventCallbacks[e];if(!e||void 0===n)throw new TypeError(`Cannot off() event ${e} because it does not exist`);let r=!1;if(t)for(let e=0;e0&&l(n[i-1])&&(r=parseInt(n.pop(),10)),[e,t,n,r]}(...arguments);return this._later(e,t,n,r)}throttle(){N++;let e,[t,n,r,i,s=!0]=_(...arguments),o=h(t,n,this._timers);if(-1===o)e=this._later(t,n,s?y:r,i),s&&this._join(t,n,r);else{e=this._timers[o+1];let t=o+4;this._timers[t]!==y&&(this._timers[t]=r)}return e}debounce(){M++;let e,[t,n,r,i,s=!1]=_(...arguments),o=this._timers,a=h(t,n,o);if(-1===a)e=this._later(t,n,s?y:r,i),s&&this._join(t,n,r);else{let s=this._platform.now()+i,l=a+4;o[l]===y&&(r=y),e=o[a+1];let u=p(s,o);if(a+6===u)o[a]=s,o[l]=r;else{let i=this._timers[a+5];this._timers.splice(u,0,s,e,t,n,r,i),this._timers.splice(a,6)}0===a&&this._reinstallTimerTimeout()}return e}cancelTimers(){F++,this._clearTimerTimeout(),this._timers=[],this._cancelAutorun()}hasTimers(){return this._timers.length>0||this._autorun}cancel(e){if(L++,null==e)return!1;let t=typeof e;return"number"===t?this._cancelLaterTimer(e):!("object"!==t||!e.queue||!e.method)&&e.queue.cancel(e)}ensureInstance(){this._ensureInstance()}getDebugInfo(){if(this.DEBUG)return{autorun:this._autorunStack,counters:this.counters,timers:d(this._timers,6,2),instanceStack:[this.currentInstance,...this.instanceStack].map((e=>e&&e._getDebugInfo(this.DEBUG)))}}_end(e){let t=this.currentInstance,n=null;if(null===t)throw new Error("end called without begin");let r,i=!1;try{r=t.flush(e)}finally{if(!i)if(i=!0,1===r){const e=this.queueNames[t.queueNameIndex];this._scheduleAutorun(e)}else this.currentInstance=null,this.instanceStack.length>0&&(n=this.instanceStack.pop(),this.currentInstance=n),this._trigger("end",t,n),this._onEnd(t,n)}}_join(e,t,n){return null===this.currentInstance?this._run(e,t,n):void 0===e&&void 0===n?t():t.apply(e,n)}_run(e,t,n){let r=u(this.options);if(this.begin(),r)try{return t.apply(e,n)}catch(e){r(e)}finally{this.end()}else try{return t.apply(e,n)}finally{this.end()}}_cancelAutorun(){this._autorun&&(this._platform.clearNext(),this._autorun=!1,this._autorunStack=null)}_later(e,t,n,r){let i=this.DEBUG?new Error:void 0,s=this._platform.now()+r,o=w++;if(0===this._timers.length)this._timers.push(s,o,e,t,n,i),this._installTimerTimeout();else{let r=p(s,this._timers);this._timers.splice(r,0,s,o,e,t,n,i),this._reinstallTimerTimeout()}return o}_cancelLaterTimer(e){for(let t=1;t0&&(this.begin(),this._scheduleExpiredTimers(),this.end())}_scheduleExpiredTimers(){let e=this._timers,t=0,n=e.length,r=this._defaultQueue,i=this._platform.now();for(;ti);t+=6){let n=e[t+4];if(n!==y){let i=e[t+2],s=e[t+3],o=e[t+5];this.currentInstance.schedule(r,i,s,n,!1,o)}}e.splice(0,t),this._installTimerTimeout()}_reinstallTimerTimeout(){this._clearTimerTimeout(),this._installTimerTimeout()}_clearTimerTimeout(){null!==this._timerTimeoutId&&(this._platform.clearTimeout(this._timerTimeoutId),this._timerTimeoutId=null)}_installTimerTimeout(){if(0===this._timers.length)return;let e=this._timers[0],t=this._platform.now(),n=Math.max(0,e-t);this._timerTimeoutId=this._platform.setTimeout(this._boundRunExpiredTimers,n)}_ensureInstance(){let e=this.currentInstance;return null===e&&(this._autorunStack=this.DEBUG?new Error:void 0,e=this.begin(),this._scheduleAutorun(this.queueNames[0])),e}_scheduleAutorun(e){B++;const t=this._platform.next,n=this.options.flush;n?n(e,t):t(),this._autorun=!0}}W.Queue=f,W.buildPlatform=o,W.buildNext=s},3911:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>it});var r=n(8167),i=n(2461),s=n(1719);function o(e,t){return null!=e&&"function"==typeof e[t]}var a=n(7755),l=n(7389),u=n(4586),c=n(1724),h=n(3570),d=n(3406),p=n(943),f=n(2590),m=n(5806),g=n(6703),v=n(3753),y=n(6104),b=n(5866);const _=Object.assign({},i.E.FEATURES);function w(e){let t=_[e];return!0===t||!1===t?t:!!i.E.ENABLE_OPTIONAL_FEATURES}var A=n(6858),E=n(7956),O=n(4163),k=n(4831),T=n(1376),C=n(6481);function S(e){return null==e}var R=n(6100),x=n(2271),D=n(6045);function P(e,t){return e&&"function"==typeof e.isEqual?e.isEqual(t):e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():e===t}var I=n(2999),N=n(1610),M=n(5761),F=n(4903),L=n(2047),B=n(8399),j=n(9242),z=n(6306),U=n(5812),W=(n(8079),n(3299),n(5795)),Q=n(5886);let V={};function H(e){V=e}function q(){return V}var $=n(9328),G=n(8107),K=(n(6169),n(2989)),X=n(6399),Y=n(8919),J=n(8236),Z=n(1670),ee=(n(2734),n(6),n(6034),n(1506),n(3304),n(9519),n(3505),n(8468)),te=n(9624),ne=n(3703),re=n(5757),ie=n(2253),se=n(4529);function oe(e,t){if(Symbol.iterator in e)for(let n of e)t(n);else(0,se.v)("","function"==typeof e.forEach),e.forEach(t)}class ae{getCacheForItem(e){let t=this.recordCaches.get(e);if(!t){let n=!1;t=(0,f.VC)((()=>{n?this.updated.push(this.wrapRecord(e)):(this.added.push(this.wrapRecord(e)),n=!0)})),this.recordCaches.set(e,t)}return t}constructor(e,t,n,r,i,s){(0,te.A)(this,"recordCaches",new Map),(0,te.A)(this,"added",[]),(0,te.A)(this,"updated",[]),(0,te.A)(this,"removed",[]),this.wrapRecord=i,this.release=s,this.recordArrayCache=(0,f.VC)((()=>{let s=new Set;(0,f.XE)((0,f.gY)(e,"[]")),oe(e,(e=>{(0,f._W)(this.getCacheForItem(e)),s.add(e)})),(0,f.vz)((()=>{this.recordCaches.forEach(((e,t)=>{s.has(t)||(this.removed.push(i(t)),this.recordCaches.delete(t))}))})),this.added.length>0&&(t(this.added),this.added=[]),this.updated.length>0&&(n(this.updated),this.updated=[]),this.removed.length>0&&(r(this.removed),this.removed=[])}))}revalidate(){(0,f._W)(this.recordArrayCache)}}class le{constructor(e,t,n){this.release=n;let r=!1;this.cache=(0,f.VC)((()=>{oe(e,(()=>{})),(0,f.XE)((0,f.gY)(e,"[]")),!0===r?(0,G.K2)(t):r=!0})),this.release=n}revalidate(){(0,f._W)(this.cache)}}class ue extends k.Ay{constructor(e){super(e),(0,te.A)(this,"releaseMethods",(0,M.A)()),(0,te.A)(this,"recordsWatchers",new Map),(0,te.A)(this,"typeWatchers",new Map),(0,te.A)(this,"flushWatchers",null),(0,te.A)(this,"attributeLimit",3),(0,te.A)(this,"acceptsModelName",!0),this.containerDebugAdapter=(0,ne.QQ)(this).lookup("container-debug-adapter:main")}getFilters(){return(0,M.A)()}watchModelTypes(e,t){let n,r=this.getModelTypes(),i=(0,M.A)();n=r.map((e=>{let n=e.klass,r=this.wrapModelType(n,e.name);return i.push(this.observeModelType(e.name,t)),r})),e(n);let s=()=>{i.forEach((e=>e())),this.releaseMethods.removeObject(s)};return this.releaseMethods.pushObject(s),s}_nameToClass(e){if("string"==typeof e){let t=(0,ne.QQ)(this).factoryFor(`model:${e}`);e=t&&t.class}return e}watchRecords(e,t,n,r){let i=this._nameToClass(e),s=this.getRecords(i,e),{recordsWatchers:o}=this,a=o.get(s);return a||(a=new ae(s,t,n,r,(e=>this.wrapRecord(e)),(()=>{o.delete(s),this.updateFlushWatchers()})),o.set(s,a),this.updateFlushWatchers(),a.revalidate()),a.release}updateFlushWatchers(){null===this.flushWatchers?(this.typeWatchers.size>0||this.recordsWatchers.size>0)&&(this.flushWatchers=()=>{this.typeWatchers.forEach((e=>e.revalidate())),this.recordsWatchers.forEach((e=>e.revalidate()))},G.Xg.on("end",this.flushWatchers)):0===this.typeWatchers.size&&0===this.recordsWatchers.size&&(G.Xg.off("end",this.flushWatchers),this.flushWatchers=null)}willDestroy(){this._super(...arguments),this.typeWatchers.forEach((e=>e.release())),this.recordsWatchers.forEach((e=>e.release())),this.releaseMethods.forEach((e=>e())),this.flushWatchers&&G.Xg.off("end",this.flushWatchers)}detect(e){return!1}columnsForType(e){return(0,M.A)()}observeModelType(e,t){let n=this._nameToClass(e),r=this.getRecords(n,e),{typeWatchers:i}=this,s=i.get(r);return s||(s=new le(r,(()=>{t([this.wrapModelType(n,e)])}),(()=>{i.delete(r),this.updateFlushWatchers()})),i.set(r,s),this.updateFlushWatchers(),s.revalidate()),s.release}wrapModelType(e,t){let n=this.getRecords(e,t);return{name:t,count:(0,h.g)(n,"length"),columns:this.columnsForType(e),object:e}}getModelTypes(){let e=this.containerDebugAdapter;return(e.canCatalogEntriesByType("model")?e.catalogEntriesByType("model"):this._getObjectsOnNamespaces()).map((e=>({klass:this._nameToClass(e),name:e}))).filter((e=>this.detect(e.klass)))}_getObjectsOnNamespaces(){let e=ie.A.NAMESPACES,t=[];return e.forEach((e=>{for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;if(!this.detect(e[n]))continue;let r=(0,re._)(n);t.push(r)}})),t}getRecords(e,t){return(0,M.A)()}wrapRecord(e){return{object:e,columnValues:this.getRecordColumnValues(e),searchKeywords:this.getRecordKeywords(e),filterValues:this.getRecordFilterValues(e),color:this.getRecordColor(e)}}getRecordColumnValues(e){return{}}getRecordKeywords(e){return(0,M.A)()}getRecordFilterValues(e){return{}}getRecordColor(e){return null}}var ce=n(124),he=n(4265),de=n(6502);const pe={willChange:"_arrangedContentArrayWillChange",didChange:"_arrangedContentArrayDidChange"};function fe(e,t){return"[]"===t?(e._revalidate(),e._arrTag):"length"===t?(e._revalidate(),e._lengthTag):(0,f.gY)(e,t)}class me extends k.Ay{constructor(...e){super(...e),(0,te.A)(this,"_objectsDirtyIndex",0),(0,te.A)(this,"_objects",null),(0,te.A)(this,"_lengthDirty",!0),(0,te.A)(this,"_length",0),(0,te.A)(this,"_arrangedContent",null),(0,te.A)(this,"_arrangedContentIsUpdating",!1),(0,te.A)(this,"_arrangedContentTag",null),(0,te.A)(this,"_arrangedContentRevision",null),(0,te.A)(this,"_lengthTag",null),(0,te.A)(this,"_arrTag",null)}init(e){super.init(e),(0,g.PE)(this,fe)}[h.Q](){this._revalidate()}willDestroy(){this._removeArrangedContentArrayObserver()}objectAtContent(e){let t=(0,h.g)(this,"arrangedContent");return(0,h.o)(t,e)}replace(e,t,n){this.replaceContent(e,t,n)}replaceContent(e,t,n){let r=(0,h.g)(this,"content");(0,de.a)(r,e,t,n)}objectAt(e){if(this._revalidate(),null===this._objects&&(this._objects=[]),-1!==this._objectsDirtyIndex&&e>=this._objectsDirtyIndex){let e=(0,h.g)(this,"arrangedContent");if(e){let t=this._objects.length=(0,h.g)(e,"length");for(let e=this._objectsDirtyIndex;ei)&&(this._objectsDirtyIndex=i),this._lengthDirty=!0,(0,de.c)(this,t,n,r,!1)}_invalidate(){this._objectsDirtyIndex=0,this._lengthDirty=!0}_revalidate(){if(!0!==this._arrangedContentIsUpdating&&(null===this._arrangedContentTag||!(0,f.z7)(this._arrangedContentTag,this._arrangedContentRevision))){let e=this.get("arrangedContent");null===this._arrangedContentTag?this._addArrangedContentArrayObserver(e):(this._arrangedContentIsUpdating=!0,this._updateArrangedContentArray(e),this._arrangedContentIsUpdating=!1);let t=this._arrangedContentTag=(0,f.gY)(this,"arrangedContent");this._arrangedContentRevision=(0,f.RR)(this._arrangedContentTag),(0,s.e)(e)?(this._lengthTag=(0,f.kg)([t,(0,h.a)(e,"length")]),this._arrTag=(0,f.kg)([t,(0,h.a)(e,"[]")])):this._lengthTag=this._arrTag=t}}}me.reopen(M.M,{arrangedContent:(0,he.a)("content")});var ge=n(7550),ve=n(419),ye=n(7900),be=n(47),_e=n(5730),we=n(2568),Ae=n(8158),Ee=n(9118),Oe=n(2678);class ke extends T.YD{}ke.PrototypeMixin.reopen(z.A);const Te=Ee.Ay.create({reason:null,isPending:(0,h.c)("isSettled",(function(){return!(0,h.g)(this,"isSettled")})).readOnly(),isSettled:(0,h.c)("isRejected","isFulfilled",(function(){return(0,h.g)(this,"isRejected")||(0,h.g)(this,"isFulfilled")})).readOnly(),isRejected:!1,isFulfilled:!1,promise:(0,h.c)({get(){throw new Error("PromiseProxy's promise must be set")},set(e,t){return function(e,t){return(0,y.s)(e,{isFulfilled:!1,isRejected:!1}),t.then((t=>(e.isDestroyed||e.isDestroying||(0,y.s)(e,{content:t,isFulfilled:!0}),t)),(t=>{throw e.isDestroyed||e.isDestroying||(0,y.s)(e,{reason:t,isRejected:!0}),t}),"Ember: PromiseProxy")}(this,t)}}),then:Ce("then"),catch:Ce("catch"),finally:Ce("finally")});function Ce(e){return function(...t){return(0,h.g)(this,"promise")[e](...t)}}var Se=n(8446),Re=n(2048),xe=n(6840),De=n(6219),Pe=n(3457),Ie=(n(7986),n(7202)),Ne=(n(6109),n(6706),n(5526)),Me=n(933);function Fe(e,t,n){return e.lookup(`controller:${t}`,n)}function Le(e,t){return(0,m.JF)(e,t)}function Be(e,t){return(0,m.G)(e,t)}let je,ze,Ue,We,Qe,Ve,He=()=>{throw new Error("Attempted to use test utilities, but `ember-testing` was not included")};je=He,ze=He,Ue=He,We=He,Qe=He;var qe=n(3989),$e=n(4547),Ge=n(1931),Ke=n(5975),Xe=n(5520),Ye=n(1871),Je=n(4135);let Ze;!function(e){function t(){}e.isNamespace=!0,e.toString=function(){return"Ember"},e.Container=l.C,e.Registry=l.R,e._setComponentManager=K.s,e._componentManagerCapabilities=g.QK,e._modifierManagerCapabilities=g.eL,e.meta=c.mI,e._createCache=f.VC,e._cacheGetValue=f._W,e._cacheIsConst=f.Gk,e._descriptor=h.B,e._getPath=h._,e._setClassicDecorator=h.s,e._tracked=h.S,e.beginPropertyChanges=h.m,e.changeProperties=h.T,e.endPropertyChanges=h.l,e.hasListeners=h.x,e.libraries=h.O,e._ContainerProxyMixin=L.A,e._ProxyMixin=z.A,e._RegistryProxyMixin=F.A,e.ActionHandler=j.A,e.Comparable=B.A,e.ComponentLookup=Z.A,e.EventDispatcher=J.A,e._Cache=a.C,e.GUID_KEY=s.G,e.canInvoke=o,e.generateGuid=s.b,e.guidFor=s.g,e.uuid=s.u,e.wrap=s.w,e.getOwner=ge.QQ,e.onLoad=qe.kF,e.runLoadHooks=qe.Oz,e.setOwner=ge.km,e.Application=ge.Ay,e.ApplicationInstance=ve.A,e.Namespace=ie.A,e.A=M.A,e.Array=M.Ay,e.NativeArray=M.bq,e.isArray=M.cy,e.makeArray=$e.A,e.MutableArray=M.M,e.ArrayProxy=me,e.FEATURES={isEnabled:w,..._},e._Input=Q.I,e.Component=Q.C,e.Helper=Q.H,e.Controller=E.Ay,e.ControllerMixin=E.w6,e._captureRenderTree=Ge.A,e.assert=se.v,e.warn=p.R8,e.debug=p.Yz,e.deprecate=p.CI,e.deprecateFunc=p.OB,e.runInDebug=p.A1,e.inspect=Ke.A,e.Debug={registerDeprecationHandler:Xe.ik,registerWarnHandler:Ye.ik,isComputed:h.U},e.ContainerDebugAdapter=ee.A,e.DataAdapter=ue,e._assertDestroyablesDestroyed=m.dZ,e._associateDestroyableChild=m.T3,e._enableDestroyableTracking=m.fj,e._isDestroying=m.ZL,e._isDestroyed=m.EP,e._registerDestructor=Le,e._unregisterDestructor=Be,e.destroy=m.zr,e.Engine=ye.Ay,e.EngineInstance=be.A,e.Enumerable=_e.A,e.MutableEnumerable=U.A,e.instrument=u.wV,e.subscribe=u.B1,e.Instrumentation={instrument:u.wV,subscribe:u.B1,unsubscribe:u.al,reset:u.cL},e.Object=k.Ay,e._action=k.XI,e.computed=h.c,e.defineProperty=h.d,e.get=h.g,e.getProperties=y.g,e.notifyPropertyChange=h.n,e.observer=k.PA,e.set=v.s,e.trySet=v.t,e.setProperties=y.s,e.cacheFor=d.g,e._dependentKeyCompat=C.L,e.ComputedProperty=h.C,e.expandProperties=h.e,e.CoreObject=we.A,e.Evented=Ae.A,e.on=h.N,e.addListener=h.G,e.removeListener=h.H,e.sendEvent=h.k,e.Mixin=Ee.Ay,e.mixin=Ee.co,e.Observable=Oe.A,e.addObserver=h.v,e.removeObserver=h.w,e.PromiseProxyMixin=Te,e.ObjectProxy=ke,e.RouterDSL=Me.A,e.controllerFor=Fe,e.generateController=Ne.A,e.generateControllerFactory=Ne.C,e.HashLocation=Se.A,e.HistoryLocation=Re.A,e.NoneLocation=xe.A,e.Route=De.Ay,e.Router=Pe.A,e.run=G.eF,e.Service=O.Ay,e.compare=N.A,e.isBlank=R.A,e.isEmpty=x.A,e.isEqual=P,e.isNone=S,e.isPresent=D.A,e.typeOf=I.A,e.VERSION=X.A,e.ViewUtils={getChildViews:Y.Zr,getElementView:Y.GA,getRootViews:Y.VP,getViewBounds:Y.FF,getViewBoundingClientRect:Y.P_,getViewClientRects:Y.GG,getViewElement:Y.CB,isSimpleClick:Y.xQ,isSerializationFirstNode:$.$c},e._getComponentTemplate=g.u0,e._helperManagerCapabilities=g.rw,e._setComponentTemplate=g.Et,e._setHelperManager=g.wU,e._setModifierManager=g.b$,e._templateOnlyComponent=$.W,e._invokeHelper=$.Xv,e._hash=$.tW,e._array=$.YO,e._concat=$.xW,e._get=$.Jt,e._on=$.on,e._fn=$.fn,e._Backburner=A.A,e.inject=t,t.controller=E.WQ,t.service=O.eu,e.__loader={get require(){return globalThis.require},get define(){return globalThis.define},get registry(){let e=globalThis;return e.requirejs?.entries??e.require.entries}}}(Ze||(Ze={})),Object.defineProperty(Ze,"ENV",{get:i.b,enumerable:!1}),Object.defineProperty(Ze,"lookup",{get:i.a,set:i.s,enumerable:!1}),Object.defineProperty(Ze,"onerror",{get:ce.S,set:ce.cz,enumerable:!1}),Object.defineProperty(Ze,"testing",{get:Je.z,set:Je.f,enumerable:!1}),Object.defineProperty(Ze,"BOOTED",{configurable:!1,enumerable:!1,get:b.i,set:b.e}),Object.defineProperty(Ze,"TEMPLATES",{get:q,set:H,configurable:!1,enumerable:!1}),Object.defineProperty(Ze,"TEMPLATES",{get:q,set:H,configurable:!1,enumerable:!1}),Object.defineProperty(Ze,"testing",{get:Je.z,set:Je.f,enumerable:!1}),(0,qe.Oz)("Ember.Application",ge.Ay);let et={template:W.vW,Utils:{escapeExpression:Q.e}},tt={template:W.vW};function nt(e){Object.defineProperty(Ze,e,{configurable:!0,enumerable:!0,get:()=>"Handlebars"===e?et:tt})}function rt(e){Object.defineProperty(Ze,e,{configurable:!0,enumerable:!0,get(){Ve}})}nt("HTMLBars"),nt("Handlebars"),rt("Test"),rt("setupForTesting"),(0,qe.Oz)("Ember"),Ze.RSVP=Ie.R;const it=new Proxy(Ze,{get:(e,t,n)=>("string"==typeof t&&(0,r.UZ)(`importing ${t} from the 'ember' barrel file is deprecated.`,r.U8.DEPRECATE_IMPORT_EMBER(t)),Reflect.get(e,t,n)),getOwnPropertyDescriptor:(e,t)=>("string"==typeof t&&(0,r.UZ)(`importing ${t} from the 'ember' barrel file is deprecated.`,r.U8.DEPRECATE_IMPORT_EMBER(t)),Object.getOwnPropertyDescriptor(e,t))})},6399:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="5.12.0"},7986:(e,t,n)=>{"use strict";n.d(t,{A:()=>D});var r=Object.create;function i(){var e=r(null);return e.__=void 0,delete e.__,e}var s=function(e,t,n){this.path=e,this.matcher=t,this.delegate=n};s.prototype.to=function(e,t){var n=this.delegate;if(n&&n.willAddRoute&&(e=n.willAddRoute(this.matcher.target,e)),this.matcher.add(this.path,e),t){if(0===t.length)throw new Error("You must have an argument in the function passed to `to`");this.matcher.addChild(this.path,e,t,this.delegate)}};var o=function(e){this.routes=i(),this.children=i(),this.target=e};function a(e,t,n){return function(r,i){var o=e+r;if(!i)return new s(o,t,n);i(a(o,t,n))}}function l(e,t,n){for(var r=0,i=0;i0&&47===t.charCodeAt(0)&&(t=t.substr(1));for(var r=t.split("/"),i=void 0,s=void 0,o=0;o2&&"[]"===s.slice(o-2)&&(a=!0,n[s=s.slice(0,o-2)]||(n[s]=[])),l=i[1]?x(i[1]):""),a?n[s].push(l):n[s]=l}return n},D.prototype.recognize=function(e){var t,n=[this.rootState],r={},i=!1,s=e.indexOf("#");-1!==s&&(e=e.substr(0,s));var o=e.indexOf("?");if(-1!==o){var a=e.substr(o+1,e.length);e=e.substr(0,o),r=this.parseQueryString(a)}"/"!==e.charAt(0)&&(e="/"+e);var l=e;D.ENCODE_AND_DECODE_PATH_SEGMENTS?e=c(e):(e=decodeURI(e),l=decodeURI(l));var u=e.length;u>1&&"/"===e.charAt(u-1)&&(e=e.substr(0,u-1),l=l.substr(0,l.length-1),i=!0);for(var h=0;h{"use strict";n.d(t,{a:()=>u});var r=n(9624),i=n(1724),s=(n(943),n(2590)),o=n(3570),a=n(3753),l=n(5975);function u(e){return(0,o.F)(new h(e),c)}class c extends Function{readOnly(){return(0,o.E)(this).readOnly(),this}oneWay(){return(0,o.E)(this).oneWay(),this}meta(e){let t=(0,o.E)(this);if(0===arguments.length)return t._meta||{};t._meta=e}}class h extends o.J{constructor(e){super(),(0,r.A)(this,"altKey",void 0),this.altKey=e}setup(e,t,n,r){super.setup(e,t,n,r),o.K.add(this)}get(e,t){let n,r=(0,i.mI)(e),a=(0,s.Pz)(e),l=(0,s.gY)(e,t,a);(0,s.vz)((()=>{n=(0,o.g)(e,this.altKey)}));let u=r.revisionFor(t);return void 0!==u&&(0,s.z7)(l,u)||((0,s.Gw)(l,(0,o.L)(e,this.altKey,a,r)),r.setRevisionFor(t,(0,s.RR)(l)),(0,o.M)(r,t,n)),(0,s.XE)(l),n}set(e,t,n){return(0,a.s)(e,this.altKey,n)}readOnly(){this.set=d}oneWay(){this.set=p}}function d(e,t){throw new Error(`Cannot set read-only property '${t}' on object: ${(0,l.A)(e)}`)}function p(e,t,n){return(0,o.d)(e,t,null),(0,a.s)(e,t,n)}},6502:(e,t,n)=>{"use strict";n.d(t,{a:()=>l,b:()=>s,c:()=>o,d:()=>d,e:()=>p,r:()=>c}),n(943);var r=n(1724),i=n(3570);function s(e,t,n,r){return void 0===t?(t=0,n=r=-1):(void 0===n&&(n=-1),void 0===r&&(r=-1)),(0,i.k)(e,"@array:before",[e,t,n,r]),e}function o(e,t,n,s,o=!0){void 0===t?(t=0,n=s=-1):(void 0===n&&(n=-1),void 0===s&&(s=-1));let a=(0,r.Xe)(e);if(o&&((s<0||n<0||s-n!=0)&&(0,i.n)(e,"length",a),(0,i.n)(e,"[]",a)),(0,i.k)(e,"@array:change",[e,t,n,s]),null!==a){let r=-1===n?0:n,o=e.length-((-1===s?0:s)-r),l=t<0?o+t:t;void 0!==a.revisionFor("firstObject")&&0===l&&(0,i.n)(e,"firstObject",a),void 0!==a.revisionFor("lastObject")&&o-1{"use strict";n.d(t,{A:()=>ne,B:()=>C,C:()=>fe,E:()=>N,F:()=>D,G:()=>W,H:()=>Q,I:()=>ie,J:()=>S,K:()=>w,L:()=>O,M:()=>A,N:()=>q,O:()=>Se,Q:()=>ae,S:()=>xe,T:()=>de,U:()=>ve,V:()=>ke,_:()=>Te,a:()=>b,b:()=>I,c:()=>ge,d:()=>ye,e:()=>B,f:()=>M,g:()=>Oe,h:()=>Ee,i:()=>T,j:()=>J,k:()=>V,l:()=>he,m:()=>ce,n:()=>ue,o:()=>v,p:()=>Re,q:()=>Ae,r:()=>x,s:()=>F,t:()=>_,v:()=>X,w:()=>Y,x:()=>H,y:()=>_e,z:()=>be});var r=n(9624),i=n(1724),s=n(1719),o=(n(943),n(5806)),a=n(2590),l=n(6703),u=n(2461),c=n(7207),h=n(7927),d=n(5930),p=n(7755),f=n(6399),m=n(3703),g=n(5975);function v(e,t){return Array.isArray(e)?e[t]:e.objectAt(t)}const y=(0,c.s)("SELF_TAG");function b(e,t,n=!1,r){let i=(0,l.ht)(e);return void 0!==i?i(e,t,n):(0,a.gY)(e,t,r)}function _(e){return(0,s.e)(e)?(0,a.gY)(e,y):a.ky}const w=new WeakSet;function A(e,t,n){let r=e.readableLazyChainsFor(t);if(void 0!==r){if((0,s.e)(n))for(let[e,t]of r)(0,a.Gw)(e,O(n,t,(0,a.Pz)(n),(0,i.Xe)(n)));r.length=0}}function E(e,t,n,r){let i=[];for(let s of t)k(i,e,s,n,r);return(0,a.kg)(i)}function O(e,t,n,r){return(0,a.kg)(k([],e,t,n,r))}function k(e,t,n,r,o){let l,u,c=t,h=r,d=o,p=n.length,f=-1;for(;;){let t=f+1;if(f=n.indexOf(".",t),-1===f&&(f=p),l=n.slice(t,f),"@each"===l&&f!==p){t=f+1,f=n.indexOf(".",t);let r=c.length;if("number"!=typeof r||!Array.isArray(c)&&!("objectAt"in c))break;if(0===r){e.push(b(c,"[]"));break}l=-1===f?n.slice(t):n.slice(t,f);for(let t=0;t=0;i-=3){let s=r[i],o=r[i+1],a=r[i+2];if(!o)continue;a&&Q(e,t,s,o),s||(s=e);let l=typeof o;"string"!==l&&"symbol"!==l||(o=s[o]),o.apply(s,n)}return!0}function H(e,t){let n=(0,i.Xe)(e);if(null===n)return!1;let r=n.matchingListeners(t);return void 0!==r&&r.length>0}function q(...e){let t=e.pop(),n=e;return(0,s.d)(t,n),t}const $=!u.E._DEFAULT_ASYNC_OBSERVERS,G=new Map,K=new Map;function X(e,t,n,r,s=$){let o=U(t);W(e,o,n,r,!1,s);let a=(0,i.Xe)(e);null!==a&&(a.isPrototypeMeta(e)||a.isInitializing())||J(e,o,s)}function Y(e,t,n,r,s=$){let o=U(t),a=(0,i.Xe)(e);null!==a&&(a.isPrototypeMeta(e)||a.isInitializing())||te(e,o,s),Q(e,o,n,r)}function J(e,t,n=!1){let r=function(e,t){let n=!0===t?G:K;return n.has(e)||(n.set(e,new Map),(0,o.JF)(e,(()=>function(e){G.size>0&&G.delete(e),K.size>0&&K.delete(e)}(e)),!0)),n.get(e)}(e,n);if(r.has(t))r.get(t).count++;else{let n=t.substring(0,t.lastIndexOf(":")),s=O(e,n,(0,a.Pz)(e),(0,i.Xe)(e));r.set(t,{count:1,path:n,tag:s,lastRevision:(0,a.RR)(s),suspended:!1})}}let Z=!1,ee=[];function te(e,t,n=!1){if(!0===Z)return void ee.push([e,t,n]);let r=!0===n?G:K,i=r.get(e);if(void 0!==i){let n=i.get(t);n.count--,0===n.count&&(i.delete(t),0===i.size&&r.delete(e))}}function ne(e){K.has(e)&&K.get(e).forEach((t=>{t.tag=O(e,t.path,(0,a.Pz)(e),(0,i.Xe)(e)),t.lastRevision=(0,a.RR)(t.tag)})),G.has(e)&&G.get(e).forEach((t=>{t.tag=O(e,t.path,(0,a.Pz)(e),(0,i.Xe)(e)),t.lastRevision=(0,a.RR)(t.tag)}))}let re=0;function ie(e){let t=(0,a.RR)(a.lE);re!==t&&(re=t,K.forEach(((t,n)=>{let r=(0,i.Xe)(n);t.forEach(((t,s)=>{if(!(0,a.z7)(t.tag,t.lastRevision)){let o=()=>{try{V(n,s,[n,t.path],void 0,r)}finally{t.tag=O(n,t.path,(0,a.Pz)(n),(0,i.Xe)(n)),t.lastRevision=(0,a.RR)(t.tag)}};e?e("actions",o):o()}}))})))}function se(){G.forEach(((e,t)=>{let n=(0,i.Xe)(t);e.forEach(((e,r)=>{if(!e.suspended&&!(0,a.z7)(e.tag,e.lastRevision))try{e.suspended=!0,V(t,r,[t,e.path],void 0,n)}finally{e.tag=O(t,e.path,(0,a.Pz)(t),(0,i.Xe)(t)),e.lastRevision=(0,a.RR)(e.tag),e.suspended=!1}}))}))}function oe(e,t,n){let r=G.get(e);if(!r)return;let i=r.get(U(t));i&&(i.suspended=n)}const ae=Symbol("PROPERTY_DID_CHANGE");let le=0;function ue(e,t,n,r){let s=void 0===n?(0,i.Xe)(e):n;null!==s&&(s.isInitializing()||s.isPrototypeMeta(e))||(function(e,t){(0,a.st)(e,t),(0,a.st)(e,y)}(e,t),le<=0&&se(),ae in e&&(4===arguments.length?e[ae](t,r):e[ae](t)))}function ce(){le++,Z=!0}function he(){le--,le<=0&&(se(),function(){Z=!1;for(let[e,t,n]of ee)te(e,t,n);ee=[]}())}function de(e){ce();try{e()}finally{he()}}function pe(){}class fe extends S{constructor(e){super(),(0,r.A)(this,"_readOnly",!1),(0,r.A)(this,"_hasConfig",!1),(0,r.A)(this,"_getter",void 0),(0,r.A)(this,"_setter",void 0);let t=e[e.length-1];if("function"==typeof t||null!==t&&"object"==typeof t){this._hasConfig=!0;let t=e.pop();if("function"==typeof t)this._getter=t;else{const e=t;this._getter=e.get||pe,this._setter=e.set}}e.length>0&&this._property(...e)}setup(e,t,n,r){if(super.setup(e,t,n,r),!1===this._hasConfig){let{get:e,set:t}=n;void 0!==e&&(this._getter=e),void 0!==t&&(this._setter=function(n,r){let i=t.call(this,r);return void 0!==e&&void 0===i?e.call(this):i})}}_property(...e){let t=[];function n(e){t.push(e)}for(let t of e)B(t,n);this._dependentKeys=t}get(e,t){let n,r=(0,i.mI)(e),s=(0,a.Pz)(e),o=(0,a.gY)(e,t,s),l=r.revisionFor(t);if(void 0!==l&&(0,a.z7)(o,l))n=r.valueFor(t);else{let{_getter:i,_dependentKeys:l}=this;(0,a.vz)((()=>{n=i.call(e,t)})),void 0!==l&&(0,a.Gw)(o,E(e,l,s,r)),r.setValueFor(t,n),r.setRevisionFor(t,(0,a.RR)(o)),A(r,t,n)}return(0,a.XE)(o),Array.isArray(n)&&(0,a.XE)((0,a.gY)(n,"[]")),n}set(e,t,n){this._readOnly&&this._throwReadOnlyError(e,t);let r,s=(0,i.mI)(e);s.isInitializing()&&void 0!==this._dependentKeys&&this._dependentKeys.length>0&&"function"==typeof e[ae]&&e.isComponent&&X(e,t,(()=>{e[ae](t)}),void 0,!0);try{ce(),r=this._set(e,t,n,s),A(s,t,r);let i=(0,a.Pz)(e),o=(0,a.gY)(e,t,i),{_dependentKeys:l}=this;void 0!==l&&(0,a.Gw)(o,E(e,l,i,s)),s.setRevisionFor(t,(0,a.RR)(o))}finally{he()}return r}_throwReadOnlyError(e,t){throw new Error(`Cannot set read-only property "${t}" on object: ${(0,g.A)(e)}`)}_set(e,t,n,r){let i,s=void 0!==r.revisionFor(t),o=r.valueFor(t),{_setter:a}=this;oe(e,t,!0);try{i=a.call(e,t,n,o)}finally{oe(e,t,!1)}return s&&o===i||(r.setValueFor(t,i),ue(e,t,r,n)),i}teardown(e,t,n){void 0!==n.revisionFor(t)&&(n.setRevisionFor(t,void 0),n.setValueFor(t,void 0)),super.teardown(e,t,n)}}class me extends Function{readOnly(){return N(this)._readOnly=!0,this}meta(e){let t=N(this);return 0===arguments.length?t._meta||{}:(t._meta=e,this)}get _getter(){return N(this)._getter}set enumerable(e){N(this).enumerable=e}}function ge(...e){return T(e)?D(new fe([]),me)(e[0],e[1],e[2]):D(new fe(e),me)}function ve(e,t){return Boolean(I(e,t))}function ye(e,t,n,r,s){let o=void 0===s?(0,i.mI)(e):s,a=I(e,t,o),l=void 0!==a;l&&a.teardown(e,t,o),M(n)?be(e,t,n,o):null==n?_e(e,t,r,l,!0):Object.defineProperty(e,t,n),o.isPrototypeMeta(e)||ne(e)}function be(e,t,n,r){let i;return i=n(e,t,void 0,r),Object.defineProperty(e,t,i),n}function _e(e,t,n,r,i=!0){return!0===r||!1===i?Object.defineProperty(e,t,{configurable:!0,enumerable:i,writable:!0,value:n}):e[t]=n,n}const we=new p.C(1e3,(e=>e.indexOf(".")));function Ae(e){return"string"==typeof e&&-1!==we.get(e)}function Ee(e){return"object"==typeof e&&null!==e&&"function"==typeof e.unknownProperty}function Oe(e,t){return Ae(t)?Te(e,t):ke(e,t)}function ke(e,t){if(null==e)return;let n;return"object"==typeof e||"function"==typeof e?(n=e[t],void 0===n&&"object"==typeof e&&!(t in e)&&Ee(e)&&(n=e.unknownProperty(t)),(0,a.oz)()&&((0,a.XE)((0,a.gY)(e,t)),(Array.isArray(n)||(0,d.P)(n))&&(0,a.XE)((0,a.gY)(n,"[]")))):n=e[t],n}function Te(e,t,n){let r="string"==typeof t?t.split("."):t;for(let t of r){if(null==e||e.isDestroyed)return;if(n&&("__proto__"===t||"constructor"===t))return;e=ke(e,t)}return e}(0,c.s)("PROXY_CONTENT"),ke("foo","a"),ke("foo",1),ke({},"a"),ke({},1),ke({unknownProperty(){}},"a"),ke({unknownProperty(){}},1),Oe({},"foo"),Oe({},"foo.bar");let Ce={};(0,h.s)(Ce),(0,a.u4)((()=>ke({},"a"))),(0,a.u4)((()=>ke({},1))),(0,a.u4)((()=>ke({a:[]},"a"))),(0,a.u4)((()=>ke({a:Ce},"a")));const Se=new class{constructor(){(0,r.A)(this,"_registry",void 0),(0,r.A)(this,"_coreLibIndex",void 0),(0,r.A)(this,"isRegistered",void 0),(0,r.A)(this,"logVersions",void 0),this._registry=[],this._coreLibIndex=0}_getLibraryByName(e){let t=this._registry;for(let n of t)if(n.name===e)return n}register(e,t,n){let r=this._registry.length;this._getLibraryByName(e)||(n&&(r=this._coreLibIndex++),this._registry.splice(r,0,{name:e,version:t}))}registerCoreLibrary(e,t){this.register(e,t,!0)}deRegister(e){let t,n=this._getLibraryByName(e);n&&(t=this._registry.indexOf(n),this._registry.splice(t,1))}};function Re(e,...t){let n,r;T(t)?n=t:"string"==typeof t[0]&&(r=t[0]);let i=ge({get:function(t){return((0,m.QQ)(this)||this.container).lookup(`${e}:${r||t}`)},set(e,t){ye(this,e,null,t)}});return n?i(n[0],n[1],n[2]):i}function xe(...e){if(!T(e)){let t=e[0],n=t?t.initializer:void 0,r=t?t.value:void 0,i=function(e,t,i,s,o){return De([e,t,{initializer:n||(()=>r)}])};return F(i),i}return De(e)}function De([e,t,n]){let{getter:r,setter:s}=(0,a.R6)(t,n?n.initializer:void 0);function o(){let e=r(this);return(Array.isArray(e)||(0,d.P)(e))&&(0,a.XE)((0,a.gY)(e,"[]")),e}function l(e){s(this,e),(0,a.st)(this,y)}let u={enumerable:!0,configurable:!0,isTracked:!0,get:o,set:l};return x.add(l),(0,i.mI)(e).writeDescriptors(t,new Pe(o,l)),u}Se.registerCoreLibrary("Ember",f.A);class Pe{constructor(e,t){this._get=e,this._set=t,w.add(this)}get(e){return this._get.call(e)}set(e,t,n){this._set.call(e,n)}}},7755:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});var r=n(9624);class i{constructor(e,t,n=new Map){(0,r.A)(this,"size",0),(0,r.A)(this,"misses",0),(0,r.A)(this,"hits",0),this.limit=e,this.func=t,this.store=n}get(e){return this.store.has(e)?(this.hits++,this.store.get(e)):(this.misses++,this.set(e,this.func(e)))}set(e,t){return this.limit>this.size&&(this.size++,this.store.set(e,t)),t}purge(){this.store.clear(),this.size=0,this.hits=0,this.misses=0}}},5381:(e,t,n)=>{"use strict";n.d(t,{a:()=>l,d:()=>o,i:()=>u});var r=Object.defineProperty;((e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})})({},{c:()=>c,f:()=>s,g:()=>o,i:()=>u,m:()=>a,n:()=>l,p:()=>h});var i=new WeakMap;function s(e,t,n,r){return o(e.prototype,t,n,r)}function o(e,t,n,r){let s={configurable:!0,enumerable:!0,writable:!0,initializer:null};r&&(s.initializer=r);for(let r of n)s=r(e,t,s)||s;void 0===s.initializer?Object.defineProperty(e,t,s):function(e,t,n){let r=i.get(e);r||(r=new Map,i.set(e,r)),r.set(t,n)}(e,t,s)}function a({prototype:e},t,n){return l(e,t,n)}function l(e,t,n){let r={...Object.getOwnPropertyDescriptor(e,t)};for(let i of n)r=i(e,t,r)||r;void 0!==r.initializer&&(r.value=r.initializer?r.initializer.call(e):void 0,r.initializer=void 0),Object.defineProperty(e,t,r)}function u(e,t){let n=function(e,t){let n=e.prototype;for(;n;){let e=i.get(n)?.get(t);if(e)return e;n=n.prototype}}(e.constructor,t);n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(e):void 0})}function c(e,t){return t.reduce(((e,t)=>t(e)||e),e)}function h(e,t){for(let[n,r,i]of t)"field"===n?d(e,r,i):l(e,r,i);return e}function d(e,t,n){let r={configurable:!0,enumerable:!0,writable:!0,initializer:()=>Object.getOwnPropertyDescriptor(e,t)?.value};for(let i of n)r=i(e,t,r)||r;r.initializer&&(r.value=r.initializer.call(e),delete r.initializer),Object.defineProperty(e,t,r)}},3406:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});var r=n(1724);function i(e,t){let n=(0,r.Xe)(e);return n?n.valueFor(t):void 0}},4330:(e,t,n)=>{"use strict";function r(e){let t=Object.create(e);return t._dict=null,delete t._dict,t}n.d(t,{m:()=>r})},2461:(e,t,n)=>{"use strict";function r(e){return e&&e.Object===Object?e:void 0}n.d(t,{E:()=>u,a:()=>a,b:()=>c,c:()=>o,s:()=>l});const i=r((s="object"==typeof global&&global)&&void 0===s.nodeType?s:void 0)||r("object"==typeof self&&self)||r("object"==typeof window&&window)||"undefined"!=typeof mainContext&&mainContext||new Function("return this")();var s;const o=function(e,t){return void 0===t?{imports:e,exports:e,lookup:e}:{imports:t.imports||e,exports:t.exports||e,lookup:t.lookup||e}}(i,i.Ember);function a(){return o.lookup}function l(e){o.lookup=e}const u={ENABLE_OPTIONAL_FEATURES:!1,EXTEND_PROTOTYPES:{Array:!0},LOG_STACKTRACE_ON_DEPRECATION:!0,LOG_VERSION:!0,RAISE_ON_DEPRECATION:!1,STRUCTURED_PROFILE:!1,_DEBUG_RENDER_TREE:!1,_ALL_DEPRECATIONS_ENABLED:!1,_OVERRIDE_DEPRECATION_VERSION:null,_DEFAULT_ASYNC_OBSERVERS:!1,_NO_IMPLICIT_ROUTE_MODEL:!1,_RERENDER_LOOP_LIMIT:1e3,EMBER_LOAD_HOOKS:{},FEATURES:{}};function c(){return u}(e=>{if("object"!=typeof e||null===e)return;for(let t in e){if(!Object.prototype.hasOwnProperty.call(e,t)||"EXTEND_PROTOTYPES"===t||"EMBER_LOAD_HOOKS"===t)continue;let n=u[t];u[t]=!0===n?!1!==e[t]:!1===n?!0===e[t]:e[t]}let{EXTEND_PROTOTYPES:t}=e;void 0!==t&&(u.EXTEND_PROTOTYPES.Array="object"==typeof t&&null!==t?!1!==t.Array:!1!==t);let{EMBER_LOAD_HOOKS:n}=e;if("object"==typeof n&&null!==n)for(let e in n){if(!Object.prototype.hasOwnProperty.call(n,e))continue;let t=n[e];Array.isArray(t)&&(u.EMBER_LOAD_HOOKS[e]=t.filter((e=>"function"==typeof e)))}let{FEATURES:r}=e;if("object"==typeof r&&null!==r)for(let e in r)Object.prototype.hasOwnProperty.call(r,e)&&(u.FEATURES[e]=!0===r[e])})(i.EmberENV)},7513:(e,t,n)=>{"use strict";n.d(t,{e:()=>c,h:()=>r,w:()=>i});const r="object"==typeof self&&null!==self&&self.Object===Object&&"undefined"!=typeof Window&&self.constructor===Window&&"object"==typeof document&&null!==document&&self.document===document&&"object"==typeof location&&null!==location&&self.location===location&&"object"==typeof history&&null!==history&&self.history===history&&"object"==typeof navigator&&null!==navigator&&self.navigator===navigator&&"string"==typeof navigator.userAgent,i=r?self:null,s=r?self.location:null,o=r?self.history:null,a=r?self.navigator.userAgent:"Lynx (textmode)",l=!(!r||"object"!=typeof chrome||"object"==typeof opera),u=!!r&&/Firefox|FxiOS/.test(a),c=Object.freeze(Object.defineProperty({__proto__:null,hasDOM:r,history:o,isChrome:l,isFirefox:u,location:s,userAgent:a,window:i},Symbol.toStringTag,{value:"Module"}))},5886:(e,t,n)=>{"use strict";n.d(t,{C:()=>ct,H:()=>pt,I:()=>we,L:()=>De,O:()=>bn,R:()=>re,T:()=>Ne,b:()=>Sn,c:()=>Rn,e:()=>At,r:()=>Tn,u:()=>Zt});var r=n(9624),i=n(5795),s=n(7389),o=n(943),a=n(9328),l=n(8107),u=n(6169),c=n(2590),h=n(6703),d=n(7513),p=n(4831),f=n(2324),m=(n(1724),n(1719)),g=n(5806),v=n(3570),y=n(2461),b=n(3703),_=n(4529),w=n(5381),A=n(8919),E=n(3505),O=(n(1670),n(2734)),k=n(6),T=n(6034),C=n(1506),S=n(3304),R=n(9519),x=n(5091),D=n(4586),P=n(4163),I=(n(5975),n(4903),n(2047),n(8399),n(9242),n(6306)),N=(n(5812),n(8079)),M=(n(3299),n(8236),n(7207)),F=n(6200),L=n(5757);const B=Symbol("MUTABLE_CELL");var j,z,U,W,Q,V=n(8167),H=n(1376),q=n(5865),$=n(744),G=n(7202),K=(n(47),n(7489)),X=n(3753),Y=n(1629),J=n(5930),Z=n(7927),ee=n(5761),te=(n(7986),n(6109),n(6706),n(5526));function ne(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}const re=(0,i.vW)({id:"tjANIXCV",block:'[[[46,[30,0],null,null,null]],[],false,["component"]]',moduleName:"packages/@ember/-internals/glimmer/lib/templates/root.hbs",isStrictMode:!0}),ie=(0,i.vW)({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:()=>[f.on],isStrictMode:!0});function se(){}class oe{static toString(){return"internal component"}constructor(e,t,n){this.owner=e,this.args=t,this.caller=n,(0,b.km)(this,e)}get id(){return(0,m.g)(this)}get class(){return"ember-view"}validateArguments(){for(let e of Object.keys(this.args.named))this.isSupportedArgument(e)||this.onUnsupportedArgument(e)}named(e){let t=this.args.named[e];return t?(0,u.QO)(t):void 0}positional(e){let t=this.args.positional[e];return t?(0,u.QO)(t):void 0}listenerFor(e){return this.named(e)||se}isSupportedArgument(e){return!1}onUnsupportedArgument(e){}toString(){return`<${this.constructor}:${(0,m.g)(this)}>`}}const ae=new WeakMap;function le(e,t){let n={create(){throw(0,_.v)("Use constructor instead of create")},toString:()=>e.toString()};return ae.set(n,e),(0,h.aO)(ce,n),(0,h.Et)(t,n),n}const ue={dynamicLayout:!1,dynamicTag:!1,prepareArgs:!1,createArgs:!0,attributeHook:!1,elementHook:!1,createCaller:!0,dynamicScope:!1,updateHook:!1,createInstance:!0,wrapped:!1,willDestroy:!1,hasSubOwner:!1},ce=new class{getCapabilities(){return ue}create(e,t,n,r,i,s){var o;let a=new(o=t,ae.get(o))(e,n.capture(),(0,u.QO)(s));return(0,c.vz)(a.validateArguments.bind(a)),a}didCreate(){}didUpdate(){}didRenderLayout(){}didUpdateLayout(){}getDebugName(e){return e.toString()}getSelf(e){return(0,u.zF)(e,"this")}getDestroyable(e){return e}},he=Object.freeze({});function de(e){return function(e){return e.target}(e).value}function pe(e){return void 0===e?new me(void 0):(0,u.lq)(e)?new me((0,u.QO)(e)):(0,u.Qy)(e)?new ge(e):new ve(e)}var fe=new WeakMap;class me{constructor(e){ne(this,fe,void(0,w.i)(this,"value")),this.value=e}get(){return this.value}set(e){this.value=e}}j=me,(0,w.d)(j.prototype,"value",[v.S]);class ge{constructor(e){this.reference=e}get(){return(0,u.QO)(this.reference)}set(e){(0,u.du)(this.reference,e)}}class ve{constructor(e){(0,r.A)(this,"local",void 0),(0,r.A)(this,"upstream",void 0),(0,r.A)(this,"lastUpstreamValue",he),this.upstream=new ge(e)}get(){let e=this.upstream.get();return e!==this.lastUpstreamValue&&(this.lastUpstreamValue=e,this.local=new me(e)),this.local.get()}set(e){this.local.set(e)}}class ye extends oe{constructor(...e){super(...e),(0,r.A)(this,"_value",pe(this.args.named.value))}validateArguments(){super.validateArguments()}get value(){return this._value.get()}set value(e){this._value.set(e)}valueDidChange(e){this.value=de(e)}change(e){this.valueDidChange(e)}input(e){this.valueDidChange(e)}keyUp(e){switch(e.key){case"Enter":this.listenerFor("enter")(e),this.listenerFor("insert-newline")(e);break;case"Escape":this.listenerFor("escape-press")(e)}}listenerFor(e){let t=super.listenerFor(e);return this.isVirtualEventListener(e,t)?(n=t,e=>n(de(e),e)):t;var n}isVirtualEventListener(e,t){return-1!==["enter","insert-newline","escape-press"].indexOf(e)}}let be;if(z=ye,(0,w.a)(z.prototype,"valueDidChange",[p.XI]),(0,w.a)(z.prototype,"keyUp",[p.XI]),d.h){const e=Object.create(null),t=document.createElement("input");e[""]=!1,e.text=!0,e.checkbox=!0,be=n=>{let r=e[n];if(void 0===r){try{t.type=n,r=t.type===n}catch(e){r=!1}finally{t.type="text"}e[n]=r}return r}}else be=e=>""!==e;class _e extends ye{constructor(...e){super(...e),(0,r.A)(this,"_checked",pe(this.args.named.checked))}static toString(){return"Input"}get class(){return this.isCheckbox?"ember-checkbox ember-view":"ember-text-field ember-view"}get type(){let e=this.named("type");return null==e?"text":be(e)?e:"text"}get isCheckbox(){return"checkbox"===this.named("type")}get checked(){return this.isCheckbox?this._checked.get():void 0}set checked(e){this._checked.set(e)}change(e){this.isCheckbox?this.checkedDidChange(e):super.change(e)}input(e){this.isCheckbox||super.input(e)}checkedDidChange(e){let t=e.target;this.checked=t.checked}isSupportedArgument(e){return-1!==["type","value","checked","enter","insert-newline","escape-press"].indexOf(e)||super.isSupportedArgument(e)}}U=_e,(0,w.a)(U.prototype,"change",[p.XI]),(0,w.a)(U.prototype,"input",[p.XI]),(0,w.a)(U.prototype,"checkedDidChange",[p.XI]);const we=le(_e,ie),Ae=(0,i.vW)({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:()=>[f.on],isStrictMode:!0}),Ee=[],Oe={};function ke(e){return null==e}function Te(e){return"object"==typeof e&&null!==e&&!0===e.isQueryParams}(0,o.pN)(Ee),(0,o.pN)(Oe);var Ce=new WeakMap;class Se extends oe{constructor(...e){super(...e),ne(this,Ce,void(0,w.i)(this,"routing")),(0,r.A)(this,"currentRouteCache",(0,c.VC)((()=>((0,c.XE)((0,c.gY)(this.routing,"currentState")),(0,c.vz)((()=>this.routing.currentRouteName))))))}static toString(){return"LinkTo"}validateArguments(){super.validateArguments()}get class(){let e="ember-view";return this.isActive?(e+=this.classFor("active"),!1===this.willBeActive&&(e+=" ember-transitioning-out")):this.willBeActive&&(e+=" ember-transitioning-in"),this.isLoading&&(e+=this.classFor("loading")),this.isDisabled&&(e+=this.classFor("disabled")),e}get href(){if(this.isLoading)return"#";let{routing:e,route:t,models:n,query:r}=this;return(0,c.XE)((0,c.gY)(e,"currentState")),e.generateURL(t,n,r)}click(e){if(!(0,A.xQ)(e))return;let t=e.currentTarget;if(""!==t.target&&"_self"!==t.target)return;if(this.preventDefault(e),this.isDisabled)return;if(this.isLoading)return;let{routing:n,route:r,models:i,query:s,replace:o}=this,a={routeName:r,queryParams:s,transition:void 0};(0,D.gP)("interaction.link-to",a,(()=>{a.transition=n.transitionTo(r,i,s,o)}))}get route(){if("route"in this.args.named){let e=this.named("route");return e&&this.namespaceRoute(e)}return this.currentRoute}get currentRoute(){return(0,c._W)(this.currentRouteCache)}get models(){return"models"in this.args.named?this.named("models"):"model"in this.args.named?[this.named("model")]:Ee}get query(){return"query"in this.args.named?{...this.named("query")}:Oe}get replace(){return!0===this.named("replace")}get isActive(){return this.isActiveForState(this.routing.currentState)}get willBeActive(){let e=this.routing.currentState,t=this.routing.targetState;return e===t?null:this.isActiveForState(t)}get isLoading(){return ke(this.route)||this.models.some((e=>ke(e)))}get isDisabled(){return Boolean(this.named("disabled"))}get isEngine(){let e=this.owner;return void 0!==(0,x.vr)(e)}get engineMountPoint(){return this.owner.mountPoint}classFor(e){let t=this.named(`${e}Class`);return!0===t||ke(t)?` ${e}`:t?` ${t}`:""}namespaceRoute(e){let{engineMountPoint:t}=this;return void 0===t?e:"application"===e?t:`${t}.${e}`}isActiveForState(e){if(ke(e))return!1;if(this.isLoading)return!1;let t=this.named("current-when");if("boolean"==typeof t)return t;if("string"==typeof t){let{models:n,routing:r}=this;return t.split(" ").some((t=>r.isActiveForRoute(n,void 0,this.namespaceRoute(t),e)))}{let{route:t,models:n,query:r,routing:i}=this;return i.isActiveForRoute(n,r,t,e)}}preventDefault(e){e.preventDefault()}isSupportedArgument(e){return-1!==["route","model","models","query","replace","disabled","current-when","activeClass","loadingClass","disabledClass"].indexOf(e)||super.isSupportedArgument(e)}}W=Se,(0,w.d)(W.prototype,"routing",[(0,P.eu)("-routing")]),(0,w.a)(W.prototype,"click",[p.XI]);let{prototype:Re}=Se,xe=(e,t)=>e?Object.getOwnPropertyDescriptor(e,t)||xe(Object.getPrototypeOf(e),t):null;{let e=Re.onUnsupportedArgument;Object.defineProperty(Re,"onUnsupportedArgument",{configurable:!0,enumerable:!1,value:function(t){"href"===t||e.call(this,t)}})}{let e=xe(Re,"models").get;Object.defineProperty(Re,"models",{configurable:!0,enumerable:!1,get:function(){let t=e.call(this);return t.length>0&&!("query"in this.args.named)&&Te(t[t.length-1])&&(t=t.slice(0,-1)),t}});let t=xe(Re,"query").get;Object.defineProperty(Re,"query",{configurable:!0,enumerable:!1,get:function(){if("query"in this.args.named){let e=t.call(this);return Te(e)?e.values??Oe:e}{let t=e.call(this);if(t.length>0){let e=t[t.length-1];if(Te(e)&&null!==e.values)return e.values}return Oe}}})}{let e=Re.onUnsupportedArgument;Object.defineProperty(Re,"onUnsupportedArgument",{configurable:!0,enumerable:!1,value:function(t){"params"!==t&&e.call(this,t)}})}const De=le(Se,Ae),Pe=(0,i.vW)({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:()=>[f.on],isStrictMode:!0});class Ie extends ye{static toString(){return"Textarea"}get class(){return"ember-text-area ember-view"}change(e){super.change(e)}input(e){super.input(e)}isSupportedArgument(e){return-1!==["type","value","enter","insert-newline","escape-press"].indexOf(e)||super.isSupportedArgument(e)}}Q=Ie,(0,w.a)(Q.prototype,"change",[p.XI]),(0,w.a)(Q.prototype,"input",[p.XI]);const Ne=le(Ie,Pe);function Me(e){return"function"==typeof e}function Fe(e,t){return"attrs"===t[0]&&(t.shift(),1===t.length)?(0,u.xU)(e,t[0]):(0,u.AF)(e,t)}function Le(e){let t=e.indexOf(":");return-1===t?[e,e,!0]:[e.substring(0,t),e.substring(t+1),!1]}function Be(e,t,n,r){let[i,s,o]=n;if("id"===s){let t=(0,v.g)(e,i);null==t&&(t=e.elementId);let n=(0,u.P2)(t);return void r.setAttribute("id",n,!0,null)}let a=i.indexOf(".")>-1?Fe(t,i.split(".")):(0,u.xU)(t,i);r.setAttribute(s,a,!1,null)}function je(e,t){let n;return(0,u.t1)((()=>{let r=(0,u.QO)(e);return!0===r?n||(n=(0,L._)(t)):r||0===r?String(r):null}))}function ze(){}class Ue{constructor(e,t,n,i,s,o){(0,r.A)(this,"classRef",null),(0,r.A)(this,"rootRef",void 0),(0,r.A)(this,"argsRevision",void 0),this.component=e,this.args=t,this.argsTag=n,this.finalizer=i,this.hasWrappedElement=s,this.isInteractive=o,this.classRef=null,this.argsRevision=null===t?0:(0,c.RR)(n),this.rootRef=(0,u.zF)(e,"this"),(0,g.JF)(this,(()=>this.willDestroy()),!0),(0,g.JF)(this,(()=>this.component.destroy()))}willDestroy(){let{component:e,isInteractive:t}=this;if(t){(0,c.VE)(),e.trigger("willDestroyElement"),e.trigger("willClearRender"),(0,c.dU)();let t=(0,A.CB)(e);t&&((0,A.Zj)(t),(0,A.r5)(e))}e.renderer.unregister(e)}finalize(){let{finalizer:e}=this;e(),this.finalizer=ze}}function We(e){return(0,h.bL)(e,{})}const Qe=new WeakSet,Ve=We((e=>{(0,V.UZ)("Usage of the `(action)` helper is deprecated. Migrate to native functions and function invocation.",V.U8.DEPRECATE_TEMPLATE_ACTION);let t,{named:n,positional:r}=e,[i,s,...o]=r,a=(s.debugLabel,"target"in n?n.target:i),l=function(e,t){let n,r;return t.length>0&&(n=e=>t.map(u.QO).concat(e)),e&&(r=t=>{let n=(0,u.QO)(e);return n&&t.length>0&&(t[0]=(0,v.g)(t[0],n)),t}),n&&r?e=>r(n(e)):n||r||He}("value"in n&&n.value||!1,o);return t=(0,u.xz)(s)?qe(s,s,$e,l):function(e,t,n,r){const i=(0,u.QO)(n);return(...n)=>qe(e,(0,u.QO)(t),i,r)(...n)}((0,u.QO)(i),a,s,l),Qe.add(t),(0,u.pZ)(t,"(result of an `action` helper)")}));function He(e){return e}function qe(e,t,n,r,i){let s,o;if("string"==typeof n){s=t;let e=t.actions?.[n];o=e}else"function"==typeof n&&(s=e,o=n);return(...e)=>{let t={target:s,args:e,label:"@glimmer/closure-action"};return(0,D.gP)("interaction.ember-action",t,(()=>(0,l.fj)(s,o,...r(e))))}}function $e(e){(0,u.du)(this,e)}function Ge(e){let t=Object.create(null),n=Object.create(null);for(let r in e){let i=e[r],s=(0,u.QO)(i),o="function"==typeof s&&Qe.has(s);(0,u.Qy)(i)&&!o?t[r]=new Xe(i,s):t[r]=s,n[r]=s}return n.attrs=t,n}const Ke=Symbol("REF");class Xe{constructor(e,t){(0,r.A)(this,"value",void 0),(0,r.A)(this,B,void 0),(0,r.A)(this,Ke,void 0),this[B]=!0,this[Ke]=e,this.value=t}update(e){(0,u.du)(this[Ke],e)}}const Ye=(0,M.e)("ARGS"),Je=(0,M.e)("HAS_BLOCK"),Ze=Symbol("DIRTY_TAG"),et=Symbol("IS_DISPATCHING_ATTRS"),tt=Symbol("BOUNDS"),nt=(0,u.P2)("ember-view");(0,o.pN)([]);class rt{templateFor(e){let t,{layout:n,layoutName:r}=e,i=(0,b.QQ)(e);if(void 0===n){if(void 0===r)return null;t=i.lookup(`template:${r}`)}else{if(!Me(n))return null;t=n}return(0,F.gx)(t(i)).asWrappedLayout()}getDynamicLayout(e){return this.templateFor(e.component)}getTagName(e){let{component:t,hasWrappedElement:n}=e;return n?t&&t.tagName||"div":null}getCapabilities(){return ot}prepareArgs(e,t){if(t.named.has("__ARGS__")){let{__ARGS__:e,...n}=t.named.capture(),r=(0,u.QO)(e);return{positional:r.positional,named:{...n,...r.named}}}const{positionalParams:n}=e.class??e;if(null==n||0===t.positional.length)return null;let r;if("string"==typeof n){let e=t.positional.capture();r={[n]:(0,u.t1)((()=>(0,a.Co)(e)))},Object.assign(r,t.named.capture())}else{if(!(Array.isArray(n)&&n.length>0))return null;{const e=Math.min(n.length,t.positional.length);r={},Object.assign(r,t.named.capture());for(let i=0;i{s.setAttribute("class",(0,u.P2)(e),!1,null)})),l&&l.length&&l.forEach((e=>{!function(e,t,n){let r=t.split(":"),[i,s,o]=r;if(""===i)n.setAttribute("class",(0,u.P2)(s),!0,null);else{let t,r=i.indexOf(".")>-1,a=r?i.split("."):[],l=r?Fe(e,a):(0,u.xU)(e,i);t=void 0===s?je(l,r?a[a.length-1]:i):function(e,t,n){return(0,u.t1)((()=>(0,u.QO)(e)?t:n))}(l,s,o),n.setAttribute("class",t,!1,null)}}(r,e,s)})),s.setAttribute("class",nt,!1,null),"ariaRole"in e&&s.setAttribute("role",(0,u.xU)(r,"ariaRole"),!1,null),e._transitionTo("hasElement"),n&&((0,c.VE)(),e.trigger("willInsertElement"),(0,c.dU)())}didRenderLayout(e,t){e.component[tt]=t,e.finalize()}didCreate({component:e,isInteractive:t}){t&&(e._transitionTo("inDOM"),e.trigger("didInsertElement"),e.trigger("didRender"))}update(e){let{component:t,args:n,argsTag:r,argsRevision:i,isInteractive:s}=e;if(e.finalizer=(0,D.r1)("render.component",st,t),(0,c.VE)(),null!==n&&!(0,c.z7)(r,i)){(0,c.yd)();let i=Ge(n);r=e.argsTag=(0,c.QM)(),e.argsRevision=(0,c.RR)(r),t[et]=!0,t.setProperties(i),t[et]=!1,t.trigger("didUpdateAttrs"),t.trigger("didReceiveAttrs")}s&&(t.trigger("willUpdate"),t.trigger("willRender")),(0,c.dU)(),(0,c.XE)(r),(0,c.XE)(t[Ze])}didUpdateLayout(e){e.finalize()}didUpdate({component:e,isInteractive:t}){t&&(e.trigger("didUpdate"),e.trigger("didRender"))}getDestroyable(e){return e}}function it(e){return e.instrumentDetails({initialRender:!0})}function st(e){return e.instrumentDetails({initialRender:!1})}const ot={dynamicLayout:!0,dynamicTag:!0,prepareArgs:!0,createArgs:!0,attributeHook:!0,elementHook:!0,createCaller:!0,dynamicScope:!0,updateHook:!0,createInstance:!0,wrapped:!0,willDestroy:!0,hasSubOwner:!1},at=new rt;function lt(e){return e===at}let ut=new WeakMap;class ct extends(O.A.extend(T.A,C.A,k.A,N.A,R.A,S.A,{didReceiveAttrs(){},didRender(){},didUpdate(){},didUpdateAttrs(){},willRender(){},willUpdate(){}})){constructor(...e){super(...e),(0,r.A)(this,"isComponent",!0),(0,r.A)(this,"__dispatcher",void 0)}init(e){super.init(e),this._superRerender=this.rerender,this.rerender=this._rerender,this[et]=!1,this[Ze]=(0,c.VZ)(),this[tt]=null;const t=this._dispatcher;if(t){let e=ut.get(t);e||(e=new WeakSet,ut.set(t,e));let n=Object.getPrototypeOf(this);e.has(n)||(t.lazyEvents.forEach(((e,n)=>{null!==e&&"function"==typeof this[e]&&t.setupHandlerForBrowserEvent(n)})),e.add(n))}}get _dispatcher(){if(void 0===this.__dispatcher){let e=(0,b.QQ)(this);if(e.lookup("-environment:main").isInteractive){let t=e.lookup("event_dispatcher:main");this.__dispatcher=t}else this.__dispatcher=null}return this.__dispatcher}on(e,t,n){return this._dispatcher?.setupHandlerForEmberEvent(e),super.on(e,t,n)}_rerender(){(0,c.DT)(this[Ze]),this._superRerender()}[v.Q](e,t){if(this[et])return;let n=this[Ye],r=void 0!==n?n[e]:void 0;void 0!==r&&(0,u.Qy)(r)&&(0,u.du)(r,2===arguments.length?t:(0,v.g)(this,e))}getAttr(e){return this.get(e)}readDOMAttr(e){let t=(0,A.CB)(this),n="http://www.w3.org/2000/svg"===t.namespaceURI,{type:r,normalized:i}=(0,a.np)(t,e);return n||"attr"===r?t.getAttribute(i):t[i]}static toString(){return"@ember/component"}}(0,r.A)(ct,"isComponentFactory",!0),ct.reopenClass({positionalParams:[]}),(0,h.aO)(at,ct);const ht=Symbol("RECOMPUTE_TAG"),dt=Symbol("IS_CLASSIC_HELPER");class pt extends H.YD{init(e){super.init(e),this[ht]=(0,c.VZ)()}recompute(){(0,l.fj)((()=>(0,c.DT)(this[ht])))}}(0,r.A)(pt,"isHelperFactory",!0),(0,r.A)(pt,dt,!0),(0,r.A)(pt,"helper",(function(e){return new gt(e)}));class ft{constructor(e){(0,r.A)(this,"capabilities",(0,h.rw)("3.23",{hasValue:!0,hasDestroyable:!0})),(0,r.A)(this,"ownerInjection",void 0);let t={};(0,b.km)(t,e),this.ownerInjection=t}createHelper(e,t){var n;return{instance:null!=(n=e)&&"class"in n?e.create():e.create(this.ownerInjection),args:t}}getDestroyable({instance:e}){return e}getValue({instance:e,args:t}){let{positional:n,named:r}=t,i=e.compute(n,r);return(0,c.XE)(e[ht]),i}getDebugName(e){return(0,m.a)((e.class||e).prototype)}}(0,h.wU)((e=>new ft(e)),pt);const mt=(0,h.BK)(pt);class gt{constructor(e){(0,r.A)(this,"isHelperFactory",!0),this.compute=e}create(){return{compute:this.compute}}}const vt=new class{constructor(){(0,r.A)(this,"capabilities",(0,h.rw)("3.23",{hasValue:!0}))}createHelper(e,t){return()=>e.compute.call(null,t.positional,t.named)}getValue(e){return e()}getDebugName(e){return(0,m.a)(e.compute)}};(0,h.wU)((()=>vt),gt.prototype);const yt={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},bt=/[&<>"'`=]/,_t=/[&<>"'`=]/g;function wt(e){return yt[e]}function At(e){let t;if("string"!=typeof e){if(Et(e))return e.toHTML();if(null==e)return"";if(!e)return String(e);t=String(e)}else t=e;return bt.test(t)?t.replace(_t,wt):t}function Et(e){return null!==e&&"object"==typeof e&&"toHTML"in e&&"function"==typeof e.toHTML}function Ot(e){return{object:`${e.name}:main`}}const kt={dynamicLayout:!1,dynamicTag:!1,prepareArgs:!1,createArgs:!1,attributeHook:!1,elementHook:!1,createCaller:!1,dynamicScope:!0,updateHook:!1,createInstance:!0,wrapped:!1,willDestroy:!1,hasSubOwner:!1},Tt=new class{create(e,t,n,r,i){let s=i.get("outletState"),o=t.ref;i.set("outletState",o);let a={self:(0,u.zF)(t.controller,"this"),finalize:(0,D.r1)("render.outlet",Ot,t)};if(void 0!==r.debugRenderTree){a.outletBucket={};let e=(0,u.QO)(s),t=e&&e.render&&e.render.owner,n=(0,u.QO)(o).render.owner;if(t&&t!==n){let e=n.mountPoint;a.engine=n,e&&(a.engineBucket={mountPoint:e})}}return a}getDebugName({name:e}){return e}getDebugCustomRenderTree(e,t,n){let r=[];return r.push({bucket:t.outletBucket,type:"outlet",name:"main",args:a.Kv,instance:void 0,template:void 0}),t.engineBucket&&r.push({bucket:t.engineBucket,type:"engine",name:t.engineBucket.mountPoint,args:a.Kv,instance:t.engine,template:void 0}),r.push({bucket:t,type:"route-template",name:e.name,args:n,instance:e.controller,template:(0,F.gx)(e.template).moduleName}),r}getCapabilities(){return kt}getSelf({self:e}){return e}didCreate(){}didUpdate(){}didRenderLayout(e){e.finalize()}didUpdateLayout(){}getDestroyable(){return null}};class Ct{constructor(e,t=Tt){(0,r.A)(this,"handle",-1),(0,r.A)(this,"resolvedName",void 0),(0,r.A)(this,"compilable",void 0),(0,r.A)(this,"capabilities",void 0),this.state=e,this.manager=t;let n=t.getCapabilities();this.capabilities=(0,h.oO)(n),this.compilable=n.wrapped?(0,F.gx)(e.template).asWrappedLayout():(0,F.gx)(e.template).asLayout(),this.resolvedName=e.name}}class St extends rt{constructor(e){super(),(0,r.A)(this,"component",void 0),this.component=e}create(e,t,n,{isInteractive:r},i){let s=this.component,o=(0,D.r1)("render.component",it,s);i.view=s;let a=""!==s.tagName;a||(r&&s.trigger("willRender"),s._transitionTo("hasElement"),r&&s.trigger("willInsertElement"));let l=new Ue(s,null,c.ky,o,a,r);return(0,c.XE)(s[Ze]),l}}const Rt={dynamicLayout:!0,dynamicTag:!0,prepareArgs:!1,createArgs:!1,attributeHook:!0,elementHook:!0,createCaller:!0,dynamicScope:!0,updateHook:!0,createInstance:!0,wrapped:!0,willDestroy:!1,hasSubOwner:!1};class xt{constructor(e){(0,r.A)(this,"handle",-1),(0,r.A)(this,"resolvedName","-top-level"),(0,r.A)(this,"state",void 0),(0,r.A)(this,"manager",void 0),(0,r.A)(this,"capabilities",(0,h.oO)(Rt)),(0,r.A)(this,"compilable",null),this.manager=new St(e);let t=(0,s.g)(e);this.state=t}}class Dt{constructor(e){this.inner=e}}const Pt=We((({positional:e})=>{const t=e[0];return(0,u.t1)((()=>{let e=(0,u.QO)(t);return(0,c.XE)((0,v.t)(e)),(0,Z.i)(e)&&(e=(0,I.F)(e)),new Dt(e)}))}));class It{constructor(e){(0,r.A)(this,"position",0),this.length=e}isEmpty(){return!1}memoFor(e){return e}next(){let{length:e,position:t}=this;if(t>=e)return null;let n=this.valueFor(t),r=this.memoFor(t);return this.position++,{value:n,memo:r}}}class Nt extends It{static from(e){return e.length>0?new this(e):null}static fromForEachable(e){let t=[];return e.forEach((e=>t.push(e))),this.from(t)}constructor(e){super(e.length),this.array=e}valueFor(e){return this.array[e]}}class Mt extends It{static from(e){return e.length>0?new this(e):null}constructor(e){super(e.length),this.array=e}valueFor(e){return(0,v.o)(this.array,e)}}class Ft extends It{static fromIndexable(e){let t=Object.keys(e);if(0===t.length)return null;{let n=[];for(let r of t){let t;t=e[r],(0,c.oz)()&&((0,c.XE)((0,c.gY)(e,r)),Array.isArray(t)&&(0,c.XE)((0,c.gY)(t,"[]"))),n.push(t)}return new this(t,n)}}static fromForEachable(e){let t=[],n=[],r=0,i=!1;return e.forEach((function(e,s){i=i||arguments.length>=2,i&&t.push(s),n.push(e),r++})),0===r?null:i?new this(t,n):new Nt(n)}constructor(e,t){super(t.length),this.keys=e,this.values=t}valueFor(e){return this.values[e]}memoFor(e){return this.keys[e]}}class Lt{static from(e){let t=e[Symbol.iterator](),n=t.next(),{done:r}=n;return r?null:new this(t,n)}constructor(e,t){(0,r.A)(this,"position",0),this.iterable=e,this.result=t}isEmpty(){return!1}next(){let{iterable:e,result:t,position:n}=this;if(t.done)return null;let r=this.valueFor(t,n),i=this.memoFor(t,n);return this.position++,this.result=e.next(),{value:r,memo:i}}}class Bt extends Lt{valueFor(e){return e.value}memoFor(e,t){return t}}class jt extends Lt{valueFor(e){return e.value[1]}memoFor(e){return e.value[0]}}function zt(e){return null!=e&&"function"==typeof e.forEach}function Ut(e){return null!=e&&"function"==typeof e[Symbol.iterator]}(0,Y.Ay)({FEATURES:{DEFAULT_HELPER_MANAGER:!0},scheduleRevalidate(){l.Xg.ensureInstance()},toBool:function(e){return(0,Z.i)(e)?((0,c.XE)((0,v.a)(e,"content")),Boolean((0,v.g)(e,"isTruthy"))):(0,ee.cy)(e)?((0,c.XE)((0,v.a)(e,"[]")),0!==e.length):Et(e)?Boolean(e.toString()):Boolean(e)},toIterator:function(e){return e instanceof Dt?function(e){return null===(t=e)||"object"!=typeof t&&"function"!=typeof t?null:Array.isArray(e)||(0,J.P)(e)?Ft.fromIndexable(e):Ut(e)?jt.from(e):zt(e)?Ft.fromForEachable(e):Ft.fromIndexable(e);var t}(e.inner):function(e){return(0,m.e)(e)?Array.isArray(e)?Nt.from(e):(0,J.P)(e)?Mt.from(e):Ut(e)?Bt.from(e):zt(e)?Nt.fromForEachable(e):null:null}(e)},getProp:v.V,setProp:X._,getPath:v.g,setPath:X.s,scheduleDestroy(e,t){(0,l._)("actions",null,t,e)},scheduleDestroyed(e){(0,l._)("destroy",null,e)},warnIfStyleNotTrusted(e){},assert(e,t,n){},deprecate(e,t,n){}});class Wt{constructor(e,t){(0,r.A)(this,"enableDebugTooling",y.E._DEBUG_RENDER_TREE),this.owner=e,this.isInteractive=t}onTransactionCommit(){}}const Qt=We((({positional:e,named:t})=>{const n=e[0];let r=t.type,i=t.loc,s=t.original;return(0,u.QO)(r),(0,u.QO)(i),(0,u.QO)(s),(0,u.t1)((()=>(0,u.QO)(n)))}));let Vt;Vt=e=>e.positional[0];const Ht=We(Vt),qt=We((({positional:e})=>(0,u.t1)((()=>{let t=e[0],n=e[1],r=(0,u.QO)(t).split("."),i=r[r.length-1],s=(0,u.QO)(n);return!0===s?(0,L._)(i):s||0===s?String(s):""})))),$t=We((({positional:e},t)=>{let n=e[0],r=(0,u.QO)(n);return(0,u.zF)(t.factoryFor(r)?.class,`(-resolve "${r}")`)})),Gt=We((({positional:e})=>{const t=e[0];return(0,u.t1)((()=>{let e=(0,u.QO)(t);return(0,m.e)(e)&&(0,c.XE)((0,v.a)(e,"[]")),e}))})),Kt=We((({positional:e})=>{let t=e[0];return(0,u.L)(t)})),Xt=We((({positional:e})=>{let t=e[0];return(0,u.c1)(t)})),Yt=We((({positional:e,named:t})=>(0,u.pZ)((0,u.QO)(e[0]),"(result of an `unbound` helper)"))),Jt=We((()=>(0,u.zF)(Zt(),"unique-id")));function Zt(){return([3e7]+-1e3+-4e3+-2e3+-1e11).replace(/[0-3]/g,(e=>(4*e^16*Math.random()>>(2&e)).toString(16)))}const en=["alt","shift","meta","ctrl"],tn=/^click|mouse|touch/;let nn={registeredActions:E.A.registeredActions,registerAction(e){let{actionId:t}=e;return E.A.registeredActions[t]=e,t},unregisterAction(e){let{actionId:t}=e;delete E.A.registeredActions[t]}};class rn{constructor(e,t,n,i,s,o){(0,r.A)(this,"element",void 0),(0,r.A)(this,"owner",void 0),(0,r.A)(this,"actionId",void 0),(0,r.A)(this,"actionName",void 0),(0,r.A)(this,"actionArgs",void 0),(0,r.A)(this,"namedArgs",void 0),(0,r.A)(this,"positional",void 0),(0,r.A)(this,"implicitTarget",void 0),(0,r.A)(this,"eventName",void 0),(0,r.A)(this,"tag",(0,c.jA)()),this.element=e,this.owner=t,this.actionId=n,this.actionArgs=i,this.namedArgs=s,this.positional=o,this.eventName=this.getEventName(),(0,g.JF)(this,(()=>nn.unregisterAction(this)))}getEventName(){let{on:e}=this.namedArgs;return void 0!==e?(0,u.QO)(e):"click"}getActionArgs(){let e=new Array(this.actionArgs.length);for(let t=0;t=0)return!0;for(let n=0;n{let e=this.getActionArgs(),n={args:e,target:h,name:null};(0,u.xz)(t)?(0,D.gP)("interaction.ember-action",n,(()=>{(0,u.du)(t,e[0])})):"function"!=typeof t?(n.name=t,h.send?(0,D.gP)("interaction.ember-action",n,(()=>{h.send.apply(h,[t,...e])})):(0,D.gP)("interaction.ember-action",n,(()=>{h[t].apply(h,e)}))):(0,D.gP)("interaction.ember-action",n,(()=>{t.apply(h,e)}))})),d)}}const sn=new class{create(e,t,n,{named:r,positional:i}){let s=[];for(let e=2;e1&&(r=o[0],n=o[1],t=(0,u.xz)(n)?n:(0,u.QO)(n)),e.actionName=t,e.implicitTarget=r,this.ensureEventSetup(e),nn.registerAction(e),i.setAttribute("data-ember-action",""),i.setAttribute(`data-ember-action-${s}`,String(s))}update(e){let{positional:t}=e,n=t[1];(0,u.xz)(n)||(e.actionName=(0,u.QO)(n)),e.getEventName()!==e.eventName&&(this.ensureEventSetup(e),e.eventName=e.getEventName())}ensureEventSetup(e){let t=e.owner.lookup("event_dispatcher:main");t?.setupHandlerForEmberEvent(e.eventName)}getTag(e){return e.tag}getDestroyable(e){return e}},on=(0,h.wc)(sn,{}),an={dynamicLayout:!0,dynamicTag:!1,prepareArgs:!1,createArgs:!0,attributeHook:!1,elementHook:!1,createCaller:!0,dynamicScope:!0,updateHook:!0,createInstance:!0,wrapped:!1,willDestroy:!1,hasSubOwner:!0},ln=new class{getDynamicLayout(e){let t=e.engine.lookup("template:application");return(0,F.gx)(t(e.engine)).asLayout()}getCapabilities(){return an}getOwner(e){return e.engine}create(e,{name:t},n,r){let i=e.buildChildEngineInstance(t);i.boot();let s,o,a,l,c=i.factoryFor("controller:application")||(0,te.C)(i,"application");if(n.named.has("model")&&(l=n.named.get("model")),void 0===l)s=c.create(),o=(0,u.zF)(s,"this"),a={engine:i,controller:s,self:o,modelRef:l};else{let e=(0,u.QO)(l);s=c.create({model:e}),o=(0,u.zF)(s,"this"),a={engine:i,controller:s,self:o,modelRef:l}}return r.debugRenderTree&&(0,g.T3)(i,s),a}getDebugName({name:e}){return e}getDebugCustomRenderTree(e,t,n,r){return[{bucket:t.engine,instance:t.engine,type:"engine",name:e.name,args:n},{bucket:t.controller,instance:t.controller,type:"route-template",name:"application",args:n,template:r}]}getSelf({self:e}){return e}getDestroyable(e){return e.engine}didCreate(){}didUpdate(){}didRenderLayout(){}didUpdateLayout(){}update(e){let{controller:t,modelRef:n}=e;void 0!==n&&t.set("model",(0,u.QO)(n))}};class un{constructor(e){(0,r.A)(this,"handle",-1),(0,r.A)(this,"state",void 0),(0,r.A)(this,"manager",ln),(0,r.A)(this,"compilable",null),(0,r.A)(this,"capabilities",(0,h.oO)(an)),this.resolvedName=e,this.state={name:e}}}const cn=We(((e,t)=>{let n,r,i,s=e.positional[0];return n=(0,a.O9)(e.named,a.Fu),(0,u.t1)((()=>{let e=(0,u.QO)(s);return"string"==typeof e?(r===e||(r=e,i=(0,a.cF)(q.P1.Component,new un(e),t,n,!0)),i):(i=null,r=null,null)}))})),hn=We(((e,t,n)=>{let r=(0,u.t1)((()=>{let e=(0,u.QO)(n.get("outletState"));return e?.outlets?.main})),i=null,s=null;return(0,u.t1)((()=>{let e=(0,u.QO)(r),n=function(e,t){if(void 0===t)return null;let n=t.render;if(void 0===n)return null;let r=n.template;return void 0===r?null:(Me(r)&&(r=r(n.owner)),{ref:e,name:n.name,template:r,controller:n.controller,model:n.model})}(r,e);if(!function(e,t){return null===e?null===t:null!==t&&(e.template===t.template&&e.controller===t.controller)}(n,i))if(i=n,null!==n){let o=(0,F.jd)(),l=(0,u.AF)(r,["render","model"]),c=(0,u.QO)(l);o.model=(0,u.t1)((()=>(i===n&&(c=(0,u.QO)(l)),c)));let h=(0,a.O9)(o,a.Fu);s=(0,a.cF)(q.P1.Component,new Ct(n),e?.render?.owner??t,h,!0)}else s=null;return s}))}));function dn(e){return{object:`component:${e}`}}const pn={action:Ve,mut:Kt,readonly:Xt,unbound:Yt,"-hash":a.tW,"-each-in":Pt,"-normalize-class":qt,"-resolve":$t,"-track-array":Gt,"-mount":cn,"-outlet":hn,"-in-el-null":Ht},fn={...pn,array:a.YO,concat:a.xW,fn:a.fn,get:a.Jt,hash:a.tW,"unique-id":Jt};fn["-disallow-dynamic-resolution"]=Qt;const mn={action:on},gn={...mn,on:a.on};new WeakSet;class vn{constructor(){(0,r.A)(this,"componentDefinitionCache",new Map)}lookupPartial(){return null}lookupHelper(e,t){let n=fn[e];if(void 0!==n)return n;let r=t.factoryFor(`helper:${e}`);if(void 0===r)return null;let i=r.class;return void 0===i?null:"function"==typeof i&&!0===i[dt]?((0,h.bL)(mt,r),r):i}lookupBuiltInHelper(e){return pn[e]??null}lookupModifier(e,t){let n=gn[e];if(void 0!==n)return n;let r=t.factoryFor(`modifier:${e}`);return void 0===r?null:r.class||null}lookupBuiltInModifier(e){return mn[e]??null}lookupComponent(e,t){let n=function(e,t,n){let r=function(e,t){let n=`component:${e}`;return t.factoryFor(n)||null}(t,e);if((0,b.T$)(r)&&r.class){let e=(0,h.u0)(r.class);if(void 0!==e)return{component:r,layout:e}}let i=function(e,t,n){if(V.U8.DEPRECATE_COMPONENT_TEMPLATE_RESOLVING.isRemoved)return null;let r=`template:components/${e}`,i=t.lookup(r,n)||null;return i&&(0,V.UZ)(`Components with separately resolved templates are deprecated. Migrate to either co-located js/ts + hbs files or to gjs/gts. Tried to lookup '${r}'.`,V.U8.DEPRECATE_COMPONENT_TEMPLATE_RESOLVING),i}(t,e,n);return null===r&&null===i?null:{component:r,layout:i}}(t,e);if(null===n)return null;let r,i=null;r=null===n.component?i=n.layout(t):n.component;let s=this.componentDefinitionCache.get(r);if(void 0!==s)return s;null===i&&null!==n.layout&&(i=n.layout(t));let o=(0,D.r1)("render.getComponentDefinition",dn,e),l=null;if(null===n.component)l={state:(0,a.W)(void 0,e),manager:a.Qo,template:i};else{let e=n.component,t=e.class,r=(0,h.oT)(t);l={state:lt(r)?e:t,manager:r,template:i}}return o(),this.componentDefinitionCache.set(r,l),l}}const yn="-top-level";class bn{static extend(e){return class extends bn{static create(t){return t?super.create(Object.assign({},e,t)):super.create(e)}}}static reopenClass(e){Object.assign(this,e)}static create(e){let{environment:t,application:n,template:r}=e,i=(0,b.QQ)(e),s=r(i);return new bn(t,i,s,n)}constructor(e,t,n,i){(0,r.A)(this,"ref",void 0),(0,r.A)(this,"state",void 0),this._environment=e,this.owner=t,this.template=n,this.namespace=i;let s=(0,c.VZ)(),o={outlets:{main:void 0},render:{owner:t,into:void 0,outlet:"main",name:yn,controller:void 0,model:void 0,template:n}},a=this.ref=(0,u.t1)((()=>((0,c.XE)(s),o)),(e=>{(0,c.DT)(s),o.outlets.main=e}));this.state={ref:a,name:yn,template:n,controller:void 0,model:void 0}}appendTo(e){let t;t=this._environment.hasDOM&&"string"==typeof e?document.querySelector(e):e;let n=this.owner.lookup("renderer:-dom");(0,l._)("render",n,"appendOutletView",this,t)}rerender(){}setOutletState(e){(0,u.du)(this.ref,e)}destroy(){}}class _n{constructor(e,t){this.view=e,this.outletState=t}child(){return new _n(this.view,this.outletState)}get(e){return this.outletState}set(e,t){return this.outletState=t,t}}const wn=()=>{};class An{constructor(e,t,n,i,s,o,l,u,c){(0,r.A)(this,"id",void 0),(0,r.A)(this,"result",void 0),(0,r.A)(this,"destroyed",void 0),(0,r.A)(this,"render",void 0),this.root=e,this.runtime=t,this.id=e instanceof bn?(0,m.g)(e):(0,A.ZF)(e),this.result=void 0,this.destroyed=!1,this.render=()=>{let e=(0,F.gx)(s).asLayout(),r=(0,a.Y9)(t,n,i,o,c(t.env,{element:l,nextSibling:null}),e,u),h=this.result=r.sync();this.render=()=>h.rerender({alwaysRevalidate:!1})}}isFor(e){return this.root===e}destroy(){let{result:e,runtime:{env:t}}=this;this.destroyed=!0,this.runtime=void 0,this.root=null,this.result=void 0,this.render=void 0,void 0!==e&&(0,a.sA)(t,(()=>(0,g.zr)(e)))}}const En=[];function On(e){let t=En.indexOf(e);En.splice(t,1)}let kn=null;function Tn(){return null===kn&&(kn=G.a.defer(),(0,l.uJ)()||l.Xg.schedule("actions",null,wn)),kn.promise}let Cn=0;l.Xg.on("begin",(function(){for(let e of En)e._scheduleRevalidate()})),l.Xg.on("end",(function(){for(let e of En)if(!e._isValid()){if(Cn>y.E._RERENDER_LOOP_LIMIT)throw Cn=0,e.destroy(),new Error("infinite rendering invalidation detected");return Cn++,l.Xg.join(null,wn)}Cn=0,function(){if(null!==kn){let e=kn.resolve;kn=null,l.Xg.join(null,e)}}()}));class Sn{static create(e){let{_viewRegistry:t}=e,n=(0,b.QQ)(e),r=n.lookup("service:-document"),i=n.lookup("-environment:main"),o=n.lookup(s.p`template:-root`),a=n.lookup("service:-dom-builder");return new this(n,r,i,o,t,a)}constructor(e,t,n,s,o,l=a.Tz){(0,r.A)(this,"_rootTemplate",void 0),(0,r.A)(this,"_viewRegistry",void 0),(0,r.A)(this,"_roots",void 0),(0,r.A)(this,"_removedRoots",void 0),(0,r.A)(this,"_builder",void 0),(0,r.A)(this,"_inRenderTransaction",!1),(0,r.A)(this,"_owner",void 0),(0,r.A)(this,"_context",void 0),(0,r.A)(this,"_runtime",void 0),(0,r.A)(this,"_lastRevision",-1),(0,r.A)(this,"_destroyed",!1),(0,r.A)(this,"_isInteractive",void 0),(0,r.A)(this,"_runtimeResolver",void 0),this._owner=e,this._rootTemplate=s(e),this._viewRegistry=o||e.lookup("-view-registry:main"),this._roots=[],this._removedRoots=[],this._builder=l,this._isInteractive=n.isInteractive;let u=this._runtimeResolver=new vn,c=(0,$.qi)();this._context=(0,i.Dj)(c,u,(e=>new $.i9(e)));let h=new Wt(e,n.isInteractive);this._runtime=(0,a.ES)({appendOperations:n.hasDOM?new a.K9(t):new K.O(t),updateOperations:new a.c3(t)},h,c,u)}get debugRenderTree(){let{debugRenderTree:e}=this._runtime.env;return e}appendOutletView(e,t){let n=new Ct(e.state);this._appendDefinition(e,(0,a.cF)(q.P1.Component,n,e.owner,null,!0),t)}appendTo(e,t){let n=new xt(e);this._appendDefinition(e,(0,a.cF)(q.P1.Component,n,this._owner,null,!0),t)}_appendDefinition(e,t,n){let r=(0,u.zF)(t,"this"),i=new _n(null,u.BG),s=new An(e,this._runtime,this._context,this._owner,this._rootTemplate,r,n,i,this._builder);this._renderRoot(s)}rerender(){this._scheduleRevalidate()}register(e){let t=(0,A.ZF)(e);this._viewRegistry[t]=e}unregister(e){delete this._viewRegistry[(0,A.ZF)(e)]}remove(e){e._transitionTo("destroying"),this.cleanupRootFor(e),this._isInteractive&&e.trigger("didDestroyElement")}cleanupRootFor(e){if(this._destroyed)return;let t=this._roots,n=this._roots.length;for(;n--;){let r=t[n];r.isFor(e)&&(r.destroy(),t.splice(n,1))}}destroy(){this._destroyed||(this._destroyed=!0,this._clearAllRoots())}getElement(e){if(this._isInteractive)return(0,A.CB)(e);throw new Error("Accessing `this.element` is not allowed in non-interactive environments (such as FastBoot).")}getBounds(e){let t=e[tt];return{parentElement:t.parentElement(),firstNode:t.firstNode(),lastNode:t.lastNode()}}createElement(e){return this._runtime.env.getAppendOperations().createElement(e)}_renderRoot(e){let{_roots:t}=this;t.push(e),1===t.length&&En.push(this),this._renderRootsTransaction()}_renderRoots(){let e,{_roots:t,_runtime:n,_removedRoots:r}=this;do{e=t.length,(0,a.sA)(n.env,(()=>{for(let n=0;n=e||i.render()}this._lastRevision=(0,c.RR)(c.lE)}))}while(t.length>e);for(;r.length;){let e=r.pop(),n=t.indexOf(e);t.splice(n,1)}0===this._roots.length&&On(this)}_renderRootsTransaction(){if(this._inRenderTransaction)return;this._inRenderTransaction=!0;let e=!1;try{this._renderRoots(),e=!0}finally{e||(this._lastRevision=(0,c.RR)(c.lE)),this._inRenderTransaction=!1}}_clearAllRoots(){let e=this._roots;for(let t of e)t.destroy();this._removedRoots.length=0,this._roots=[],e.length&&On(this)}_scheduleRevalidate(){l.Xg.scheduleOnce("render",this,this._revalidate)}_isValid(){return this._destroyed||0===this._roots.length||(0,c.z7)(c.lE,this._lastRevision)}_revalidate(){this._isValid()||this._renderRootsTransaction()}}const Rn=(0,i.vW)({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:()=>[hn],isStrictMode:!0})},7927:(e,t,n)=>{"use strict";n.d(t,{i:()=>s,s:()=>o});var r=n(1719);const i=new WeakSet;function s(e){return!!(0,r.e)(e)&&i.has(e)}function o(e){(0,r.e)(e)&&i.add(e)}},2989:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});var r=n(6703);function i(e,t){return(0,r.d2)(e,t)}},1719:(e,t,n)=>{"use strict";n.d(t,{G:()=>h,R:()=>b,a:()=>f,b:()=>d,d:()=>T,e:()=>s,g:()=>p,i:()=>i,l:()=>x,o:()=>O,s:()=>k,u:()=>a,w:()=>S});var r=n(9624);function i(e){let t=Object.create(null);t[e]=1;for(let n in t)if(n===e)return n;return e}function s(e){return null!==e&&("object"==typeof e||"function"==typeof e)}n(943);let o=0;function a(){return++o}const l="ember",u=new WeakMap,c=new Map,h=i(`__ember${Date.now()}`);function d(e,t=l){let n=t+a().toString();return s(e)&&u.set(e,n),n}function p(e){let t;if(s(e))t=u.get(e),void 0===t&&(t=`${l}${a()}`,u.set(e,t));else if(t=c.get(e),void 0===t){let n=typeof e;t="string"===n?`st${a()}`:"number"===n?`nu${a()}`:"symbol"===n?`sy${a()}`:`(${e})`,c.set(e,t)}return t}const f=void 0,m=/\.(_super|call\(this|apply\(this)/,g=Function.prototype.toString,v=g.call((function(){return this})).indexOf("return this")>-1?function(e){return m.test(g.call(e))}:function(){return!0},y=new WeakMap,b=Object.freeze((function(){}));function _(e){let t=y.get(e);return void 0===t&&(t=v(e),y.set(e,t)),t}y.set(b,!1);class w{constructor(){(0,r.A)(this,"listeners",void 0),(0,r.A)(this,"observers",void 0)}}const A=new WeakMap;function E(e){let t=A.get(e);return void 0===t&&(t=new w,A.set(e,t)),t}function O(e){return A.get(e)}function k(e,t){E(e).observers=t}function T(e,t){E(e).listeners=t}const C=new WeakSet;function S(e,t){return _(e)?!C.has(t)&&_(t)?R(e,R(t,b)):R(e,t):e}function R(e,t){function n(){let n=this._super;this._super=t;let r=e.apply(this,arguments);return this._super=n,r}C.add(n);let r=A.get(e);return void 0!==r&&A.set(n,r),n}function x(e,t){let n=e;do{let e=Object.getOwnPropertyDescriptor(n,t);if(void 0!==e)return e;n=Object.getPrototypeOf(n)}while(null!==n);return null}},2161:(e,t,n)=>{"use strict";n.d(t,{g:()=>o,s:()=>s});var r=n(1719);const i=new WeakMap;function s(e,t){(0,r.e)(e)&&i.set(e,t)}function o(e){return i.get(e)}},5866:(e,t,n)=>{"use strict";n.d(t,{N:()=>u,a:()=>c,b:()=>h,c:()=>p,d:()=>m,e:()=>y,f:()=>f,i:()=>v,p:()=>g,r:()=>d,s:()=>b});var r=n(2461),i=(n(1719),n(2161));const s=Object.prototype.hasOwnProperty;let o=!1;const a={_set:0,_unprocessedNamespaces:!1,get unprocessedNamespaces(){return this._unprocessedNamespaces},set unprocessedNamespaces(e){this._set++,this._unprocessedNamespaces=e}};let l=!1;const u=[],c=Object.create(null);function h(e){a.unprocessedNamespaces=!0,u.push(e)}function d(e){let t=(0,i.g)(e);delete c[t],u.splice(u.indexOf(e),1),t in r.c.lookup&&e===r.c.lookup[t]&&(r.c.lookup[t]=void 0)}function p(){if(!a.unprocessedNamespaces)return;let e=r.c.lookup,t=Object.keys(e);for(let r of t){if(!((n=r.charCodeAt(0))>=65&&n<=90))continue;let t=A(e,r);t&&(0,i.s)(t,r)}var n}function f(e){return o||g(),c[e]}function m(e){_([e.toString()],e,new Set)}function g(){let e=a.unprocessedNamespaces;if(e&&(p(),a.unprocessedNamespaces=!1),e||l){let e=u;for(let t of e)m(t);l=!1}}function v(){return o}function y(e){o=Boolean(e)}function b(){l=!0}function _(e,t,n){let r=e.length,o=e.join(".");c[o]=t,(0,i.s)(t,o);for(let o in t){if(!s.call(t,o))continue;let a=t[o];if(e[r]=o,a&&void 0===(0,i.g)(a))(0,i.s)(a,e.join("."));else if(a&&w(a)){if(n.has(a))continue;n.add(a),_(e,a,n)}}e.length=r}function w(e){return null!=e&&"object"==typeof e&&e.isNamespace}function A(e,t){try{let n=e[t];return(null!==n&&"object"==typeof n||"function"==typeof n)&&n.isNamespace&&n}catch(e){}}},3753:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,s:()=>s,t:()=>a});var r=n(1719),i=(n(7207),n(943),n(3570));function s(e,t,n,r){return e.isDestroyed?n:(0,i.q)(t)?function(e,t,n,r){let o=t.split("."),a=o.pop(),l=(0,i._)(e,o,!0);if(null!=l)return s(l,a,n);if(!r)throw new Error(`Property set failed: object in path "${o.join(".")}" could not be found.`)}(e,t,n,r):o(e,t,n)}function o(e,t,n){let s,o=(0,r.l)(e,t);return null!==o&&i.r.has(o.set)?(e[t]=n,n):(s=e[t],void 0!==s||"object"!=typeof e||t in e||"function"!=typeof e.setUnknownProperty?(e[t]=n,s!==n&&(0,i.n)(e,t)):e.setUnknownProperty(t,n),n)}function a(e,t,n){return s(e,t,n,!0)}},7389:(e,t,n)=>{"use strict";n.d(t,{C:()=>a,R:()=>y,g:()=>f,p:()=>w,s:()=>m});var r=n(9624),i=n(1719),s=n(4330),o=(n(943),n(3703));class a{constructor(e,t={}){(0,r.A)(this,"owner",void 0),(0,r.A)(this,"registry",void 0),(0,r.A)(this,"cache",void 0),(0,r.A)(this,"factoryManagerCache",void 0),(0,r.A)(this,"validationCache",void 0),(0,r.A)(this,"isDestroyed",void 0),(0,r.A)(this,"isDestroying",void 0),this.registry=e,this.owner=t.owner||null,this.cache=(0,s.m)(t.cache||null),this.factoryManagerCache=(0,s.m)(t.factoryManagerCache||null),this.isDestroyed=!1,this.isDestroying=!1}lookup(e,t){if(this.isDestroyed)throw new Error(`Cannot call \`.lookup('${e}')\` after the owner has been destroyed`);return function(e,t,n={}){let r=t;if(!0===n.singleton||void 0===n.singleton&&l(e,t)){let t=e.cache[r];if(void 0!==t)return t}return function(e,t,n,r){let i=c(e,t,n);if(void 0!==i){if(function(e,t,{instantiate:n,singleton:r}){return!1!==r&&!1!==n&&(!0===r||l(e,t))&&u(e,t)}(e,n,r)){let n=e.cache[t]=i.create();return e.isDestroying&&"function"==typeof n.destroy&&n.destroy(),n}if(function(e,t,{instantiate:n,singleton:r}){return!1!==n&&(!1===r||!l(e,t))&&u(e,t)}(e,n,r))return i.create();if(function(e,t,{instantiate:n,singleton:r}){return!1!==r&&!n&&l(e,t)&&!u(e,t)}(e,n,r)||function(e,t,{instantiate:n,singleton:r}){return!(!1!==n||!1!==r&&l(e,t)||u(e,t))}(e,n,r))return i.class;throw new Error("Could not create factory")}}(e,r,t,n)}(this,this.registry.normalize(e),t)}destroy(){this.isDestroying=!0,h(this)}finalizeDestroy(){d(this),this.isDestroyed=!0}reset(e){this.isDestroyed||(void 0===e?(h(this),d(this)):function(e,t){let n=e.cache[t];delete e.factoryManagerCache[t],n&&(delete e.cache[t],n.destroy&&n.destroy())}(this,this.registry.normalize(e)))}ownerInjection(){let e={};return(0,o.km)(e,this.owner),e}factoryFor(e){if(this.isDestroyed)throw new Error(`Cannot call \`.factoryFor('${e}')\` after the owner has been destroyed`);return c(this,this.registry.normalize(e),e)}}function l(e,t){return!1!==e.registry.getOption(t,"singleton")}function u(e,t){return!1!==e.registry.getOption(t,"instantiate")}function c(e,t,n){let r=e.factoryManagerCache[t];if(void 0!==r)return r;let i=e.registry.resolve(t);if(void 0===i)return;let s=new g(e,i,n,t);return e.factoryManagerCache[t]=s,s}function h(e){let t=e.cache,n=Object.keys(t);for(let e of n){let n=t[e];n.destroy&&n.destroy()}}function d(e){e.cache=(0,s.m)(null),e.factoryManagerCache=(0,s.m)(null)}(0,r.A)(a,"_leakTracking",void 0);const p=Symbol("INIT_FACTORY");function f(e){return e[p]}function m(e,t){e[p]=t}class g{constructor(e,t,n,i){(0,r.A)(this,"container",void 0),(0,r.A)(this,"owner",void 0),(0,r.A)(this,"class",void 0),(0,r.A)(this,"fullName",void 0),(0,r.A)(this,"normalizedName",void 0),(0,r.A)(this,"madeToString",void 0),(0,r.A)(this,"injections",void 0),this.container=e,this.owner=e.owner,this.class=t,this.fullName=n,this.normalizedName=i,this.madeToString=void 0,this.injections=void 0}toString(){return void 0===this.madeToString&&(this.madeToString=this.container.registry.makeToString(this.class,this.fullName)),this.madeToString}create(e){let{container:t}=this;if(t.isDestroyed)throw new Error(`Cannot create new instances after the owner has been destroyed (you attempted to create ${this.fullName})`);let n=e?{...e}:{};return(0,o.km)(n,t.owner),m(n,this),this.class.create(n)}}const v=/^[^:]+:[^:]+$/;class y{constructor(e={}){(0,r.A)(this,"_failSet",void 0),(0,r.A)(this,"resolver",void 0),(0,r.A)(this,"fallback",void 0),(0,r.A)(this,"registrations",void 0),(0,r.A)(this,"_normalizeCache",void 0),(0,r.A)(this,"_options",void 0),(0,r.A)(this,"_resolveCache",void 0),(0,r.A)(this,"_typeOptions",void 0),this.fallback=e.fallback||null,this.resolver=e.resolver||null,this.registrations=(0,s.m)(e.registrations||null),this._normalizeCache=(0,s.m)(null),this._resolveCache=(0,s.m)(null),this._failSet=new Set,this._options=(0,s.m)(null),this._typeOptions=(0,s.m)(null)}container(e){return new a(this,e)}register(e,t,n={}){let r=this.normalize(e);this._failSet.delete(r),this.registrations[r]=t,this._options[r]=n}unregister(e){let t=this.normalize(e);delete this.registrations[t],delete this._resolveCache[t],delete this._options[t],this._failSet.delete(t)}resolve(e){let t=function(e,t){let n,r=t,i=e._resolveCache[r];return void 0!==i?i:e._failSet.has(r)?void 0:(e.resolver&&(n=e.resolver.resolve(r)),void 0===n&&(n=e.registrations[r]),void 0===n?e._failSet.add(r):e._resolveCache[r]=n,n)}(this,this.normalize(e));return void 0===t&&null!==this.fallback&&(t=this.fallback.resolve(e)),t}describe(e){return null!==this.resolver&&this.resolver.lookupDescription?this.resolver.lookupDescription(e):null!==this.fallback?this.fallback.describe(e):e}normalizeFullName(e){return null!==this.resolver&&this.resolver.normalize?this.resolver.normalize(e):null!==this.fallback?this.fallback.normalizeFullName(e):e}normalize(e){return this._normalizeCache[e]||(this._normalizeCache[e]=this.normalizeFullName(e))}makeToString(e,t){return null!==this.resolver&&this.resolver.makeToString?this.resolver.makeToString(e,t):null!==this.fallback?this.fallback.makeToString(e,t):"string"==typeof e?e:e.name??"(unknown class)"}has(e){return!!this.isValidFullName(e)&&function(e,t){return void 0!==e.resolve(t)}(this,this.normalize(e))}optionsForType(e,t){this._typeOptions[e]=t}getOptionsForType(e){let t=this._typeOptions[e];return void 0===t&&null!==this.fallback&&(t=this.fallback.getOptionsForType(e)),t}options(e,t){let n=this.normalize(e);this._options[n]=t}getOptions(e){let t=this.normalize(e),n=this._options[t];return void 0===n&&null!==this.fallback&&(n=this.fallback.getOptions(e)),n}getOption(e,t){let n=this._options[e];if(void 0!==n&&void 0!==n[t])return n[t];let r=e.split(":")[0];return n=this._typeOptions[r],n&&void 0!==n[t]?n[t]:null!==this.fallback?this.fallback.getOption(e,t):void 0}knownForType(e){let t,n,r=(0,s.m)(null),i=Object.keys(this.registrations);for(let t of i)t.split(":")[0]===e&&(r[t]=!0);return null!==this.fallback&&(t=this.fallback.knownForType(e)),null!==this.resolver&&this.resolver.knownForType&&(n=this.resolver.knownForType(e)),Object.assign({},t,r,n)}isValidFullName(e){return v.test(e)}}const b=(0,s.m)(null),_=`${Math.random()}${Date.now()}`.replace(".","");function w([e]){let t=b[e];if(t)return t;let[n,r]=e.split(":");return b[e]=(0,i.i)(`${n}:${r}-${_}`)}},7202:(e,t,n)=>{"use strict";function r(e){let t=e._promiseCallbacks;return t||(t=e._promiseCallbacks={}),t}n.d(t,{P:()=>S,R:()=>de,a:()=>he,c:()=>o,o:()=>ue});const i={mixin(e){return e.on=this.on,e.off=this.off,e.trigger=this.trigger,e._promiseCallbacks=void 0,e},on(e,t){if("function"!=typeof t)throw new TypeError("Callback must be a function");let n=r(this),i=n[e];i||(i=n[e]=[]),-1===i.indexOf(t)&&i.push(t)},off(e,t){let n=r(this);if(!t)return void(n[e]=[]);let i=n[e],s=i.indexOf(t);-1!==s&&i.splice(s,1)},trigger(e,t,n){let i=r(this)[e];if(i){let e;for(let r=0;r{for(let e=0;e{t===n?v(e,n):m(e,n)}),(t=>y(e,t)))}(e,t):"function"==typeof n?function(e,t,n){s.async((e=>{let r=!1,i=function(n,i){try{n.call(i,(n=>{r||(r=!0,t===n?v(e,n):m(e,n))}),(t=>{r||(r=!0,y(e,t))}))}catch(e){return e}}(n,t,0,0,e._label);!r&&i&&(r=!0,y(e,i))}),e)}(e,t,n):v(e,t)}function m(e,t){if(e===t)v(e,t);else if(function(e){let t=typeof e;return null!==e&&("object"===t||"function"===t)}(t)){let n;try{n=t.then}catch(t){return void y(e,t)}f(e,t,n)}else v(e,t)}function g(e){e._onError&&e._onError(e._result),_(e)}function v(e,t){e._state===h&&(e._result=t,e._state=d,0===e._subscribers.length?s.instrument&&l("fulfilled",e):s.async(_,e))}function y(e,t){e._state===h&&(e._state=p,e._result=t,s.async(g,e))}function b(e,t,n,r){let i=e._subscribers,o=i.length;e._onError=null,i[o]=t,i[o+d]=n,i[o+p]=r,0===o&&e._state&&s.async(_,e)}function _(e){let t=e._subscribers,n=e._state;if(s.instrument&&l(n===d?"fulfilled":"rejected",e),0===t.length)return;let r,i,o=e._result;for(let e=0;ew(i,o,n,a)))}return o}class E{constructor(e,t,n,r){this._instanceConstructor=e,this.promise=new e(c,r),this._abortOnReject=n,this._isUsingOwnPromise=e===S,this._isUsingOwnResolve=e.resolve===u,this._init(...arguments)}_init(e,t){let n=t.length||0;this.length=n,this._remaining=n,this._result=new Array(n),this._enumerate(t)}_enumerate(e){let t=this.length,n=this.promise;for(let r=0;n._state===h&&rt(e))),t,n)}else this._willSettleAt(r.resolve(e),t,n)}_eachEntry(e,t,n){null!==e&&"object"==typeof e?this._settleMaybeThenable(e,t,n):this._setResultAt(d,t,e,n)}_settledAt(e,t,n,r){let i=this.promise;i._state===h&&(this._abortOnReject&&e===p?y(i,n):(this._setResultAt(e,t,n,r),this._checkFullfillment()))}_setResultAt(e,t,n,r){this._remaining--,this._result[t]=n}_willSettleAt(e,t,n){b(e,void 0,(e=>this._settledAt(d,t,e,n)),(e=>this._settledAt(p,t,e,n)))}}function O(e,t,n){this._remaining--,this._result[t]=e===d?{state:"fulfilled",value:n}:{state:"rejected",reason:n}}const k="rsvp_"+Date.now()+"-";let T=0,C=class e{constructor(t,n){this._id=T++,this._label=n,this._state=void 0,this._result=void 0,this._subscribers=[],s.instrument&&l("created",this),c!==t&&("function"!=typeof t&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof e?function(e,t){let n=!1;try{t((t=>{n||(n=!0,m(e,t))}),(t=>{n||(n=!0,y(e,t))}))}catch(t){y(e,t)}}(this,t):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}_onError(e){s.after((()=>{this._onError&&s.trigger("error",e,this._label)}))}catch(e,t){return this.then(void 0,e,t)}finally(e,t){let n=this,r=n.constructor;return"function"==typeof e?n.then((t=>r.resolve(e()).then((()=>t))),(t=>r.resolve(e()).then((()=>{throw t})))):n.then(e,e)}};C.cast=u,C.all=function(e,t){return Array.isArray(e)?new E(this,e,!0,t).promise:this.reject(new TypeError("Promise.all must be called with an array"),t)},C.race=function(e,t){let n=this,r=new n(c,t);if(!Array.isArray(e))return y(r,new TypeError("Promise.race must be called with an array")),r;for(let t=0;r._state===h&&tm(r,e)),(e=>y(r,e)));return r},C.resolve=u,C.reject=function(e,t){let n=new this(c,t);return y(n,e),n},C.prototype._guidKey=k,C.prototype.then=A;const S=C;function R(e,t){return{then:(n,r)=>e.call(t,n,r)}}function x(e,t){let n=function(){let n=arguments.length,r=new Array(n+1),i=!1;for(let e=0;eD(e,t,n,r)))}(s,r,e,this):D(s,r,e,this)};return n.__proto__=e,n}function D(e,t,n,r){try{n.apply(r,t)}catch(t){y(e,t)}return e}function P(e,t){return S.all(e,t)}class I extends E{constructor(e,t,n){super(e,t,!1,n)}}function N(e,t){return Array.isArray(e)?new I(S,e,t).promise:S.reject(new TypeError("Promise.allSettled must be called with an array"),t)}function M(e,t){return S.race(e,t)}I.prototype._setResultAt=O;class F extends E{constructor(e,t,n=!0,r){super(e,t,n,r)}_init(e,t){this._result={},this._enumerate(t)}_enumerate(e){let t,n,r=Object.keys(e),i=r.length,s=this.promise;this._remaining=i;for(let o=0;s._state===h&&o{throw e})),e}function U(e){let t={resolve:void 0,reject:void 0};return t.promise=new S(((e,n)=>{t.resolve=e,t.reject=n}),e),t}B.prototype._setResultAt=O;class W extends E{constructor(e,t,n,r){super(e,t,!0,r,n)}_init(e,t,n,r,i){let s=t.length||0;this.length=s,this._remaining=s,this._result=new Array(s),this._mapFn=i,this._enumerate(t)}_setResultAt(e,t,n,r){if(r)try{this._eachEntry(this._mapFn(n,t),t,!1)}catch(e){this._settledAt(p,t,e,!1)}else this._remaining--,this._result[t]=n}}function Q(e,t,n){return"function"!=typeof t?S.reject(new TypeError("map expects a function as a second argument"),n):S.resolve(e,n).then((function(e){if(!Array.isArray(e))throw new TypeError("map must be called with an array");return new W(S,e,t,n).promise}))}function V(e,t){return S.resolve(e,t)}function H(e,t){return S.reject(e,t)}const q={};class $ extends W{_checkFullfillment(){if(0===this._remaining&&null!==this._result){let e=this._result.filter((e=>e!==q));v(this.promise,e),this._result=null}}_setResultAt(e,t,n,r){if(r){this._result[t]=n;let e,r=!0;try{e=this._mapFn(n,t)}catch(e){r=!1,this._settledAt(p,t,e,!1)}r&&this._eachEntry(e,t,!1)}else this._remaining--,n||(this._result[t]=q)}}function G(e,t,n){return"function"!=typeof t?S.reject(new TypeError("filter expects function as a second argument"),n):S.resolve(e,n).then((function(e){if(!Array.isArray(e))throw new TypeError("filter must be called with an array");return new $(S,e,t,n).promise}))}let K,X=0;function Y(e,t){ie[X]=e,ie[X+1]=t,X+=2,2===X&&oe()}const J="undefined"!=typeof window?window:void 0,Z=J||{},ee=Z.MutationObserver||Z.WebKitMutationObserver,te="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),ne="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function re(){return()=>setTimeout(se,1)}const ie=new Array(1e3);function se(){for(let e=0;ee(se)}():ee?function(){let e=0,t=new ee(se),n=document.createTextNode("");return t.observe(n,{characterData:!0}),()=>n.data=e=++e%2}():ne?function(){let e=new MessageChannel;return e.port1.onmessage=se,()=>e.port2.postMessage(0)}():void 0===J&&"function"==typeof window.require?function(){try{const e=Function("return this")().require("vertx");return K=e.runOnLoop||e.runOnContext,void 0!==K?function(){K(se)}:re()}catch(e){return re()}}():re(),s.async=Y,s.after=e=>setTimeout(e,0);const ae=V,le=(e,t)=>s.async(e,t);function ue(){s.on(...arguments)}function ce(){s.off(...arguments)}if("undefined"!=typeof window&&"object"==typeof window.__PROMISE_INSTRUMENTATION__){let e=window.__PROMISE_INSTRUMENTATION__;o("instrument",!0);for(let t in e)e.hasOwnProperty(t)&&ue(t,e[t])}const he={asap:Y,cast:ae,Promise:S,EventTarget:i,all:P,allSettled:N,race:M,hash:L,hashSettled:j,rethrow:z,defer:U,denodeify:x,configure:o,on:ue,off:ce,resolve:V,reject:H,map:Q,async:le,filter:G},de=Object.freeze(Object.defineProperty({__proto__:null,EventTarget:i,Promise:S,all:P,allSettled:N,asap:Y,async:le,cast:ae,configure:o,default:he,defer:U,denodeify:x,filter:G,hash:L,hashSettled:j,map:Q,off:ce,on:ue,race:M,reject:H,resolve:V,rethrow:z},Symbol.toStringTag,{value:"Module"}))},6104:(e,t,n)=>{"use strict";n.d(t,{g:()=>s,s:()=>o});var r=n(3570),i=n(3753);function s(e,t){let n,i={},s=1;for(2===arguments.length&&Array.isArray(t)?(s=0,n=arguments[1]):n=Array.from(arguments);s{let n=Object.keys(t);for(let r of n)(0,i.s)(e,r,t[r])})),t}},7466:(e,t,n)=>{"use strict";n.d(t,{a:()=>l,s:()=>u});var r=n(7389),i=n(3703),s=(n(943),n(5886)),o=n(9328),a=n(7489);function l(e){e.register("service:-dom-builder",{create(e){switch((0,i.QQ)(e).lookup("-environment:main")._renderMode){case"serialize":return a.I.bind(null);case"rehydrate":return o.nz.bind(null);default:return o.Tz.bind(null)}}}),e.register(r.p`template:-root`,s.R),e.register("renderer:-dom",s.b)}function u(e){e.optionsForType("template",{instantiate:!1}),e.register("view:-outlet",s.O),e.register("template:-outlet",s.c),e.optionsForType("helper",{instantiate:!1}),e.register("component:input",s.I),e.register("component:link-to",s.L),e.register("component:textarea",s.T)}},7207:(e,t,n)=>{"use strict";n.d(t,{e:()=>i,s:()=>s});var r=n(1719);function i(e){let t=r.G+Math.floor(Math.random()*Date.now()).toString();return(0,r.i)(`__${e}${t}__`)}const s=Symbol;Object.prototype.toString},6109:(e,t,n)=>{"use strict";n.d(t,{P:()=>_,Q:()=>w,S:()=>b,T:()=>A,U:()=>T,a:()=>u,b:()=>f,c:()=>y,d:()=>p,e:()=>s,f:()=>m,g:()=>g,h:()=>h,i:()=>O,l:()=>E,m:()=>c,p:()=>k,t:()=>o});var r=n(7202);function i(){let e=new Error("TransitionAborted");return e.name="TransitionAborted",e.code="TRANSITION_ABORTED",e}function s(e){return"object"==typeof e&&null!==e&&"TRANSITION_ABORTED"===e.code}function o(e){if("object"==typeof(t=e)&&null!==t&&"boolean"==typeof t.isAborted&&e.isAborted)throw i();var t}const a=Array.prototype.slice,l=Object.prototype.hasOwnProperty;function u(e){return null!==e&&"object"==typeof e&&"function"==typeof e.then}function c(e,t){for(let n in t)l.call(t,n)&&(e[n]=t[n])}function h(e){let t,n,r=e&&e.length;if(r&&r>0){let i=e[r-1];if(function(e){if(e&&"object"==typeof e){let t=e;return"queryParams"in t&&Object.keys(t.queryParams).every((e=>"string"==typeof e))}return!1}(i))return n=i.queryParams,t=a.call(e,0,r-1),[t,n]}return[e,null]}function d(e){for(let t in e){let n=e[t];if("number"==typeof n)e[t]=""+n;else if(Array.isArray(n))for(let e=0,t=n.length;e{throw this.router.transitionDidError(e,this)}),y("Handle Abort"))}else this.promise=r.P.resolve(this[b]),this[_]={}}then(e,t,n){return this.promise.then(e,t,n)}catch(e,t){return this.promise.catch(e,t)}finally(e,t){return this.promise.finally(e,t)}abort(){this.rollback();let e=new A(this.router,void 0,void 0,void 0);return e.to=this.from,e.from=this.from,e.isAborted=!0,this.router.routeWillChange(e),this.router.routeDidChange(e),this}rollback(){this.isAborted||(p(this.router,this.sequence,this.targetName+": transition was aborted"),void 0!==this.intent&&null!==this.intent&&(this.intent.preTransitionState=this.router.state),this.isAborted=!0,this.isActive=!1,this.router.activeTransition=void 0)}redirect(e){this.rollback(),this.router.routeWillChange(e)}retry(){this.abort();let e=this.router.transitionByIntent(this.intent,!1);return null!==this.urlMethod&&e.method(this.urlMethod),e}method(e){return this.urlMethod=e,this}send(e=!1,t,n,r,i){this.trigger(e,t,n,r,i)}trigger(e=!1,t,...n){"string"==typeof e&&(t=e,e=!1),this.router.triggerEvent(this[b].routeInfos.slice(0,this.resolveIndex+1),e,t,n)}followRedirects(){let e=this.router;return this.promise.catch((function(t){return e.activeTransition?e.activeTransition.followRedirects():r.P.reject(t)}))}toString(){return"Transition (sequence "+this.sequence+")"}log(e){p(this.router,this.sequence,e)}}function E(e){return p(e.router,e.sequence,"detected abort."),i()}function O(e){return"object"==typeof e&&e instanceof A&&e.isTransition}function k(e){return O(e)?null:e}const T=function(){function e(t){let n=Error.call(this,t);this.name="UnrecognizedURLError",this.message=t||"UnrecognizedURL",Error.captureStackTrace?Error.captureStackTrace(this,e):this.stack=n.stack}return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}()},6364:(e,t,n)=>{"use strict";function r(e){return e?.__esModule?e:{default:e,...e}}n.d(t,{A:()=>r})},4148:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r,i,s,o,a,l=n(6676),u=n(8107),c=n(4163),h=n(769);n(943);const d="undefined"!=typeof FastBoot,p="routeDidChange",f=["separator","prepend","replace"];let m=(r=(0,c.WQ)("router"),i=(0,c.WQ)("-document"),s=class extends c.Ay{constructor(e){if(super(e),(0,l.a)(this,"router",o,this),(0,l.a)(this,"document",a,this),(0,l.b)(this,"tokens",[]),(0,l.b)(this,"_defaultConfig",{separator:" | ",prepend:!0,replace:null}),(0,l.b)(this,"scheduleTitleUpdate",(()=>{(0,u.DR)("afterRender",this,this._updateTitle)})),this._validateExistingTitleElement(),function(e){return"resolveRegistration"in e}(e)){const n=e.resolveRegistration("config:environment");"object"==typeof(t=n)&&null!==t&&"pageTitle"in t&&f.forEach((e=>{if(!(0,h.Im)(n.pageTitle[e])){const t=n.pageTitle[e];this._defaultConfig[e]=t}}))}var t;this.router.on(p,this.scheduleTitleUpdate)}applyTokenDefaults(e){const t=this._defaultConfig.separator,n=this._defaultConfig.prepend,r=this._defaultConfig.replace;e.previous??=null,e.next??=null,null==e.separator&&(e.separator=t),null==e.prepend&&null!=n&&(e.prepend=n),null==e.replace&&null!=r&&(e.replace=r)}inheritFromPrevious(e){const t=e.previous;t&&(null==e.separator&&(e.separator=t.separator),null==e.prepend&&(e.prepend=t.prepend))}push(e){const t=this._findTokenById(e.id);if(t){const n=this.tokens.indexOf(t),r=[...this.tokens],i=t.previous;return e.previous=i,e.next=t.next,this.inheritFromPrevious(e),this.applyTokenDefaults(e),r.splice(n,1,e),void(this.tokens=r)}const n=this.tokens.slice(-1)[0];n&&(e.previous=n??null,n.next=e,this.inheritFromPrevious(e)),this.applyTokenDefaults(e),this.tokens=[...this.tokens,e]}remove(e){const t=this._findTokenById(e);if(!t)return;const{next:n,previous:r}=t;n&&(n.previous=r),r&&(r.next=n),t.previous=t.next=null;const i=[...this.tokens];i.splice(i.indexOf(t),1),this.tokens=i}get visibleTokens(){const e=this.tokens;let t=e?e.length:0;const n=[];for(;t--;){const r=e[t];if(r){if(r.replace){n.unshift(r);break}n.unshift(r)}}return n}get sortedTokens(){const e=this.visibleTokens;if(!e)return[];let t=!0,n=[];const r=[n],i=[];return e.forEach((e=>{if(e.front)i.unshift(e);else if(e.prepend){t&&(t=!1,n=[],r.push(n));const i=n[0];i&&((e={...e}).separator=i.separator),n.unshift(e)}else t||(t=!0,n=[],r.push(n)),n.push(e)})),i.concat(r.reduce(((e,t)=>e.concat(t)),[]))}toString(){const e=this.sortedTokens,t=[];for(let n=0,r=e.length;nt.id===e))}updateFastbootTitle(e){if(!d)return;const t=this.document.head,n=t.childNodes;for(let e=0;e{"use strict";function r(e,t,n){return(t="symbol"==typeof(r=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var r}function i(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function s(e,t,n,r,i){var s={};return Object.keys(r).forEach((function(e){s[e]=r[e]})),s.enumerable=!!s.enumerable,s.configurable=!!s.configurable,("value"in s||s.initializer)&&(s.writable=!0),s=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),s),i&&void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(i):void 0,s.initializer=void 0),void 0===s.initializer&&(Object.defineProperty(e,t,s),s=null),s}n.d(t,{_:()=>s,a:()=>i,b:()=>r})},7634:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r,i,s,o=n(6676),a=n(4163),l=n(5680),u=(n(1376),n(3406),n(1719));let c=(r=(0,a.WQ)("page-title"),i=class extends l.A{constructor(e){super(e),(0,o.a)(this,"tokens",s,this),(0,o.b)(this,"tokenId",(0,u.g)(this)),this.tokens.push({id:this.tokenId})}compute(e,t){const n={...t,id:this.tokenId,title:e.join("")};return this.tokens.push(n),this.tokens.scheduleTitleUpdate(),""}willDestroy(){super.willDestroy(),this.tokens.remove(this.tokenId),this.tokens.scheduleTitleUpdate()}},s=(0,o._)(i.prototype,"tokens",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i)},6145:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>ut});var r=n(9624),i=n(4163),s="undefined"!=typeof WeakRef,o=class{constructor(e){s&&"object"==typeof e?this._weakRef=new WeakRef(e):this._instance=e}deref(){var e,t;let n;return this._weakRef?(n=null==(e=this._weakRef)?void 0:e.deref(),n||delete this._weakRef):(n=this._instance,(null==(t=null==n?void 0:n.isDisposed)?void 0:t.call(n))&&delete this._instance),n}},a="keyborg:focusin",l="keyborg:focusout",u=!1;function c(e){const t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}var h=0,d=class{constructor(e,t){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=e=>{if(this._isMouseOrTouchUsedTimer)return;if(this.isNavigatingWithKeyboard)return;const t=e.detail;t.relatedTarget&&(t.isFocusedProgrammatically||void 0===t.isFocusedProgrammatically||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=e=>{0===e.buttons||0===e.clientX&&0===e.clientY&&0===e.screenX&&0===e.screenY||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{const e=this._win;e&&(this._isMouseOrTouchUsedTimer&&e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=e.setTimeout((()=>{delete this._isMouseOrTouchUsedTimer}),1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=e=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(e)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(e)&&(this.isNavigatingWithKeyboard=!0)},this.id="c"+ ++h,this._win=e;const n=e.document;if(t){const e=t.triggerKeys,n=t.dismissKeys;(null==e?void 0:e.length)&&(this._triggerKeys=new Set(e)),(null==n?void 0:n.length)&&(this._dismissKeys=new Set(n))}n.addEventListener(a,this._onFocusIn,!0),n.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("keydown",this._onKeyDown,!0),n.addEventListener("touchstart",this._onMouseOrTouch,!0),n.addEventListener("touchend",this._onMouseOrTouch,!0),n.addEventListener("touchcancel",this._onMouseOrTouch,!0),function(e){const t=e;u||(u=function(e){const t=e.HTMLElement,n=t.prototype.focus;let r=!1;return t.prototype.focus=function(){r=!0},e.document.createElement("button").focus(),t.prototype.focus=n,r}(t));const n=t.HTMLElement.prototype.focus;if(n.__keyborgNativeFocus)return;t.HTMLElement.prototype.focus=d;const r=new Set,i=e=>{const t=e.target;if(!t)return;const n=new CustomEvent(l,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:e}});t.dispatchEvent(n)},s=e=>{const t=e.target;if(!t)return;let n=e.composedPath()[0];const o=new Set;for(;n;)n.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(o.add(n),n=n.host):n=n.parentNode;for(const e of r){const t=e.deref();t&&o.has(t)||(r.delete(e),t&&(t.removeEventListener("focusin",s,!0),t.removeEventListener("focusout",i,!0)))}c(t,e.relatedTarget||void 0)},c=(e,t,n)=>{var l;const c=e.shadowRoot;if(c){for(const e of r)if(e.deref()===c)return;return c.addEventListener("focusin",s,!0),c.addEventListener("focusout",i,!0),void r.add(new o(c))}const d={relatedTarget:t,originalEvent:n},p=new CustomEvent(a,{cancelable:!0,bubbles:!0,composed:!0,detail:d});p.details=d,(u||h.lastFocusedProgrammatically)&&(d.isFocusedProgrammatically=e===(null==(l=h.lastFocusedProgrammatically)?void 0:l.deref()),h.lastFocusedProgrammatically=void 0),e.dispatchEvent(p)},h=t.__keyborgData={focusInHandler:s,focusOutHandler:i,shadowTargets:r};function d(){const e=t.__keyborgData;return e&&(e.lastFocusedProgrammatically=new o(this)),n.apply(this,arguments)}t.document.addEventListener("focusin",t.__keyborgData.focusInHandler,!0),t.document.addEventListener("focusout",t.__keyborgData.focusOutHandler,!0);let p=t.document.activeElement;for(;p&&p.shadowRoot;)c(p),p=p.shadowRoot.activeElement;d.__keyborgNativeFocus=n}(e)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(e){this._isNavigatingWithKeyboard_DO_NOT_USE!==e&&(this._isNavigatingWithKeyboard_DO_NOT_USE=e,this.update())}dispose(){const e=this._win;if(e){this._isMouseOrTouchUsedTimer&&(e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),function(e){const t=e,n=t.HTMLElement.prototype,r=n.focus.__keyborgNativeFocus,i=t.__keyborgData;if(i){t.document.removeEventListener("focusin",i.focusInHandler,!0),t.document.removeEventListener("focusout",i.focusOutHandler,!0);for(const e of i.shadowTargets){const t=e.deref();t&&(t.removeEventListener("focusin",i.focusInHandler,!0),t.removeEventListener("focusout",i.focusOutHandler,!0))}i.shadowTargets.clear(),delete t.__keyborgData}r&&(n.focus=r)}(e);const t=e.document;t.removeEventListener(a,this._onFocusIn,!0),t.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener("touchstart",this._onMouseOrTouch,!0),t.removeEventListener("touchend",this._onMouseOrTouch,!0),t.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var e,t;const n=null==(t=null==(e=this._win)?void 0:e.__keyborg)?void 0:t.refs;if(n)for(const e of Object.keys(n))p.update(n[e],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(e){var t;if("Tab"===e.key)return!0;const n=null==(t=this._win)?void 0:t.document.activeElement,r=!this._triggerKeys||this._triggerKeys.has(e.keyCode),i=n&&("INPUT"===n.tagName||"TEXTAREA"===n.tagName||n.isContentEditable);return r&&!i}_shouldDismissKeyboardNavigation(e){var t;return null==(t=this._dismissKeys)?void 0:t.has(e.keyCode)}_scheduleDismiss(){const e=this._win;if(e){this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const t=e.document.activeElement;this._dismissTimer=e.setTimeout((()=>{this._dismissTimer=void 0;const n=e.document.activeElement;t&&n&&t===n&&(this.isNavigatingWithKeyboard=!1)}),500)}}},p=class e{constructor(e,t){this._cb=[],this._id="k"+ ++h,this._win=e;const n=e.__keyborg;n?(this._core=n.core,n.refs[this._id]=this):(this._core=new d(e,t),e.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(t,n){return new e(t,n)}static dispose(e){e.dispose()}static update(e,t){e._cb.forEach((e=>e(t)))}dispose(){var e;const t=null==(e=this._win)?void 0:e.__keyborg;(null==t?void 0:t.refs[this._id])&&(delete t.refs[this._id],0===Object.keys(t.refs).length&&(t.core.dispose(),delete this._win.__keyborg)),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var e;return!!(null==(e=this._core)?void 0:e.isNavigatingWithKeyboard)}subscribe(e){this._cb.push(e)}unsubscribe(e){const t=this._cb.indexOf(e);t>=0&&this._cb.splice(t,1)}setVal(e){this._core&&(this._core.isNavigatingWithKeyboard=e)}};const f="data-tabster",m=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),g=1,v=2,y=3,b=0,_=1,w=2,A=3,E=4,O=0,k=1,T=0,C=1,S=2,R=0,x=1,D=2,P=3,I=4,N=1,M=2,F=3,L=4,B=5,j=6,z=7,U=8,W=2;function Q(e,t){var n;return null===(n=e.storageEntry(t))||void 0===n?void 0:n.tabster}function V(e,t,n){var r,i;const s=n||e._noop?void 0:t.getAttribute(f);let o,a=e.storageEntry(t);if(s){if(s===(null===(r=null==a?void 0:a.attr)||void 0===r?void 0:r.string))return;try{const e=JSON.parse(s);if("object"!=typeof e)throw new Error(`Value is not a JSON object, got '${s}'.`);o={string:s,object:e}}catch(e){}}else if(!a)return;a||(a=e.storageEntry(t,!0)),a.tabster||(a.tabster={});const l=a.tabster||{},u=(null===(i=a.attr)||void 0===i?void 0:i.object)||{},c=(null==o?void 0:o.object)||{};for(const n of Object.keys(u))if(!c[n]){if("root"===n){const t=l[n];t&&e.root.onRoot(t,!0)}switch(n){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const r=l[n];r&&(r.dispose(),delete l[n]);break;case"observed":delete l[n],e.observedElement&&e.observedElement.onObservedElementUpdate(t);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete l[n]}}for(const n of Object.keys(c)){const r=c.sys;switch(n){case"deloser":l.deloser?l.deloser.setProps(c.deloser):e.deloser&&(l.deloser=e.deloser.createDeloser(t,c.deloser));break;case"root":l.root?l.root.setProps(c.root):l.root=e.root.createRoot(t,c.root,r),e.root.onRoot(l.root);break;case"modalizer":l.modalizer?l.modalizer.setProps(c.modalizer):e.modalizer&&(l.modalizer=e.modalizer.createModalizer(t,c.modalizer,r));break;case"restorer":l.restorer?l.restorer.setProps(c.restorer):e.restorer&&c.restorer&&(l.restorer=e.restorer.createRestorer(t,c.restorer));break;case"focusable":l.focusable=c.focusable;break;case"groupper":l.groupper?l.groupper.setProps(c.groupper):e.groupper&&(l.groupper=e.groupper.createGroupper(t,c.groupper,r));break;case"mover":l.mover?l.mover.setProps(c.mover):e.mover&&(l.mover=e.mover.createMover(t,c.mover,r));break;case"observed":e.observedElement&&(l.observed=c.observed,e.observedElement.onObservedElementUpdate(t));break;case"uncontrolled":l.uncontrolled=c.uncontrolled;break;case"outline":e.outline&&(l.outline=c.outline);break;case"sys":l.sys=c.sys;break;default:console.error(`Unknown key '${n}' in data-tabster attribute value.`)}}o?a.attr=o:(0===Object.keys(l).length&&(delete a.tabster,delete a.attr),e.storageEntry(t,!1))}const H="tabster:deloser:restore-focus",q="tabster:mover:movefocus",$="tabster:mover:memorized-element",G="undefined"!=typeof CustomEvent?CustomEvent:function(){};class K extends G{constructor(e,t){super(e,{bubbles:!0,cancelable:!0,composed:!0,detail:t}),this.details=t}}class X extends K{constructor(e){super("tabster:focusin",e)}}class Y extends K{constructor(e){super("tabster:focusout",e)}}class J extends K{constructor(e){super("tabster:movefocus",e)}}class Z extends K{constructor(e){super("tabster:mover:state",e)}}class ee extends K{constructor(e){super("tabster:deloser:focus-lost",e)}}class te extends K{constructor(e){super("tabster:root:focus",e)}}class ne extends K{constructor(e){super("tabster:root:blur",e)}}const re={createMutationObserver:e=>new MutationObserver(e),createTreeWalker:(e,t,n,r)=>e.createTreeWalker(t,n,r),getParentNode:e=>e?e.parentNode:null,getParentElement:e=>e?e.parentElement:null,nodeContains:(e,t)=>!(!t||!(null==e?void 0:e.contains(t))),getActiveElement:e=>e.activeElement,querySelector:(e,t)=>e.querySelector(t),querySelectorAll:(e,t)=>Array.prototype.slice.call(e.querySelectorAll(t),0),getElementById:(e,t)=>e.getElementById(t),getFirstChild:e=>(null==e?void 0:e.firstChild)||null,getLastChild:e=>(null==e?void 0:e.lastChild)||null,getNextSibling:e=>(null==e?void 0:e.nextSibling)||null,getPreviousSibling:e=>(null==e?void 0:e.previousSibling)||null,getFirstElementChild:e=>(null==e?void 0:e.firstElementChild)||null,getLastElementChild:e=>(null==e?void 0:e.lastElementChild)||null,getNextElementSibling:e=>(null==e?void 0:e.nextElementSibling)||null,getPreviousElementSibling:e=>(null==e?void 0:e.previousElementSibling)||null,appendChild:(e,t)=>e.appendChild(t),insertBefore:(e,t,n)=>e.insertBefore(t,n),getSelection:e=>{var t;return(null===(t=e.ownerDocument)||void 0===t?void 0:t.getSelection())||null},getElementsByName:(e,t)=>e.ownerDocument.getElementsByName(t)};let ie;const se="undefined"!=typeof DOMRect?DOMRect:class{constructor(e,t,n,r){this.left=e||0,this.top=t||0,this.right=(e||0)+(n||0),this.bottom=(t||0)+(r||0)}};let oe=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),ie=!1}catch(e){ie=!0}function ae(e){const t=e();let n=t.__tabsterInstanceContext;return n||(n={elementByUId:{},basics:{Promise:t.Promise||void 0,WeakRef:t.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},t.__tabsterInstanceContext=n),n}class le{constructor(e){this._target=e}deref(){return this._target}static cleanup(e,t){return!e._target||!(!t&&be(e._target.ownerDocument,e._target))&&(delete e._target,!0)}}class ue{constructor(e,t,n){const r=ae(e);let i;r.WeakRef?i=new r.WeakRef(t):(i=new le(t),r.fakeWeakRefs.push(i)),this._ref=i,this._data=n}get(){const e=this._ref;let t;return e&&(t=e.deref(),t||delete this._ref),t}getData(){return this._data}}function ce(e,t){const n=ae(e);n.fakeWeakRefs=n.fakeWeakRefs.filter((e=>!le.cleanup(e,t)))}function he(e){const t=ae(e);t.fakeWeakRefsStarted||(t.fakeWeakRefsStarted=!0,t.WeakRef=function(e){return e.basics.WeakRef}(t)),t.fakeWeakRefsTimer||(t.fakeWeakRefsTimer=e().setTimeout((()=>{t.fakeWeakRefsTimer=void 0,ce(e),he(e)}),12e4))}function de(e,t,n){if(t.nodeType!==Node.ELEMENT_NODE)return;const r=ie?n:{acceptNode:n};return re.createTreeWalker(e,t,NodeFilter.SHOW_ELEMENT,r,!1)}function pe(e,t){let n=t.__tabsterCacheId;const r=ae(e),i=n?r.containerBoundingRectCache[n]:void 0;if(i)return i.rect;const s=t.ownerDocument&&t.ownerDocument.documentElement;if(!s)return new se;let o=0,a=0,l=s.clientWidth,u=s.clientHeight;if(t!==s){const e=t.getBoundingClientRect();o=Math.max(o,e.left),a=Math.max(a,e.top),l=Math.min(l,e.right),u=Math.min(u,e.bottom)}const c=new se(o{r.containerBoundingRectCacheTimer=void 0;for(const e of Object.keys(r.containerBoundingRectCache))delete r.containerBoundingRectCache[e].element.__tabsterCacheId;r.containerBoundingRectCache={}}),50)),c}function fe(e,t,n){const r=me(t);if(!r)return!1;const i=pe(e,r),s=t.getBoundingClientRect(),o=s.height*(1-n),a=Math.max(0,i.top-s.top)+Math.max(0,s.bottom-i.bottom);return 0===a||a<=o}function me(e){const t=e.ownerDocument;if(t){for(let t=re.getParentElement(e);t;t=re.getParentElement(t))if(t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight)return t;return t.documentElement}return null}function ge(e){return!!e.__shouldIgnoreFocus}function ve(e,t){const n=ae(e);let r=t.__tabsterElementUID;return r||(r=t.__tabsterElementUID=function(e){const t=new Uint32Array(4);if(e.crypto&&e.crypto.getRandomValues)e.crypto.getRandomValues(t);else if(e.msCrypto&&e.msCrypto.getRandomValues)e.msCrypto.getRandomValues(t);else for(let e=0;e{if(this._fixedTarget){const e=this._fixedTarget.get();return void(e&&c(e))}const t=this.input;if(this.onFocusIn&&t){const n=e.relatedTarget;this.onFocusIn(this,this._isBackward(!0,t,n),n)}},this._focusOut=e=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const t=this.input;if(this.onFocusOut&&t){const n=e.relatedTarget;this.onFocusOut(this,this._isBackward(!1,t,n),n)}};const o=e(),a=o.document.createElement("i");a.tabIndex=0,a.setAttribute("role","none"),a.setAttribute("data-tabster-dummy",""),a.setAttribute("aria-hidden","true");const l=a.style;l.position="fixed",l.width=l.height="1px",l.opacity="0.001",l.zIndex="-1",l.setProperty("content-visibility","hidden"),function(e){e.__shouldIgnoreFocus=!0}(a),this.input=a,this.isFirst=n.isFirst,this.isOutside=t,this._isPhantom=null!==(s=n.isPhantom)&&void 0!==s&&s,this._fixedTarget=i,a.addEventListener("focusin",this._focusIn),a.addEventListener("focusout",this._focusOut),a.__tabsterDummyContainer=r,this._isPhantom&&(this._disposeTimer=o.setTimeout((()=>{delete this._disposeTimer,this.dispose()}),0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(o.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var e;this._clearDisposeTimeout&&this._clearDisposeTimeout();const t=this.input;t&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,t.removeEventListener("focusin",this._focusIn),t.removeEventListener("focusout",this._focusOut),delete t.__tabsterDummyContainer,null===(e=re.getParentNode(t))||void 0===e||e.removeChild(t))}setTopLeft(e,t){var n;const r=null===(n=this.input)||void 0===n?void 0:n.style;r&&(r.top=`${e}px`,r.left=`${t}px`)}_isBackward(e,t,n){return e&&!n?!this.isFirst:!!(n&&t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)}}class ke{constructor(e,t,n,r,i,s){this._element=t,this._instance=new Ce(e,t,this,n,r,i,s)}_setHandlers(e,t){this._onFocusIn=e,this._onFocusOut=t}moveOut(e){var t;null===(t=this._instance)||void 0===t||t.moveOut(e)}moveOutWithDefaultAction(e,t){var n;null===(n=this._instance)||void 0===n||n.moveOutWithDefaultAction(e,t)}getHandler(e){return e?this._onFocusIn:this._onFocusOut}setTabbable(e){var t;null===(t=this._instance)||void 0===t||t.setTabbable(this,e)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(e,t,n,r,i){const s=new Oe(e.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(s){let o,a;if("BODY"===t.tagName)o=t,a=n&&r||!n&&!r?re.getFirstElementChild(t):null;else{let i,s;n&&(!r||r&&!e.focusable.isFocusable(t,!1,!0,!0))?(o=t,a=r?t.firstElementChild:null):(o=re.getParentElement(t),a=n&&r||!n&&!r?t:re.getNextElementSibling(t));do{i=n&&r||!n&&!r?re.getPreviousElementSibling(a):a,s=De(i),s===t?a=n&&r||!n&&!r?i:re.getNextElementSibling(i):s=null}while(s)}(null==o?void 0:o.dispatchEvent(new J({by:"root",owner:o,next:null,relatedEvent:i})))&&(re.insertBefore(o,s,a),c(s))}}static addPhantomDummyWithTarget(e,t,n,r){const i=new Oe(e.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new ue(e.getWindow,r)).input;if(i){let e,r;t.querySelector(m)&&!n?(e=t,r=re.getFirstElementChild(t)):(e=re.getParentElement(t),r=n?t:re.getNextElementSibling(t)),e&&re.insertBefore(e,i,r)}}}class Te{constructor(e){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=e=>{var t;this._changedParents.has(e)||(this._changedParents.add(e),this._updateDummyInputsTimer||(this._updateDummyInputsTimer=null===(t=this._win)||void 0===t?void 0:t.call(this).setTimeout((()=>{delete this._updateDummyInputsTimer;for(const e of this._dummyElements){const t=e.get();if(t){const e=this._dummyCallbacks.get(t);if(e){const n=re.getParentNode(t);n&&!this._changedParents.has(n)||e()}}}this._changedParents=new WeakSet}),100)))},this._win=e}add(e,t){!this._dummyCallbacks.has(e)&&this._win&&(this._dummyElements.push(new ue(this._win,e)),this._dummyCallbacks.set(e,t),this.domChanged=this._domChanged)}remove(e){this._dummyElements=this._dummyElements.filter((t=>{const n=t.get();return n&&n!==e})),this._dummyCallbacks.delete(e),0===this._dummyElements.length&&delete this.domChanged}dispose(){var e;const t=null===(e=this._win)||void 0===e?void 0:e.call(this);this._updateTimer&&(null==t||t.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(null==t||t.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer),this._changedParents=new WeakSet,this._dummyCallbacks=new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(e){this._win&&(this._updateQueue.add(e),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var e;this._updateTimer||(this._updateTimer=null===(e=this._win)||void 0===e?void 0:e.call(this).setTimeout((()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+100<=Date.now()){const e=new Map,t=[];for(const n of this._updateQueue)t.push(n(e));this._updateQueue.clear();for(const e of t)e();e.clear()}else this._scheduledUpdatePositions()}),100))}}class Ce{constructor(e,t,n,r,i,s,o){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(e,t,n)=>{this._onFocus(!0,e,t,n)},this._onFocusOut=(e,t,n)=>{this._onFocus(!1,e,t,n)},this.moveOut=e=>{var t;const n=this._firstDummy,r=this._lastDummy;if(n&&r){this._ensurePosition();const i=n.input,s=r.input,o=null===(t=this._element)||void 0===t?void 0:t.get();if(i&&s&&o){let t;e?(i.tabIndex=0,t=i):(s.tabIndex=0,t=s),t&&c(t)}}},this.moveOutWithDefaultAction=(e,t)=>{var n;const r=this._firstDummy,i=this._lastDummy;if(r&&i){this._ensurePosition();const s=r.input,o=i.input,a=null===(n=this._element)||void 0===n?void 0:n.get();if(s&&o&&a){let n;e?!r.isOutside&&this._tabster.focusable.isFocusable(a,!0,!0,!0)?n=a:(r.useDefaultAction=!0,s.tabIndex=0,n=s):(i.useDefaultAction=!0,o.tabIndex=0,n=o),n&&a.dispatchEvent(new J({by:"root",owner:a,next:null,relatedEvent:t}))&&c(n)}}},this.setTabbable=(e,t)=>{var n,r;for(const n of this._wrappers)if(n.manager===e){n.tabbable=t;break}const i=this._getCurrent();if(i){const e=i.tabbable?0:-1;let t=null===(n=this._firstDummy)||void 0===n?void 0:n.input;t&&(t.tabIndex=e),t=null===(r=this._lastDummy)||void 0===r?void 0:r.input,t&&(t.tabIndex=e)}},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout((()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()}),0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=e=>{var t,n;const r=(null===(t=this._firstDummy)||void 0===t?void 0:t.input)||(null===(n=this._lastDummy)||void 0===n?void 0:n.input),i=this._transformElements,s=new Set;let o=0,a=0;const l=this._getWindow();for(let t=r;t&&t.nodeType===Node.ELEMENT_NODE;t=re.getParentElement(t)){let n=e.get(t);if(void 0===n){const r=l.getComputedStyle(t).transform;r&&"none"!==r&&(n={scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),e.set(t,n||null)}n&&(s.add(t),i.has(t)||t.addEventListener("scroll",this._addTransformOffsets),o+=n.scrollTop,a+=n.scrollLeft)}for(const e of i)s.has(e)||e.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=s,()=>{var e,t;null===(e=this._firstDummy)||void 0===e||e.setTopLeft(o,a),null===(t=this._lastDummy)||void 0===t||t.setTopLeft(o,a)}};const a=t.get();if(!a)throw new Error("No element");this._tabster=e,this._getWindow=e.getWindow,this._callForDefaultAction=o;const l=a.__tabsterDummy;if((l||this)._wrappers.push({manager:n,priority:r,tabbable:!0}),l)return l;a.__tabsterDummy=this;const u=null==i?void 0:i.dummyInputsPosition,h=a.tagName;this._isOutside=u?u===W:(s||"UL"===h||"OL"===h||"TABLE"===h)&&!("LI"===h||"TD"===h||"TH"===h),this._firstDummy=new Oe(this._getWindow,this._isOutside,{isFirst:!0},t),this._lastDummy=new Oe(this._getWindow,this._isOutside,{isFirst:!1},t);const d=this._firstDummy.input;d&&e._dummyObserver.add(d,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=t,this._addDummyInputs()}dispose(e,t){var n,r,i,s;if(0===(this._wrappers=this._wrappers.filter((n=>n.manager!==e&&!t))).length){delete(null===(n=this._element)||void 0===n?void 0:n.get()).__tabsterDummy;for(const e of this._transformElements)e.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const e=this._getWindow();this._addTimer&&(e.clearTimeout(this._addTimer),delete this._addTimer);const t=null===(r=this._firstDummy)||void 0===r?void 0:r.input;t&&this._tabster._dummyObserver.remove(t),null===(i=this._firstDummy)||void 0===i||i.dispose(),null===(s=this._lastDummy)||void 0===s||s.dispose()}}_onFocus(e,t,n,r){var i;const s=this._getCurrent();!s||t.useDefaultAction&&!this._callForDefaultAction||null===(i=s.manager.getHandler(e))||void 0===i||i(t,n,r)}_getCurrent(){return this._wrappers.sort(((e,t)=>e.tabbable!==t.tabbable?e.tabbable?-1:1:e.priority-t.priority)),this._wrappers[0]}_ensurePosition(){var e,t,n;const r=null===(e=this._element)||void 0===e?void 0:e.get(),i=null===(t=this._firstDummy)||void 0===t?void 0:t.input,s=null===(n=this._lastDummy)||void 0===n?void 0:n.input;if(r&&i&&s)if(this._isOutside){const e=re.getParentNode(r);if(e){const t=re.getNextSibling(r);t!==s&&re.insertBefore(e,s,t),re.getPreviousElementSibling(r)!==i&&re.insertBefore(e,i,r)}}else{re.getLastElementChild(r)!==s&&re.appendChild(r,s);const e=re.getFirstElementChild(r);e&&e!==i&&e.parentNode&&re.insertBefore(e.parentNode,i,e)}}}function Se(e){let t=null;for(let n=re.getLastElementChild(e);n;n=re.getLastElementChild(n))t=n;return t||void 0}function Re(e){var t,n;const r=e.ownerDocument,i=null===(t=r.defaultView)||void 0===t?void 0:t.getComputedStyle(e);if(null===e.offsetParent&&r.body!==e&&"fixed"!==(null==i?void 0:i.position))return!0;if("hidden"===(null==i?void 0:i.visibility))return!0;if("fixed"===(null==i?void 0:i.position)){if("none"===i.display)return!0;if(null===(null===(n=e.parentElement)||void 0===n?void 0:n.offsetParent)&&r.body!==e.parentElement)return!0}return!1}function xe(e){return"INPUT"===e.tagName&&!!e.name&&"radio"===e.type}function De(e){var t;return(null===(t=null==e?void 0:e.__tabsterDummyContainer)||void 0===t?void 0:t.get())||null}class Pe extends ke{constructor(e,t,n,r){super(e,t,1,r,void 0,!0),this._onDummyInputFocus=e=>{var t;if(e.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const n=this._element.get();if(n){this._setFocused(!0);const t=this._tabster.focusedElement.getFirstOrLastTabbable(e.isFirst,{container:n,ignoreAccessibility:!0});if(t)return void c(t)}null===(t=e.input)||void 0===t||t.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=e,this._setFocused=n}}class Ie extends Ee{constructor(e,t,n,r,i){super(e,t,r),this._isFocused=!1,this._setFocused=e=>{var t;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===e)return;const n=this._element.get();n&&(e?(this._isFocused=!0,null===(t=this._dummyManager)||void 0===t||t.setTabbable(!1),n.dispatchEvent(new te({element:n}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout((()=>{var e;delete this._setFocusedTimer,this._isFocused=!1,null===(e=this._dummyManager)||void 0===e||e.setTabbable(!0),n.dispatchEvent(new ne({element:n}))}),0))},this._onFocusIn=e=>{const t=this._tabster.getParent,n=this._element.get();let r=e.composedPath()[0];do{if(r===n)return void this._setFocused(!0);r=r&&t(r)}while(r)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=n;const s=e.getWindow;this.uid=ve(s,t),this._sys=i,(e.controlTab||e.rootDummyInputs)&&this.addDummyInputs();const o=s().document;o.addEventListener(a,this._onFocusIn),o.addEventListener(l,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new Pe(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var e;this._onDispose(this);const t=this._tabster.getWindow(),n=t.document;n.removeEventListener(a,this._onFocusIn),n.removeEventListener(l,this._onFocusOut),this._setFocusedTimer&&(t.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),null===(e=this._dummyManager)||void 0===e||e.dispose(),this._remove()}moveOutWithDefaultAction(e,t){const n=this._dummyManager;if(n)n.moveOutWithDefaultAction(e,t);else{const n=this.getElement();n&&Pe.moveWithPhantomDummy(this._tabster,n,!0,e,t)}}_add(){}_remove(){}}class Ne{constructor(e,t){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var e;const t=this._win().document,n=t.body;if(n){this._autoRootUnwait(t);const r=this._autoRoot;if(r)return function(e,t,n){let r;if(n){const t=e.getAttribute(f);if(t)try{r=JSON.parse(t)}catch(e){}}r||(r={}),function(e,t){for(const n of Object.keys(t)){const r=t[n];r?e[n]=r:delete e[n]}}(r,t),Object.keys(r).length>0?e.setAttribute(f,function(e){return JSON.stringify(e)}(r)):e.removeAttribute(f)}(n,{root:r},!0),V(this._tabster,n),null===(e=Q(this._tabster,n))||void 0===e?void 0:e.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,t.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=e=>{delete this._roots[e.id]},this._tabster=e,this._win=e.getWindow,this._autoRoot=t,e.queueInit((()=>{this._autoRoot&&this._autoRootCreate()}))}_autoRootUnwait(e){e.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const e=this._win();this._autoRootUnwait(e.document),delete this._autoRoot,Object.keys(this._roots).forEach((e=>{this._roots[e]&&(this._roots[e].dispose(),delete this._roots[e])})),this.rootById={}}createRoot(e,t,n){const r=new Ie(this._tabster,e,this._onRootDispose,t,n);return this._roots[r.id]=r,this._forceDummy&&r.addDummyInputs(),r}addDummyInputs(){this._forceDummy=!0;const e=this._roots;for(const t of Object.keys(e))e[t].addDummyInputs()}static getRootByUId(e,t){const n=e().__tabsterInstance;return n&&n.root.rootById[t]}static getTabsterContext(e,t,n){var r,i,s,o;if(void 0===n&&(n={}),!t.ownerDocument)return;const{checkRtl:a,referenceElement:l}=n,u=e.getParent;let c,h,d,p;e.drainInitQueue();let f,m,g,v,y=!1,b=l||t;const _={};for(;b&&(!c||a);){const n=Q(e,b);if(a&&void 0===g){const e=b.dir;e&&(g="rtl"===e.toLowerCase())}if(!n){b=u(b);continue}const o=b.tagName;(n.uncontrolled||"IFRAME"===o||"WEBVIEW"===o)&&(v=b),p||!(null===(r=n.focusable)||void 0===r?void 0:r.excludeFromMover)||d||(y=!0);const l=n.modalizer,w=n.groupper,A=n.mover;!h&&l&&(h=l),d||!w||h&&!l||(h?(!w.isActive()&&w.getProps().tabbability&&h.userId!==(null===(i=e.modalizer)||void 0===i?void 0:i.activeId)&&(h=void 0,d=w),m=w):d=w),p||!A||h&&!l||w&&b===t||!b.contains(t)||(p=A,f=!!d&&d!==w),n.root&&(c=n.root),(null===(s=n.focusable)||void 0===s?void 0:s.ignoreKeydown)&&Object.assign(_,n.focusable.ignoreKeydown),b=u(b)}if(!c){const n=e.root;n._autoRoot&&(null===(o=t.ownerDocument)||void 0===o?void 0:o.body)&&(c=n._autoRootCreate())}return d&&!p&&(f=!0),c?{root:c,modalizer:h,groupper:d,mover:p,groupperBeforeMover:f,modalizerInGroupper:m,rtl:a?!!g:void 0,uncontrolled:v,excludedFromMover:y,ignoreKeydown:e=>!!_[e.key]}:void 0}static getRoot(e,t){var n;const r=e.getParent;for(let i=t;i;i=r(i)){const t=null===(n=Q(e,i))||void 0===n?void 0:n.root;if(t)return t}}onRoot(e,t){t?delete this.rootById[e.uid]:this.rootById[e.uid]=e}}class Me{}class Fe extends Me{constructor(e,t){super(),this.uid=t.uid,this._tabster=e,this._deloser=t}belongsTo(e){return e===this._deloser}unshift(e){this._deloser.unshift(e)}async focusAvailable(){const e=this._deloser.findAvailable(),t=this._deloser.getElement();return!(!e||!t)&&(t.dispatchEvent(new J({by:"deloser",owner:t,next:e}))?this._tabster.focusedElement.focus(e):null)}async resetFocus(){return we(this._tabster.getWindow).resolve(this._deloser.resetFocus())}}class Le{constructor(e,t){this._history=[],this._tabster=e,this.rootUId=t}getLength(){return this._history.length}removeDeloser(e){this._history=this._history.filter((t=>!t.belongsTo(e)))}hasDeloser(e){return this._history.some((t=>t.belongsTo(e)))}}class Be extends Le{unshiftToDeloser(e,t){let n;for(let t=0;tnew Be(this._tabster,r)));return n&&n.modalizer&&!(null===(t=n.modalizer)||void 0===t?void 0:t.isActive())||s.unshiftToDeloser(i,e),i}make(e,t){let n;for(let t=0;t{t.removeDeloser(e)})),this._history=this._history.filter((e=>e.getLength()>0))}async focusAvailable(e){let t=!!e;for(const n of this._history)if(e&&n.hasDeloser(e)&&(t=!1),!t){const t=await n.focusAvailable(e);if(t||null===t)return t}return!1}async resetFocus(e){let t=!!e;for(const n of this._history)if(e&&n.hasDeloser(e)&&(t=!1),!t&&await n.resetFocus(e))return!0;return!1}}function ze(e,t,n){const r=[],i=/(:|\.|\[|\]|,|=|@)/g,s=e.getAttribute("id");s&&r.push("#"+s.replace(i,"\\$1")),!1!==t&&e.className&&e.className.split(" ").forEach((e=>{(e=e.trim())&&r.push("."+e.replace(i,"\\$1"))}));let o,a=0;if(!1!==n&&0===r.length){for(o=e;o;)a++,o=o.previousElementSibling;r.unshift(":nth-child("+a+")")}return r.unshift(e.tagName.toLowerCase()),r.join("")}class Ue extends Ee{constructor(e,t,n,r){super(e,t,r),this._isActive=!1,this._history=[[]],this._snapshotIndex=0,this.isActive=()=>this._isActive,this.setSnapshot=e=>{this._snapshotIndex=e,this._history.length>e+1&&this._history.splice(e+1,this._history.length-e-1),this._history[e]||(this._history[e]=[])},this.focusFirst=()=>{const e=this._element.get();return!!e&&this._tabster.focusedElement.focusFirst({container:e})},this.focusDefault=()=>{const e=this._element.get();return!!e&&this._tabster.focusedElement.focusDefault(e)},this.resetFocus=()=>{const e=this._element.get();return!!e&&this._tabster.focusedElement.resetFocus(e)},this.clearHistory=e=>{const t=this._element.get();this._history[this._snapshotIndex]=t?this._history[this._snapshotIndex].filter((n=>{const r=n.get();return!(!r||!e)&&re.nodeContains(t,r)})):[]},this.uid=ve(e.getWindow,t),this.strategy=r.strategy||O,this._onDispose=n}dispose(){this._remove(),this._onDispose(this),this._isActive=!1,this._snapshotIndex=0,this._props={},this._history=[]}setActive(e){this._isActive=e}getActions(){return{focusDefault:this.focusDefault,focusFirst:this.focusFirst,resetFocus:this.resetFocus,clearHistory:this.clearHistory,setSnapshot:this.setSnapshot,isActive:this.isActive}}unshift(e){let t=this._history[this._snapshotIndex];for(t=this._history[this._snapshotIndex]=t.filter((t=>{const n=t.get();return n&&n!==e})),t.unshift(new ue(this._tabster.getWindow,e,function(e){if(!be(e.ownerDocument,e))return;const t=[ze(e)];let n=re.getParentNode(e);for(;n&&n.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;){if(n.nodeType===Node.ELEMENT_NODE){const e="BODY"===n.tagName;if(t.unshift(ze(n,!1,!e)),e)break}n=re.getParentNode(n)}return t.join(" ")}(e)));t.length>10;)t.pop()}findAvailable(){const e=this._element.get();if(!e||!this._tabster.focusable.isVisible(e))return null;let t=this._props.restoreFocusOrder,n=null;const r=Ne.getTabsterContext(this._tabster,e);if(!r)return null;const i=r.root,s=i.getElement();if(!s)return null;if(void 0===t&&(t=i.getProps().restoreFocusOrder),t===w&&(n=this._tabster.focusable.findDefault({container:s})),n||t!==E||(n=this._findFirst(s)),n)return n;const o=this._findInHistory();if(o&&t===b)return o;const a=this._tabster.focusable.findDefault({container:e});if(a&&t===_)return a;const l=this._findFirst(e);return l&&t===A?l:a||o||l||null}customFocusLostHandler(e){return e.dispatchEvent(new ee(this.getActions()))}_findInHistory(){const e=this._history[this._snapshotIndex].slice(0);this.clearHistory(!0);for(let t=0;t{var t;const n=e.composedPath()[0];if(n){const r=null===(t=We.getDeloser(this._tabster,n))||void 0===t?void 0:t.findAvailable();r&&this._tabster.focusedElement.focus(r),e.stopImmediatePropagation()}},this._onFocus=e=>{if(this._restoreFocusTimer&&(this._win().clearTimeout(this._restoreFocusTimer),this._restoreFocusTimer=void 0),!e)return void this._scheduleRestoreFocus();const t=this._history.process(e);t?this._activate(t):this._deactivate()},this._onDeloserDispose=e=>{this._history.removeDeloser(e),e.isActive()&&this._scheduleRestoreFocus()},this._tabster=e,this._win=e.getWindow,this._history=new je(e),e.queueInit((()=>{this._tabster.focusedElement.subscribe(this._onFocus);const e=this._win().document;e.addEventListener(H,this._onRestoreFocus);const t=re.getActiveElement(e);t&&t!==e.body&&this._onFocus(t)}));const n=null==t?void 0:t.autoDeloser;n&&(this._autoDeloser=n)}dispose(){const e=this._win();this._restoreFocusTimer&&(e.clearTimeout(this._restoreFocusTimer),this._restoreFocusTimer=void 0),this._autoDeloserInstance&&(this._autoDeloserInstance.dispose(),delete this._autoDeloserInstance,delete this._autoDeloser),this._tabster.focusedElement.unsubscribe(this._onFocus),e.document.removeEventListener(H,this._onRestoreFocus),this._history.dispose(),delete this._curDeloser}createDeloser(e,t){var n;const r=new Ue(this._tabster,e,this._onDeloserDispose,t);return re.nodeContains(e,null!==(n=this._tabster.focusedElement.getFocusedElement())&&void 0!==n?n:null)&&this._activate(r),r}getActions(e){for(let t=e;t;t=re.getParentElement(t)){const e=Q(this._tabster,t);if(e&&e.deloser)return e.deloser.getActions()}}pause(){this._isPaused=!0,this._restoreFocusTimer&&(this._win().clearTimeout(this._restoreFocusTimer),this._restoreFocusTimer=void 0)}resume(e){this._isPaused=!1,e&&this._scheduleRestoreFocus()}_activate(e){const t=this._curDeloser;t!==e&&(this._inDeloser=!0,null==t||t.setActive(!1),e.setActive(!0),this._curDeloser=e)}_deactivate(){var e;this._inDeloser=!1,null===(e=this._curDeloser)||void 0===e||e.setActive(!1),this._curDeloser=void 0}_scheduleRestoreFocus(e){if(this._isPaused||this._isRestoringFocus)return;const t=async()=>{this._restoreFocusTimer=void 0;const t=this._tabster.focusedElement.getLastFocusedElement();if(!e&&(this._isRestoringFocus||!this._inDeloser||t&&!Re(t)))return;const n=this._curDeloser;let r=!1;if(n){if(t&&n.customFocusLostHandler(t))return;if(n.strategy===k)r=!0;else{const e=n.getElement(),t=n.findAvailable();if(t&&(!(null==e?void 0:e.dispatchEvent(new J({by:"deloser",owner:e,next:t})))||this._tabster.focusedElement.focus(t)))return}}this._deactivate(),r||(this._isRestoringFocus=!0,!1===await this._history.focusAvailable(null)&&await this._history.resetFocus(null),this._isRestoringFocus=!1)};e?t():this._restoreFocusTimer=this._win().setTimeout(t,100)}static getDeloser(e,t){var n;let r;for(let n=t;n;n=re.getParentElement(n)){const t=Q(e,n);if(t){r||(r=t.root);const e=t.deloser;if(e)return e}}const i=e.deloser&&e.deloser;if(i){if(i._autoDeloserInstance)return i._autoDeloserInstance;const s=i._autoDeloser;if(r&&!i._autoDeloserInstance&&s){const r=null===(n=t.ownerDocument)||void 0===n?void 0:n.body;r&&(i._autoDeloserInstance=new Ue(e,r,e.deloser._onDeloserDispose,s))}return i._autoDeloserInstance}}static getHistory(e){return e._history}static forceRestoreFocus(e){e._scheduleRestoreFocus(!0)}}class Qe{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(e){const t=this._callbacks;t.indexOf(e)<0&&t.push(e)}subscribeFirst(e){const t=this._callbacks,n=t.indexOf(e);n>=0&&t.splice(n,1),t.unshift(e)}unsubscribe(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}setVal(e,t){this._val!==e&&(this._val=e,this._callCallbacks(e,t))}getVal(){return this._val}trigger(e,t){this._callCallbacks(e,t)}_callCallbacks(e,t){this._callbacks.forEach((n=>n(e,t)))}}class Ve{constructor(e){this._tabster=e}dispose(){}getProps(e){const t=Q(this._tabster,e);return t&&t.focusable||{}}isFocusable(e,t,n,r){return!(!_e(e,m)||!t&&-1===e.tabIndex)&&(n||this.isVisible(e))&&(r||this.isAccessible(e))}isVisible(e){if(!e.ownerDocument||e.nodeType!==Node.ELEMENT_NODE)return!1;if(Re(e))return!1;const t=e.ownerDocument.body.getBoundingClientRect();return 0!==t.width||0!==t.height}isAccessible(e){var t;for(let n=e;n;n=re.getParentElement(n)){const e=Q(this._tabster,n);if(this._isHidden(n))return!1;if(!(null===(t=null==e?void 0:e.focusable)||void 0===t?void 0:t.ignoreAriaDisabled)&&this._isDisabled(n))return!1}return!0}_isDisabled(e){return e.hasAttribute("disabled")}_isHidden(e){var t;const n=e.getAttribute("aria-hidden");return!(!n||"true"!==n.toLowerCase()||(null===(t=this._tabster.modalizer)||void 0===t?void 0:t.isAugmented(e)))}findFirst(e,t){return this.findElement({...e},t)}findLast(e,t){return this.findElement({isBackward:!0,...e},t)}findNext(e,t){return this.findElement({...e},t)}findPrev(e,t){return this.findElement({...e,isBackward:!0},t)}findDefault(e,t){return this.findElement({...e,acceptCondition:t=>this.isFocusable(t,e.includeProgrammaticallyFocusable)&&!!this.getProps(t).isDefault},t)||null}findAll(e){return this._findElements(!0,e)||[]}findElement(e,t){const n=this._findElements(!1,e,t);return n?n[0]:n}_findElements(e,t,n){var r,i,s;const{container:o,currentElement:a=null,includeProgrammaticallyFocusable:l,useActiveModalizer:u,ignoreAccessibility:c,modalizerId:h,isBackward:d,onElement:p}=t;n||(n={});const f=[];let{acceptCondition:m}=t;const g=!!m;if(!o)return null;m||(m=e=>this.isFocusable(e,l,!1,c));const v={container:o,modalizerUserId:void 0===h&&u?null===(r=this._tabster.modalizer)||void 0===r?void 0:r.activeId:h||(null===(s=null===(i=Ne.getTabsterContext(this._tabster,o))||void 0===i?void 0:i.modalizer)||void 0===s?void 0:s.userId),from:a||o,isBackward:d,isFindAll:e,acceptCondition:m,hasCustomCondition:g,includeProgrammaticallyFocusable:l,ignoreAccessibility:c,cachedGrouppers:{},cachedRadioGroups:{}},y=de(o.ownerDocument,o,(e=>this._acceptElement(e,v)));if(!y)return null;const b=t=>{var r,i;const s=null!==(r=v.foundElement)&&void 0!==r?r:v.foundBackward;return s&&f.push(s),e?!(s&&(v.found=!1,delete v.foundElement,delete v.foundBackward,delete v.fromCtx,v.from=s,p&&!p(s))||!s&&!t):(s&&n&&(n.uncontrolled=null===(i=Ne.getTabsterContext(this._tabster,s))||void 0===i?void 0:i.uncontrolled),!(!t||s))};if(a||(n.outOfDOMOrder=!0),a&&re.nodeContains(o,a))y.currentNode=a;else if(d){const e=Se(o);if(!e)return null;if(this._acceptElement(e,v)===NodeFilter.FILTER_ACCEPT&&!b(!0))return v.skippedFocusable&&(n.outOfDOMOrder=!0),f;y.currentNode=e}do{d?y.previousNode():y.nextNode()}while(b());return v.skippedFocusable&&(n.outOfDOMOrder=!0),f.length?f:null}_acceptElement(e,t){var n,r,i;if(t.found)return NodeFilter.FILTER_ACCEPT;const s=t.foundBackward;if(s&&(e===s||!re.nodeContains(s,e)))return t.found=!0,t.foundElement=s,NodeFilter.FILTER_ACCEPT;const o=t.container;if(e===o)return NodeFilter.FILTER_SKIP;if(!re.nodeContains(o,e))return NodeFilter.FILTER_REJECT;if(De(e))return NodeFilter.FILTER_REJECT;if(re.nodeContains(t.rejectElementsFrom,e))return NodeFilter.FILTER_REJECT;const a=t.currentCtx=Ne.getTabsterContext(this._tabster,e);if(!a)return NodeFilter.FILTER_SKIP;if(ge(e))return this.isFocusable(e,void 0,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!t.hasCustomCondition&&("IFRAME"===e.tagName||"WEBVIEW"===e.tagName))return(null===(n=a.modalizer)||void 0===n?void 0:n.userId)===(null===(r=this._tabster.modalizer)||void 0===r?void 0:r.activeId)?(t.found=!0,t.rejectElementsFrom=t.foundElement=e,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!t.ignoreAccessibility&&!this.isAccessible(e))return this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let l,u=t.fromCtx;u||(u=t.fromCtx=Ne.getTabsterContext(this._tabster,t.from));const c=null==u?void 0:u.mover;let h=a.groupper,d=a.mover;if(l=null===(i=this._tabster.modalizer)||void 0===i?void 0:i.acceptElement(e,t),void 0!==l&&(t.skippedFocusable=!0),void 0===l&&(h||d||c)){const n=null==h?void 0:h.getElement(),r=null==c?void 0:c.getElement();let i=null==d?void 0:d.getElement();i&&re.nodeContains(r,i)&&re.nodeContains(o,r)&&(!n||!d||re.nodeContains(r,n))&&(d=c,i=r),!n||n!==o&&re.nodeContains(o,n)||(h=void 0),i&&!re.nodeContains(o,i)&&(d=void 0),h&&d&&(i&&n&&!re.nodeContains(n,i)?d=void 0:h=void 0),h&&(l=h.acceptElement(e,t)),d&&(l=d.acceptElement(e,t))}if(void 0===l&&(l=t.acceptCondition(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,l===NodeFilter.FILTER_SKIP&&this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0)),l===NodeFilter.FILTER_ACCEPT&&!t.found){if(!t.isFindAll&&xe(e)&&!e.checked){const n=e.name;let r=t.cachedRadioGroups[n];if(r||(r=function(e){if(!xe(e))return;const t=e.name;let n,r=Array.from(re.getElementsByName(e,t));return r=r.filter((e=>!!xe(e)&&(e.checked&&(n=e),!0))),{name:t,buttons:new Set(r),checked:n}}(e),r&&(t.cachedRadioGroups[n]=r)),(null==r?void 0:r.checked)&&r.checked!==e)return NodeFilter.FILTER_SKIP}t.isBackward?(t.foundBackward=e,l=NodeFilter.FILTER_SKIP):(t.found=!0,t.foundElement=e)}return l}}const He="Home",qe="ArrowLeft",$e="ArrowUp",Ge="ArrowRight",Ke="ArrowDown",Xe={[v]:0,[y]:1,[g]:2};class Ye extends Qe{constructor(e,t){super(),this._init=()=>{const e=this._win(),t=e.document;t.addEventListener(a,this._onFocusIn,!0),t.addEventListener(l,this._onFocusOut,!0),e.addEventListener("keydown",this._onKeyDown,!0);const n=re.getActiveElement(t);n&&n!==t.body&&this._setFocusedElement(n),this.subscribe(this._onChanged)},this._onFocusIn=e=>{const t=e.composedPath()[0];t&&this._setFocusedElement(t,e.detail.relatedTarget,e.detail.isFocusedProgrammatically)},this._onFocusOut=e=>{var t;this._setFocusedElement(void 0,null===(t=e.detail)||void 0===t?void 0:t.originalEvent.relatedTarget)},this._validateFocusedElement=e=>{},this._onKeyDown=e=>{if("Tab"!==e.key||e.ctrlKey)return;const t=this.getVal();if(!t||!t.ownerDocument||"true"===t.contentEditable)return;const n=this._tabster,r=n.controlTab,i=Ne.getTabsterContext(n,t);if(!i||i.ignoreKeydown(e))return;const s=e.shiftKey,o=Ye.findNextTabbable(n,i,void 0,t,void 0,s,!0),a=i.root.getElement();if(!a)return;const l=null==o?void 0:o.element,u=function(e,t){var n;const r=e.getParent;let i=t;do{const t=null===(n=Q(e,i))||void 0===n?void 0:n.uncontrolled;if(t&&e.uncontrolled.isUncontrolledCompletely(i,!!t.completely))return i;i=r(i)}while(i)}(n,t);if(l){const h=o.uncontrolled;if(i.uncontrolled||re.nodeContains(h,t)){if(!o.outOfDOMOrder&&h===i.uncontrolled||u&&!re.nodeContains(u,l))return;return void ke.addPhantomDummyWithTarget(n,t,s,l)}if(h||"IFRAME"===l.tagName)return void(a.dispatchEvent(new J({by:"root",owner:a,next:l,relatedEvent:e}))&&ke.moveWithPhantomDummy(this._tabster,null!=h?h:l,!1,s,e));(r||(null==o?void 0:o.outOfDOMOrder))&&a.dispatchEvent(new J({by:"root",owner:a,next:l,relatedEvent:e}))&&(e.preventDefault(),e.stopImmediatePropagation(),c(l))}else!u&&a.dispatchEvent(new J({by:"root",owner:a,next:null,relatedEvent:e}))&&i.root.moveOutWithDefaultAction(s,e)},this._onChanged=(e,t)=>{var n,r;if(e)e.dispatchEvent(new X(t));else{const e=null===(n=this._lastVal)||void 0===n?void 0:n.get();if(e){const n={...t},i=Ne.getTabsterContext(this._tabster,e),s=null===(r=null==i?void 0:i.modalizer)||void 0===r?void 0:r.userId;s&&(n.modalizerId=s),e.dispatchEvent(new Y(n))}}},this._tabster=e,this._win=t,e.queueInit(this._init)}dispose(){super.dispose();const e=this._win(),t=e.document;t.removeEventListener(a,this._onFocusIn,!0),t.removeEventListener(l,this._onFocusOut,!0),e.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const n=this._asyncFocus;n&&(e.clearTimeout(n.timeout),delete this._asyncFocus),delete Ye._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(e,t){var n,r;let i=Ye._lastResetElement,s=i&&i.get();s&&re.nodeContains(t,s)&&delete Ye._lastResetElement,s=null===(r=null===(n=e._nextVal)||void 0===n?void 0:n.element)||void 0===r?void 0:r.get(),s&&re.nodeContains(t,s)&&delete e._nextVal,i=e._lastVal,s=i&&i.get(),s&&re.nodeContains(t,s)&&delete e._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var e;let t=null===(e=this._lastVal)||void 0===e?void 0:e.get();return(!t||t&&!be(t.ownerDocument,t))&&(this._lastVal=t=void 0),t}focus(e,t,n){return!!this._tabster.focusable.isFocusable(e,t,!1,n)&&(e.focus(),!0)}focusDefault(e){const t=this._tabster.focusable.findDefault({container:e});return!!t&&(this._tabster.focusedElement.focus(t),!0)}getFirstOrLastTabbable(e,t){var n;const{container:r,ignoreAccessibility:i}=t;let s;if(r){const t=Ne.getTabsterContext(this._tabster,r);t&&(s=null===(n=Ye.findNextTabbable(this._tabster,t,r,void 0,void 0,!e,i))||void 0===n?void 0:n.element)}return s&&!re.nodeContains(r,s)&&(s=void 0),s||void 0}_focusFirstOrLast(e,t){const n=this.getFirstOrLastTabbable(e,t);return!!n&&(this.focus(n,!1,!0),!0)}focusFirst(e){return this._focusFirstOrLast(!0,e)}focusLast(e){return this._focusFirstOrLast(!1,e)}resetFocus(e){if(!this._tabster.focusable.isVisible(e))return!1;if(this._tabster.focusable.isFocusable(e,!0,!0,!0))this.focus(e);else{const t=e.getAttribute("tabindex"),n=e.getAttribute("aria-hidden");e.tabIndex=-1,e.setAttribute("aria-hidden","true"),Ye._lastResetElement=new ue(this._win,e),this.focus(e,!0,!0),this._setOrRemoveAttribute(e,"tabindex",t),this._setOrRemoveAttribute(e,"aria-hidden",n)}return!0}requestAsyncFocus(e,t,n){const r=this._tabster.getWindow(),i=this._asyncFocus;if(i){if(Xe[e]>Xe[i.source])return;r.clearTimeout(i.timeout)}this._asyncFocus={source:e,callback:t,timeout:r.setTimeout((()=>{this._asyncFocus=void 0,t()}),n)}}cancelAsyncFocus(e){const t=this._asyncFocus;(null==t?void 0:t.source)===e&&(this._tabster.getWindow().clearTimeout(t.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(e,t,n){null===n?e.removeAttribute(t):e.setAttribute(t,n)}_setFocusedElement(e,t,n){var r,i;if(this._tabster._noop)return;const s={relatedTarget:t};if(e){const t=null===(r=Ye._lastResetElement)||void 0===r?void 0:r.get();if(Ye._lastResetElement=void 0,t===e||ge(e))return;s.isFocusedProgrammatically=n;const o=Ne.getTabsterContext(this._tabster,e),a=null===(i=null==o?void 0:o.modalizer)||void 0===i?void 0:i.userId;a&&(s.modalizerId=a)}const o=this._nextVal={element:e?new ue(this._win,e):void 0,detail:s};e&&e!==this._val&&this._validateFocusedElement(e),this._nextVal===o&&this.setVal(e,s),this._nextVal=void 0}setVal(e,t){super.setVal(e,t),e&&(this._lastVal=new ue(this._win,e))}static findNextTabbable(e,t,n,r,i,s,o){const a=n||t.root.getElement();if(!a)return null;let l=null;const u=Ye._isTabbingTimer,c=e.getWindow();u&&c.clearTimeout(u),Ye.isTabbing=!0,Ye._isTabbingTimer=c.setTimeout((()=>{delete Ye._isTabbingTimer,Ye.isTabbing=!1}),0);const h=t.modalizer,d=t.groupper,p=t.mover,f=t=>{if(l=t.findNextTabbable(r,i,s,o),r&&!(null==l?void 0:l.element)){const i=t!==h&&re.getParentElement(t.getElement());if(i){const a=Ne.getTabsterContext(e,r,{referenceElement:i});if(a){const r=t.getElement(),u=s?r:r&&Se(r)||r;u&&(l=Ye.findNextTabbable(e,a,n,u,i,s,o),l&&(l.outOfDOMOrder=!0))}}}};if(d&&p)f(t.groupperBeforeMover?d:p);else if(d)f(d);else if(p)f(p);else if(h)f(h);else{const t={container:a,currentElement:r,referenceElement:i,ignoreAccessibility:o,useActiveModalizer:!0},n={},u=e.focusable[s?"findPrev":"findNext"](t,n);l={element:u,outOfDOMOrder:n.outOfDOMOrder,uncontrolled:n.uncontrolled}}return l}}Ye.isTabbing=!1;class Je extends Qe{constructor(e){var t;super(),this._onChange=e=>{this.setVal(e,void 0)},this._keyborg=(t=e(),p.create(t,undefined)),this._keyborg.subscribe(this._onChange)}dispose(){var e;super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),e=this._keyborg,p.dispose(e),delete this._keyborg)}setNavigatingWithKeyboard(e){var t;null===(t=this._keyborg)||void 0===t||t.setVal(e)}isNavigatingWithKeyboard(){var e;return!!(null===(e=this._keyborg)||void 0===e?void 0:e.isNavigatingWithKeyboard())}}const Ze=["input","textarea","*[contenteditable]"].join(", ");class et extends ke{constructor(e,t,n,r){super(t,e,3,r),this._onFocusDummyInput=e=>{var t,n;const r=this._element.get(),i=e.input;if(r&&i){const s=Ne.getTabsterContext(this._tabster,r);let o;s&&(o=null===(t=Ye.findNextTabbable(this._tabster,s,void 0,i,void 0,!e.isFirst,!0))||void 0===t?void 0:t.element);const a=null===(n=this._getMemorized())||void 0===n?void 0:n.get();a&&(o=a),o&&c(o)}},this._tabster=t,this._getMemorized=n,this._setHandlers(this._onFocusDummyInput)}}class tt extends Ee{constructor(e,t,n,r,i){var s;super(e,t,r),this._visible={},this._onIntersection=e=>{for(const t of e){const e=t.target,n=ve(this._win,e);let r,i=this._fullyVisible;if(t.intersectionRatio>=.25?(r=t.intersectionRatio>=.75?S:C,r===S&&(i=n)):r=T,this._visible[n]!==r){void 0===r?(delete this._visible[n],i===n&&delete this._fullyVisible):(this._visible[n]=r,this._fullyVisible=i);const t=this.getState(e);t&&e.dispatchEvent(new Z(t))}}},this._win=e.getWindow,this.visibilityTolerance=null!==(s=r.visibilityTolerance)&&void 0!==s?s:.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=n;e.controlTab||(this.dummyManager=new et(this._element,e,(()=>r.memorizeCurrent?this._current:void 0),i))}dispose(){var e;this._onDispose(this),this._intersectionObserver&&(this._intersectionObserver.disconnect(),delete this._intersectionObserver),delete this._current,delete this._fullyVisible,delete this._allElements,delete this._updateQueue,this._unobserve&&(this._unobserve(),delete this._unobserve);const t=this._win();this._setCurrentTimer&&(t.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer),this._updateTimer&&(t.clearTimeout(this._updateTimer),delete this._updateTimer),null===(e=this.dummyManager)||void 0===e||e.dispose(),delete this.dummyManager}setCurrent(e){this._current=e?new ue(this._win,e):void 0,!this._props.trackState&&!this._props.visibilityAware||this._setCurrentTimer||(this._setCurrentTimer=this._win().setTimeout((()=>{var e;delete this._setCurrentTimer;const t=[];this._current!==this._prevCurrent&&(t.push(this._current),t.push(this._prevCurrent),this._prevCurrent=this._current);for(const n of t){const t=null==n?void 0:n.get();if(t&&(null===(e=this._allElements)||void 0===e?void 0:e.get(t))===this){const e=this._props;if(t&&(void 0!==e.visibilityAware||e.trackState)){const e=this.getState(t);e&&t.dispatchEvent(new Z(e))}}}})))}getCurrent(){var e;return(null===(e=this._current)||void 0===e?void 0:e.get())||null}findNextTabbable(e,t,n,r){const i=this.getElement(),s=i&&De(e)===i;if(!i)return null;let o,a=null,l=!1;if(this._props.tabbable||s||e&&!re.nodeContains(i,e)){const s={currentElement:e,referenceElement:t,container:i,ignoreAccessibility:r,useActiveModalizer:!0},u={};a=this._tabster.focusable[n?"findPrev":"findNext"](s,u),l=!!u.outOfDOMOrder,o=u.uncontrolled}return{element:a,uncontrolled:o,outOfDOMOrder:l}}acceptElement(e,t){var n,r;if(!Ye.isTabbing)return(null===(n=t.currentCtx)||void 0===n?void 0:n.excludedFromMover)?NodeFilter.FILTER_REJECT:void 0;const{memorizeCurrent:i,visibilityAware:s,hasDefault:o=!0}=this._props,a=this.getElement();if(a&&(i||s||o)&&(!re.nodeContains(a,t.from)||De(t.from)===a)){let e;if(i){const n=null===(r=this._current)||void 0===r?void 0:r.get();n&&t.acceptCondition(n)&&(e=n)}if(!e&&o&&(e=this._tabster.focusable.findDefault({container:a,useActiveModalizer:!0})),!e&&s&&(e=this._tabster.focusable.findElement({container:a,useActiveModalizer:!0,isBackward:t.isBackward,acceptCondition:e=>{var n;const r=ve(this._win,e),i=this._visible[r];return a!==e&&!!(null===(n=this._allElements)||void 0===n?void 0:n.get(e))&&t.acceptCondition(e)&&(i===S||i===C&&(s===C||!this._fullyVisible))}})),e)return t.found=!0,t.foundElement=e,t.rejectElementsFrom=a,t.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){const e=this.getElement();if(this._unobserve||!e||"undefined"==typeof MutationObserver)return;const t=this._win(),n=this._allElements=new WeakMap,r=this._tabster.focusable;let i=this._updateQueue=[];const s=re.createMutationObserver((e=>{for(const t of e){const e=t.target,n=t.removedNodes,r=t.addedNodes;if("attributes"===t.type)"tabindex"===t.attributeName&&i.push({element:e,type:2});else{for(let e=0;e{var r,i;const s=n.get(e);s&&t&&(null===(r=this._intersectionObserver)||void 0===r||r.unobserve(e),n.delete(e)),s||t||(n.set(e,this),null===(i=this._intersectionObserver)||void 0===i||i.observe(e))},a=e=>{const t=r.isFocusable(e);n.get(e)?t||o(e,!0):t&&o(e)},l=e=>{const{mover:n}=h(e);if(n&&n!==this){if(n.getElement()!==e||!r.isFocusable(e))return;o(e)}const i=de(t.document,e,(e=>{const{mover:t,groupper:n}=h(e);if(t&&t!==this)return NodeFilter.FILTER_REJECT;const i=null==n?void 0:n.getFirst(!0);return n&&n.getElement()!==e&&i&&i!==e?NodeFilter.FILTER_REJECT:(r.isFocusable(e)&&o(e),NodeFilter.FILTER_SKIP)}));if(i)for(i.currentNode=e;i.nextNode(););},u=e=>{n.get(e)&&o(e,!0);for(let t=re.getFirstElementChild(e);t;t=re.getNextElementSibling(t))u(t)},c=()=>{!this._updateTimer&&i.length&&(this._updateTimer=t.setTimeout((()=>{delete this._updateTimer;for(const{element:e,type:t}of i)switch(t){case 2:a(e);break;case 1:l(e);break;case 3:u(e)}i=this._updateQueue=[]}),0))},h=e=>{const t={};for(let n=e;n;n=re.getParentElement(n)){const e=Q(this._tabster,n);if(e&&(e.groupper&&!t.groupper&&(t.groupper=e.groupper),e.mover)){t.mover=e.mover;break}}return t};i.push({element:e,type:1}),c(),s.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{s.disconnect()}}getState(e){const t=ve(this._win,e);if(t in this._visible){const n=this._visible[t]||T;return{isCurrent:this._current?this._current.get()===e:void 0,visibility:n}}}}class nt{constructor(e,t){this._init=()=>{const e=this._win();e.addEventListener("keydown",this._onKeyDown,!0),e.addEventListener(q,this._onMoveFocus),e.addEventListener($,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=e=>{delete this._movers[e.id]},this._onFocus=e=>{var t;let n=e,r=e;for(let i=re.getParentElement(e);i;i=re.getParentElement(i)){const e=null===(t=Q(this._tabster,i))||void 0===t?void 0:t.mover;e&&(e.setCurrent(r),n=void 0),!n&&this._tabster.focusable.isFocusable(i)&&(n=r=i)}},this._onKeyDown=async e=>{var t;if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),null===(t=this._ignoredInputResolve)||void 0===t||t.call(this,!1),e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)return;const n=e.key;let r;if(n===Ke?r=M:n===Ge?r=L:n===$e?r=N:n===qe?r=F:"PageDown"===n?r=j:"PageUp"===n?r=B:n===He?r=z:"End"===n&&(r=U),!r)return;const i=this._tabster.focusedElement.getFocusedElement();i&&!await this._isIgnoredInput(i,n)&&this._moveFocus(i,r,e)},this._onMoveFocus=e=>{var t;const n=e.composedPath()[0],r=null===(t=e.detail)||void 0===t?void 0:t.key;n&&void 0!==r&&!e.defaultPrevented&&(this._moveFocus(n,r),e.stopImmediatePropagation())},this._onMemorizedElement=e=>{var t;const n=e.composedPath()[0];let r=null===(t=e.detail)||void 0===t?void 0:t.memorizedElement;if(n){const t=Ne.getTabsterContext(this._tabster,n),i=null==t?void 0:t.mover;i&&(r&&!re.nodeContains(i.getElement(),r)&&(r=void 0),i.setCurrent(r),e.stopImmediatePropagation())}},this._tabster=e,this._win=t,this._movers={},e.queueInit(this._init)}dispose(){var e;const t=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),null===(e=this._ignoredInputResolve)||void 0===e||e.call(this,!1),this._ignoredInputTimer&&(t.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),t.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener(q,this._onMoveFocus),t.removeEventListener($,this._onMemorizedElement),Object.keys(this._movers).forEach((e=>{this._movers[e]&&(this._movers[e].dispose(),delete this._movers[e])}))}createMover(e,t,n){const r=new tt(this._tabster,e,this._onMoverDispose,t,n);return this._movers[r.id]=r,r}moveFocus(e,t){return this._moveFocus(e,t)}_moveFocus(e,t,n){var r,i;const s=this._tabster,o=Ne.getTabsterContext(s,e,{checkRtl:!0});if(!o||!o.mover||o.excludedFromMover||n&&o.ignoreKeydown(n))return null;const a=o.mover,l=a.getElement();if(o.groupperBeforeMover){const e=o.groupper;if(!e||e.isActive(!0))return null;for(let t=re.getParentElement(e.getElement());t&&t!==l;t=re.getParentElement(t))if(null===(i=null===(r=Q(s,t))||void 0===r?void 0:r.groupper)||void 0===i?void 0:i.isActive(!0))return null}if(!l)return null;const u=s.focusable,h=a.getProps(),d=h.direction||R,p=d===R,f=p||d===x,m=p||d===D,g=d===I,v=g||d===P,y=h.cyclic;let b,_,w,A=0,E=0;if(v&&(w=e.getBoundingClientRect(),A=Math.ceil(w.left),E=Math.floor(w.right)),o.rtl&&(t===L?t=F:t===F&&(t=L)),t===M&&f||t===L&&(m||v))if(b=u.findNext({currentElement:e,container:l,useActiveModalizer:!0}),b&&v){const e=Math.ceil(b.getBoundingClientRect().left);!g&&E>e&&(b=void 0)}else!b&&y&&(b=u.findFirst({container:l,useActiveModalizer:!0}));else if(t===N&&f||t===F&&(m||v))if(b=u.findPrev({currentElement:e,container:l,useActiveModalizer:!0}),b&&v){const e=Math.floor(b.getBoundingClientRect().right);!g&&e>A&&(b=void 0)}else!b&&y&&(b=u.findLast({container:l,useActiveModalizer:!0}));else if(t===z)v?u.findElement({container:l,currentElement:e,useActiveModalizer:!0,isBackward:!0,acceptCondition:t=>{var n;if(!u.isFocusable(t))return!1;const r=Math.ceil(null!==(n=t.getBoundingClientRect().left)&&void 0!==n?n:0);return t!==e&&A<=r||(b=t,!1)}}):b=u.findFirst({container:l,useActiveModalizer:!0});else if(t===U)v?u.findElement({container:l,currentElement:e,useActiveModalizer:!0,acceptCondition:t=>{var n;if(!u.isFocusable(t))return!1;const r=Math.ceil(null!==(n=t.getBoundingClientRect().left)&&void 0!==n?n:0);return t!==e&&A>=r||(b=t,!1)}}):b=u.findLast({container:l,useActiveModalizer:!0});else if(t===B){if(u.findElement({currentElement:e,container:l,useActiveModalizer:!0,isBackward:!0,acceptCondition:e=>!(!u.isFocusable(e)||fe(this._win,e,a.visibilityTolerance)&&(b=e,1))}),v&&b){const e=Math.ceil(b.getBoundingClientRect().left);u.findElement({currentElement:b,container:l,useActiveModalizer:!0,acceptCondition:t=>{if(!u.isFocusable(t))return!1;const n=Math.ceil(t.getBoundingClientRect().left);return A=n||(b=t,!1)}})}_=!1}else if(t===j){if(u.findElement({currentElement:e,container:l,useActiveModalizer:!0,acceptCondition:e=>!(!u.isFocusable(e)||fe(this._win,e,a.visibilityTolerance)&&(b=e,1))}),v&&b){const e=Math.ceil(b.getBoundingClientRect().left);u.findElement({currentElement:b,container:l,useActiveModalizer:!0,isBackward:!0,acceptCondition:t=>{if(!u.isFocusable(t))return!1;const n=Math.ceil(t.getBoundingClientRect().left);return A>n||e<=n||(b=t,!1)}})}_=!0}else if(v){const n=t===N,r=A,i=Math.ceil(w.top),s=E,o=Math.floor(w.bottom);let a,c,h=0;u.findAll({container:l,currentElement:e,isBackward:n,onElement:e=>{const t=e.getBoundingClientRect(),l=Math.ceil(t.left),u=Math.ceil(t.top),d=Math.floor(t.right),p=Math.floor(t.bottom);if(n&&iu)return!0;const f=Math.ceil(Math.min(s,d))-Math.floor(Math.max(r,l)),m=Math.ceil(Math.min(s-r,d-l));if(f>0&&m>=f){const t=f/m;t>h&&(a=e,h=t)}else if(0===h){const t=function(e,t,n,r,i,s,o,a){const l=n0)return!1;return!0}}),b=a}return b&&(!n||n&&l.dispatchEvent(new J({by:"mover",owner:l,next:b,relatedEvent:n})))?(void 0!==_&&function(e,t,n){const r=me(t);if(r){const i=pe(e,r),s=t.getBoundingClientRect();r.scrollTop+=n?s.top-i.top:s.bottom-i.bottom}}(this._win,b,_),n&&(n.preventDefault(),n.stopImmediatePropagation()),c(b),b):null}async _isIgnoredInput(e,t){if("true"===e.getAttribute("aria-expanded")&&e.hasAttribute("aria-activedescendant"))return!0;if(_e(e,Ze)){let n,r=0,i=0,s=0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName){const n=e.type,o=e.value;if(s=(o||"").length,"email"===n||"number"===n){if(s){const n=re.getSelection(e);if(n){const e=n.toString().length,r=t===qe||t===$e;if(n.modify("extend",r?"backward":"forward","character"),e!==n.toString().length)return n.modify("extend",r?"forward":"backward","character"),!0;s=0}}}else{const t=e.selectionStart;if(null===t)return"hidden"===n;r=t||0,i=e.selectionEnd||0}}else"true"===e.contentEditable&&(n=new(we(this._win))((t=>{this._ignoredInputResolve=e=>{delete this._ignoredInputResolve,t(e)};const n=this._win();this._ignoredInputTimer&&n.clearTimeout(this._ignoredInputTimer);const{anchorNode:o,focusNode:a,anchorOffset:l,focusOffset:u}=re.getSelection(e)||{};this._ignoredInputTimer=n.setTimeout((()=>{var t,n,c;delete this._ignoredInputTimer;const{anchorNode:h,focusNode:d,anchorOffset:p,focusOffset:f}=re.getSelection(e)||{};if(h===o&&d===a&&p===l&&f===u){if(r=p||0,i=f||0,s=(null===(n=e.textContent)||void 0===n?void 0:n.length)||0,h&&d&&re.nodeContains(e,h)&&re.nodeContains(e,d)&&h!==e){let t=!1;const n=e=>{if(e===h)t=!0;else if(e===d)return!0;const s=e.textContent;if(s&&!re.getFirstChild(e)){const e=s.length;t?d!==h&&(i+=e):(r+=e,i+=e)}let o=!1;for(let t=re.getFirstChild(e);t&&!o;t=t.nextSibling)o=n(t);return o};n(e)}null===(c=this._ignoredInputResolve)||void 0===c||c.call(this,!0)}else null===(t=this._ignoredInputResolve)||void 0===t||t.call(this,!1)}),0)})));if(n&&!await n)return!0;if(r!==i)return!0;if(r>0&&(t===qe||t===$e||t===He))return!0;if(r{for(const t of e)if("childList"===t.type){const e=t.removedNodes,n=t.addedNodes;for(let t=0;t{if(e.nodeType===Node.ELEMENT_NODE)if(t){const t=this._subObservers.get(e);t&&(t.disconnect(),this._subObservers.delete(e))}else{const t=e.shadowRoot;t&&this._addSubObserver(t)}return NodeFilter.FILTER_SKIP}}).nextNode()}}takeRecords(){const e=this._observer.takeRecords();for(const t of this._subObservers.values())e.push(...t.takeRecords());return e}}it._shadowObservers=new Set;class st{constructor(e){this.keyboardNavigation=e.keyboardNavigation,this.focusedElement=e.focusedElement,this.focusable=e.focusable,this.root=e.root,this.uncontrolled=e.uncontrolled,this.core=e}}class ot{constructor(e,t){var n,r;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="7.3.0",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=function(e){const t=e.__tabsterInstanceContext;return new((null==t?void 0:t.basics.WeakMap)||WeakMap)}(e),this._win=e;const i=this.getWindow;(null==t?void 0:t.DOMAPI)&&function(e){for(const t of Object.keys(e))re[t]=e[t]}({...t.DOMAPI}),this.keyboardNavigation=new Je(i),this.focusedElement=new Ye(this,i),this.focusable=new Ve(this),this.root=new Ne(this,null==t?void 0:t.autoRoot),this.uncontrolled=new rt((null==t?void 0:t.checkUncontrolledCompletely)||(null==t?void 0:t.checkUncontrolledTrappingFocus)),this.controlTab=null===(n=null==t?void 0:t.controlTab)||void 0===n||n,this.rootDummyInputs=!!(null==t?void 0:t.rootDummyInputs),this._dummyObserver=new Te(i),this.getParent=null!==(r=null==t?void 0:t.getParent)&&void 0!==r?r:re.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:e=>{if(!this._unobserve){const t=i().document;this._unobserve=function(e,t,n,r){if("undefined"==typeof MutationObserver)return()=>{};const i=t.getWindow;let s;function o(t,n){s||(s=ae(i).elementByUId),a(t,n);const r=de(e,t,(e=>a(e,n)));if(r)for(;r.nextNode(););}function a(e,r){var o;if(!e.getAttribute)return NodeFilter.FILTER_SKIP;const a=e.__tabsterElementUID;return a&&s&&(r?delete s[a]:null!==(o=s[a])&&void 0!==o||(s[a]=new ue(i,e))),(Q(t,e)||e.hasAttribute(f))&&n(t,e,r),NodeFilter.FILTER_SKIP}const l=re.createMutationObserver((e=>{var r,i,s,a,l;const u=new Set;for(const l of e){const e=l.target,c=l.removedNodes,h=l.addedNodes;if("attributes"===l.type)l.attributeName===f&&(u.has(e)||n(t,e));else{for(let n=0;n{l.disconnect()}}(t,this,V,e)}}},he(i),this.queueInit((()=>{this.internal.resumeObserver(!0)}))}_mergeProps(e){var t;e&&(this.getParent=null!==(t=e.getParent)&&void 0!==t?t:this.getParent)}createTabster(e,t){const n=new st(this);return e||this._wrappers.add(n),this._mergeProps(t),n}disposeTabster(e,t){t?this._wrappers.clear():this._wrappers.delete(e),0===this._wrappers.size&&this.dispose()}dispose(){var e,t,n,r,i,s,o,a;this.internal.stopObserver();const l=this._win;null==l||l.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],l&&this._forgetMemorizedTimer&&(l.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),null===(e=this.outline)||void 0===e||e.dispose(),null===(t=this.crossOrigin)||void 0===t||t.dispose(),null===(n=this.deloser)||void 0===n||n.dispose(),null===(r=this.groupper)||void 0===r||r.dispose(),null===(i=this.mover)||void 0===i||i.dispose(),null===(s=this.modalizer)||void 0===s||s.dispose(),null===(o=this.observedElement)||void 0===o||o.dispose(),null===(a=this.restorer)||void 0===a||a.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),function(e){const t=ae(e);t.fakeWeakRefsStarted=!1,t.fakeWeakRefsTimer&&(e().clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefsTimer=void 0,t.fakeWeakRefs=[])}(this.getWindow),ye(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),l&&(function(e){const t=e.__tabsterInstanceContext;t&&(t.elementByUId={},delete t.WeakRef,t.containerBoundingRectCache={},t.containerBoundingRectCacheTimer&&e.clearTimeout(t.containerBoundingRectCacheTimer),t.fakeWeakRefsTimer&&e.clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefs=[],delete e.__tabsterInstanceContext)}(l),delete l.__tabsterInstance,delete this._win)}storageEntry(e,t){const n=this._storage;let r=n.get(e);return r?!1===t&&0===Object.keys(r).length&&n.delete(e):!0===t&&(r={},n.set(e,r)),r}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),this._forgetMemorizedTimer||(this._forgetMemorizedTimer=this._win.setTimeout((()=>{delete this._forgetMemorizedTimer;for(let e=this._forgetMemorizedElements.shift();e;e=this._forgetMemorizedElements.shift())ye(this.getWindow,e),Ye.forgetMemorized(this.focusedElement,e)}),0),ce(this.getWindow,!0)))}queueInit(e){var t;this._win&&(this._initQueue.push(e),this._initTimer||(this._initTimer=null===(t=this._win)||void 0===t?void 0:t.setTimeout((()=>{delete this._initTimer,this.drainInitQueue()}),0)))}drainInitQueue(){if(!this._win)return;const e=this._initQueue;this._initQueue=[],e.forEach((e=>e()))}}function at(e){return e.__tabsterInstance}Symbol.for("ember-primitives-globals");var lt=new WeakMap;class ut extends i.Ay{constructor(...e){var t,n,i;super(...e),(0,r.A)(this,"setup",(({tabster:e,setTabsterRoot:t}={})=>{if(e??=!0,t??=!0,!e)return;let n=function(){const e=at(window);return e?e.createTabster(!0):null}();var r,i;(r=lt,i=this,r.get(function(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}(r,i))).call(this,n??function(e,t){let n=at(e);return n?n.createTabster(!1,t):(n=new ot(e,t),e.__tabsterInstance=n,n.createTabster())}(window)),t&&document.body.setAttribute("data-tabster",'{ "root": {} }')})),i=e=>{(function(e){const t=e.core;t.mover||(t.mover=new nt(t,t.getWindow)),t.mover})(e),function(e,t){const n=e.core;n.deloser||(n.deloser=new We(n,t)),n.deloser}(e)},function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(t=this,n=lt),n.set(t,i)}}},9778:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2065);function i(e){return(0,r.X)({id:"UDtotzVb",block:'[[[8,[32,0],null,[["@model","@controller"],[[30,1],[30,0]]],null]],["@model"],false,[]]',moduleName:"/home/nvp/Development/OpenSource/todomvc/examples/emberjs/todomvc/node_modules/.pnpm/ember-route-template@1.0.3/node_modules/ember-route-template/dist/index.js",scope:()=>[e],isStrictMode:!0})}},2698:()=>{!function(){"use strict";var e,t,n,r,i,s,o=function(e){e.defaults=function(e){if(!e)return e;for(var t=1,n=arguments.length;t/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var t=/(.)^/,n={"'":"'","\\":"\\","\r":"r","\n":"n","\t":"t","\u2028":"u2028","\u2029":"u2029"},r=/\\|'|\r|\n|\t|\u2028|\u2029/g;return e.template=function(i,s,o){var a;o=e.defaults({},o,e.templateSettings);var l=new RegExp([(o.escape||t).source,(o.interpolate||t).source,(o.evaluate||t).source].join("|")+"|$","g"),u=0,c="__p+='";i.replace(l,(function(e,t,s,o,a){return c+=i.slice(u,a).replace(r,(function(e){return"\\"+n[e]})),t&&(c+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'"),s&&(c+="'+\n((__t=("+s+"))==null?'':__t)+\n'"),o&&(c+="';\n"+o+"\n__p+='"),u=a+e.length,e})),c+="';\n",o.variable||(c="with(obj||{}){\n"+c+"}\n"),c="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+c+"return __p;\n";try{a=new Function(o.variable||"obj","_",c)}catch(e){throw e.source=c,e}if(s)return a(s,e);var h=function(t){return a.call(this,t,e)};return h.source="function("+(o.variable||"obj")+"){\n"+c+"}",h},e}({});function a(){var e=location.href.indexOf("examples/");return location.href.substr(0,e)}function l(e,t){if(!(this instanceof l))return new l(e,t);var n,r;if("object"!=typeof e)try{e=JSON.parse(e)}catch(e){return}t&&(n=t.template,r=t.framework),!n&&e.templates&&(n=e.templates.todomvc),!r&&document.querySelector("[data-framework]")&&(r=document.querySelector("[data-framework]").dataset.framework),this.template=n,e.backend?(this.frameworkJSON=e.backend,this.frameworkJSON.issueLabel=r,this.append({backend:!0})):e[r]&&(this.frameworkJSON=e[r],this.frameworkJSON.issueLabel=r,this.append()),this.fetchIssueCount()}"todomvc.com"===location.hostname&&(e=window,t=document,n="script",r="ga",e.GoogleAnalyticsObject=r,e[r]=e[r]||function(){(e[r].q=e[r].q||[]).push(arguments)},e[r].l=1*new Date,i=t.createElement(n),s=t.getElementsByTagName(n)[0],i.async=1,i.src="https://www.google-analytics.com/analytics.js",s.parentNode.insertBefore(i,s),ga("create","UA-31081062-1","auto"),ga("send","pageview")),l.prototype.append=function(e){var t=document.createElement("aside");if(t.innerHTML=o.template(this.template,this.frameworkJSON),t.className="learn",e&&e.backend){var n=t.querySelector(".source-links"),r=n.firstElementChild,i=n.lastElementChild,s=i.getAttribute("href");i.setAttribute("href",s.substr(s.lastIndexOf("http"))),n.innerHTML=r.outerHTML+i.outerHTML}else{var l=t.querySelectorAll(".demo-link");Array.prototype.forEach.call(l,(function(e){"http"!==e.getAttribute("href").substr(0,4)&&e.setAttribute("href",a()+e.getAttribute("href"))}))}document.body.className=(document.body.className+" learn-bar").trim(),document.body.insertAdjacentHTML("afterBegin",t.outerHTML)},l.prototype.fetchIssueCount=function(){var e=document.getElementById("issue-count-link");if(e){var t=e.href.replace("https://github.com","https://api.github.com/repos"),n=new XMLHttpRequest;n.open("GET",t,!0),n.onload=function(t){var n=JSON.parse(t.target.responseText);if(n instanceof Array){var r=n.length;0!==r&&(e.innerHTML="This app has "+r+" open issues",document.getElementById("issue-count").style.display="inline")}},n.send()}},"tastejs.github.io"===location.hostname&&(location.href=location.href.replace("tastejs.github.io/todomvc","todomvc.com")),function(e,t){if(!location.host)return console.info("Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.");var n=new XMLHttpRequest;n.open("GET",a()+"learn.json",!0),n.send(),n.onload=function(){200===n.status&&t&&t(n.responseText)}}(0,l)}()},5319:(e,t,n)=>{"use strict";function r(e,t,n,r,i){var s={};return Object.keys(r).forEach((function(e){s[e]=r[e]})),s.enumerable=!!s.enumerable,s.configurable=!!s.configurable,("value"in s||s.initializer)&&(s.writable=!0),s=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),s),i&&void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(i):void 0,s.initializer=void 0),void 0===s.initializer?(Object.defineProperty(e,t,s),null):s}n.d(t,{A:()=>r})},9624:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t,n){return(t=function(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{A:()=>i})},929:(e,t,n)=>{"use strict";function r(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}n.d(t,{A:()=>r})}}]); +//# sourceMappingURL=chunk.21a7dc4906237ee38116.js.map \ No newline at end of file diff --git a/examples/emberjs/todomvc/dist/assets/chunk.21a7dc4906237ee38116.js.LICENSE.txt b/examples/emberjs/todomvc/dist/assets/chunk.21a7dc4906237ee38116.js.LICENSE.txt new file mode 100644 index 0000000000..6859a7ecd9 --- /dev/null +++ b/examples/emberjs/todomvc/dist/assets/chunk.21a7dc4906237ee38116.js.LICENSE.txt @@ -0,0 +1,4 @@ +/*! + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */ diff --git a/examples/emberjs/todomvc/dist/assets/chunk.21a7dc4906237ee38116.js.map b/examples/emberjs/todomvc/dist/assets/chunk.21a7dc4906237ee38116.js.map new file mode 100644 index 0000000000..643354a1a5 --- /dev/null +++ b/examples/emberjs/todomvc/dist/assets/chunk.21a7dc4906237ee38116.js.map @@ -0,0 +1 @@ +{"version":3,"file":"assets/chunk.21a7dc4906237ee38116.js","mappings":";+JAAA,SAASA,EAAmBC,EAASC,GACjC,IAAIC,EAASF,EAAQG,KAAKF,GAC1B,IAAKC,EACD,MAAM,IAAIE,MAAMH,EAAa,gCAEjC,IAAII,EAAcH,EAAOI,QACzB,IAAKD,EACD,MAAM,IAAID,MAAMH,EAAa,+BAKjC,OAHKI,EAAYE,OACbF,EAAYE,KAAON,EAAWO,MAAMP,EAAWQ,YAAY,KAAO,IAE/DJ,CACX,CCbe,MAAMK,EACnBC,WAAAA,CAAYC,EAAOC,EAAMC,GACvBC,KAAKH,MAAQA,EACbG,KAAKF,KAAOA,EACZE,KAAKD,MAAQA,EACbC,KAAKC,KAAO,EACZD,KAAKE,OAAS,EACdF,KAAKG,KAAO,EACZH,KAAKD,MAAQA,GAAS,IAAIK,GAC5B,CACAC,GAAAA,CAAIC,GACF,IAAIC,EAAQP,KAAKD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ChBE,SAAUuD,EAAEvD,SACZ1L,MAAOiP,EAAElQ,YAAckQ,EAAElQ,YAAY+H,KAAKg6B,QAAK,GAEnD","sources":["webpack://todomvc/../../.pnpm/ember-load-initializers@3.0.1_ember-source@5.12.0_@glimmer+component@1.1.2_@babel+core@7.25.7_adagvlkkvhixymiigw4lioonfy/node_modules/ember-load-initializers/dist/index.js","webpack://todomvc/../../.pnpm/ember-resolver@13.0.2_ember-source@5.12.0_@glimmer+component@1.1.2_@babel+core@7.25.7__@glint_semkhchggtsjpk5yjd5465cw2i/node_modules/ember-resolver/addon/string/cache.js","webpack://todomvc/../../.pnpm/ember-resolver@13.0.2_ember-source@5.12.0_@glimmer+component@1.1.2_@babel+core@7.25.7__@glint_semkhchggtsjpk5yjd5465cw2i/node_modules/ember-resolver/addon/string/index.js","webpack://todomvc/../../.pnpm/ember-resolver@13.0.2_ember-source@5.12.0_@glimmer+component@1.1.2_@babel+core@7.25.7__@glint_semkhchggtsjpk5yjd5465cw2i/node_modules/ember-resolver/addon/index.js","webpack://todomvc/../../.pnpm/ember-resolver@13.0.2_ember-source@5.12.0_@glimmer+component@1.1.2_@babel+core@7.25.7__@glint_semkhchggtsjpk5yjd5465cw2i/node_modules/ember-resolver/addon/utils/class-factory.js","webpack://todomvc/./app.js","webpack://todomvc/./assets/todomvc.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/metal/index.js","webpack://todomvc/../rewritten-packages/@glimmer/tracking.159c0f8a/node_modules/@glimmer/tracking/index.js","webpack://todomvc/./components/todo-item.js","webpack://todomvc/./components/todo-list.js","webpack://todomvc/./config/environment.js","webpack://todomvc/./router.js","webpack://todomvc/./routes/active.js","webpack://todomvc/./routes/application.js","webpack://todomvc/./routes/completed.js","webpack://todomvc/./routes/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/helper/index.js","webpack://todomvc/../rewritten-packages/ember-tracked-storage-polyfill.68aafa9a/node_modules/ember-tracked-storage-polyfill/index.js","webpack://todomvc/../../src/-private/map.ts","webpack://todomvc/../../src/-private/set.ts","webpack://todomvc/../../node_modules/.pnpm/@babel+runtime@7.20.1/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js","webpack://todomvc/../../node_modules/.pnpm/@babel+runtime@7.20.1/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js","webpack://todomvc/../../node_modules/.pnpm/@babel+runtime@7.20.1/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js","webpack://todomvc/../../src/-private/array.ts","webpack://todomvc/../../src/-private/object.js","webpack://todomvc/./services/repo.js","webpack://todomvc/./templates/active.js","webpack://todomvc/./components/attribution.js","webpack://todomvc/../../src/helpers/service.ts","webpack://todomvc/./components/create.js","webpack://todomvc/./components/filters.js","webpack://todomvc/./components/footer.js","webpack://todomvc/./components/layout.js","webpack://todomvc/./templates/application.js","webpack://todomvc/./templates/completed.js","webpack://todomvc/./templates/index.js","webpack://todomvc/../rewritten-packages/@embroider/util.2cad9580/node_modules/@embroider/util/services/ensure-registered.js","webpack://todomvc/../rewritten-packages/@glimmer/component.8d27873e/node_modules/@glimmer/component/-private/component.js","webpack://todomvc/../rewritten-packages/@glimmer/component.8d27873e/node_modules/@glimmer/component/-private/destroyables.js","webpack://todomvc/../rewritten-packages/@glimmer/component.8d27873e/node_modules/@glimmer/component/-private/ember-component-manager.js","webpack://todomvc/../rewritten-packages/@glimmer/component.8d27873e/node_modules/@glimmer/component/-private/base-component-manager.js","webpack://todomvc/../rewritten-packages/@glimmer/component.8d27873e/node_modules/@glimmer/component/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/deprecations/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/error-handling/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/meta/lib/meta.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/owner/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/runtime/lib/ext/rsvp.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/runtime/lib/mixins/-proxy.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/runtime/lib/mixins/action_handler.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/runtime/lib/mixins/comparable.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/runtime/lib/mixins/container_proxy.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/runtime/lib/mixins/registry_proxy.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/runtime/lib/mixins/target_action_support.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/string/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/views/lib/component_lookup.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/views/lib/mixins/action_support.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/views/lib/mixins/child_views_support.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/views/lib/mixins/class_names_support.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/views/lib/mixins/view_state_support.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/views/lib/mixins/view_support.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/views/lib/system/action_manager.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/views/lib/system/event_dispatcher.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/views/lib/system/utils.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/views/lib/views/states.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/views/lib/views/core_view.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/routing/lib/cache.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/application/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/application/instance.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/application/lib/lazy_load.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/application/namespace.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/array/-internals.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/array/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/array/lib/make-array.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/component/template-only.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/controller/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/debug/container-debug-adapter.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/debug/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/debug/lib/assert.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/debug/lib/capture-render-tree.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/debug/lib/deprecate.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/debug/lib/inspect.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/debug/lib/testing.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/debug/lib/warn.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/dag-map/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/engine/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/engine/instance.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/engine/lib/engine-parent.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/enumerable/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/enumerable/mutable.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/instrumentation/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/modifier/on.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/object/-internals.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/object/compat.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/object/core.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/object/evented.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/object/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/object/lib/computed/computed_macros.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/object/mixin.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/object/observable.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/owner/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/routing/hash-location.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/routing/history-location.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/routing/lib/dsl.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/routing/lib/generate_controller.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/routing/lib/location-utils.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/routing/lib/routing-service.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/routing/lib/utils.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/routing/none-location.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/routing/route.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/routing/router-service.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/routing/lib/router_state.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/router-DrLZsJeE.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/routing/router.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/runloop/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/service/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/utils/lib/compare.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/utils/lib/is_blank.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/utils/lib/is_empty.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/utils/lib/is_present.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/utils/lib/type-of.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@glimmer/destroyable/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@glimmer/global-context/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@glimmer/manager/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@simple-dom/document/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@glimmer/node/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@glimmer/encoder/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@glimmer/opcode-compiler/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@glimmer/owner/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@glimmer/program/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@glimmer/reference/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@glimmer/runtime/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@glimmer/tracking/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@glimmer/util/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@glimmer/validator/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@glimmer/vm/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@glimmer/wire-format/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/backburner.js/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/invoke-BjRgvK2V.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/canary-features/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/utils/lib/is_none.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/utils/lib/is-equal.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/template_registry-DigcUg9m.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/debug/data-adapter.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/array/proxy.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/object/proxy.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/object/promise-proxy-mixin.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/routing/lib/controller_for.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/destroyable/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/test/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/ember/barrel.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/ember/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/ember/version.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/route-recognizer/index.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/alias-Dri0koi2.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/array-3xbmc_4J.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/cache-BESCGvbE.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/cache-qDyqAcpg.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/chunk-3SQBS3Y5-Cj4eryg1.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/computed_cache-DmYKevAP.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/dictionary-gc5gpyOG.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/env-BJLX2Arx.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/index-BGP1rw3B.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/@ember/-internals/views/lib/compat/attrs.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/index-Cx6axmzR.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/is_proxy-DjvCKvd5.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/managers-CbMgnSoo.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/mandatory-setter-BiXq-dpN.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/name-Dx2bGFVv.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/namespace_search-btMaPM-_.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/property_set-BapAkp3X.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/registry-B8WARvkP.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/rsvp-DaQAFb0W.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/set_properties-BScfxzvI.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/setup-registry-CEsz7P_1.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/to-string-B1BmwUkt.js","webpack://todomvc/../rewritten-packages/ember-source.e4a00714/node_modules/ember-source/shared-chunks/unrecognized-url-error-zpz-JEoG.js","webpack://todomvc/../../.pnpm/@embroider+macros@1.16.7_@glint+template@1.4.0/node_modules/@embroider/macros/src/addon/es-compat2.js","webpack://todomvc/../../src/services/page-title.ts","webpack://todomvc/../../src/helpers/page-title.ts","webpack://todomvc/../../src/WeakRefInstance.ts","webpack://todomvc/../../src/FocusEvent.ts","webpack://todomvc/../../src/Keyborg.ts","webpack://todomvc/../src/Types.ts","webpack://todomvc/../src/Instance.ts","webpack://todomvc/../src/Events.ts","webpack://todomvc/../src/DOMAPI.ts","webpack://todomvc/../src/Utils.ts","webpack://todomvc/../src/Root.ts","webpack://todomvc/../src/AttributeHelpers.ts","webpack://todomvc/../src/Deloser.ts","webpack://todomvc/../src/State/Subscribable.ts","webpack://todomvc/../src/Focusable.ts","webpack://todomvc/../src/Keys.ts","webpack://todomvc/../src/State/FocusedElement.ts","webpack://todomvc/../src/State/KeyboardNavigation.ts","webpack://todomvc/../src/Mover.ts","webpack://todomvc/../src/Uncontrolled.ts","webpack://todomvc/../src/Shadowdomize/ShadowMutationObserver.ts","webpack://todomvc/../src/Shadowdomize/DOMFunctions.ts","webpack://todomvc/../src/Tabster.ts","webpack://todomvc/../src/MutationEvent.ts","webpack://todomvc/../../../src/services/ember-primitives/setup.ts","webpack://todomvc/../src/index.ts","webpack://todomvc/../../.pnpm/todomvc-common@1.0.5/node_modules/todomvc-common/base.js","webpack://todomvc/../../.pnpm/@babel+runtime@7.25.7/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js","webpack://todomvc/../../.pnpm/@babel+runtime@7.25.7/node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://todomvc/../../.pnpm/@babel+runtime@7.25.7/node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://todomvc/../../.pnpm/@babel+runtime@7.25.7/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack://todomvc/../../.pnpm/@babel+runtime@7.25.7/node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack://todomvc/../../.pnpm/@babel+runtime@7.25.7/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js"],"sourcesContent":["function resolveInitializer(modules, moduleName) {\n let module = modules.load(moduleName);\n if (!module) {\n throw new Error(moduleName + ' must export an initializer.');\n }\n let initializer = module.default;\n if (!initializer) {\n throw new Error(moduleName + ' must have a default export');\n }\n if (!initializer.name) {\n initializer.name = moduleName.slice(moduleName.lastIndexOf('/') + 1);\n }\n return initializer;\n}\nfunction registerInitializers(app, modules, moduleNames) {\n for (let moduleName of moduleNames) {\n app.initializer(resolveInitializer(modules, moduleName));\n }\n}\nfunction registerInstanceInitializers(app, modules, moduleNames) {\n for (let moduleName of moduleNames) {\n app.instanceInitializer(resolveInitializer(modules, moduleName));\n }\n}\n/**\n * Configure your application as it boots\n */\nexport default function loadInitializers(app, prefix, explicitModules) {\n var initializerPrefix = prefix + '/initializers/';\n var instanceInitializerPrefix = prefix + '/instance-initializers/';\n var initializers = [];\n var instanceInitializers = [];\n let modules;\n if (explicitModules) {\n modules = {\n names() {\n return Object.keys(explicitModules);\n },\n load(name) {\n return explicitModules[name];\n }\n };\n }\n else {\n modules = {\n names() {\n let requirejs = globalThis.requirejs;\n if (!requirejs || !requirejs._eak_seen) {\n throw new Error(\"No global AMD loader found. To use loadInitializers without a global AMD loader you must provide explicit modules\");\n }\n return Object.keys(requirejs._eak_seen);\n },\n load(name) {\n return globalThis.require(name, null, null, true);\n }\n };\n }\n for (let moduleName of modules.names()) {\n if (moduleName.startsWith(initializerPrefix) && !moduleName.endsWith('-test')) {\n initializers.push(moduleName);\n }\n else if (moduleName.startsWith(instanceInitializerPrefix) && !moduleName.endsWith('-test')) {\n instanceInitializers.push(moduleName);\n }\n }\n registerInitializers(app, modules, initializers);\n registerInstanceInitializers(app, modules, instanceInitializers);\n}\n","export default class Cache {\n constructor(limit, func, store) {\n this.limit = limit;\n this.func = func;\n this.store = store;\n this.size = 0;\n this.misses = 0;\n this.hits = 0;\n this.store = store || new Map();\n }\n get(key) {\n let value = this.store.get(key);\n if (this.store.has(key)) {\n this.hits++;\n return this.store.get(key);\n } else {\n this.misses++;\n value = this.set(key, this.func(key));\n }\n return value;\n }\n set(key, value) {\n if (this.limit > this.size) {\n this.size++;\n this.store.set(key, value);\n }\n return value;\n }\n purge() {\n this.store.clear();\n this.size = 0;\n this.hits = 0;\n this.misses = 0;\n }\n}\n","/* eslint-disable no-useless-escape */\nimport Cache from './cache';\nlet STRINGS = {};\nexport function setStrings(strings) {\n STRINGS = strings;\n}\nexport function getStrings() {\n return STRINGS;\n}\nexport function getString(name) {\n return STRINGS[name];\n}\nconst STRING_DASHERIZE_REGEXP = /[ _]/g;\nconst STRING_DASHERIZE_CACHE = new Cache(1000, (key) =>\n decamelize(key).replace(STRING_DASHERIZE_REGEXP, '-')\n);\nconst STRING_CLASSIFY_REGEXP_1 = /^(\\-|_)+(.)?/;\nconst STRING_CLASSIFY_REGEXP_2 = /(.)(\\-|\\_|\\.|\\s)+(.)?/g;\nconst STRING_CLASSIFY_REGEXP_3 = /(^|\\/|\\.)([a-z])/g;\nconst CLASSIFY_CACHE = new Cache(1000, (str) => {\n const replace1 = (_match, _separator, chr) =>\n chr ? `_${chr.toUpperCase()}` : '';\n const replace2 = (_match, initialChar, _separator, chr) =>\n initialChar + (chr ? chr.toUpperCase() : '');\n const parts = str.split('/');\n for (let i = 0; i < parts.length; i++) {\n parts[i] = parts[i]\n .replace(STRING_CLASSIFY_REGEXP_1, replace1)\n .replace(STRING_CLASSIFY_REGEXP_2, replace2);\n }\n return parts\n .join('/')\n .replace(STRING_CLASSIFY_REGEXP_3, (match /*, separator, chr */) =>\n match.toUpperCase()\n );\n});\nconst STRING_UNDERSCORE_REGEXP_1 = /([a-z\\d])([A-Z]+)/g;\nconst STRING_UNDERSCORE_REGEXP_2 = /\\-|\\s+/g;\nconst UNDERSCORE_CACHE = new Cache(1000, (str) =>\n str\n .replace(STRING_UNDERSCORE_REGEXP_1, '$1_$2')\n .replace(STRING_UNDERSCORE_REGEXP_2, '_')\n .toLowerCase()\n);\nconst STRING_DECAMELIZE_REGEXP = /([a-z\\d])([A-Z])/g;\nconst DECAMELIZE_CACHE = new Cache(1000, (str) =>\n str.replace(STRING_DECAMELIZE_REGEXP, '$1_$2').toLowerCase()\n);\n/**\n Converts a camelized string into all lower case separated by underscores.\n\n ```javascript\n import { decamelize } from '@ember/string';\n\n decamelize('innerHTML'); // 'inner_html'\n decamelize('action_name'); // 'action_name'\n decamelize('css-class-name'); // 'css-class-name'\n decamelize('my favorite items'); // 'my favorite items'\n ```\n\n @method decamelize\n @param {String} str The string to decamelize.\n @return {String} the decamelized string.\n @public\n*/\nexport function decamelize(str) {\n return DECAMELIZE_CACHE.get(str);\n}\n/**\n Replaces underscores, spaces, or camelCase with dashes.\n\n ```javascript\n import { dasherize } from '@ember/string';\n\n dasherize('innerHTML'); // 'inner-html'\n dasherize('action_name'); // 'action-name'\n dasherize('css-class-name'); // 'css-class-name'\n dasherize('my favorite items'); // 'my-favorite-items'\n dasherize('privateDocs/ownerInvoice'; // 'private-docs/owner-invoice'\n ```\n\n @method dasherize\n @param {String} str The string to dasherize.\n @return {String} the dasherized string.\n @public\n*/\nexport function dasherize(str) {\n return STRING_DASHERIZE_CACHE.get(str);\n}\n/**\n Returns the UpperCamelCase form of a string.\n\n ```javascript\n import { classify } from '@ember/string';\n\n classify('innerHTML'); // 'InnerHTML'\n classify('action_name'); // 'ActionName'\n classify('css-class-name'); // 'CssClassName'\n classify('my favorite items'); // 'MyFavoriteItems'\n classify('private-docs/owner-invoice'); // 'PrivateDocs/OwnerInvoice'\n ```\n\n @method classify\n @param {String} str the string to classify\n @return {String} the classified string\n @public\n*/\nexport function classify(str) {\n return CLASSIFY_CACHE.get(str);\n}\n/**\n More general than decamelize. Returns the lower\\_case\\_and\\_underscored\n form of a string.\n\n ```javascript\n import { underscore } from '@ember/string';\n\n underscore('innerHTML'); // 'inner_html'\n underscore('action_name'); // 'action_name'\n underscore('css-class-name'); // 'css_class_name'\n underscore('my favorite items'); // 'my_favorite_items'\n underscore('privateDocs/ownerInvoice'); // 'private_docs/owner_invoice'\n ```\n\n @method underscore\n @param {String} str The string to underscore.\n @return {String} the underscored string.\n @public\n*/\nexport function underscore(str) {\n return UNDERSCORE_CACHE.get(str);\n}\n","import { dasherize, classify, underscore } from './string';\nimport classFactory from './utils/class-factory';\n\nexport class ModuleRegistry {\n constructor(entries) {\n this._entries = entries || globalThis.requirejs.entries;\n }\n moduleNames() {\n return Object.keys(this._entries);\n }\n has(moduleName) {\n return moduleName in this._entries;\n }\n get(...args) {\n return globalThis.require(...args);\n }\n}\n\n/**\n * This module defines a subclass of Ember.DefaultResolver that adds two\n * important features:\n *\n * 1) The resolver makes the container aware of es6 modules via the AMD\n * output. The loader's _moduleEntries is consulted so that classes can be\n * resolved directly via the module loader, without needing a manual\n * `import`.\n * 2) is able to provide injections to classes that implement `extend`\n * (as is typical with Ember).\n */\nexport default class Resolver {\n static moduleBasedResolver = true;\n moduleBasedResolver = true;\n\n _deprecatedPodModulePrefix = false;\n _normalizeCache = Object.create(null);\n\n static create(props) {\n return new this(props);\n }\n\n /**\n A listing of functions to test for moduleName's based on the provided\n `parsedName`. This allows easy customization of additional module based\n lookup patterns.\n\n @property moduleNameLookupPatterns\n @returns {Ember.Array}\n */\n moduleNameLookupPatterns = [\n this.podBasedModuleName,\n this.podBasedComponentsInSubdir,\n this.mainModuleName,\n this.defaultModuleName,\n this.nestedColocationComponentModuleName,\n ];\n\n static withModules(explicitModules) {\n return class extends this {\n static explicitModules = explicitModules;\n };\n }\n\n constructor(props) {\n Object.assign(this, props);\n if (!this._moduleRegistry) {\n const explicitModules = this.constructor.explicitModules;\n if (explicitModules) {\n this._moduleRegistry = {\n moduleNames() {\n return Object.keys(explicitModules);\n },\n has(name) {\n return Boolean(explicitModules[name]);\n },\n get(name) {\n return explicitModules[name];\n },\n };\n } else {\n if (typeof globalThis.requirejs.entries === 'undefined') {\n globalThis.requirejs.entries = globalThis.requirejs._eak_seen;\n }\n this._moduleRegistry = new ModuleRegistry();\n }\n }\n\n this.pluralizedTypes = this.pluralizedTypes || Object.create(null);\n\n if (!this.pluralizedTypes.config) {\n this.pluralizedTypes.config = 'config';\n }\n }\n\n makeToString(factory, fullName) {\n return '' + this.namespace.modulePrefix + '@' + fullName + ':';\n }\n\n shouldWrapInClassFactory(/* module, parsedName */) {\n return false;\n }\n\n parseName(fullName) {\n if (fullName.parsedName === true) {\n return fullName;\n }\n\n let prefix, type, name;\n let fullNameParts = fullName.split('@');\n\n if (fullNameParts.length === 3) {\n if (fullNameParts[0].length === 0) {\n // leading scoped namespace: `@scope/pkg@type:name`\n prefix = `@${fullNameParts[1]}`;\n let prefixParts = fullNameParts[2].split(':');\n type = prefixParts[0];\n name = prefixParts[1];\n } else {\n // interweaved scoped namespace: `type:@scope/pkg@name`\n prefix = `@${fullNameParts[1]}`;\n type = fullNameParts[0].slice(0, -1);\n name = fullNameParts[2];\n }\n\n if (type === 'template:components') {\n name = `components/${name}`;\n type = 'template';\n }\n } else if (fullNameParts.length === 2) {\n let prefixParts = fullNameParts[0].split(':');\n\n if (prefixParts.length === 2) {\n if (prefixParts[1].length === 0) {\n type = prefixParts[0];\n name = `@${fullNameParts[1]}`;\n } else {\n prefix = prefixParts[1];\n type = prefixParts[0];\n name = fullNameParts[1];\n }\n } else {\n let nameParts = fullNameParts[1].split(':');\n\n prefix = fullNameParts[0];\n type = nameParts[0];\n name = nameParts[1];\n }\n\n if (type === 'template' && prefix.lastIndexOf('components/', 0) === 0) {\n name = `components/${name}`;\n prefix = prefix.slice(11);\n }\n } else {\n fullNameParts = fullName.split(':');\n type = fullNameParts[0];\n name = fullNameParts[1];\n }\n\n let fullNameWithoutType = name;\n let namespace = this.namespace;\n let root = namespace;\n\n return {\n parsedName: true,\n fullName: fullName,\n prefix: prefix || this.prefix({ type: type }),\n type: type,\n fullNameWithoutType: fullNameWithoutType,\n name: name,\n root: root,\n resolveMethodName: 'resolve' + classify(type),\n };\n }\n\n resolveOther(parsedName) {\n assert('`modulePrefix` must be defined', this.namespace.modulePrefix);\n\n let normalizedModuleName = this.findModuleName(parsedName);\n\n if (normalizedModuleName) {\n let defaultExport = this._extractDefaultExport(\n normalizedModuleName,\n parsedName\n );\n\n if (defaultExport === undefined) {\n throw new Error(\n ` Expected to find: '${parsedName.fullName}' within '${normalizedModuleName}' but got 'undefined'. Did you forget to 'export default' within '${normalizedModuleName}'?`\n );\n }\n\n if (this.shouldWrapInClassFactory(defaultExport, parsedName)) {\n defaultExport = classFactory(defaultExport);\n }\n\n return defaultExport;\n }\n }\n\n normalize(fullName) {\n return (\n this._normalizeCache[fullName] ||\n (this._normalizeCache[fullName] = this._normalize(fullName))\n );\n }\n\n resolve(fullName) {\n let parsedName = this.parseName(fullName);\n let resolveMethodName = parsedName.resolveMethodName;\n let resolved;\n\n if (typeof this[resolveMethodName] === 'function') {\n resolved = this[resolveMethodName](parsedName);\n }\n\n if (resolved == null) {\n resolved = this.resolveOther(parsedName);\n }\n\n return resolved;\n }\n\n _normalize(fullName) {\n // A) Convert underscores to dashes\n // B) Convert camelCase to dash-case, except for components (their\n // templates) and helpers where we want to avoid shadowing camelCase\n // expressions\n // C) replace `.` with `/` in order to make nested controllers work in the following cases\n // 1. `needs: ['posts/post']`\n // 2. `{{render \"posts/post\"}}`\n // 3. `this.render('posts/post')` from Route\n\n let split = fullName.split(':');\n if (split.length > 1) {\n let type = split[0];\n\n if (\n type === 'component' ||\n type === 'helper' ||\n type === 'modifier' ||\n (type === 'template' && split[1].indexOf('components/') === 0)\n ) {\n return type + ':' + split[1].replace(/_/g, '-');\n } else {\n return type + ':' + dasherize(split[1].replace(/\\./g, '/'));\n }\n } else {\n return fullName;\n }\n }\n\n pluralize(type) {\n return (\n this.pluralizedTypes[type] || (this.pluralizedTypes[type] = type + 's')\n );\n }\n\n podBasedLookupWithPrefix(podPrefix, parsedName) {\n let fullNameWithoutType = parsedName.fullNameWithoutType;\n\n if (parsedName.type === 'template') {\n fullNameWithoutType = fullNameWithoutType.replace(/^components\\//, '');\n }\n\n return podPrefix + '/' + fullNameWithoutType + '/' + parsedName.type;\n }\n\n podBasedModuleName(parsedName) {\n let podPrefix =\n this.namespace.podModulePrefix || this.namespace.modulePrefix;\n\n return this.podBasedLookupWithPrefix(podPrefix, parsedName);\n }\n\n podBasedComponentsInSubdir(parsedName) {\n let podPrefix =\n this.namespace.podModulePrefix || this.namespace.modulePrefix;\n podPrefix = podPrefix + '/components';\n\n if (\n parsedName.type === 'component' ||\n /^components/.test(parsedName.fullNameWithoutType)\n ) {\n return this.podBasedLookupWithPrefix(podPrefix, parsedName);\n }\n }\n\n resolveEngine(parsedName) {\n let engineName = parsedName.fullNameWithoutType;\n let engineModule = engineName + '/engine';\n\n if (this._moduleRegistry.has(engineModule)) {\n return this._extractDefaultExport(engineModule);\n }\n }\n\n resolveRouteMap(parsedName) {\n let engineName = parsedName.fullNameWithoutType;\n let engineRoutesModule = engineName + '/routes';\n\n if (this._moduleRegistry.has(engineRoutesModule)) {\n let routeMap = this._extractDefaultExport(engineRoutesModule);\n\n assert(\n `The route map for ${engineName} should be wrapped by 'buildRoutes' before exporting.`,\n routeMap.isRouteMap\n );\n\n return routeMap;\n }\n }\n\n resolveTemplate(parsedName) {\n return this.resolveOther(parsedName);\n }\n\n mainModuleName(parsedName) {\n if (parsedName.fullNameWithoutType === 'main') {\n // if router:main or adapter:main look for a module with just the type first\n return parsedName.prefix + '/' + parsedName.type;\n }\n }\n\n defaultModuleName(parsedName) {\n return (\n parsedName.prefix +\n '/' +\n this.pluralize(parsedName.type) +\n '/' +\n parsedName.fullNameWithoutType\n );\n }\n\n nestedColocationComponentModuleName(parsedName) {\n if (parsedName.type === 'component') {\n return (\n parsedName.prefix +\n '/' +\n this.pluralize(parsedName.type) +\n '/' +\n parsedName.fullNameWithoutType +\n '/index'\n );\n }\n }\n\n prefix(parsedName) {\n let tmpPrefix = this.namespace.modulePrefix;\n\n if (this.namespace[parsedName.type + 'Prefix']) {\n tmpPrefix = this.namespace[parsedName.type + 'Prefix'];\n }\n\n return tmpPrefix;\n }\n\n findModuleName(parsedName) {\n let moduleNameLookupPatterns = this.moduleNameLookupPatterns;\n let moduleName;\n\n for (\n let index = 0, length = moduleNameLookupPatterns.length;\n index < length;\n index++\n ) {\n let item = moduleNameLookupPatterns[index];\n\n let tmpModuleName = item.call(this, parsedName);\n\n // allow treat all dashed and all underscored as the same thing\n // supports components with dashes and other stuff with underscores.\n if (tmpModuleName) {\n tmpModuleName = this.chooseModuleName(tmpModuleName);\n }\n\n if (tmpModuleName && this._moduleRegistry.has(tmpModuleName)) {\n moduleName = tmpModuleName;\n }\n\n if (moduleName) {\n return moduleName;\n }\n }\n }\n\n chooseModuleName(moduleName) {\n let underscoredModuleName = underscore(moduleName);\n\n if (\n moduleName !== underscoredModuleName &&\n this._moduleRegistry.has(moduleName) &&\n this._moduleRegistry.has(underscoredModuleName)\n ) {\n throw new TypeError(\n `Ambiguous module names: '${moduleName}' and '${underscoredModuleName}'`\n );\n }\n\n if (this._moduleRegistry.has(moduleName)) {\n return moduleName;\n } else if (this._moduleRegistry.has(underscoredModuleName)) {\n return underscoredModuleName;\n }\n }\n\n knownForType(type) {\n let moduleKeys = this._moduleRegistry.moduleNames();\n\n let items = Object.create(null);\n for (let index = 0, length = moduleKeys.length; index < length; index++) {\n let moduleName = moduleKeys[index];\n let fullname = this.translateToContainerFullname(type, moduleName);\n\n if (fullname) {\n items[fullname] = true;\n }\n }\n\n return items;\n }\n\n translateToContainerFullname(type, moduleName) {\n let prefix = this.prefix({ type });\n\n // Note: using string manipulation here rather than regexes for better performance.\n // pod modules\n // '^' + prefix + '/(.+)/' + type + '$'\n let podPrefix = prefix + '/';\n let podSuffix = '/' + type;\n let start = moduleName.indexOf(podPrefix);\n let end = moduleName.indexOf(podSuffix);\n\n if (\n start === 0 &&\n end === moduleName.length - podSuffix.length &&\n moduleName.length > podPrefix.length + podSuffix.length\n ) {\n return type + ':' + moduleName.slice(start + podPrefix.length, end);\n }\n\n // non-pod modules\n // '^' + prefix + '/' + pluralizedType + '/(.+)$'\n let pluralizedType = this.pluralize(type);\n let nonPodPrefix = prefix + '/' + pluralizedType + '/';\n\n if (\n moduleName.indexOf(nonPodPrefix) === 0 &&\n moduleName.length > nonPodPrefix.length\n ) {\n return type + ':' + moduleName.slice(nonPodPrefix.length);\n }\n }\n\n _extractDefaultExport(normalizedModuleName) {\n let module = this._moduleRegistry.get(\n normalizedModuleName,\n null,\n null,\n true /* force sync */\n );\n\n if (module && module['default']) {\n module = module['default'];\n }\n\n return module;\n }\n}\n\nfunction assert(message, check) {\n if (!check) {\n throw new Error(message);\n }\n}\n","export default function classFactory(klass) {\n return {\n create(injections) {\n if (typeof klass.extend === 'function') {\n return klass.extend(injections);\n } else {\n return klass;\n }\n },\n };\n}\n","/**\n * This file is used to boot the application.\n *\n * We can also use it to import / setup other \"initializing\"\n * things that wouldn't depend on user state.\n */\nimport 'todomvc-common/base.css';\nimport 'todomvc-common/base.js';\nimport 'todomvc-app-css/index.css';\n\nimport Application from '@ember/application';\n\nimport loadInitializers from 'ember-load-initializers';\nimport Resolver from 'ember-resolver';\nimport config from 'todomvc/config/environment';\n\nexport default class App extends Application {\n\tmodulePrefix = config.modulePrefix;\n\tpodModulePrefix = config.podModulePrefix;\n\tResolver = Resolver;\n}\n\nloadInitializers(App, config.modulePrefix);\n","\nimport { importSync as i, macroCondition, getGlobalConfig } from '@embroider/macros';\nlet w = window;\nlet d = w.define;\n\n\ni(\"./-embroider-implicit-modules.js\");\n\nd(\"todomvc/app\", function(){ return i(\"todomvc/app.js\");});\nd(\"todomvc/config/environment\", function(){ return i(\"todomvc/config/environment.js\");});\nd(\"todomvc/router\", function(){ return i(\"todomvc/router.js\");});\nd(\"todomvc/services/repo\", function(){ return i(\"todomvc/services/repo.js\");});\nd(\"todomvc/services/ember-primitives/setup\", function(){ return i(\"todomvc/services/ember-primitives/setup.js\");});\nd(\"todomvc/services/page-title\", function(){ return i(\"todomvc/services/page-title.js\");});\nd(\"todomvc/component-managers/glimmer\", function(){ return i(\"todomvc/component-managers/glimmer.js\");});\nd(\"todomvc/services/-ensure-registered\", function(){ return i(\"todomvc/services/-ensure-registered.js\");});\nd(\"todomvc/templates/active\", function(){ return i(\"todomvc/templates/active.js\");});\nd(\"todomvc/routes/active\", function(){ return i(\"todomvc/routes/active.js\");});\nd(\"todomvc/templates/application\", function(){ return i(\"todomvc/templates/application.js\");});\nd(\"todomvc/routes/application\", function(){ return i(\"todomvc/routes/application.js\");});\nd(\"todomvc/templates/completed\", function(){ return i(\"todomvc/templates/completed.js\");});\nd(\"todomvc/routes/completed\", function(){ return i(\"todomvc/routes/completed.js\");});\nd(\"todomvc/templates/index\", function(){ return i(\"todomvc/templates/index.js\");});\nd(\"todomvc/routes/index\", function(){ return i(\"todomvc/routes/index.js\");});\n\n\n\n\n\nif (!runningTests) {\n i(\"../app\").default.create({});\n}\n\n","import { g as get } from '../../../shared-chunks/cache-BESCGvbE.js';\nexport { X as ASYNC_OBSERVERS, J as ComputedDescriptor, C as ComputedProperty, D as DEBUG_INJECTION_FUNCTIONS, W as Libraries, Q as PROPERTY_DID_CHANGE, P as PROXY_CONTENT, Y as SYNC_OBSERVERS, $ as TrackedDescriptor, _ as _getPath, V as _getProp, j as activateObserver, G as addListener, v as addObserver, R as autoComputed, m as beginPropertyChanges, T as changeProperties, c as computed, z as defineDecorator, d as defineProperty, y as defineValue, E as descriptorForDecorator, b as descriptorForProperty, l as endPropertyChanges, e as expandProperties, I as flushAsyncObservers, x as hasListeners, h as hasUnknownProperty, p as inject, f as isClassicDecorator, U as isComputed, i as isElementDescriptor, O as libraries, F as makeComputedDecorator, Z as markObjectAsDirty, B as nativeDescDecorator, n as notifyPropertyChange, o as objectAt, N as on, H as removeListener, w as removeObserver, A as revalidateObservers, k as sendEvent, s as setClassicDecorator, t as tagForObject, a as tagForProperty, S as tracked } from '../../../shared-chunks/cache-BESCGvbE.js';\nexport { g as getCachedValueFor } from '../../../shared-chunks/computed_cache-DmYKevAP.js';\nexport { a as alias } from '../../../shared-chunks/alias-Dri0koi2.js';\nimport { deprecate } from '../../debug/index.js';\nimport { s as set } from '../../../shared-chunks/property_set-BapAkp3X.js';\nexport { _ as _setProp, t as trySet } from '../../../shared-chunks/property_set-BapAkp3X.js';\nimport { isDevelopingApp } from '@embroider/macros';\nexport { d as addArrayObserver, c as arrayContentDidChange, b as arrayContentWillChange, e as removeArrayObserver, a as replace, r as replaceInNativeArray } from '../../../shared-chunks/array-3xbmc_4J.js';\nexport { g as getProperties, s as setProperties } from '../../../shared-chunks/set_properties-BScfxzvI.js';\nexport { cached } from '../../../@glimmer/tracking/index.js';\nexport { createCache, getValue, isConst } from '../../../@glimmer/validator/index.js';\nexport { N as NAMESPACES, a as NAMESPACES_BY_ID, b as addNamespace, f as findNamespace, c as findNamespaces, i as isNamespaceSearchDisabled, p as processAllNamespaces, d as processNamespace, r as removeNamespace, e as setNamespaceSearchDisabled, s as setUnprocessedMixins } from '../../../shared-chunks/namespace_search-btMaPM-_.js';\n\n/**\n@module ember\n*/\n\nfunction deprecateProperty(object, deprecatedKey, newKey, options) {\n function _deprecate() {\n (isDevelopingApp() && !(false) && deprecate(`Usage of \\`${deprecatedKey}\\` is deprecated, use \\`${newKey}\\` instead.`, false, options));\n }\n Object.defineProperty(object, deprecatedKey, {\n configurable: true,\n enumerable: false,\n set(value) {\n _deprecate();\n set(this, newKey, value);\n },\n get() {\n _deprecate();\n return get(this, newKey);\n }\n });\n}\n\nconst EACH_PROXIES = new WeakMap();\nfunction eachProxyArrayWillChange(array, idx, removedCnt, addedCnt) {\n let eachProxy = EACH_PROXIES.get(array);\n if (eachProxy !== undefined) {\n eachProxy.arrayWillChange(array, idx, removedCnt, addedCnt);\n }\n}\nfunction eachProxyArrayDidChange(array, idx, removedCnt, addedCnt) {\n let eachProxy = EACH_PROXIES.get(array);\n if (eachProxy !== undefined) {\n eachProxy.arrayDidChange(array, idx, removedCnt, addedCnt);\n }\n}\n\nexport { deprecateProperty, eachProxyArrayDidChange, eachProxyArrayWillChange, get, set };\n","import * as metal from \"@ember/-internals/metal\";\n const { cached, tracked } = metal;\n export { cached, tracked };","import { template } from \"@ember/template-compiler\";\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { on } from '@ember/modifier';\nimport { service } from '@ember/service';\nimport { isBlank } from '@ember/utils';\nexport default class TodoItem extends Component {\n static{\n template(`\n\t\t
  • \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t\n\t\t
  • \n\t`, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n @service\n repo;\n @tracked\n editing;\n removeTodo = ()=>this.repo.delete(this.args.todo);\n toggleCompleted = (event1)=>{\n this.args.todo.completed = event1.target.checked;\n this.repo.persist();\n };\n handleKeydown = (event1)=>{\n if (event1.keyCode === 13) {\n event1.target.blur();\n } else if (event1.keyCode === 27) {\n this.editing = false;\n }\n };\n startEditing = (event1)=>{\n this.args.onStartEdit();\n this.editing = true;\n event1.target.closest('li')?.querySelector('input.edit').focus();\n };\n doneEditing = (event1)=>{\n if (!this.editing) {\n return;\n }\n let todoTitle1 = event1.target.value.trim();\n if (isBlank(todoTitle1)) {\n this.removeTodo();\n } else {\n this.args.todo.title = todoTitle1;\n this.editing = false;\n this.args.onEndEdit();\n }\n };\n}\n","import { template } from \"@ember/template-compiler\";\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { on } from '@ember/modifier';\nimport { service } from '@ember/service';\nimport Item from './todo-item';\nexport default class TodoList extends Component {\n static{\n template(`\n\t\t
    \n\t\t\t{{#if @todos.length}}\n\t\t\t\t{{#if this.canToggle}}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t{{/if}}\n\t\t\t\t
      \n\t\t\t\t\t{{#each @todos as |todo|}}\n\t\t\t\t\t\t\n\t\t\t\t\t{{/each}}\n\t\t\t\t
    \n\t\t\t{{/if}}\n\t\t
    \n\t`, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n @service\n repo;\n @tracked\n canToggle = true;\n get areViewableCompleted() {\n return this.args.todos.filter((todo1)=>todo1.completed).length === this.args.todos.length;\n }\n toggleAll = ()=>{\n let allCompleted1 = this.areViewableCompleted;\n this.args.todos.forEach((todo1)=>(todo1.completed = !allCompleted1));\n this.repo.persist();\n };\n enableToggle = ()=>(this.canToggle = true);\n disableToggle = ()=>(this.canToggle = false);\n}\n","\n export default (function() {\n var prefix = 'todomvc';\ntry {\n var metaName = prefix + '/config/environment';\n var rawConfig = document.querySelector('meta[name=\"' + metaName + '\"]').getAttribute('content');\n var config = JSON.parse(decodeURIComponent(rawConfig));\n\n var exports = { 'default': config };\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n return exports;\n}\ncatch(err) {\n throw new Error('Could not read config from meta tag with name \"' + metaName + '\".');\n}\n\n })().default;\n ","import EmberRouter from '@ember/routing/router';\n\nimport config from 'todomvc/config/environment';\n\nexport default class Router extends EmberRouter {\n\tlocation = config.locationType;\n\trootURL = config.rootURL;\n}\n\nRouter.map(function () {\n\tthis.route('active');\n\tthis.route('completed');\n});\n","import Route from '@ember/routing/route';\nimport { service } from '@ember/service';\n\nexport default class ActiveTodos extends Route {\n\t@service repo;\n\n\t/**\n\t * This should probably be renamed to \"data\"\n\t * its under active development.\n\t *\n\t * In a real app you'd use this to load your\n\t * _minimally required_ data to show the page.\n\t */\n\tmodel() {\n\t\tlet repo = this.repo;\n\n\t\t/**\n\t\t * We use a getter so that we make evaluation\n\t\t * lazy, rather than evaluate (and detach from auto-tracking)\n\t\t * in this function\n\t\t */\n\t\treturn {\n\t\t\tget todos() {\n\t\t\t\treturn repo.active;\n\t\t\t},\n\t\t};\n\t}\n}\n","import Route from '@ember/routing/route';\nimport { service } from '@ember/service';\n\n/**\n * Handles app boot and general app one-time setup things.\n */\nexport default class Application extends Route {\n\t@service repo;\n\n\tbeforeModel() {\n\t\t/**\n\t\t * Load from localStorage\n\t\t */\n\t\tthis.repo.load();\n\t}\n}\n","import Route from '@ember/routing/route';\nimport { service } from '@ember/service';\n\nexport default class CompletedTodos extends Route {\n\t@service repo;\n\n\t/**\n\t * This should probably be renamed to \"data\"\n\t * its under active development.\n\t *\n\t * In a real app you'd use this to load your\n\t * _minimally required_ data to show the page.\n\t */\n\tmodel() {\n\t\tlet repo = this.repo;\n\n\t\t/**\n\t\t * We use a getter so that we make evaluation\n\t\t * lazy, rather than evaluate (and detach from auto-tracking)\n\t\t * in this function\n\t\t */\n\t\treturn {\n\t\t\tget todos() {\n\t\t\t\treturn repo.completed;\n\t\t\t},\n\t\t};\n\t}\n}\n","import Route from '@ember/routing/route';\nimport { service } from '@ember/service';\n\nexport default class AllTodos extends Route {\n\t@service repo;\n\n\t/**\n\t * This should probably be renamed to \"data\"\n\t * its under active development.\n\t *\n\t * In a real app you'd use this to load your\n\t * _minimally required_ data to show the page.\n\t */\n\tmodel() {\n\t\tlet repo = this.repo;\n\n\t\t/**\n\t\t * We use a getter so that we make evaluation\n\t\t * lazy, rather than evaluate (and detach from auto-tracking)\n\t\t * in this function\n\t\t */\n\t\treturn {\n\t\t\tget todos() {\n\t\t\t\treturn repo.all;\n\t\t\t},\n\t\t};\n\t}\n}\n","import { helperCapabilities, setHelperManager as setHelperManager$1 } from '../../@glimmer/manager/index.js';\nimport { invokeHelper as invokeHelper$1, hash as hash$1, array as array$1, concat as concat$1, get as get$1, fn as fn$1 } from '../../@glimmer/runtime/index.js';\nimport '../../@glimmer/opcode-compiler/index.js';\nimport { u as uniqueId$1 } from '../../shared-chunks/index-Cx6axmzR.js';\nimport '../../shared-chunks/registry-B8WARvkP.js';\nimport '../debug/index.js';\nimport '../runloop/index.js';\nimport '../../@glimmer/reference/index.js';\nimport '../../@glimmer/validator/index.js';\nimport '@embroider/macros';\n\n/**\n@module @ember/helper\n*/\n\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*/\nconst capabilities = helperCapabilities;\n\n/**\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 {\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*/\nconst setHelperManager = setHelperManager$1;\n\n/**\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*/\nconst invokeHelper = invokeHelper$1;\n\n// 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\n/**\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 * \n * ```\n *\n * **NOTE:** this example uses the experimental `