`);for(;r.length&&r[0].match(/^\s*$/);)r.shift();for(;r.length&&r[r.length-1].match(/^\s*$/);)r.pop();let s=1/0;for(let n of r){let a=n.match(/^\s*/)[0].length;s=Math.min(s,a)}let p=[];for(let n of r)p.push(n.slice(s));return p.join(`
`)}}}),mt=I({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/immediate.js"(t){"use strict";F(),Object.defineProperty(t,"__esModule",{value:!0}),t.isHandle=h,t.isNonPrimitiveHandle=d,t.constants=c,t.isSmallInt=o,t.encodeNegative=e,t.decodeNegative=r,t.encodePositive=s,t.decodePositive=p,t.encodeHandle=n,t.decodeHandle=a,t.encodeImmediate=u,t.decodeImmediate=i;var f=Pe();function h(l){return l>=0}function d(l){return l>3}function c(){for(var l=arguments.length,b=new Array(l),P=0;P<l;P++)b[P]=arguments[P];return[!1,!0,null,void 0,...b]}function o(l){return l%1===0&&l<=536870911&&l>=-536870912}function e(l){return l&-536870913}function r(l){return l|536870912}function s(l){return~l}function p(l){return~l}function n(l){return l}function a(l){return l}function u(l){return l|=0,l<0?e(l):s(l)}function i(l){return l|=0,l>-536870913?p(l):r(l)}[1,2,3].forEach(l=>l),[1,-1].forEach(l=>i(u(l)))}}),gt=I({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/template.js"(t){"use strict";F(),Object.defineProperty(t,"__esModule",{value:!0}),t.unwrapHandle=f,t.unwrapTemplate=h,t.extractHandle=d,t.isOkHandle=c,t.isErrHandle=o;function f(e){if(typeof e=="number")return e;{let r=e.errors[0];throw new Error("Compile Error: ".concat(r.problem," @ ").concat(r.span.start,"..").concat(r.span.end))}}function h(e){if(e.result==="error")throw new Error("Compile Error: ".concat(e.problem," @ ").concat(e.span.start,"..").concat(e.span.end));return e}function d(e){return typeof e=="number"?e:e.handle}function c(e){return typeof e=="number"}function o(e){return typeof e=="number"}}}),bt=I({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/weak-set.js"(t){"use strict";F(),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var f=typeof WeakSet=="function"?WeakSet:class{constructor(){this._map=new WeakMap}add(d){return this._map.set(d,!0),this}delete(d){return this._map.delete(d)}has(d){return this._map.has(d)}};t.default=f}}),vt=I({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/simple-cast.js"(t){"use strict";F(),Object.defineProperty(t,"__esModule",{value:!0}),t.castToSimple=h,t.castToBrowser=d,t.checkNode=r;var f=me();function h(p){return o(p)||e(p),p}function d(p,n){if(p==null)return null;if(typeof document===void 0)throw new Error("Attempted to cast to a browser node in a non-browser context");if(o(p))return p;if(p.ownerDocument!==document)throw new Error("Attempted to cast to a browser node with a node that was not created from this document");return r(p,n)}function c(p,n){return new Error("cannot cast a ".concat(p," into ").concat(n))}function o(p){return p.nodeType===9}function e(p){return p.nodeType===1}function r(p,n){let a=!1;if(p!==null)if(typeof n=="string")a=s(p,n);else if(Array.isArray(n))a=n.some(u=>s(p,u));else throw(0,f.unreachable)();if(a)return p;throw c("SimpleElement(".concat(p,")"),n)}function s(p,n){switch(n){case"NODE":return!0;case"HTML":return p instanceof HTMLElement;case"SVG":return p instanceof SVGElement;case"ELEMENT":return p instanceof Element;default:if(n.toUpperCase()===n)throw new Error("BUG: this code is missing handling for a generic node type");return p instanceof Element&&p.tagName.toLowerCase()===n}}}}),yt=I({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/present.js"(t){"use strict";F(),Object.defineProperty(t,"__esModule",{value:!0}),t.isPresent=f,t.ifPresent=h,t.toPresentOption=d,t.assertPresent=c,t.mapPresent=o;function f(e){return e.length>0}function h(e,r,s){return f(e)?r(e):s()}function d(e){return f(e)?e:null}function c(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"unexpected empty list";if(!f(e))throw new Error(r)}function o(e,r){if(e===null)return null;let s=[];for(let p of e)s.push(r(p));return s}}}),At=I({"node_modules/@glimmer/util/dist/commonjs/es2017/lib/untouchable-this.js"(t){"use strict";F(),Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var f=fe(),h=me();function d(c){let o=null;if(f.DEBUG&&h.HAS_NATIVE_PROXY){let e=r=>{throw new Error("You accessed `this.".concat(String(r),"` from a function passed to the ").concat(c,", but the fun
`+B+"^"},test_match:function(k,B){var O,q,z;if(this.options.backtrack_lexer&&(z={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(z.yylloc.range=this.yylloc.range.slice(0))),q=k[0].match(/(?:\r\n?|\n).*/g),q&&(this.yylineno+=q.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:q?q[q.length-1].length-q[q.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+k[0].length},this.yytext+=k[0],this.match+=k[0],this.matches=k,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(k[0].length),this.matched+=k[0],O=this.performAction.call(this,this.yy,this,B,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),O)return O;if(this._backtrack){for(var A in z)this[A]=z[A];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var k,B,O,q;this._more||(this.yytext="",this.match="");for(var z=this._currentRules(),A=0;A<z.length;A++)if(O=this._input.match(this.rules[z[A]]),O&&(!B||O[0].length>B[0].length)){if(B=O,q=A,this.options.backtrack_lexer){if(k=this.test_match(O,z[A]),k!==!1)return k;if(this._backtrack){B=!1;continue}else return!1}else if(!this.options.flex)break}return B?(k=this.test_match(B,z[q]),k!==!1?k:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
`?(this.line++,this.column=0):this.column++,v},E.prototype.consumeCharRef=function(){var v=this.input.indexOf(";",this.index);if(v!==-1){var _=this.input.slice(this.index,v),y=this.entityParser.parse(_);if(y){for(var g=_.length;g;)this.consume(),g--;return this.consume(),y}}},E.prototype.markTagStart=function(){this.delegate.tagOpen()},E.prototype.appendToTagName=function(v){this.tagNameBuffer+=v,this.delegate.appendToTagName(v)},E.prototype.isIgnoredEndTag=function(){var v=this.tagNameBuffer;return v==="title"&&this.input.substring(this.index,this.index+8)!=="</title>"||v==="style"&&this.input.substring(this.index,this.index+8)!=="</style>"||v==="script"&&this.input.substring(this.index,this.index+9)!=="<\/script>"},E}(),b=function(){function E(v,_){_===void 0&&(_={}),this.options=_,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new l(this,v,_.mode),this._currentAttribute=void 0}return E.prototype.tokenize=function(v){return this.tokens=[],this.tokenizer.tokenize(v),this.tokens},E.prototype.tokenizePart=function(v){return this.tokens=[],this.tokenizer.tokenizePart(v),this.tokens},E.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},E.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},E.prototype.current=function(){var v=this.token;if(v===null)throw new Error("token was unexpectedly null");if(arguments.length===0)return v;for(var _=0;_<arguments.length;_++)if(v.type===arguments[_])return v;throw new Error("token type was unexpectedly "+v.type)},E.prototype.push=function(v){this.token=v,this.tokens.push(v)},E.prototype.currentAttribute=function(){return this._currentAttribute},E.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},E.prototype.beginDoctype=function(){this.push({type:"Doctype",name:""})},E.prototype.appendToDoctypeName=function(v){this.current("Doctype").name+=v},E.prototype.appendToDoctypePublicIdentifier=function(v){var _=this.current("Doctype");_.publicIdentifier===void 0?_.publicIdentifier=v:_.publicIdentifier+=v},E.prototype.appendToDoctypeSystemIdentifier=function(v){var _=this.current("Doctype");_.systemIdentifier===void 0?_.systemIdentifier=v:_.systemIdentifier+=v},E.prototype.endDoctype=function(){this.addLocInfo()},E.prototype.beginData=function(){this.push({type:"Chars",chars:""})},E.prototype.appendToData=function(v){this.current("Chars").chars+=v},E.prototype.finishData=function(){this.addLocInfo()},E.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},E.prototype.appendToCommentData=function(v){this.current("Comment").chars+=v},E.prototype.finishComment=function(){this.addLocInfo()},E.prototype.tagOpen=function(){},E.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},E.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},E.prototype.finishTag=function(){this.addLocInfo()},E.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},E.prototype.appendToTagName=function(v){this.current("StartTag","EndTag").tagName+=v},E.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},E.prototype.appendToAttributeName=function(v){this.currentAttribute()[0]+=v},E.prototype.beginAttributeValue=function(v){this.currentAttribute()[2]=v},E.prototype.appendToAttributeValue=function(v){this.currentAttribute()[1]+=v},E.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},E.prototype.reportSyntaxError=function(v){this.current().syntaxError=v},E}();function P(E,v){var _=new b(new r(d),v);return _.tokenize(E)}h.HTML5NamedCharRefs=d,h.EntityParser=r,h.EventedTokenizer=l,h.Tokenizer=b,h.tokenize=P,Object.defineProperty(h,"__esModule",{value:!0})})}}),We=I({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/generatio
|
|`.concat(s.split(`
`).join(`
|`),`
|
`):"",n=new Error("".concat(h,": ").concat(p,"(error occurred in '").concat(c,"' @ line ").concat(e," : column ").concat(r,")"));return n.name="SyntaxError",n.location=d,n.code=s,n}}}),Rt=I({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/v1/visitor-keys.js"(t){"use strict";F(),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var f=X(),h={Program:(0,f.tuple)("body"),Template:(0,f.tuple)("body"),Block:(0,f.tuple)("body"),MustacheStatement:(0,f.tuple)("path","params","hash"),BlockStatement:(0,f.tuple)("path","params","hash","program","inverse"),ElementModifierStatement:(0,f.tuple)("path","params","hash"),PartialStatement:(0,f.tuple)("name","params","hash"),CommentStatement:(0,f.tuple)(),MustacheCommentStatement:(0,f.tuple)(),ElementNode:(0,f.tuple)("attributes","modifiers","children","comments"),AttrNode:(0,f.tuple)("value"),TextNode:(0,f.tuple)(),ConcatStatement:(0,f.tuple)("parts"),SubExpression:(0,f.tuple)("path","params","hash"),PathExpression:(0,f.tuple)(),PathHead:(0,f.tuple)(),StringLiteral:(0,f.tuple)(),BooleanLiteral:(0,f.tuple)(),NumberLiteral:(0,f.tuple)(),NullLiteral:(0,f.tuple)(),UndefinedLiteral:(0,f.tuple)(),Hash:(0,f.tuple)("pairs"),HashPair:(0,f.tuple)("value"),NamedBlock:(0,f.tuple)("attributes","modifiers","children","comments"),SimpleElement:(0,f.tuple)("attributes","modifiers","children","comments"),Component:(0,f.tuple)("head","attributes","modifiers","children","comments")},d=h;t.default=d}}),Ye=I({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/traversal/errors.js"(t){"use strict";F(),Object.defineProperty(t,"__esModule",{value:!0}),t.cannotRemoveNode=d,t.cannotReplaceNode=c,t.cannotReplaceOrRemoveInKeyHandlerYet=o,t.default=void 0;var f=function(){e.prototype=Object.create(Error.prototype),e.prototype.constructor=e;function e(r,s,p,n){let a=Error.call(this,r);this.key=n,this.message=r,this.node=s,this.parent=p,this.stack=a.stack}return e}(),h=f;t.default=h;function d(e,r,s){return new f("Cannot remove a node unless it is part of an array",e,r,s)}function c(e,r,s){return new f("Cannot replace a node with multiple nodes unless it is part of an array",e,r,s)}function o(e,r){return new f("Replacing and removing in key handlers is not yet supported.",e,null,r)}}}),Qe=I({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/traversal/path.js"(t){"use strict";F(),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var f=class{constructor(d){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.node=d,this.parent=c,this.parentKey=o}get parentNode(){return this.parent?this.parent.node:null}parents(){return{[Symbol.iterator]:()=>new h(this)}}};t.default=f;var h=class{constructor(d){this.path=d}next(){return this.path.parent?(this.path=this.path.parent,{done:!1,value:this.path}):{done:!0,value:null}}}}}),Ne=I({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/traversal/traverse.js"(t){"use strict";F(),Object.defineProperty(t,"__esModule",{value:!0}),t.default=E;var f=X(),h=o(Rt()),d=Ye(),c=o(Qe());function o(v){return v&&v.__esModule?v:{default:v}}function e(v){return typeof v=="function"?v:v.enter}function r(v){if(typeof v!="function")return v.exit}function s(v,_){let y=typeof v!="function"?v.keys:void 0;if(y===void 0)return;let g=y[_];return g!==void 0?g:y.All}function p(v,_){if((_==="Template"||_==="Block")&&v.Program)return v.Program;let y=v[_];return y!==void 0?y:v.All}function n(v,_){let{node:y,parent:g,parentKey:L}=_,j=p(v,y.type),x,w;j!==void 0&&(x=e(j),w=r(j));let H;if(x!==void 0&&(H=x(y,_)),H!=null)if(JSON.stringify(y)===JSON.stringify(H))H=void 0;else{if(Array.isArray(H))return l(v,H,g,L),H;{let m=new c.default(H,g,L);return n(v,m)||H}}if(H===void 0){let m=h.default[y.type];for(let C=0;C<m.length;C++){let S=m[C];i(v,j,_,S)}w!==void 0&&(H=w(y,_))}return H}function a(v,_){return v[_]}function u(v,_,y){v[_]=y}function i(v,_,y,g){let{node:L}=y,j=a(L,g);if(!j)return;let x,w;if(_!==void 0){let H=s(_,g);H!==void 0&&(x=e(H),w=r(H))}if(x!==void 0&&x(L,g)!==void 0)throw(0,d.canno
`)}};t.Parser=d}}),xt=I({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/parser/handlebars-node-visitors.js"(t){"use strict";F(),Object.defineProperty(t,"__esModule",{value:!0}),t.HandlebarsNodeVisitors=void 0;var f=qt(),h=ge(),d=he(),c=ye(),o=we(),e=r(Le());function r(i){return i&&i.__esModule?i:{default:i}}var s=class extends f.Parser{get isTopLevel(){return this.elementStack.length===0}Program(i){let l=[],b;this.isTopLevel?b=e.default.template({body:l,blockParams:i.blockParams,loc:this.source.spanFor(i.loc)}):b=e.default.blockItself({body:l,blockParams:i.blockParams,chained:i.chained,loc:this.source.spanFor(i.loc)});let P,E=i.body.length;if(this.elementStack.push(b),E===0)return this.elementStack.pop();for(P=0;P<E;P++)this.acceptNode(i.body[P]);let v=this.elementStack.pop();if(v!==b){let _=v;throw(0,d.generateSyntaxError)("Unclosed element `".concat(_.tag,"`"),_.loc)}return b}BlockStatement(i){if(this.tokenizer.state==="comment"){this.appendToCommentData(this.sourceForNode(i));return}if(this.tokenizer.state!=="data"&&this.tokenizer.state!=="beforeData")throw(0,d.generateSyntaxError)("A block may only be used inside an HTML element or another block.",this.source.spanFor(i.loc));let{path:l,params:b,hash:P}=a(this,i);i.program.loc||(i.program.loc=h.NON_EXISTENT_LOCATION),i.inverse&&!i.inverse.loc&&(i.inverse.loc=h.NON_EXISTENT_LOCATION);let E=this.Program(i.program),v=i.inverse?this.Program(i.inverse):null,_=e.default.block({path:l,params:b,hash:P,defaultBlock:E,elseBlock:v,loc:this.source.spanFor(i.loc),openStrip:i.openStrip,inverseStrip:i.inverseStrip,closeStrip:i.closeStrip}),y=this.currentElement();(0,c.appendChild)(y,_)}MustacheStatement(i){let{tokenizer:l}=this;if(l.state==="comment"){this.appendToCommentData(this.sourceForNode(i));return}let b,{escaped:P,loc:E,strip:v}=i;if((0,c.isHBSLiteral)(i.path))b=e.default.mustache({path:this.acceptNode(i.path),params:[],hash:e.default.hash([],this.source.spanFor(i.path.loc).collapse("end")),trusting:!P,loc:this.source.spanFor(E),strip:v});else{let{path:_,params:y,hash:g}=a(this,i);b=e.default.mustache({path:_,params:y,hash:g,trusting:!P,loc:this.source.spanFor(E),strip:v})}switch(l.state){case"tagOpen":case"tagName":throw(0,d.generateSyntaxError)("Cannot use mustaches in an elements tagname",b.loc);case"beforeAttributeName":u(this.currentStartTag,b);break;case"attributeName":case"afterAttributeName":this.beginAttributeValue(!1),this.finishAttributeValue(),u(this.currentStartTag,b),l.transitionTo("beforeAttributeName");break;case"afterAttributeValueQuoted":u(this.currentStartTag,b),l.transitionTo("beforeAttributeName");break;case"beforeAttributeValue":this.beginAttributeValue(!1),this.appendDynamicAttributeValuePart(b),l.transitionTo("attributeValueUnquoted");break;case"attributeValueDoubleQuoted":case"attributeValueSingleQuoted":case"attributeValueUnquoted":this.appendDynamicAttributeValuePart(b);break;default:(0,c.appendChild)(this.currentElement(),b)}return b}appendDynamicAttributeValuePart(i){this.finalizeTextPart();let l=this.currentAttr;l.isDynamic=!0,l.parts.push(i)}finalizeTextPart(){let l=this.currentAttr.currentPart;l!==null&&(this.currentAttr.parts.push(l),this.startTextPart())}startTextPart(){this.currentAttr.currentPart=null}ContentStatement(i){n(this.tokenizer,i),this.tokenizer.tokenizePart(i.value),this.tokenizer.flushData()}CommentStatement(i){let{tokenizer:l}=this;if(l.state==="comment")return this.appendToCommentData(this.sourceForNode(i)),null;let{value:b,loc:P}=i,E=e.default.mustacheComment(b,this.source.spanFor(P));switch(l.state){case"beforeAttributeName":case"afterAttributeName":this.currentStartTag.comments.push(E);break;case"beforeData":case"data":(0,c.appendChild)(this.currentElement(),E);break;default:throw(0,d.generateSyntaxError)("Using a Handlebars comment when in the `".concat(l.state,"` state is not supported"),this.source.spanFor(i.loc))}return E}PartialStatement(i){throw(0,d.generateSyntaxError)("Handlebars partials are not supported",this.source.spanFor(i.loc))}PartialBlockStatement(i){throw(0,d.generateSyntaxError)("Handlebars part
`).length-1,columns:0};let P=i.split(l)[0].split(/\n/),E=P.length-1;return{lines:E,columns:P[E].length}}function n(i,l){let b=l.loc.start.line,P=l.loc.start.column,E=p(l.original,l.value);b=b+E.lines,E.lines?P=E.columns:P=P+E.columns,i.line=b,i.column=P}function a(i,l){if(l.path.type.endsWith("Literal")){let _=l.path,y="";throw _.type==="BooleanLiteral"?y=_.original.toString():_.type==="StringLiteral"?y='"'.concat(_.original,'"'):_.type==="NullLiteral"?y="null":_.type==="NumberLiteral"?y=_.value.toString():y="undefined",(0,d.generateSyntaxError)("".concat(_.type,' "').concat(_.type==="StringLiteral"?_.original:y,'" cannot be called as a sub-expression, replace (').concat(y,") with ").concat(y),i.source.spanFor(_.loc))}let b=l.path.type==="PathExpression"?i.PathExpression(l.path):i.SubExpression(l.path),P=l.params?l.params.map(_=>i.acceptNode(_)):[],E=P.length>0?P[P.length-1].loc:b.loc,v=l.hash?i.Hash(l.hash):{type:"Hash",pairs:[],loc:i.source.spanFor(E).collapse("end")};return{path:b,params:P,hash:v}}function u(i,l){let{path:b,params:P,hash:E,loc:v}=l;if((0,c.isHBSLiteral)(b)){let y="{{".concat((0,c.printLiteral)(b),"}}"),g="<".concat(i.name," ... ").concat(y," ...");throw(0,d.generateSyntaxError)("In ".concat(g,", ").concat(y," is not a valid modifier"),l.loc)}let _=e.default.elementModifier({path:b,params:P,hash:E,loc:v});i.modifiers.push(_)}}}),Fe=I({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/parser/tokenizer-event-handlers.js"(t){"use strict";F(),Object.defineProperty(t,"__esModule",{value:!0}),t.preprocess=_,t.TokenizerEventHandlers=void 0;var f=X(),h=It(),d=Ke(),c=b(We()),o=Te(),e=De(),r=ue(),s=he(),p=b(Ne()),n=b(Je()),a=ye(),u=b(Le()),i=b(ke()),l=xt();function b(y){return y&&y.__esModule?y:{default:y}}var P=class extends l.HandlebarsNodeVisitors{constructor(){super(...arguments),this.tagOpenLine=0,this.tagOpenColumn=0}reset(){this.currentNode=null}beginComment(){this.currentNode=u.default.comment("",this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn))}appendToCommentData(y){this.currentComment.value+=y}finishComment(){(0,a.appendChild)(this.currentElement(),this.finish(this.currentComment))}beginData(){this.currentNode=u.default.text({chars:"",loc:this.offset().collapsed()})}appendToData(y){this.currentData.chars+=y}finishData(){this.currentData.loc=this.currentData.loc.withEnd(this.offset()),(0,a.appendChild)(this.currentElement(),this.currentData)}tagOpen(){this.tagOpenLine=this.tokenizer.line,this.tagOpenColumn=this.tokenizer.column}beginStartTag(){this.currentNode={type:"StartTag",name:"",attributes:[],modifiers:[],comments:[],selfClosing:!1,loc:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}beginEndTag(){this.currentNode={type:"EndTag",name:"",attributes:[],modifiers:[],comments:[],selfClosing:!1,loc:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}finishTag(){let y=this.finish(this.currentTag);if(y.type==="StartTag"){if(this.finishStartTag(),y.name===":")throw(0,s.generateSyntaxError)("Invalid named block named detected, you may have created a named block without a name, or you may have began your name with a number. Named blocks must have names that are at least one character long, and begin with a lower case letter",this.source.spanFor({start:this.currentTag.loc.toJSON(),end:this.offset().toJSON()}));(o.voidMap[y.name]||y.selfClosing)&&this.finishEndTag(!0)}else y.type==="EndTag"&&this.finishEndTag(!1)}finishStartTag(){let{name:y,attributes:g,modifiers:L,comments:j,selfClosing:x,loc:w}=this.finish(this.currentStartTag),H=u.default.element({tag:y,selfClosing:x,attrs:g,modifiers:L,comments:j,children:[],blockParams:[],loc:w});this.elementStack.push(H)}finishEndTag(y){let g=this.finish(this.currentTag),L=this.elementStack.pop(),j=this.currentElement();this.validateEndTag(g,L,y),L.loc=L.loc.withEnd(this.offset()),(0,a.parseElementBlockParams)(L),(0,a.appendChild)(j,L)}markTagAsSelfClosing(){this.currentTag.selfClosing=!0}appendToTagName(y){this.currentTag.name+=y}beginAttribute(){let y=this.offset();this.currentAttribute={name:"",parts:[],currentPart:null,isQuoted:!1
`?x=L?L.loc.getEnd():this.currentAttr.valueSpan.getStart():x=x.move(-1),this.currentAttr.currentPart=u.default.text({chars:y,loc:x.collapsed()})}}finishAttributeValue(){this.finalizeTextPart();let y=this.currentTag,g=this.offset();if(y.type==="EndTag")throw(0,s.generateSyntaxError)("Invalid end tag: closing tag must not have attributes",this.source.spanFor({start:y.loc.toJSON(),end:g.toJSON()}));let{name:L,parts:j,start:x,isQuoted:w,isDynamic:H,valueSpan:m}=this.currentAttr,C=this.assembleAttributeValue(j,w,H,x.until(g));C.loc=m.withEnd(g);let S=u.default.attr({name:L,value:C,loc:x.until(g)});this.currentStartTag.attributes.push(S)}reportSyntaxError(y){throw(0,s.generateSyntaxError)(y,this.offset().collapsed())}assembleConcatenatedValue(y){for(let j=0;j<y.length;j++){let x=y[j];if(x.type!=="MustacheStatement"&&x.type!=="TextNode")throw(0,s.generateSyntaxError)("Unsupported node in quoted attribute value: "+x.type,x.loc)}(0,f.assertPresent)(y,"the concatenation parts of an element should not be empty");let g=y[0],L=y[y.length-1];return u.default.concat(y,this.source.spanFor(g.loc).extend(this.source.spanFor(L.loc)))}validateEndTag(y,g,L){let j;if(o.voidMap[y.name]&&!L?j="<".concat(y.name,"> elements do not need end tags. You should remove it"):g.tag===void 0?j="Closing tag </".concat(y.name,"> without an open tag"):g.tag!==y.name&&(j="Closing tag </".concat(y.name,"> did not match last open tag <").concat(g.tag,"> (on line ").concat(g.loc.startPosition.line,")")),j)throw(0,s.generateSyntaxError)(j,y.loc)}assembleAttributeValue(y,g,L,j){if(L){if(g)return this.assembleConcatenatedValue(y);if(y.length===1||y.length===2&&y[1].type==="TextNode"&&y[1].chars==="/")return y[0];throw(0,s.generateSyntaxError)("An unquoted attribute value must be a string or a mustache, preceded by whitespace or a '=' character, and followed by whitespace, a '>' character, or '/>'",j)}else return y.length>0?y[0]:u.default.text({chars:"",loc:j})}};t.TokenizerEventHandlers=P;var E={parse:_,builders:i.default,print:c.default,traverse:p.default,Walker:n.default},v=class extends d.EntityParser{constructor(){super({})}parse(){}};function _(y){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var L,j,x;let w=g.mode||"precompile",H,m;typeof y=="string"?(H=new e.Source(y,(L=g.meta)===null||L===void 0?void 0:L.moduleName),w==="codemod"?m=(0,h.parseWithoutProcessing)(y,g.parseOptions):m=(0,h.parse)(y,g.parseOptions)):y instanceof e.Source?(H=y,w==="codemod"?m=(0,h.parseWithoutProcessing)(y.source,g.parseOptions):m=(0,h.parse)(y.source,g.parseOptions)):(H=new e.Source("",(j=g.meta)===null||j===void 0?void 0:j.moduleName),m=y);let C;w==="codemod"&&(C=new v);let S=r.SourceSpan.forCharPositions(H,0,H.source.length);m.loc={source:"(program)",start:S.startPosition,end:S.endPosition};let R=new P(H,C,w).acceptTemplate(m);if(g.strictMode&&(R.blockParams=(x=g.locals)!==null&&x!==void 0?x:[]),g&&g.plugins&&g.plugins.ast)for(let M=0,V=g.plugins.ast.length;M<V;M++){let G=g.plugins.ast[M],K=(0,f.assign)({},g,{syntax:E},{plugins:void 0}),U=G(K);(0,p.default)(R,U.visitor)}return R}}}),Xe=I({"node_modules/@glimmer/syntax/dist/commonjs/es2017/lib/symbol-table.js"(t){"use strict";F(),Object.defineProperty(t,"__esModule",{value:!0}),t.BlockSymbolTable=t.ProgramSymbolTable=t.SymbolTable=void 0;var f=X(),h=ye(),d=class{static top(e,r){return new c(e,r)}child(e){let r=e.map(s=>this.allocate(s));return new o(this,e,r)}};t.SymbolTable=d;var c=class extends d{constructor(e,r){super(),this.templateLocals=e,this.customizeComponentName=r,this.symbols=[],this.upvars=[],this.size=1,this.named=(0,f.dict)(),this.blocks=(0,f.dict)(),this.usedTemplateLocals=[],this._hasEval=!1}getUsedTemplateLocals(){return this.usedTemplateLocals}setHasEval(){this._hasEval=!0}get hasEval(){return this._hasEval}has(e){return this.templateLocals.indexOf(e)!==-1}get(e){let r=this.usedTemplateLocals.indexOf(e);return r!==-1?[r,!0]:(r=this.usedTemplateLocals.length,this.usedTemplateLocals.push(e),[r,!0])}getLocalsMap(){return(0,f.dict)()}getEvalInfo(){let e=this.getLocalsMap();return Object.keys(e).m