lint-to-the-future
Version:
A modern way to progressively update your code to the best practices
1 lines • 466 kB
JavaScript
var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:"Module"}),r};!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();var n=Symbol("OWNER");function r(e){return e[n]}function i(e){return r(e)}function s(e,t){!function(e,t){e[n]=t}(e,t)}var o=t({getOwner:()=>a,setOwner:()=>s}),a=i,l="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,u=l?self:null,c=l?self.location:null,h=l?self.history:null,d=l?self.navigator.userAgent:"Lynx (textmode)",p=!(!l||"object"!=typeof chrome||"object"==typeof opera),f=!!l&&/Firefox|FxiOS/.test(d),m=Object.freeze(Object.defineProperty({__proto__:null,hasDOM:l,history:h,isChrome:p,isFirefox:f,location:c,userAgent:d,window:u},Symbol.toStringTag,{value:"Module"}));function g(e){return e&&e.Object===Object?e:void 0}var y,v=g((y="object"==typeof global&&global)&&void 0===y.nodeType?y:void 0)||g("object"==typeof self&&self)||g("object"==typeof window&&window)||"undefined"!=typeof mainContext&&mainContext||new Function("return this")(),b=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}}(v,v.Ember);function _(){return b.lookup}function w(e){b.lookup=e}var k={ENABLE_OPTIONAL_FEATURES:!1,EXTEND_PROTOTYPES:{Array:!1},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,_RERENDER_LOOP_LIMIT:1e3,EMBER_LOAD_HOOKS:{},FEATURES:{}};function x(){return k}(e=>{if("object"!=typeof e||null===e)return;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||"EXTEND_PROTOTYPES"===r||"EMBER_LOAD_HOOKS"===r)continue;let t=k[r];k[r]=!0===t?!1!==e[r]:!1===t?!0===e[r]:e[r]}let{EMBER_LOAD_HOOKS:t}=e;if("object"==typeof t&&null!==t)for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;let e=t[r];Array.isArray(e)&&(k.EMBER_LOAD_HOOKS[r]=e.filter((e=>"function"==typeof e)))}let{FEATURES:n}=e;if("object"==typeof n&&null!==n)for(let r in n)Object.prototype.hasOwnProperty.call(n,r)&&(k.FEATURES[r]=!0===n[r])})(v.EmberENV);var T=()=>{},O=()=>{},E=!1;function S(){return E}function C(e){E=Boolean(e)}var R=()=>{},{toString:A}=Object.prototype,{toString:N}=Function.prototype,{isArray:M}=Array,{keys:I}=Object,{stringify:D}=JSON,P=100,L=/^[\w$]+$/;function j(e){return"number"==typeof e&&2===arguments.length?this:z(e,0)}function z(e,t,n){let r=!1;switch(typeof e){case"undefined":return"undefined";case"object":if(null===e)return"null";if(M(e)){r=!0;break}if(e.toString===A||void 0===e.toString)break;return e.toString();case"function":return e.toString===N?e.name?`[Function:${e.name}]`:"[Function]":e.toString();case"string":return D(e);default:return e.toString()}if(void 0===n)n=new WeakSet;else if(n.has(e))return"[Circular]";return n.add(e),r?function(e,t,n){if(t>4)return"[Array]";let r="[";for(let i=0;i<e.length;i++){if(r+=0===i?" ":", ",i>=P){r+=`... ${e.length-P} more items`;break}r+=z(e[i],t,n)}return r+=" ]",r}(e,t+1,n):function(e,t,n){if(t>4)return"[Object]";let r="{",i=I(e);for(let s=0;s<i.length;s++){if(r+=0===s?" ":", ",s>=P){r+=`... ${i.length-P} more keys`;break}let o=i[s];r+=`${F(String(o))}: ${z(e[o],t,n)}`}return r+=" }",r}(e,t+1,n)}function F(e){return L.test(e)?e:D(e)}function U(e){let t=e.lookup("renderer:-dom");if(!t)throw new Error("BUG: owner is missing renderer");return t.debugRenderTree.capture()}var B=t({_warnIfUsingStrippedFeatureFlags:()=>{},assert:()=>T,captureRenderTree:()=>U,debug:()=>H,debugFreeze:()=>Y,debugSeal:()=>W,deprecate:()=>J,deprecateFunc:()=>K,getDebugFunction:()=>Z,info:()=>V,inspect:()=>j,isTesting:()=>S,registerDeprecationHandler:()=>O,registerWarnHandler:()=>R,runInDebug:()=>Q,setDebugFunction:()=>G,setTesting:()=>C,warn:()=>q}),$=()=>{},V=$,q=$,H=$,W=$,Y=$,Q=$,G=$,Z=$,K=function(){return arguments[arguments.length-1]};function J(){}function X(e){let t=Object.create(null);t[e]=1;for(let n in t)if(n===e)return n;return e}function ee(e){return null!==e&&("object"==typeof e||"function"==typeof e)}var te=0;function ne(){return++te}var re="ember",ie=new WeakMap,se=new Map,oe=X(`__ember${Date.now()}`);function ae(e,t=re){let n=t+ne().toString();return ee(e)&&ie.set(e,n),n}function le(e){let t;if(ee(e))t=ie.get(e),void 0===t&&(t=`${re}${ne()}`,ie.set(e,t));else if(t=se.get(e),void 0===t){let n=typeof e;t="string"===n?`st${ne()}`:"number"===n?`nu${ne()}`:"symbol"===n?`sy${ne()}`:`(${e})`,se.set(e,t)}return t}var ue=void 0,ce=/\.(_super|call\(this|apply\(this)/,he=Function.prototype.toString,de=he.call((function(){return this})).indexOf("return this")>-1?function(e){return ce.test(he.call(e))}:function(){return!0},pe=new WeakMap,fe=Object.freeze((function(){}));function me(e){let t=pe.get(e);return void 0===t&&(t=de(e),pe.set(e,t)),t}pe.set(fe,!1);var ge=class{listeners=void 0;observers=void 0},ye=new WeakMap;function ve(e){let t=ye.get(e);return void 0===t&&(t=new ge,ye.set(e,t)),t}function be(e){return ye.get(e)}function _e(e,t){ve(e).observers=t}function we(e,t){ve(e).listeners=t}var ke,xe,Te,Oe=new WeakSet;function Ee(e,t){return me(e)?!Oe.has(t)&&me(t)?Se(e,Se(t,fe)):Se(e,t):e}function Se(e,t){function n(){let n=this._super;this._super=t;let r=e.apply(this,arguments);return this._super=n,r}Oe.add(n);let r=ye.get(e);return void 0!==r&&ye.set(n,r),n}function Ce(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}function Re(e){let t=Object.create(e);return t._dict=null,delete t._dict,t}var Ae={get onerror(){}},Ne=[];function Me(e){return-1!==Ne.indexOf(e)}function Ie(e){return X(`__${e}${oe+Math.floor(Math.random()*Date.now()).toString()}__`)}var De=Symbol,Pe=Object.prototype.toString;function Le(e){return null==e}function je(e){if("string"==typeof e)return e;if(null===e)return"null";if(void 0===e)return"undefined";if(Array.isArray(e)){let t="";for(let n=0;n<e.length;n++)n>0&&(t+=","),Le(e[n])||(t+=je(e[n]));return t}return"function"==typeof e.toString?e.toString():Pe.call(e)}var ze,Fe,Ue,Be,$e,Ve,qe,He,We=()=>{},Ye=new WeakMap;function Qe(e,t){return null===e?t:Array.isArray(e)?(e.push(t),e):[e,t]}function Ge(e,t){Array.isArray(e)?e.forEach(t):null!==e&&t(e)}function Ze(e,t){if(Array.isArray(e)&&e.length>1){let n=e.indexOf(t);return e.splice(n,1),e}return null}function Ke(e){let t=Ye.get(e);return void 0===t&&(t={parents:null,children:null,eagerDestructors:null,destructors:null,state:0},Ye.set(e,t)),t}function Je(e,t){let n=Ke(e),r=Ke(t);return n.children=Qe(n.children,t),r.parents=Qe(r.parents,e),t}function Xe(e,t,n=!1){let r=Ke(e),i=n?"eagerDestructors":"destructors";return r[i]=Qe(r[i],t),t}function et(e){let t=Ke(e);if(t.state>=1)return;let{parents:n,children:r,eagerDestructors:i,destructors:s}=t;t.state=1,Ge(r,et),Ge(i,(t=>{t(e)})),Ge(s,(t=>{ze(e,t)})),Fe((()=>{Ge(n,(t=>{!function(e,t){let n=Ke(t);0===n.state&&(n.children=Ze(n.children,e))}(e,t)})),t.state=2}))}function tt(e){let t=Ye.get(e);return void 0!==t&&null!==t.children}function nt(e){let t=Ye.get(e);return void 0!==t&&t.state>=1}function rt(e){let t=Ye.get(e);return void 0!==t&&t.state>=2}var it,st=Object.prototype,ot=De("undefined"),at=function(e){return e[e.ADD=0]="ADD",e[e.ONCE=1]="ONCE",e[e.REMOVE=2]="REMOVE",e}(at||{}),lt=1,ut=class{_descriptors;_mixins;_isInit;_lazyChains;_values;_revisions;source;proto;_parent;_listeners;_listenersVersion=1;_inheritedEnd=-1;_flattenedVersion=0;constructor(e){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=ct(this.source);this._parent=e=null===t||t===st?null:ft(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===ot?void 0:t}removeDescriptors(e){this.writeDescriptors(e,ot)}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!==ot&&e(r,n))}))),n=n.parent}}addToListeners(e,t,n,r,i){this.pushListener(e,t,n,r?at.ONCE:at.ADD,i)}removeFromListeners(e,t,n){this.pushListener(e,t,n,at.REMOVE)}pushListener(e,t,n,r,i=!1){let s=this.writableListeners(),o=mt(s,e,t,n);if(-1!==o&&o<this._inheritedEnd&&(s.splice(o,1),this._inheritedEnd--,o=-1),-1===o)s.push({event:e,target:t,method:n,kind:r,sync:i});else{let e=s[o];r===at.REMOVE&&e.kind!==at.REMOVE?s.splice(o,1):(e.kind=r,e.sync=i)}}writableListeners(){return this._flattenedVersion!==lt||this.source!==this.proto&&-1!==this._inheritedEnd||lt++,-1===this._inheritedEnd&&(this._inheritedEnd=0,this._listeners=[]),this._listeners}flattenedListeners(){if(this._flattenedVersion<lt){let e=this.parent;if(null!==e){let t=e.flattenedListeners();if(void 0!==t)if(void 0===this._listeners)this._listeners=t;else{let e=this._listeners;this._inheritedEnd>0&&(e.splice(0,this._inheritedEnd),this._inheritedEnd=0);for(let n of t)-1===mt(e,n.event,n.target,n.method)&&(e.unshift(n),this._inheritedEnd++)}}this._flattenedVersion=lt}return this._listeners}matchingListeners(e){let t,n=this.flattenedListeners();if(void 0!==n)for(let r of n)r.event!==e||r.kind!==at.ADD&&r.kind!==at.ONCE||(void 0===t&&(t=[]),t.push(r.target,r.method,r.kind===at.ONCE));return t}observerEvents(){let e,t=this.flattenedListeners();if(void 0!==t)for(let n of t)n.kind!==at.ADD&&n.kind!==at.ONCE||-1===n.event.indexOf(":change")||(void 0===e&&(e=[]),e.push(n));return e}},ct=Object.getPrototypeOf,ht=new WeakMap;function dt(e,t){ht.set(e,t)}function pt(e){let t=ht.get(e);if(void 0!==t)return t;let n=ct(e);for(;null!==n;){if(t=ht.get(n),void 0!==t)return t.proto!==n&&(t.proto=n),t;n=ct(n)}return null}var ft=function(e){let t=pt(e);if(null!==t&&t.source===e)return t;let n=new ut(e);return dt(e,n),n};function mt(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}var gt=t({ALLOW_CYCLES:()=>{},COMPUTE:()=>wt,CONSTANT:()=>0,CONSTANT_TAG:()=>At,CURRENT_TAG:()=>Pt,CurrentTag:()=>Dt,INITIAL:()=>1,VOLATILE:()=>vt,VOLATILE_TAG:()=>It,VolatileTag:()=>Mt,beginTrackFrame:()=>Yt,beginUntrackFrame:()=>Gt,bump:()=>_t,combine:()=>Lt,consumeTag:()=>Xt,createCache:()=>sn,createTag:()=>Ct,createUpdatableTag:()=>Rt,debug:()=>yt,dirtyTag:()=>Et,dirtyTagFor:()=>Bt,endTrackFrame:()=>Qt,endUntrackFrame:()=>Zt,getValue:()=>on,isConst:()=>an,isConstTag:()=>Nt,isTracking:()=>Jt,resetTracking:()=>Kt,tagFor:()=>Vt,tagMetaFor:()=>$t,track:()=>ln,trackedData:()=>cn,untrack:()=>un,updateTag:()=>St,validateTag:()=>xt,valueForTag:()=>kt}),yt={},vt=NaN,bt=1;function _t(){bt++}var wt=Symbol("TAG_COMPUTE");function kt(e){return e[wt]()}function xt(e,t){return t>=e[wt]()}Reflect.set(globalThis,"COMPUTE_SYMBOL",wt);var Tt=Symbol("TAG_TYPE"),Ot=class e{static combine(t){switch(t.length){case 0:return At;case 1:return t[0];default:{let n=new e(2);return n.subtag=t,n}}}constructor(e){this.revision=1,this.lastChecked=1,this.lastValue=1,this.isUpdating=!1,this.subtag=null,this.subtagBufferCache=null,this[Tt]=e}[wt](){let{lastChecked:e}=this;if(this.isUpdating)this.lastChecked=++bt;else if(e!==bt){this.isUpdating=!0,this.lastChecked=bt;try{let{subtag:e,revision:t}=this;if(null!==e)if(Array.isArray(e))for(const n of e){let e=n[wt]();t=Math.max(e,t)}else{let n=e[wt]();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===At?n.subtag=null:(n.subtagBufferCache=r[wt](),n.subtag=r)}static dirtyTag(e,t){e.revision=++bt,We()}},Et=Ot.dirtyTag,St=Ot.updateTag;function Ct(){return new Ot(0)}function Rt(){return new Ot(1)}var At=new Ot(3);function Nt(e){return e===At}var Mt=class{[wt](){return NaN}constructor(){this[Tt]=100}},It=new Mt,Dt=class{[wt](){return bt}constructor(){this[Tt]=101}},Pt=new Dt,Lt=Ot.combine,jt=Rt(),zt=Rt(),Ft=Rt();kt(jt),Et(jt),kt(jt),St(jt,Lt([zt,Ft])),kt(jt),Et(zt),kt(jt),Et(Ft),kt(jt),St(jt,Ft),kt(jt),Et(Ft),kt(jt);var Ut=new WeakMap;function Bt(e,t,n){let r=void 0===n?Ut.get(e):n;if(void 0===r)return;let i=r.get(t);void 0!==i&&Et(i,!0)}function $t(e){let t=Ut.get(e);return void 0===t&&(t=new Map,Ut.set(e,t)),t}function Vt(e,t,n){let r=void 0===n?$t(e):n,i=r.get(t);return void 0===i&&(i=Rt(),r.set(t,i)),i}var qt=class{add(e){e!==At&&(this.tags.add(e),this.last=e)}combine(){let{tags:e}=this;return 0===e.size?At:1===e.size?this.last:Lt(Array.from(this.tags))}constructor(){this.tags=new Set,this.last=null}},Ht=null,Wt=[];function Yt(){Wt.push(Ht),Ht=new qt}function Qt(){let e=Ht;return Ht=Wt.pop()||null,function(e){if(null==e)throw new Error("Expected value to be present");return e}(e).combine()}function Gt(){Wt.push(Ht),Ht=null}function Zt(){Ht=Wt.pop()||null}function Kt(){for(;Wt.length>0;)Wt.pop();Ht=null}function Jt(){return null!==Ht}function Xt(e){null!==Ht&&Ht.add(e)}var en=Symbol("FN"),tn=Symbol("LAST_VALUE"),nn=Symbol("TAG"),rn=Symbol("SNAPSHOT");function sn(e){return{[en]:e,[tn]:void 0,[nn]:void 0,[rn]:-1}}function on(e){let t=e[en],n=e[nn],r=e[rn];if(void 0!==n&&xt(n,r))Xt(n);else{Yt();try{e[tn]=t()}finally{n=Qt(),e[nn]=n,e[rn]=kt(n),Xt(n)}}return e[tn]}function an(e){return Nt(e[nn])}function ln(e){let t;Yt();try{e()}finally{t=Qt()}return t}function un(e){Gt();try{return e()}finally{Zt()}}function cn(e,t){let n=new WeakMap,r="function"==typeof t;return{getter:function(i){let s;return Xt(Vt(i,e)),r&&!n.has(i)?(s=t.call(i),n.set(i,s)):s=n.get(i),s},setter:function(t,r){Bt(t,e),n.set(t,r)}}}var hn=Symbol("GLIMMER_VALIDATOR_REGISTRATION");if(Reflect.has(globalThis,hn))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.");Reflect.set(globalThis,hn,!0);var dn=t({EMPTY_ARRAY:()=>pn,EMPTY_NUMBER_ARRAY:()=>gn,EMPTY_STRING_ARRAY:()=>mn,LOCAL_LOGGER:()=>jn,LOGGER:()=>zn,SERIALIZATION_FIRST_NODE_STRING:()=>An,Stack:()=>Sn,assertNever:()=>Fn,assign:()=>Mn,beginTestSteps:()=>{},clearElement:()=>Cn,dict:()=>Tn,emptyArray:()=>fn,endTestSteps:()=>{},entries:()=>Dn,enumerate:()=>bn,intern:()=>Rn,isDict:()=>On,isEmptyArray:()=>yn,isIndexable:()=>En,isSerializationFirstNode:()=>Nn,keys:()=>Pn,logStep:()=>{},reverse:()=>vn,strip:()=>Ln,values:()=>In,verifySteps:()=>{},zipArrays:()=>wn,zipTuples:()=>_n}),pn=Object.freeze([]);function fn(){return pn}var mn=fn(),gn=fn();function yn(e){return e===pn}function*vn(e){for(let t=e.length-1;t>=0;t--)yield e[t]}function*bn(e){let t=0;for(const n of e)yield[t++,n]}function*_n(e,t){for(let n=0;n<e.length;n++)yield[n,e[n],t[n]]}function*wn(e,t){for(let n=0;n<e.length;n++)yield[n<t.length?"retain":"pop",n,e[n],t[n]];for(let n=e.length;n<t.length;n++)yield["push",n,void 0,t[n]]}function kn(e){return!!e&&e.length>0}function xn(e){return 0===e.length?void 0:e[e.length-1]}function Tn(){return Object.create(null)}function On(e){return null!=e}function En(e){return"function"==typeof e||"object"==typeof e&&null!==e}var Sn=class{constructor(e=[]){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=xn(this.stack)??null,void 0===e?null:e}nth(e){let t=this.stack.length;return t<e?null:this.stack[t-e]}isEmpty(){return 0===this.stack.length}snapshot(){return[...this.stack]}toArray(){return this.stack}};function Cn(e){let t=e.firstChild;for(;t;){let n=t.nextSibling;e.removeChild(t),t=n}}function Rn(e){let t={};t[e]=1;for(let n in t)if(n===e)return n;return e}var An="%+b:0%";function Nn(e){return"%+b:0%"===e.nodeValue}var Mn=Object.assign;function In(e){return Object.values(e)}function Dn(e){return Object.entries(e)}function Pn(e){return Object.keys(e)}function Ln(e,...t){let n="";for(const[a,l]of bn(e))n+=`${l}${void 0!==t[a]?String(t[a]):""}`;let r=n.split("\n");for(;kn(r)&&/^\s*$/u.test(0===(i=r).length?void 0:i[0]);)r.shift();for(var i;kn(r)&&/^\s*$/u.test(xn(r));)r.pop();let s=1/0;for(let a of r){let e=/^\s*/u.exec(a)[0].length;s=Math.min(s,e)}let o=[];for(let a of r)o.push(a.slice(s));return o.join("\n")}var jn=console,zn=console;function Fn(e,t="unexpected unreachable branch"){throw zn.log("unreachable",e),zn.log(`${t} :: ${JSON.stringify(e)} (${e})`),new Error("code reached unreachable")}var Un=t({FALSE_REFERENCE:()=>Yn,NULL_REFERENCE:()=>Hn,REFERENCE:()=>Bn,TRUE_REFERENCE:()=>Wn,UNDEFINED_REFERENCE:()=>qn,childRefFor:()=>ir,childRefFromParts:()=>sr,createComputeRef:()=>Zn,createConstRef:()=>Qn,createDebugAliasRef:()=>{},createInvokableRef:()=>Xn,createIteratorItemRef:()=>fr,createIteratorRef:()=>pr,createPrimitiveRef:()=>Vn,createReadOnlyRef:()=>Kn,createUnboundRef:()=>Gn,isConstRef:()=>er,isInvokableRef:()=>Jn,isUpdatableRef:()=>tr,updateRef:()=>rr,valueForRef:()=>nr}),Bn=Symbol("REFERENCE"),$n=class{constructor(e){this.tag=null,this.lastRevision=1,this.children=null,this.compute=null,this.update=null,this[Bn]=e}};function Vn(e){const t=new $n(2);return t.tag=At,t.lastValue=e,t}var qn=Vn(void 0),Hn=Vn(null),Wn=Vn(!0),Yn=Vn(!1);function Qn(e){const t=new $n(0);return t.lastValue=e,t.tag=At,t}function Gn(e){const t=new $n(2);return t.lastValue=e,t.tag=At,t}function Zn(e,t=null){const n=new $n(1);return n.compute=e,n.update=t,n}function Kn(e){return tr(e)?Zn((()=>nr(e)),null,e.debugLabel):e}function Jn(e){return 3===e[Bn]}function Xn(e){const t=Zn((()=>nr(e)),(t=>rr(e,t)));return t.debugLabel=e.debugLabel,t[Bn]=3,t}function er(e){return e.tag===At}function tr(e){return null!==e.update}function nr(e){const t=e;let{tag:n}=t;if(n===At)return t.lastValue;const{lastRevision:r}=t;let i;if(null!==n&&xt(n,r))i=t.lastValue;else{const{compute:e}=t,r=ln((()=>{i=t.lastValue=e()}));n=t.tag=r,t.lastRevision=kt(r)}return Xt(n),i}function rr(e,t){(0,e.update)(t)}function ir(e,t){const n=e,r=n[Bn];let i,s=n.children;if(null===s)s=n.children=new Map;else{const e=s.get(t);if(e)return e}if(2===r){const e=nr(n);i=On(e)?Gn(e[t]):qn}else i=Zn((()=>{const e=nr(n);if(On(e))return $e(e,t)}),(e=>{const r=nr(n);if(On(r))return Ve(r,t,e)}));return s.set(t,i),i}function sr(e,t){let n=e;for(const r of t)n=ir(n,r);return n}var or={},ar=(e,t)=>t,lr=(e,t)=>String(t),ur=e=>null===e?or:e,cr=class{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){En(e)?this.weakMap.set(e,t):this.primitiveMap.set(e,t)}get(e){return En(e)?this.weakMap.get(e):this.primitiveMap.get(e)}},hr=new cr;function dr(e){let t=new cr;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=hr.get(e);void 0===n&&(n=[],hr.set(e,n));let r=n[t];return void 0===r&&(r={value:e,count:t},n[t]=r),r}(i,s)}}function pr(e,t){return Zn((()=>{let n=nr(e),r=function(e){switch(e){case"@key":return dr(ar);case"@index":return dr(lr);case"@identity":return dr(ur);default:return t=e,dr((e=>qe(e,t)))}var t}(t);if(Array.isArray(n))return new gr(n,r);let i=Ue(n);return null===i?new gr(pn,(()=>null)):new mr(i,r)}))}function fr(e){let t=e,n=Ct();return Zn((()=>(Xt(n),t)),(e=>{t!==e&&(t=e,Et(n))}))}var mr=class{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}},gr=class{constructor(e,t){this.iterator=e,this.keyFor=t,this.pos=0,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}}},yr={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},vr=t({CustomComponentManager:()=>ni,CustomHelperManager:()=>Dr,CustomModifierManager:()=>si,capabilityFlagsFrom:()=>Sr,componentCapabilities:()=>Xr,getComponentTemplate:()=>di,getCustomTagFor:()=>_r,getInternalComponentManager:()=>Qr,getInternalHelperManager:()=>Wr,getInternalModifierManager:()=>Vr,hasCapability:()=>Ar,hasDestroyable:()=>Ir,hasInternalComponentManager:()=>Gr,hasInternalHelperManager:()=>Zr,hasInternalModifierManager:()=>Kr,hasValue:()=>Mr,helperCapabilities:()=>Nr,managerHasCapability:()=>Rr,modifierCapabilities:()=>ii,setComponentManager:()=>oi,setComponentTemplate:()=>hi,setCustomTagFor:()=>wr,setHelperManager:()=>li,setInternalComponentManager:()=>Yr,setInternalHelperManager:()=>qr,setInternalModifierManager:()=>$r,setModifierManager:()=>ai}),br=new WeakMap;function _r(e){return br.get(e)}function wr(e,t){br.set(e,t)}function kr(e){if("symbol"==typeof e)return null;const t=Number(e);return isNaN(t)?null:t%1==0?t:null}var xr=class{constructor(e){this.named=e}get(e,t){const n=this.named[t];if(void 0!==n)return nr(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}}},Tr=class{constructor(e){this.positional=e}get(e,t){let{positional:n}=this;if("length"===t)return n.length;const r=kr(t);return null!==r&&r<n.length?nr(n[r]):e[t]}isExtensible(){return!1}has(e,t){const n=kr(t);return null!==n&&n<this.positional.length}},Or=e=>{const{named:t,positional:n}=e,r=new xr(t),i=new Tr(n),s=new Proxy(Object.create(null),r),o=new Proxy([],i);return wr(s,((e,n)=>function(e,t){return ln((()=>{t in e&&nr(e[t])}))}(t,n))),wr(o,((e,t)=>function(e,t){return ln((()=>{"[]"===t&&e.forEach(nr);const n=kr(t);null!==n&&n<e.length&&nr(e[n])}))}(n,t))),{named:s,positional:o}},Er=yr.Empty;function Sr(e){return Er|Cr(e,"dynamicLayout")|Cr(e,"dynamicTag")|Cr(e,"prepareArgs")|Cr(e,"createArgs")|Cr(e,"attributeHook")|Cr(e,"elementHook")|Cr(e,"dynamicScope")|Cr(e,"createCaller")|Cr(e,"updateHook")|Cr(e,"createInstance")|Cr(e,"wrapped")|Cr(e,"willDestroy")|Cr(e,"hasSubOwner")}function Cr(e,t){return e[t]?yr[t]:Er}function Rr(e,t,n){return!!(t&n)}function Ar(e,t){return!!(e&t)}function Nr(e,t={}){return{hasValue:Boolean(t.hasValue),hasDestroyable:Boolean(t.hasDestroyable),hasScheduledEffect:Boolean(t.hasScheduledEffect)}}function Mr(e){return e.capabilities.hasValue}function Ir(e){return e.capabilities.hasDestroyable}var Dr=class{constructor(e){this.factory=e,this.helperManagerDelegates=new WeakMap,this.undefinedDelegate=null}getDelegateForOwner(e){let t=this.helperManagerDelegates.get(e);if(void 0===t){let{factory:n}=this;t=n(e),this.helperManagerDelegates.set(e,t)}return t}getDelegateFor(e){if(void 0===e){let{undefinedDelegate:e}=this;if(null===e){let{factory:t}=this;this.undefinedDelegate=e=t(void 0)}return e}return this.getDelegateForOwner(e)}getHelper(e){return(t,n)=>{let r=this.getDelegateFor(n);const i=Or(t),s=r.createHelper(e,i);if(Mr(r)){let e=Zn((()=>r.getValue(s)),null);return Ir(r)&&Je(e,r.getDestroyable(s)),e}if(Ir(r)){let e=Qn(void 0);return Je(e,r.getDestroyable(s)),e}return qn}}},Pr=class{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)"}constructor(){this.capabilities={hasValue:!0,hasDestroyable:!1,hasScheduledEffect:!1}}},Lr=new WeakMap,jr=new WeakMap,zr=new WeakMap,Fr=Object.getPrototypeOf;function Ur(e,t,n){return e.set(n,t),n}function Br(e,t){let n=t;for(;null!==n;){const t=e.get(n);if(void 0!==t)return t;n=Fr(n)}}function $r(e,t){return Ur(jr,e,t)}function Vr(e){const t=Br(jr,e);return void 0===t?null:t}function qr(e,t){return Ur(zr,e,t)}var Hr=new Dr((()=>new Pr));function Wr(e){let t=Br(zr,e);return void 0===t&&"function"==typeof e&&(t=Hr),t||null}function Yr(e,t){return Ur(Lr,e,t)}function Qr(e){const t=Br(Lr,e);return void 0===t?null:t}function Gr(e){return void 0!==Br(Lr,e)}function Zr(e){return function(e){return"function"==typeof e}(e)||void 0!==Br(zr,e)}function Kr(e){return void 0!==Br(jr,e)}var Jr={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 Xr(e,t={}){let n=Boolean(t.updateHook);return{asyncLifeCycleCallbacks:Boolean(t.asyncLifecycleCallbacks),destructor:Boolean(t.destructor),updateHook:n}}function ei(e){return e.capabilities.asyncLifeCycleCallbacks}function ti(e){return e.capabilities.updateHook}var ni=class{constructor(e){this.factory=e,this.componentManagerDelegates=new WeakMap}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=Or(n.capture());return new ri(r.createComponent(t,i),r,i)}getDebugName(e){return"function"==typeof e?e.name:e.toString()}update(e){let{delegate:t}=e;if(ti(t)){let{component:n,args:r}=e;t.updateComponent(n,r)}}didCreate({component:e,delegate:t}){ei(t)&&t.didCreateComponent(e)}didUpdate({component:e,delegate:t}){(function(e){return ei(e)&&ti(e)})(t)&&t.didUpdateComponent(e)}didRenderLayout(){}didUpdateLayout(){}getSelf({component:e,delegate:t}){return Qn(t.getContext(e))}getDestroyable(e){const{delegate:t}=e;if(function(e){return e.capabilities.destructor}(t)){const{component:n}=e;return Xe(e,(()=>t.destroyComponent(n))),e}return null}getCapabilities(){return Jr}},ri=class{constructor(e,t,n){this.component=e,this.delegate=t,this.args=n}};function ii(e,t={}){return{disableAutoTracking:Boolean(t.disableAutoTracking)}}var si=class{constructor(e){this.factory=e,this.componentManagerDelegates=new WeakMap}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,s=this.getDelegateFor(e),o=Or(r),a=s.createModifier(n,o);return i={tag:Rt(),element:t,delegate:s,args:o,modifier:a},Xe(i,(()=>s.destroyModifier(a,o))),i}getDebugName(e){return"function"==typeof e?e.name||e.toString():"<unknown>"}getDebugInstance({modifier:e}){return e}getTag({tag:e}){return e}install({element:e,args:t,modifier:n,delegate:r}){let{capabilities:i}=r;i.disableAutoTracking?un((()=>r.installModifier(n,e,t))):r.installModifier(n,e,t)}update({args:e,modifier:t,delegate:n}){let{capabilities:r}=n;r.disableAutoTracking?un((()=>n.updateModifier(t,e))):n.updateModifier(t,e)}getDestroyable(e){return e}};function oi(e,t){return Yr(new ni(e),t)}function ai(e,t){return $r(new si(e),t)}function li(e,t){return qr(new Dr(e),t)}var ui=new WeakMap,ci=Reflect.getPrototypeOf;function hi(e,t){return ui.set(t,e),t}function di(e){let t=e;for(;null!==t;){let e=ui.get(t);if(void 0!==e)return e;t=ci(t)}}var pi=new WeakSet;function fi(e){return!!ee(e)&&pi.has(e)}function mi(e){ee(e)&&pi.add(e)}var gi=new WeakSet;function yi(e){return gi.has(e)}var vi=class{size=0;misses=0;hits=0;constructor(e,t,n=new Map){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}},bi=t({default:()=>_i}),_i="6.7.0";function wi(e,t){return Array.isArray(e)?e[t]:e.objectAt(t)}var ki=De("SELF_TAG");function xi(e,t,n=!1,r){let i=_r(e);return void 0!==i?i(e,t,n):Vt(e,t,r)}function Ti(e){return ee(e)?Vt(e,ki):At}function Oi(e,t){Bt(e,t),Bt(e,ki)}var Ei=new WeakSet;function Si(e,t,n){let r=e.readableLazyChainsFor(t);if(void 0!==r){if(ee(n))for(let[e,t]of r)St(e,Ri(n,t,$t(n),pt(n)));r.length=0}}function Ci(e,t,n,r){let i=[];for(let s of t)Ai(i,e,s,n,r);return Lt(i)}function Ri(e,t,n,r){return Lt(Ai([],e,t,n,r))}function Ai(e,t,n,r,i){let s,o,a=t,l=r,u=i,c=n.length,h=-1;for(;;){let t=h+1;if(h=n.indexOf(".",t),-1===h&&(h=c),s=n.slice(t,h),"@each"===s&&h!==c){t=h+1,h=n.indexOf(".",t);let r=a.length;if("number"!=typeof r||!Array.isArray(a)&&!("objectAt"in a))break;if(0===r){e.push(xi(a,"[]"));break}s=-1===h?n.slice(t):n.slice(t,h);for(let t=0;t<r;t++){let n=wi(a,t);n&&(e.push(xi(n,s,!0)),u=pt(n),o=null!==u?u.peekDescriptors(s):void 0,void 0!==o&&"string"==typeof o.altKey&&n[s])}e.push(xi(a,"[]",!0,l));break}let r=xi(a,s,!0,l);if(o=null!==u?u.peekDescriptors(s):void 0,e.push(r),h===c){Ei.has(o)&&a[s];break}if(void 0===o)a=s in a||"function"!=typeof a.unknownProperty?a[s]:a.unknownProperty(s);else if(Ei.has(o))a=a[s];else{let t=u.source===a?u:ft(a),i=t.revisionFor(s);if(void 0===i||!xt(r,i)){let r=t.writableLazyChainsFor(s),i=n.substring(h+1),o=Rt();r.push([o,i]),e.push(o);break}a=t.valueFor(s)}if(!ee(a))break;l=$t(a),u=pt(a)}return e}function Ni(e){let[t,n,r]=e;return 3===e.length&&("function"==typeof t||"object"==typeof t&&null!==t)&&"string"==typeof n&&("object"==typeof r&&null!==r||void 0===r)}function Mi(e){let t=function(){return e};return Bi(t),t}var Ii=class{enumerable=!0;configurable=!0;_dependentKeys=void 0;_meta=void 0;setup(e,t,n,r){r.writeDescriptors(t,this)}teardown(e,t,n){n.removeDescriptors(t)}};function Di(e,t){let n=function(n){return t.set(this,e,n)};return Pi.add(n),n}var Pi=new WeakSet;function Li(e,t){let n=function(t,n,r,i){let s=3===arguments.length?ft(t):i;return e.setup(t,n,r,s),{enumerable:e.enumerable,configurable:e.configurable,get:(o=n,a=e,function(){return a.get(this,o)}),set:Di(n,e)};var o,a};return Bi(n,e),Object.setPrototypeOf(n,t.prototype),n}var ji=new WeakMap;function zi(e,t,n){let r=void 0===n?pt(e):n;if(null!==r)return r.peekDescriptors(t)}function Fi(e){return ji.get(e)}function Ui(e){return"function"==typeof e&&ji.has(e)}function Bi(e,t=!0){ji.set(e,t)}var $i=/\.@each$/;function Vi(e,t){let n=e.indexOf("{");n<0?t(e.replace($i,".[]")):qi("",e,n,t)}function qi(e,t,n,r){let i,s,o=t.indexOf("}"),a=0,l=t.substring(n+1,o).split(","),u=t.substring(o+1);for(e+=t.substring(0,n),s=l.length;a<s;)i=u.indexOf("{"),i<0?r((e+l[a++]+u).replace($i,".[]")):qi(e+l[a++],u,i,r)}function Hi(e){return e+":change"}function Wi(e,t,n,r,i,s=!0){r||"function"!=typeof n||(r=n,n=null),ft(e).addToListeners(t,n,r,!0===i,s)}function Yi(e,t,n,r){let i,s;"object"==typeof n?(i=n,s=r):(i=null,s=n),ft(e).removeFromListeners(t,i,s)}function Qi(e,t,n,r,i){if(void 0===r){let n=void 0===i?pt(e):i;r=null!==n?n.matchingListeners(t):void 0}if(void 0===r||0===r.length)return!1;for(let s=r.length-3;s>=0;s-=3){let i=r[s],o=r[s+1],a=r[s+2];if(!o)continue;a&&Yi(e,t,i,o),i||(i=e);let l=typeof o;"string"!==l&&"symbol"!==l||(o=i[o]),o.apply(i,n)}return!0}function Gi(e,t){let n=pt(e);if(null===n)return!1;let r=n.matchingListeners(t);return void 0!==r&&r.length>0}function Zi(...e){let t=e.pop();return we(t,e),t}var Ki=!k._DEFAULT_ASYNC_OBSERVERS,Ji=new Map,Xi=new Map;function es(e,t,n,r,i=Ki){let s=Hi(t);Wi(e,s,n,r,!1,i);let o=pt(e);null!==o&&(o.isPrototypeMeta(e)||o.isInitializing())||ns(e,s,i)}function ts(e,t,n,r,i=Ki){let s=Hi(t),o=pt(e);null!==o&&(o.isPrototypeMeta(e)||o.isInitializing())||ss(e,s,i),Yi(e,s,n,r)}function ns(e,t,n=!1){let r=function(e,t){let n=!0===t?Ji:Xi;return n.has(e)||(n.set(e,new Map),Xe(e,(()=>function(e){Ji.size>0&&Ji.delete(e),Xi.size>0&&Xi.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(":")),i=Ri(e,n,$t(e),pt(e));r.set(t,{count:1,path:n,tag:i,lastRevision:kt(i),suspended:!1})}}var rs=!1,is=[];function ss(e,t,n=!1){if(!0===rs)return void is.push([e,t,n]);let r=!0===n?Ji:Xi,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 os(e){Xi.has(e)&&Xi.get(e).forEach((t=>{t.tag=Ri(e,t.path,$t(e),pt(e)),t.lastRevision=kt(t.tag)})),Ji.has(e)&&Ji.get(e).forEach((t=>{t.tag=Ri(e,t.path,$t(e),pt(e)),t.lastRevision=kt(t.tag)}))}var as=0;function ls(e){let t=kt(Pt);as!==t&&(as=t,Xi.forEach(((t,n)=>{let r=pt(n);t.forEach(((t,i)=>{if(!xt(t.tag,t.lastRevision)){let s=()=>{try{Qi(n,i,[n,t.path],void 0,r)}finally{t.tag=Ri(n,t.path,$t(n),pt(n)),t.lastRevision=kt(t.tag)}};e?e("actions",s):s()}}))})))}function us(){Ji.forEach(((e,t)=>{let n=pt(t);e.forEach(((e,r)=>{if(!e.suspended&&!xt(e.tag,e.lastRevision))try{e.suspended=!0,Qi(t,r,[t,e.path],void 0,n)}finally{e.tag=Ri(t,e.path,$t(t),pt(t)),e.lastRevision=kt(e.tag),e.suspended=!1}}))}))}function cs(e,t,n){let r=Ji.get(e);if(!r)return;let i=r.get(Hi(t));i&&(i.suspended=n)}var hs=Symbol("PROPERTY_DID_CHANGE"),ds=0;function ps(e,t,n,r){let i=void 0===n?pt(e):n;null!==i&&(i.isInitializing()||i.isPrototypeMeta(e))||(Oi(e,t),ds<=0&&us(),hs in e&&(4===arguments.length?e[hs](t,r):e[hs](t)))}function fs(){ds++,rs=!0}function ms(){--ds<=0&&(us(),function(){rs=!1;for(let[e,t,n]of is)ss(e,t,n);is=[]}())}function gs(e){fs();try{e()}finally{ms()}}function ys(){}var vs=class extends Ii{_readOnly=!1;_hasConfig=!1;_getter=void 0;_setter=void 0;constructor(e){super();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||ys,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 r of e)Vi(r,n);this._dependentKeys=t}get(e,t){let n,r=ft(e),i=$t(e),s=Vt(e,t,i),o=r.revisionFor(t);if(void 0!==o&&xt(s,o))n=r.valueFor(t);else{let{_getter:o,_dependentKeys:a}=this;un((()=>{n=o.call(e,t)})),void 0!==a&&St(s,Ci(e,a,i,r)),r.setValueFor(t,n),r.setRevisionFor(t,kt(s)),Si(r,t,n)}return Xt(s),Array.isArray(n)&&Xt(Vt(n,"[]")),n}set(e,t,n){this._readOnly&&this._throwReadOnlyError(e,t);let r,i=ft(e);i.isInitializing()&&void 0!==this._dependentKeys&&this._dependentKeys.length>0&&"function"==typeof e[hs]&&e.isComponent&&es(e,t,(()=>{e[hs](t)}),void 0,!0);try{fs(),r=this._set(e,t,n,i),Si(i,t,r);let s=$t(e),o=Vt(e,t,s),{_dependentKeys:a}=this;void 0!==a&&St(o,Ci(e,a,s,i)),i.setRevisionFor(t,kt(o))}finally{ms()}return r}_throwReadOnlyError(e,t){throw new Error(`Cannot set read-only property "${t}" on object: ${j(e)}`)}_set(e,t,n,r){let i,s=void 0!==r.revisionFor(t),o=r.valueFor(t),{_setter:a}=this;cs(e,t,!0);try{i=a.call(e,t,n,o)}finally{cs(e,t,!1)}return s&&o===i||(r.setValueFor(t,i),ps(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)}},bs=class extends vs{get(e,t){let n,r=ft(e),i=$t(e),s=Vt(e,t,i),o=r.revisionFor(t);if(void 0!==o&&xt(s,o))n=r.valueFor(t);else{let{_getter:i}=this;St(s,ln((()=>{n=i.call(e,t)}))),r.setValueFor(t,n),r.setRevisionFor(t,kt(s)),Si(r,t,n)}return Xt(s),Array.isArray(n)&&Xt(Vt(n,"[]",i)),n}},_s=class extends Function{readOnly(){return Fi(this)._readOnly=!0,this}meta(e){let t=Fi(this);return 0===arguments.length?t._meta||{}:(t._meta=e,this)}get _getter(){return Fi(this)._getter}set enumerable(e){Fi(this).enumerable=e}};function ws(...e){return Ni(e)?Li(new vs([]),_s)(e[0],e[1],e[2]):Li(new vs(e),_s)}function ks(...e){return Li(new bs(e),_s)}function xs(e,t){return Boolean(zi(e,t))}function Ts(e,t,n,r,i){let s=void 0===i?ft(e):i,o=zi(e,t,s),a=void 0!==o;a&&o.teardown(e,t,s),Ui(n)?Os(e,t,n,s):null==n?Es(e,t,r,a,!0):Object.defineProperty(e,t,n),s.isPrototypeMeta(e)||os(e)}function Os(e,t,n,r){let i;return i=n(e,t,void 0,r),Object.defineProperty(e,t,i),n}function Es(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}var Ss=new vi(1e3,(e=>e.indexOf(".")));function Cs(e){return"string"==typeof e&&-1!==Ss.get(e)}var Rs=De("PROXY_CONTENT");function As(e){return"object"==typeof e&&null!==e&&"function"==typeof e.unknownProperty}function Ns(e,t){return Cs(t)?Is(e,t):Ms(e,t)}function Ms(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)&&As(e)&&(n=e.unknownProperty(t)),Jt()&&(Xt(Vt(e,t)),(Array.isArray(n)||yi(n))&&Xt(Vt(n,"[]")))):n=e[t],n}function Is(e,t,n){let r="string"==typeof t?t.split("."):t;for(let i of r){if(null==e||e.isDestroyed)return;if(n&&("__proto__"===i||"constructor"===i))return;e=Ms(e,i)}return e}Ms("foo","a"),Ms("foo",1),Ms({},"a"),Ms({},1),Ms({unknownProperty(){}},"a"),Ms({unknownProperty(){}},1),Ns({},"foo"),Ns({},"foo.bar");var Ds={};mi(Ds),ln((()=>Ms({},"a"))),ln((()=>Ms({},1))),ln((()=>Ms({a:[]},"a"))),ln((()=>Ms({a:Ds},"a")));var Ps,Ls=class{_registry;_coreLibIndex;constructor(){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))}},js=new Ls;function zs(e,...t){let n,r;Ni(t)?n=t:"string"==typeof t[0]&&(r=t[0]);let s=ws({get:function(t){return(i(this)||this.container).lookup(`${e}:${r||t}`)},set(e,t){Ts(this,e,null,t)}});return n?s(n[0],n[1],n[2]):s}function Fs(...e){if(!Ni(e)){let t=e[0],n=t?t.initializer:void 0,r=t?t.value:void 0,i=function(e,t){return Us([e,t,{initializer:n||(()=>r)}])};return Bi(i),i}return Us(e)}function Us([e,t,n]){let{getter:r,setter:i}=cn(t,n?n.initializer:void 0);function s(){let e=r(this);return(Array.isArray(e)||yi(e))&&Xt(Vt(e,"[]")),e}function o(e){i(this,e),Bt(this,ki)}let a={enumerable:!0,configurable:!0,isTracked:!0,get:s,set:o};return Pi.add(o),ft(e).writeDescriptors(t,new Bs(s,o)),a}js.registerCoreLibrary("Ember",_i);var Bs=class{constructor(e,t){this._get=e,this._set=t,Ei.add(this)}get(e){return this._get.call(e)}set(e,t,n){this._set.call(e,n)}},$s=setTimeout,Vs=()=>{};function qs(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()=>$s(e,0)}function Hs(e){let t=Vs;return{setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),now:()=>Date.now(),next:qs(e),clearNext:t}}var Ws=/\d+/;function Ys(e){let t=typeof e;return"number"===t&&e==e||"string"===t&&Ws.test(e)}function Qs(e){return e.onError||e.onErrorTarget&&e.onErrorTarget[e.onErrorMethod]}function Gs(e,t,n){let r=-1;for(let i=0,s=n.length;i<s;i+=4)if(n[i]===e&&n[i+1]===t){r=i;break}return r}function Zs(e,t,n){let r=-1;for(let i=2,s=n.length;i<s;i+=6)if(n[i]===e&&n[i+1]===t){r=i-2;break}return r}function Ks(e,t,n=0){let r=[];for(let i=0;i<e.length;i+=t){let t=e[i+3+n],s={target:e[i+0+n],method:e[i+1+n],args:e[i+2+n],stack:void 0!==t&&"stack"in t?t.stack:""};r.push(s)}return r}function Js(e,t){let n,r,i=0,s=t.length-6;for(;i<s;)r=(s-i)/6,n=i+r-r%6,e>=t[n]?i=n+6:s=n;return e>=t[i]?i+6:i}var Xs=class{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(e<this._queue.length){let t=this._queue[3*e+4];return t?t.stack:null}}flush(e){let t,n,r,i,s,{before:o,after:a}=this.options;this.targetQueues.clear(),0===this._queueBeingFlushed.length&&(this._queueBeingFlushed=this._queue,this._queue=[]),void 0!==o&&o();let l=this._queueBeingFlushed;if(l.length>0){let e=Qs(this.globalOptions);s=e?this.invokeWithOnError:this.invoke;for(let o=this.index;o<l.length;o+=4)if(this.index+=4,n=l[o+1],null!==n&&(t=l[o],r=l[o+2],i=l[o+3],s(t,n,r,e,i)),this.index!==this._queueBeingFlushed.length&&this.globalOptions.mustYield&&this.globalOptions.mustYield())return 1}void 0!==a&&a(),this._queueBeingFlushed.length=0,this.index=0,!1!==e&&this._queue.length>0&&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=Gs(e,t,n);return i>-1?(n[i+1]=null,!0):(n=this._queueBeingFlushed,i=Gs(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 Ks(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(s){r(s,i)}}},eo=class{constructor(e=[],t){this.queues={},this.queueNameIndex=0,this.queueNames=e,e.reduce((function(e,n){return e[n]=new Xs(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.queueNameIndex<r;)if(n=this.queueNames[this.queueNameIndex],t=this.queues[n],!1===t.hasWork()){if(this.queueNameIndex++,e&&this.queueNameIndex<r)return 1}else if(1===t.flush(!1))return 1}_getDebugInfo(e){if(e){let t,n,r={},i=this.queueNames.length,s=0;for(;s<i;)n=this.queueNames[s],t=this.queues[n],r[n]=t._getDebugInfo(e),s++;return r}}};function to(e){let t=e(),n=t.next();for(;!1===n.done;)n.value(),n=t.next()}var no=function(){},ro=Object.freeze([]);function io(){let e,t,n,r=arguments.length;if(0===r);else if(1===r)n=null,t=arguments[0];else{let i=2,s=arguments[0],o=arguments[1],a=typeof o;if("function"===a?(n=s,t=o):null!==s&&"string"===a&&o in s?(n=s,t=n[o]):"function"==typeof s&&(i=1,n=null,t=s),r>i){let t=r-i;e=new Array(t);for(let n=0;n<t;n++)e[n]=arguments[n+i]}}return[n,t,e]}function so(){let e,t,n,r,i;return 2===arguments.length?(t=arguments[0],i=arguments[1],e=null):([e,t,r]=io(...arguments),void 0===r?i=0:(i=r.pop(),Ys(i)||(n=!0===i,i=r.pop()))),i=parseInt(i,10),[e,t,r,i,n]}var oo=0,ao=0,lo=0,uo=0,co=0,ho=0,po=0,fo=0,mo=0,go=0,yo=0,vo=0,bo=0,_o=0,wo=0,ko=0,xo=0,To=0,Oo=0,Eo=0,So=0,Co=class{constructor(e,t){this.DEBUG=!1,this.currentInstance=null,this.instanceStack=[],this._eventCallbacks={end:[],begin:[]},this._timerTimeoutId=null,this._timers=[],this._autorun=!1,this._autorunStack=null,this.queueNames=e,this.options=t||{},"string"==typeof this.options.defaultQueue?this._defaultQueue=this.options.defaultQueue:this._defaultQueue=this.queueNames[0],this._onBegin=this.options.onBegin||no,this._onEnd=this.options.onEnd||no,this._boundRunExpiredTimers=this._runExpiredTimers.bind(this),this._boundAutorunEnd=()=>{Oo++,!1!==this._autorun&&(this._autorun=!1,this._autorunStack=null,this._end(!0))};let n=this.options._buildPlatform||Hs;this._platform=n(this._boundAutorunEnd)}get counters(){return{begin:ao,end:lo,events:{begin:uo,end:0},autoruns:{created:To,completed:Oo},run:co,join:ho,defer:po,schedule:fo,scheduleIterable:mo,deferOnce:go,scheduleOnce:yo,setTimeout:vo,later:bo,throttle:_o,debounce:wo,cancelTimers:ko,cancel:xo,loops:{total:Eo,nested:So}}}get defaultQueue(){return this._defaultQueue}begin(){ao++;let e,t=this.options,n=this.currentInstance;return!1!==this._autorun?(e=n,this._cancelAutorun()):(null!==n&&(So++,this.instanceStack.push(n)),Eo++,e=this.currentInstance=new eo(this.queueNames,t),uo++,this._trigger("begin",e,n)),this._onBegin(e,n),e}end(){lo++,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 i=0;i<n.length;i++)n[i]===t&&(r=!0,n.splice(i,1),i--);if(!r)throw new TypeError("Cannot off() callback that does not exist")}run(){co++;let[e,t,n]=io(...arguments);return this._run(e,t,n)}join(){ho++;let[e,t,n]=io(...arguments);return this._join(e,t,n)}defer(e,t,n,...r){return po++,this.schedule(e,t,n,...r)}schedule(e,...t){fo++;let[n,r,i]=io(...t),s=this.DEBUG?new Error:void 0;return this._ensureInstance().schedule(e,n,r,i,!1,s)}scheduleIterable(e,t){mo++;let n=this.DEBUG?new Error:void 0;return this._ensureInstance().schedule(e,null,to,[t],!1,n)}deferOnce(e,t,n,...r){return go++,this.scheduleOnce(e,t,n,...r)}scheduleOnce(e,...t){yo++;let[n,r,i]=io(...t),s=this.DEBUG?new Error:void 0;return this._ensureInstance().schedule(e,n,r,i,!0,s)}setTimeout(){return vo++,this.later(...arguments)}later(){bo++;let[e,t,n,r]=function(){let[e,t,n]=io(...arguments),r=0,i=void 0!==n?n.length:0;return i>0&&Ys(n[i-1])&&(r=parseInt(n.pop(),10)),[e,t,n,r]}(...arguments);return this._later(e,t,n,r)}throttle(){_o++;let e,[t,n,r,i,s=!0]=so(...arguments),o=Zs(t,n,this._timers);if(-1===o)e=this._later(t,n,s?ro:r,i),s&&this._join(t,n,r);else{e=this._timers[o+1];let t=o+4;this._timers[t]!==ro&&(this._timers[t]=r)}return e}debounce(){wo++;let e,[t,n,r,i,s=!1]=so(...arguments),o=this._timers,a=Zs(t,n,o);if(-1===a)e=this._later(t,n,s?ro:r,i),s&&this._join(t,n,r);else{let s=this._platform.now()+i,l=a+4;o[l]===ro&&(r=ro),e=o[a+1];let u=Js(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(){ko++,this._clearTimerTimeout(),this._timers=[],this._cancelAutorun()}hasTimers(){return this._timers.length>0||this._autorun}cancel(e){if(xo++,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:Ks(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=Qs(this.options);if(this.begin(),r)try{return t.apply(e,n)}catch(i){r(i)}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=oo++;if(0===this._timers.length)this._timers.push(s,o,e,t,n,i),this._installTimerTimeout();else{let r=Js(s,this._timers);th