gant-core 0.2.36 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.changeset/README.md +8 -0
- package/.changeset/config.json +11 -0
- package/CHANGELOG.md +14 -0
- package/eslint.config.mjs +26 -0
- package/lib/cli/acorn.js +2 -1
- package/lib/cli/angular.js +2 -1
- package/lib/cli/babel.js +2 -1
- package/lib/cli/config/defineConfig.js +103 -1
- package/lib/cli/config/index.js +2 -1
- package/lib/cli/copyfiles/index.js +2 -1
- package/lib/cli/create/config/index.js +3 -2
- package/lib/cli/create/index.js +1 -0
- package/lib/cli/create/module/index.js +2 -9
- package/lib/cli/estree.js +2 -1
- package/lib/cli/flow.js +2 -1
- package/lib/cli/glimmer.js +2 -1
- package/lib/cli/graphql.js +2 -1
- package/lib/cli/html.js +2 -1
- package/lib/cli/i18n/index.js +3 -2
- package/lib/cli/i18n/utils.js +2 -1
- package/lib/cli/index.d.ts +1836 -0
- package/lib/cli/index.js +2 -1
- package/lib/cli/markdown.js +2 -1
- package/lib/cli/meriyah.js +2 -1
- package/lib/cli/postcss.js +2 -1
- package/lib/cli/routes/index.js +2 -1
- package/lib/cli/template/template.vue.config.txt +1 -1
- package/lib/cli/template/types.d.txt +134 -132
- package/lib/cli/tsconfig/index.js +2 -1
- package/lib/cli/typescript.js +2 -1
- package/lib/cli/utils/detectPort.js +3 -0
- package/lib/cli/utils/getJavascriptfile.js +2 -1
- package/lib/cli/utils/index.js +2 -1
- package/lib/cli/webpack/Webpack.js +2 -1
- package/lib/cli/webpack/config/analyzer.config.js +2 -1
- package/lib/cli/webpack/config/browsers.js +1 -0
- package/lib/cli/webpack/config/cssRules.js +2 -1
- package/lib/cli/webpack/config/default.config.js +2 -1
- package/lib/cli/webpack/config/development.config.js +2 -1
- package/lib/cli/webpack/config/framework/index.js +3 -0
- package/lib/cli/webpack/config/framework/react.js +3 -0
- package/lib/cli/webpack/config/framework/vue.js +3 -0
- package/lib/cli/webpack/config/index.js +1 -0
- package/lib/cli/webpack/config/production.config.js +2 -1
- package/lib/cli/webpack/plugins/copy.js +2 -1
- package/lib/cli/webpack/plugins/index.js +2 -1
- package/lib/cli/yaml.js +2 -1
- package/lib/core/i18n/index.js +1 -1
- package/lib/core/index.js +1 -1
- package/lib/core/microservices/index.js +10 -1
- package/lib/core/request/index.js +1 -1
- package/lib/core/store/index.js +1 -1
- package/lib/core/theme/index.js +1 -1
- package/lib/core/utils/index.js +83 -1
- package/lib/types/index.d.ts +115 -104
- package/package.json +62 -44
- package/rollup.config.js +27 -10
- package/tsconfig.json +1 -0
- package/lib/core/cache/index.js.map +0 -1
- package/lib/core/event/index.js.map +0 -1
- package/lib/core/i18n/index.js.map +0 -1
- package/lib/core/index.js.map +0 -1
- package/lib/core/microservices/index.js.map +0 -1
- package/lib/core/request/index.js.map +0 -1
- package/lib/core/store/index.js.map +0 -1
- package/lib/core/theme/index.js.map +0 -1
- package/lib/core/utils/index.js.map +0 -1
package/lib/cli/glimmer.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict";var t=Object.defineProperty,e=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})},r=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},n=(t,e,n)=>(r(t,e,"read from private field"),n?n.call(t):e.get(t)),a={};e(a,{languages:()=>$t,parsers:()=>Vt,printers:()=>un});var i=(t,e,r,n)=>{if(!t||null!=e)return e.replaceAll?e.replaceAll(r,n):r.global?e.replace(r,n):e.split(r).join(n)},s="string",o="array",l="cursor",c="indent",u="align",h="trim",p="group",d="fill",m="if-break",f="indent-if-break",g="line-suffix",y="line-suffix-boundary",b="line",v="label",S="break-parent",w=new Set([l,c,u,h,p,d,m,f,g,y,b,v,S]);var k=function(t){if("string"==typeof t)return s;if(Array.isArray(t))return o;if(!t)return;let{type:e}=t;return w.has(e)?e:void 0};function E(t){let e=null===t?"null":typeof t;if("string"!==e&&"object"!==e)return`Unexpected doc '${e}', \nExpected it to be 'string' or 'object'.`;if(k(t))throw new Error("doc is valid.");let r=Object.prototype.toString.call(t);if("[object Object]"!==r)return`Unexpected doc '${r}'.`;let n=(t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t))([...w].map((t=>`'${t}'`)));return`Unexpected doc.type '${t.type}'.\nExpected it to be ${n}.`}var N=class extends Error{name="InvalidDocError";constructor(t){super(E(t)),this.doc=t}},T=()=>{};function P(t){return{type:c,contents:t}}function A(t,e={}){return T(e.expandedStates),{type:p,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function x(t){return function(t,e){return{type:u,contents:e,n:t}}(-1,t)}function D(t){return{type:d,parts:t}}function L(t,e="",r={}){return{type:m,breakContents:t,flatContents:e,groupId:r.groupId}}var C={type:S},_={type:b},q={type:b,soft:!0},I=[{type:b,hard:!0},C],B=[{type:b,hard:!0,literal:!0},C];function O(t,e){let r=[];for(let n=0;n<e.length;n++)0!==n&&r.push(t),r.push(e[n]);return r}var H=(t,e,r)=>{if(!t||null!=e)return Array.isArray(e)||"string"==typeof e?e[r<0?e.length+r:r]:e.at(r)};function $(t,e){if("string"==typeof t)return e(t);let r=new Map;return n(t);function n(t){if(r.has(t))return r.get(t);let a=function(t){switch(k(t)){case o:return e(t.map(n));case d:return e({...t,parts:t.parts.map(n)});case m:return e({...t,breakContents:n(t.breakContents),flatContents:n(t.flatContents)});case p:{let{expandedStates:r,contents:a}=t;return r?(r=r.map(n),a=r[0]):a=n(a),e({...t,contents:a,expandedStates:r})}case u:case c:case f:case v:case g:return e({...t,contents:n(t.contents)});case s:case l:case h:case y:case b:case S:return e(t);default:throw new N(t)}}(t);return r.set(t,a),a}}var V="'";var R=function(t,e){let r=!0===e||e===V?V:'"',n=r===V?'"':V,a=0,i=0;for(let e of t)e===r?a++:e===n&&i++;return a>i?n:r};var U;U=new WeakMap;var F=class{constructor(t){((t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)})(this,U,void 0),((t,e,n,a)=>{r(t,e,"write to private field"),a?a.call(t,n):e.set(t,n)})(this,U,new Set(t))}getLeadingWhitespaceCount(t){let e=n(this,U),r=0;for(let n=0;n<t.length&&e.has(t.charAt(n));n++)r++;return r}getTrailingWhitespaceCount(t){let e=n(this,U),r=0;for(let n=t.length-1;n>=0&&e.has(t.charAt(n));n--)r++;return r}getLeadingWhitespace(t){let e=this.getLeadingWhitespaceCount(t);return t.slice(0,e)}getTrailingWhitespace(t){let e=this.getTrailingWhitespaceCount(t);return t.slice(t.length-e)}hasLeadingWhitespace(t){return n(this,U).has(t.charAt(0))}hasTrailingWhitespace(t){return n(this,U).has(H(!1,t,-1))}trimStart(t){let e=this.getLeadingWhitespaceCount(t);return t.slice(e)}trimEnd(t){let e=this.getTrailingWhitespaceCount(t);return t.slice(0,t.length-e)}trim(t){return this.trimEnd(this.trimStart(t))}split(t,e=!1){let r=`[${function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}([...n(this,U)].join(""))}]+`,a=new RegExp(e?`(${r})`:r);return t.split(a)}hasWhitespaceCharacter(t){let e=n(this,U);return Array.prototype.some.call(t,(t=>e.has(t)))}hasNonWhitespaceCharacter(t){let e=n(this,U);return Array.prototype.some.call(t,(t=>!e.has(t)))}isWhitespaceOnly(t){let e=n(this,U);return Array.prototype.every.call(t,(t=>e.has(t)))}},M=new F(["\t","\n","\f","\r"," "]);var z=function(t){return Array.isArray(t)&&t.length>0},j=class extends Error{name="UnexpectedNodeError";constructor(t,e,r="type"){super(`Unexpected ${e} node ${r}: ${JSON.stringify(t[r])}.`),this.node=t}};function G(t,e){if("TextNode"===t.type){let r=t.chars.trim();if(!r)return null;e.chars=M.split(r).join(" ")}"ElementNode"===t.type&&(delete e.startTag,delete e.parts,delete e.endTag,delete e.nameNode),("Block"===t.type||"ElementNode"===t.type)&&delete e.blockParamNodes,"AttrNode"===t.type&&"class"===t.name.toLowerCase()&&delete e.value}G.ignoredProperties=new Set(["loc","selfClosing"]);var W=G,K=null;function Q(t){if(null!==K&&(K.property,1)){let t=K;return K=Q.prototype=null,t}return K=Q.prototype=t??Object.create(null),new Q}for(let t=0;t<=10;t++)Q();var J=function(t,e="type"){return function(t){Q(t)}(t),function(r){let n=r[e],a=t[n];if(!Array.isArray(a))throw Object.assign(new Error(`Missing visitor keys for '${n}'.`),{node:r});return a}},Y=J({Program:["body"],Template:["body"],Block:["body"],MustacheStatement:["path","params","hash"],BlockStatement:["path","params","hash","program","inverse"],ElementModifierStatement:["path","params","hash"],PartialStatement:["name","params","hash"],CommentStatement:[],MustacheCommentStatement:[],ElementNode:["attributes","modifiers","children","comments"],AttrNode:["value"],TextNode:[],ConcatStatement:["parts"],SubExpression:["path","params","hash"],PathExpression:[],PathHead:[],StringLiteral:[],BooleanLiteral:[],NumberLiteral:[],NullLiteral:[],UndefinedLiteral:[],Hash:["pairs"],HashPair:["value"],NamedBlock:["attributes","modifiers","children","comments"],SimpleElement:["attributes","modifiers","children","comments"],Component:["head","attributes","modifiers","children","comments"]});function X(t){return t.loc.start.offset}function Z(t){return t.loc.end.offset}var tt=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]);function et(t){return t.toUpperCase()===t}function rt(t){return!0===t.selfClosing||function(t){return tt.has(t.toLowerCase())&&!et(t[0])}(t.tag)||function(t){return"ElementNode"===t.type&&"string"==typeof t.tag&&!t.tag.startsWith(":")&&(et(t.tag[0])||t.tag.includes("."))}(t)&&t.children.every((t=>nt(t)))}function nt(t){return"TextNode"===t.type&&!/\S/.test(t.chars)}function at(t){return"MustacheCommentStatement"===(null==t?void 0:t.type)&&"string"==typeof t.value&&"prettier-ignore"===t.value.trim()}var it=2;function st(t,e){return X(t)-X(e)}function ot(t,e,r){let{node:n}=t,a=n.children.every((t=>nt(t)));return"ignore"===e.htmlWhitespaceSensitivity&&a?"":t.map((({isFirst:t})=>{let n=r();return t&&"ignore"===e.htmlWhitespaceSensitivity?[q,n]:n}),"children")}function lt(t){return rt(t)?L([q,"/>"],[" />",q]):L([q,">"],">")}function ct(t){var e;return[!1===t.escaped?"{{{":"{{",null!=(e=t.strip)&&e.open?"~":""]}function ut(t){var e;let r=!1===t.escaped?"}}}":"}}";return[null!=(e=t.strip)&&e.close?"~":"",r]}function ht(t){return[ct(t),t.openStrip.open?"~":"","#"]}function pt(t){let e=ut(t);return[t.openStrip.close?"~":"",e]}function dt(t){return[ct(t),t.closeStrip.open?"~":"","/"]}function mt(t){let e=ut(t);return[t.closeStrip.close?"~":"",e]}function ft(t){return[ct(t),t.inverseStrip.open?"~":""]}function gt(t){let e=ut(t);return[t.inverseStrip.close?"~":"",e]}function yt(t,e){let{node:r}=t,n=[],a=Ct(t,e);return a&&n.push(A(a)),z(r.program.blockParams)&&n.push(_t(r.program)),A([ht(r),Lt(t,e),n.length>0?P([_,O(_,n)]):"",q,pt(r)])}function bt(t,e){return["ignore"===e.htmlWhitespaceSensitivity?I:"",ft(t),"else",gt(t)]}function vt(t,e){let{node:r,grandparent:n}=t;return A([ft(n),["else"," ",n.inverse.body[0].path.parts[0]],P([_,A(Ct(t,e)),...z(r.program.blockParams)?[_,_t(r.program)]:[]]),q,gt(n)])}function St(t,e,r){let{node:n}=t;return"ignore"===r.htmlWhitespaceSensitivity?[wt(n)?q:I,dt(n),e("path"),mt(n)]:[dt(n),e("path"),mt(n)]}function wt(t){return"BlockStatement"===t.type&&t.program.body.every((t=>nt(t)))}function kt(t){return"BlockStatement"===t.type&&t.inverse}function Et(t,e,r){let{node:n}=t;if(wt(n))return"";let a=e("program");return"ignore"===r.htmlWhitespaceSensitivity?P([I,a]):P(a)}function Nt(t,e,r){let{node:n}=t,a=e("inverse"),i="ignore"===r.htmlWhitespaceSensitivity?[I,a]:a;return function(t){return kt(t)&&1===t.inverse.body.length&&"BlockStatement"===t.inverse.body[0].type&&t.inverse.body[0].path.parts[0]===t.path.parts[0]}(n)?i:kt(n)?[bt(n,r),P(i)]:""}function Tt(t){return O(_,M.split(t))}function Pt(t){return(t="string"==typeof t?t:"").split("\n").length-1}function At(t=0){return Array.from({length:Math.min(t,it)}).fill(I)}function xt(t,e){let r=Lt(t,e),n=Ct(t,e);return n?P([r,_,A(n)]):r}function Dt(t,e){let r=Lt(t,e),n=Ct(t,e);return n?[P([r,_,n]),q]:r}function Lt(t,e){return e("path")}function Ct(t,e){var r;let{node:n}=t,a=[];return n.params.length>0&&a.push(...t.map(e,"params")),(null==(r=n.hash)?void 0:r.pairs.length)>0&&a.push(e("hash")),0===a.length?"":O(_,a)}function _t(t){return["as |",t.blockParams.join(" "),"|"]}var qt=new Set("!\"#%&'()*+,./;<=>@[\\]^`{|}~"),It=new Set(["true","false","null","undefined"]),Bt=(t,e)=>0!==e&&It.has(t)||/\s/.test(t)||/^\d/.test(t)||Array.prototype.some.call(t,(t=>qt.has(t)));var Ot={print:function(t,e,r){var n,a,s,o,l,c,u,h,p;let{node:d}=t;switch(d.type){case"Block":case"Program":case"Template":return A(t.map(r,"body"));case"ElementNode":{let a=A(function(t,e){let{node:r}=t,n=["attributes","modifiers","comments"].filter((t=>z(r[t]))),a=n.flatMap((t=>r[t])).sort(st);for(let r of n)t.each((({node:t})=>{let r=a.indexOf(t);a.splice(r,1,[_,e()])}),r);return z(r.blockParams)&&a.push(_,_t(r)),["<",r.tag,P(a),lt(r)]}(t,r)),i="ignore"===e.htmlWhitespaceSensitivity&&"ElementNode"===(null==(n=t.next)?void 0:n.type)?q:"";if(rt(d))return[a,i];let s=["</",d.tag,">"];return 0===d.children.length?[a,P(s),i]:"ignore"===e.htmlWhitespaceSensitivity?[a,P(ot(t,e,r)),I,P(s),i]:[a,P(A(ot(t,e,r))),P(s),i]}case"BlockStatement":return function(t){var e;let{grandparent:r,node:n}=t;return 1===(null==(e=null==r?void 0:r.inverse)?void 0:e.body.length)&&r.inverse.body[0]===n&&r.inverse.body[0].path.parts[0]===r.path.parts[0]}(t)?[vt(t,r),Et(t,r,e),Nt(t,r,e)]:[yt(t,r),A([Et(t,r,e),Nt(t,r,e),St(t,r,e)])];case"ElementModifierStatement":return A(["{{",Dt(t,r),"}}"]);case"MustacheStatement":return A([ct(d),Dt(t,r),ut(d)]);case"SubExpression":return A(["(",xt(t,r),q,")"]);case"AttrNode":{let{name:t,value:n}=d,a="TextNode"===n.type;if(a&&""===n.chars&&X(n)===Z(n))return t;let i=a?R(n.chars,e.singleQuote):"ConcatStatement"===n.type?R(n.parts.map((t=>"TextNode"===t.type?t.chars:"")).join(""),e.singleQuote):"",s=r("value");return[t,"=",i,"class"===t&&i?A(P(s)):s,i]}case"ConcatStatement":return t.map(r,"parts");case"Hash":return O(_,t.map(r,"pairs"));case"HashPair":return[d.key,"=",r("value")];case"TextNode":{let r=i(!1,d.chars,"{{","\\{{"),n=function(t){for(let e=0;e<2;e++){let r=t.getParentNode(e);if("AttrNode"===(null==r?void 0:r.type))return r.name.toLowerCase()}}(t);if(n){if("class"===n){let e=r.trim().split(/\s+/).join(" "),n=!1,i=!1;return"ConcatStatement"===t.parent.type&&("MustacheStatement"===(null==(a=t.previous)?void 0:a.type)&&/^\s/.test(r)&&(n=!0),"MustacheStatement"===(null==(s=t.next)?void 0:s.type)&&/\s$/.test(r)&&""!==e&&(i=!0)),[n?_:"",e,i?_:""]}return function(t,e=B){return $(t,(t=>"string"==typeof t?O(e,t.split("\n")):t))}(r)}let m=M.isWhitespaceOnly(r),{isFirst:f,isLast:g}=t;if("ignore"!==e.htmlWhitespaceSensitivity){let e=g&&"Template"===t.parent.type,n=f&&"Template"===t.parent.type;if(m){if(n||e)return"";let t=[_],a=Pt(r);return a&&(t=At(a)),g&&(t=t.map((t=>x(t)))),t}let a=M.getLeadingWhitespace(r),i=[];if(a){i=[_];let t=Pt(a);t&&(i=At(t)),r=r.slice(a.length)}let s=M.getTrailingWhitespace(r),o=[];if(s){if(!e){o=[_];let t=Pt(s);t&&(o=At(t)),g&&(o=o.map((t=>x(t))))}r=r.slice(0,-s.length)}return[...i,D(Tt(r)),...o]}let y=Pt(r),b=function(t){t="string"==typeof t?t:"";let e=(t.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return Pt(e)}(r),v=function(t){t="string"==typeof t?t:"";let e=(t.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return Pt(e)}(r);if((f||g)&&m&&("Block"===t.parent.type||"ElementNode"===t.parent.type||"Template"===t.parent.type))return"";m&&y?(b=Math.min(y,it),v=0):(("BlockStatement"===(null==(o=t.next)?void 0:o.type)||"ElementNode"===(null==(l=t.next)?void 0:l.type))&&(v=Math.max(v,1)),("BlockStatement"===(null==(c=t.previous)?void 0:c.type)||"ElementNode"===(null==(u=t.previous)?void 0:u.type))&&(b=Math.max(b,1)));let S="",w="";return 0===v&&"MustacheStatement"===(null==(h=t.next)?void 0:h.type)&&(w=" "),0===b&&"MustacheStatement"===(null==(p=t.previous)?void 0:p.type)&&(S=" "),f&&(b=0,S=""),g&&(v=0,w=""),M.hasLeadingWhitespace(r)&&(r=S+M.trimStart(r)),M.hasTrailingWhitespace(r)&&(r=M.trimEnd(r)+w),[...At(b),D(Tt(r)),...At(v)]}case"MustacheCommentStatement":{let t=X(d),r=Z(d),n="~"===e.originalText.charAt(t+2),a="~"===e.originalText.charAt(r-3),i=d.value.includes("}}")?"--":"";return["{{",n?"~":"","!",i,d.value,i,a?"~":"","}}"]}case"PathExpression":return function(t){if(t.data||1===t.parts.length&&t.original.includes("/"))return t.original;let{parts:e}=t;return t.this&&(e=["this",...e]),e.map(((t,e)=>Bt(t,e)?`[${t}]`:t)).join(".")}(d);case"BooleanLiteral":case"NumberLiteral":return String(d.value);case"CommentStatement":return["\x3c!--",d.value,"--\x3e"];case"StringLiteral":return function(t,e){let{node:{value:r}}=t,n=R(r,function(t){let{ancestors:e}=t,r=e.findIndex((t=>"SubExpression"!==t.type));return-1!==r&&"ConcatStatement"===e[r+1].type&&"AttrNode"===e[r+2].type}(t)?!e.singleQuote:e.singleQuote);return[n,i(!1,r,n,`\\${n}`),n]}(t,e);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new j(d,"Handlebars")}},massageAstNode:W,hasPrettierIgnore:function(t){return at(t.node)||t.isInArray&&("children"===t.key||"body"===t.key||"parts"===t.key)&&at(t.siblings[t.index-2])},getVisitorKeys:Y},Ht=Ot,$t=[{linguistLanguageId:155,name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}],Vt={};function Rt(t,e){if(!t)throw new Error(e||"assertion failure")}function Ut(t){if(null==t)throw new Error("Expected value to be present");return t}function Ft(t,e){if(null==t)throw new Error(e);return t}function Mt(t){return t.length>0}function zt(t,e="unexpected empty list"){if(!Mt(t))throw new Error(e)}function jt(t,e="unexpected empty list"){return zt(t,e),t}function Gt(t){return 0===t.length?void 0:t[t.length-1]}function Wt(t){return 0===t.length?void 0:t[0]}e(Vt,{glimmer:()=>cn});var Kt,Qt=((Kt={})[Kt.MAX_SMI=1073741823]="MAX_SMI",Kt[Kt.MIN_SMI=-1073741824]="MIN_SMI",Kt[Kt.SIGN_BIT=-536870913]="SIGN_BIT",Kt[Kt.MAX_INT=536870911]="MAX_INT",Kt[Kt.MIN_INT=-536870912]="MIN_INT",Kt[Kt.FALSE_HANDLE=0]="FALSE_HANDLE",Kt[Kt.TRUE_HANDLE=1]="TRUE_HANDLE",Kt[Kt.NULL_HANDLE=2]="NULL_HANDLE",Kt[Kt.UNDEFINED_HANDLE=3]="UNDEFINED_HANDLE",Kt[Kt.ENCODED_FALSE_HANDLE=0]="ENCODED_FALSE_HANDLE",Kt[Kt.ENCODED_TRUE_HANDLE=1]="ENCODED_TRUE_HANDLE",Kt[Kt.ENCODED_NULL_HANDLE=2]="ENCODED_NULL_HANDLE",Kt[Kt.ENCODED_UNDEFINED_HANDLE=3]="ENCODED_UNDEFINED_HANDLE",Kt);function Jt(t){return(t|=0)<0?function(t){return t&Qt.SIGN_BIT}(t):function(t){return~t}(t)}function Yt(t){return(t|=0)>Qt.SIGN_BIT?function(t){return~t}(t):function(t){return t|~Qt.SIGN_BIT}(t)}[1,-1].forEach((t=>Yt(Jt(t))));var Xt=Object.assign,Zt=console;var te=function(){var t=function(t,e,r,n){for(r=r||{},n=t.length;n--;r[t[n]]=e);return r},e=[2,44],r=[1,20],n=[5,14,15,19,29,34,39,44,47,48,52,56,60],a=[1,35],i=[1,38],s=[1,30],o=[1,31],l=[1,32],c=[1,33],u=[1,34],h=[1,37],p=[14,15,19,29,34,39,44,47,48,52,56,60],d=[14,15,19,29,34,44,47,48,52,56,60],m=[15,18],f=[14,15,19,29,34,47,48,52,56,60],g=[33,64,71,79,80,81,82,83,84],y=[23,33,55,64,67,71,74,79,80,81,82,83,84],b=[1,51],v=[23,33,55,64,67,71,74,79,80,81,82,83,84,86],S=[2,43],w=[55,64,71,79,80,81,82,83,84],k=[1,58],E=[1,59],N=[1,66],T=[33,64,71,74,79,80,81,82,83,84],P=[23,64,71,79,80,81,82,83,84],A=[1,76],x=[64,67,71,79,80,81,82,83,84],D=[33,74],L=[23,33,55,67,71,74],C=[1,106],_=[1,118],q=[71,76],I={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,expr:49,mustache_repetition0:50,mustache_option0:51,OPEN_UNESCAPED:52,mustache_repetition1:53,mustache_option1:54,CLOSE_UNESCAPED:55,OPEN_PARTIAL:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,sexpr:63,OPEN_SEXPR:64,sexpr_repetition0:65,sexpr_option0:66,CLOSE_SEXPR:67,hash:68,hash_repetition_plus0:69,hashSegment:70,ID:71,EQUALS:72,blockParams:73,OPEN_BLOCK_PARAMS:74,blockParams_repetition_plus0:75,CLOSE_BLOCK_PARAMS:76,path:77,dataName:78,STRING:79,NUMBER:80,BOOLEAN:81,UNDEFINED:82,NULL:83,DATA:84,pathSegments:85,SEP:86,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",52:"OPEN_UNESCAPED",55:"CLOSE_UNESCAPED",56:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",64:"OPEN_SEXPR",67:"CLOSE_SEXPR",71:"ID",72:"EQUALS",74:"OPEN_BLOCK_PARAMS",76:"CLOSE_BLOCK_PARAMS",79:"STRING",80:"NUMBER",81:"BOOLEAN",82:"UNDEFINED",83:"NULL",84:"DATA",86:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[49,1],[49,1],[63,5],[68,1],[70,3],[73,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[78,2],[77,1],[85,3],[85,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[50,0],[50,2],[51,0],[51,1],[53,0],[53,2],[54,0],[54,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[65,0],[65,2],[66,0],[66,1],[69,1],[69,2],[75,1],[75,2]],performAction:function(t,e,r,n,a,i,s){var o=i.length-1;switch(a){case 1:return i[o-1];case 2:this.$=n.prepareProgram(i[o]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 27:case 28:case 33:case 34:this.$=i[o];break;case 9:this.$={type:"CommentStatement",value:n.stripComment(i[o]),strip:n.stripFlags(i[o],i[o]),loc:n.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:i[o],value:i[o],loc:n.locInfo(this._$)};break;case 11:this.$=n.prepareRawBlock(i[o-2],i[o-1],i[o],this._$);break;case 12:this.$={path:i[o-3],params:i[o-2],hash:i[o-1]};break;case 13:this.$=n.prepareBlock(i[o-3],i[o-2],i[o-1],i[o],!1,this._$);break;case 14:this.$=n.prepareBlock(i[o-3],i[o-2],i[o-1],i[o],!0,this._$);break;case 15:this.$={open:i[o-5],path:i[o-4],params:i[o-3],hash:i[o-2],blockParams:i[o-1],strip:n.stripFlags(i[o-5],i[o])};break;case 16:case 17:this.$={path:i[o-4],params:i[o-3],hash:i[o-2],blockParams:i[o-1],strip:n.stripFlags(i[o-5],i[o])};break;case 18:this.$={strip:n.stripFlags(i[o-1],i[o-1]),program:i[o]};break;case 19:var l=n.prepareBlock(i[o-2],i[o-1],i[o],i[o],!1,this._$),c=n.prepareProgram([l],i[o-1].loc);c.chained=!0,this.$={strip:i[o-2].strip,program:c,chain:!0};break;case 21:this.$={path:i[o-1],strip:n.stripFlags(i[o-2],i[o])};break;case 22:case 23:this.$=n.prepareMustache(i[o-3],i[o-2],i[o-1],i[o-4],n.stripFlags(i[o-4],i[o]),this._$);break;case 24:this.$={type:"PartialStatement",name:i[o-3],params:i[o-2],hash:i[o-1],indent:"",strip:n.stripFlags(i[o-4],i[o]),loc:n.locInfo(this._$)};break;case 25:this.$=n.preparePartialBlock(i[o-2],i[o-1],i[o],this._$);break;case 26:this.$={path:i[o-3],params:i[o-2],hash:i[o-1],strip:n.stripFlags(i[o-4],i[o])};break;case 29:this.$={type:"SubExpression",path:i[o-3],params:i[o-2],hash:i[o-1],loc:n.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:i[o],loc:n.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:n.id(i[o-2]),value:i[o],loc:n.locInfo(this._$)};break;case 32:this.$=n.id(i[o-1]);break;case 35:this.$={type:"StringLiteral",value:i[o],original:i[o],loc:n.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(i[o]),original:Number(i[o]),loc:n.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===i[o],original:"true"===i[o],loc:n.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:n.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:n.locInfo(this._$)};break;case 40:this.$=n.preparePath(!0,i[o],this._$);break;case 41:this.$=n.preparePath(!1,i[o],this._$);break;case 42:i[o-2].push({part:n.id(i[o]),original:i[o],separator:i[o-1]}),this.$=i[o-2];break;case 43:this.$=[{part:n.id(i[o]),original:i[o]}];break;case 44:case 46:case 48:case 56:case 62:case 68:case 76:case 80:case 84:case 88:case 92:this.$=[];break;case 45:case 47:case 49:case 57:case 63:case 69:case 77:case 81:case 85:case 89:case 93:case 97:case 99:i[o-1].push(i[o]);break;case 96:case 98:this.$=[i[o]]}},table:[t([5,14,15,19,29,34,48,52,56,60],e,{3:1,4:2,6:3}),{1:[3]},{5:[1,4]},t([5,39,44,47],[2,2],{7:5,8:6,9:7,10:8,11:9,12:10,13:11,24:15,27:16,16:17,59:19,14:[1,12],15:r,19:[1,23],29:[1,21],34:[1,22],48:[1,13],52:[1,14],56:[1,18],60:[1,24]}),{1:[2,1]},t(n,[2,45]),t(n,[2,3]),t(n,[2,4]),t(n,[2,5]),t(n,[2,6]),t(n,[2,7]),t(n,[2,8]),t(n,[2,9]),{20:26,49:25,63:27,64:a,71:i,77:28,78:29,79:s,80:o,81:l,82:c,83:u,84:h,85:36},{20:26,49:39,63:27,64:a,71:i,77:28,78:29,79:s,80:o,81:l,82:c,83:u,84:h,85:36},t(p,e,{6:3,4:40}),t(d,e,{6:3,4:41}),t(m,[2,46],{17:42}),{20:26,49:43,63:27,64:a,71:i,77:28,78:29,79:s,80:o,81:l,82:c,83:u,84:h,85:36},t(f,e,{6:3,4:44}),t([5,14,15,18,19,29,34,39,44,47,48,52,56,60],[2,10]),{20:45,71:i,77:28,78:29,79:s,80:o,81:l,82:c,83:u,84:h,85:36},{20:46,71:i,77:28,78:29,79:s,80:o,81:l,82:c,83:u,84:h,85:36},{20:47,71:i,77:28,78:29,79:s,80:o,81:l,82:c,83:u,84:h,85:36},{20:26,49:48,63:27,64:a,71:i,77:28,78:29,79:s,80:o,81:l,82:c,83:u,84:h,85:36},t(g,[2,76],{50:49}),t(y,[2,27]),t(y,[2,28]),t(y,[2,33]),t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),t(y,[2,38]),t(y,[2,39]),{20:26,49:50,63:27,64:a,71:i,77:28,78:29,79:s,80:o,81:l,82:c,83:u,84:h,85:36},t(y,[2,41],{86:b}),{71:i,85:52},t(v,S),t(w,[2,80],{53:53}),{25:54,38:56,39:k,43:57,44:E,45:55,47:[2,52]},{28:60,43:61,44:E,47:[2,54]},{13:63,15:r,18:[1,62]},t(g,[2,84],{57:64}),{26:65,47:N},t(T,[2,56],{30:67}),t(T,[2,62],{35:68}),t(P,[2,48],{21:69}),t(g,[2,88],{61:70}),{20:26,33:[2,78],49:72,51:71,63:27,64:a,68:73,69:74,70:75,71:A,77:28,78:29,79:s,80:o,81:l,82:c,83:u,84:h,85:36},t(x,[2,92],{65:77}),{71:[1,78]},t(y,[2,40],{86:b}),{20:26,49:80,54:79,55:[2,82],63:27,64:a,68:81,69:74,70:75,71:A,77:28,78:29,79:s,80:o,81:l,82:c,83:u,84:h,85:36},{26:82,47:N},{47:[2,53]},t(p,e,{6:3,4:83}),{47:[2,20]},{20:84,71:i,77:28,78:29,79:s,80:o,81:l,82:c,83:u,84:h,85:36},t(f,e,{6:3,4:85}),{26:86,47:N},{47:[2,55]},t(n,[2,11]),t(m,[2,47]),{20:26,33:[2,86],49:88,58:87,63:27,64:a,68:89,69:74,70:75,71:A,77:28,78:29,79:s,80:o,81:l,82:c,83:u,84:h,85:36},t(n,[2,25]),{20:90,71:i,77:28,78:29,79:s,80:o,81:l,82:c,83:u,84:h,85:36},t(D,[2,58],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,31:91,49:92,68:93,64:a,71:A,79:s,80:o,81:l,82:c,83:u,84:h}),t(D,[2,64],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,36:94,49:95,68:96,64:a,71:A,79:s,80:o,81:l,82:c,83:u,84:h}),{20:26,22:97,23:[2,50],49:98,63:27,64:a,68:99,69:74,70:75,71:A,77:28,78:29,79:s,80:o,81:l,82:c,83:u,84:h,85:36},{20:26,33:[2,90],49:101,62:100,63:27,64:a,68:102,69:74,70:75,71:A,77:28,78:29,79:s,80:o,81:l,82:c,83:u,84:h,85:36},{33:[1,103]},t(g,[2,77]),{33:[2,79]},t([23,33,55,67,74],[2,30],{70:104,71:[1,105]}),t(L,[2,96]),t(v,S,{72:C}),{20:26,49:108,63:27,64:a,66:107,67:[2,94],68:109,69:74,70:75,71:A,77:28,78:29,79:s,80:o,81:l,82:c,83:u,84:h,85:36},t(v,[2,42]),{55:[1,110]},t(w,[2,81]),{55:[2,83]},t(n,[2,13]),{38:56,39:k,43:57,44:E,45:112,46:111,47:[2,74]},t(T,[2,68],{40:113}),{47:[2,18]},t(n,[2,14]),{33:[1,114]},t(g,[2,85]),{33:[2,87]},{33:[1,115]},{32:116,33:[2,60],73:117,74:_},t(T,[2,57]),t(D,[2,59]),{33:[2,66],37:119,73:120,74:_},t(T,[2,63]),t(D,[2,65]),{23:[1,121]},t(P,[2,49]),{23:[2,51]},{33:[1,122]},t(g,[2,89]),{33:[2,91]},t(n,[2,22]),t(L,[2,97]),{72:C},{20:26,49:123,63:27,64:a,71:i,77:28,78:29,79:s,80:o,81:l,82:c,83:u,84:h,85:36},{67:[1,124]},t(x,[2,93]),{67:[2,95]},t(n,[2,23]),{47:[2,19]},{47:[2,75]},t(D,[2,70],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,41:125,49:126,68:127,64:a,71:A,79:s,80:o,81:l,82:c,83:u,84:h}),t(n,[2,24]),t(n,[2,21]),{33:[1,128]},{33:[2,61]},{71:[1,130],75:129},{33:[1,131]},{33:[2,67]},t(m,[2,12]),t(f,[2,26]),t(L,[2,31]),t(y,[2,29]),{33:[2,72],42:132,73:133,74:_},t(T,[2,69]),t(D,[2,71]),t(p,[2,15]),{71:[1,135],76:[1,134]},t(q,[2,98]),t(d,[2,16]),{33:[1,136]},{33:[2,73]},{33:[2,32]},t(q,[2,99]),t(p,[2,17])],defaultActions:{4:[2,1],55:[2,53],57:[2,20],61:[2,55],73:[2,79],81:[2,83],85:[2,18],89:[2,87],99:[2,51],102:[2,91],109:[2,95],111:[2,19],112:[2,75],117:[2,61],120:[2,67],133:[2,73],134:[2,32]},parseError:function(t,e){if(!e.recoverable){var r=new Error(t);throw r.hash=e,r}this.trace(t)},parse:function(t){var e=this,r=[0],n=[null],a=[],i=this.table,s="",o=0,l=0,c=a.slice.call(arguments,1),u=Object.create(this.lexer),h={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(h.yy[p]=this.yy[p]);u.setInput(t,h.yy),h.yy.lexer=u,h.yy.parser=this,typeof u.yylloc>"u"&&(u.yylloc={});var d=u.yylloc;a.push(d);var m,f=u.options&&u.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,y,b,v,S,w,k,E,N,T={};;){if(b=r[r.length-1],this.defaultActions[b]?v=this.defaultActions[b]:((null===g||typeof g>"u")&&(m=void 0,"number"!=typeof(m=u.lex()||1)&&(m=e.symbols_[m]||m),g=m),v=i[b]&&i[b][g]),typeof v>"u"||!v.length||!v[0]){var P="";for(w in N=[],i[b])this.terminals_[w]&&w>2&&N.push("'"+this.terminals_[w]+"'");P=u.showPosition?"Parse error on line "+(o+1)+":\n"+u.showPosition()+"\nExpecting "+N.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(P,{text:u.match,token:this.terminals_[g]||g,line:u.yylineno,loc:d,expected:N})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+g);switch(v[0]){case 1:r.push(g),n.push(u.yytext),a.push(u.yylloc),r.push(v[1]),g=null,y?(g=y,y=null):(l=u.yyleng,s=u.yytext,o=u.yylineno,d=u.yylloc);break;case 2:if(k=this.productions_[v[1]][1],T.$=n[n.length-k],T._$={first_line:a[a.length-(k||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(k||1)].first_column,last_column:a[a.length-1].last_column},f&&(T._$.range=[a[a.length-(k||1)].range[0],a[a.length-1].range[1]]),typeof(S=this.performAction.apply(T,[s,l,o,h.yy,v[1],n,a].concat(c)))<"u")return S;k&&(r=r.slice(0,-1*k*2),n=n.slice(0,-1*k),a=a.slice(0,-1*k)),r.push(this.productions_[v[1]][0]),n.push(T.$),a.push(T._$),E=i[r[r.length-2]][r[r.length-1]],r.push(E);break;case 3:return!0}}return!0}},B={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===n.length?this.yylloc.first_column:0)+n[n.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var r,n,a;if(this.options.backtrack_lexer&&(a={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&&(a.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var i in a)this[i]=a[i];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),i=0;i<a.length;i++)if((r=this._input.match(this.rules[a[i]]))&&(!e||r[0].length>e[0].length)){if(e=r,n=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,a[i])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,r,n){function a(t,r){return e.yytext=e.yytext.substring(t,e.yyleng-r+t)}switch(r){case 0:if("\\\\"===e.yytext.slice(-2)?(a(0,1),this.begin("mu")):"\\"===e.yytext.slice(-1)?(a(0,1),this.begin("emu")):this.begin("mu"),e.yytext)return 15;break;case 1:case 5:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(a(5,9),18);case 6:case 22:return this.popState(),14;case 7:return 64;case 8:return 67;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 56;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 52;case 20:case 23:return 48;case 21:this.unput(e.yytext),this.popState(),this.begin("com");break;case 24:return 72;case 25:case 26:case 41:return 71;case 27:return 86;case 28:break;case 29:return this.popState(),55;case 30:return this.popState(),33;case 31:return e.yytext=a(1,2).replace(/\\"/g,'"'),79;case 32:return e.yytext=a(1,2).replace(/\\'/g,"'"),79;case 33:return 84;case 34:case 35:return 81;case 36:return 82;case 37:return 83;case 38:return 80;case 39:return 74;case 40:return 76;case 42:return e.yytext=e.yytext.replace(/\\([\\\]])/g,"$1"),71;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};function O(){this.yy={}}return I.lexer=B,O.prototype=I,I.Parser=O,new O}(),ee=te,re=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function ne(t,e){var r,n,a,i,s=e&&e.loc;s&&(r=s.start.line,n=s.end.line,a=s.start.column,i=s.end.column,t+=" - "+r+":"+a);for(var o=Error.prototype.constructor.call(this,t),l=0;l<re.length;l++)this[re[l]]=o[re[l]];Error.captureStackTrace&&Error.captureStackTrace(this,ne);try{s&&(this.lineNumber=r,this.endLineNumber=n,Object.defineProperty?(Object.defineProperty(this,"column",{value:a,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:i,enumerable:!0})):(this.column=a,this.endColumn=i))}catch{}}ne.prototype=new Error;var ae=ne;function ie(){this.parents=[]}function se(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function oe(t){se.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function le(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}ie.prototype={constructor:ie,mutating:!1,acceptKey:function(t,e){var r=this.accept(t[e]);if(this.mutating){if(r&&!ie.prototype[r.type])throw new ae('Unexpected node type "'+r.type+'" found when accepting '+e+" on "+t.type);t[e]=r}},acceptRequired:function(t,e){if(this.acceptKey(t,e),!t[e])throw new ae(t.type+" requires "+e)},acceptArray:function(t){for(var e=0,r=t.length;e<r;e++)this.acceptKey(t,e),t[e]||(t.splice(e,1),e--,r--)},accept:function(t){if(t){if(!this[t.type])throw new ae("Unknown type: "+t.type,t);this.current&&this.parents.unshift(this.current),this.current=t;var e=this[t.type](t);if(this.current=this.parents.shift(),!this.mutating||e)return e;if(!1!==e)return t}},Program:function(t){this.acceptArray(t.body)},MustacheStatement:se,Decorator:se,BlockStatement:oe,DecoratorBlock:oe,PartialStatement:le,PartialBlockStatement:function(t){le.call(this,t),this.acceptKey(t,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:se,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(t){this.acceptArray(t.pairs)},HashPair:function(t){this.acceptRequired(t,"value")}};var ce=ie;function ue(t){void 0===t&&(t={}),this.options=t}function he(t,e,r){void 0===e&&(e=t.length);var n=t[e-1],a=t[e-2];return n?"ContentStatement"===n.type?(a||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original):void 0:r}function pe(t,e,r){void 0===e&&(e=-1);var n=t[e+1],a=t[e+2];return n?"ContentStatement"===n.type?(a||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original):void 0:r}function de(t,e,r){var n=t[null==e?0:e+1];if(n&&"ContentStatement"===n.type&&(r||!n.rightStripped)){var a=n.value;n.value=n.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==a}}function me(t,e,r){var n=t[null==e?t.length-1:e-1];if(n&&"ContentStatement"===n.type&&(r||!n.leftStripped)){var a=n.value;return n.value=n.value.replace(r?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==a,n.leftStripped}}ue.prototype=new ce,ue.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,a=0,i=n.length;a<i;a++){var s=n[a],o=this.accept(s);if(o){var l=he(n,a,r),c=pe(n,a,r),u=o.openStandalone&&l,h=o.closeStandalone&&c,p=o.inlineStandalone&&l&&c;o.close&&de(n,a,!0),o.open&&me(n,a,!0),e&&p&&(de(n,a),me(n,a)&&"PartialStatement"===s.type&&(s.indent=/([ \t]+$)/.exec(n[a-1].original)[1])),e&&u&&(de((s.program||s.inverse).body),me(n,a)),e&&h&&(de(n,a),me((s.inverse||s.program).body))}}return t},ue.prototype.BlockStatement=ue.prototype.DecoratorBlock=ue.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.inverse);var e=t.program||t.inverse,r=t.program&&t.inverse,n=r,a=r;if(r&&r.chained)for(n=r.body[0].program;a.chained;)a=a.body[a.body.length-1].program;var i={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:pe(e.body),closeStandalone:he((n||e).body)};if(t.openStrip.close&&de(e.body,null,!0),r){var s=t.inverseStrip;s.open&&me(e.body,null,!0),s.close&&de(n.body,null,!0),t.closeStrip.open&&me(a.body,null,!0),!this.options.ignoreStandalone&&he(e.body)&&pe(n.body)&&(me(e.body),de(n.body))}else t.closeStrip.open&&me(e.body,null,!0);return i},ue.prototype.Decorator=ue.prototype.MustacheStatement=function(t){return t.strip},ue.prototype.PartialStatement=ue.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}};var fe=ue,ge={};function ye(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new ae(t.path.original+" doesn't match "+e,r)}}function be(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}function ve(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function Se(t,e){return{open:"~"===t.charAt(2),close:"~"===e.charAt(e.length-3)}}function we(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function ke(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",a=[],i=0,s=0,o=e.length;s<o;s++){var l=e[s].part,c=e[s].original!==l;if(n+=(e[s].separator||"")+l,c||".."!==l&&"."!==l&&"this"!==l)a.push(l);else{if(a.length>0)throw new ae("Invalid path: "+n,{loc:r});".."===l&&i++}}return{type:"PathExpression",data:t,depth:i,parts:a,original:n,loc:r}}function Ee(t,e,r,n,a,i){var s=n.charAt(3)||n.charAt(2),o="{"!==s&&"&"!==s;return{type:/\*/.test(n)?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:o,strip:a,loc:this.locInfo(i)}}function Ne(t,e,r,n){ye(t,r);var a={type:"Program",body:e,strip:{},loc:n=this.locInfo(n)};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:a,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function Te(t,e,r,n,a,i){n&&n.path&&ye(t,n);var s,o,l=/\*/.test(t.open);if(e.blockParams=t.blockParams,r){if(l)throw new ae("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),o=r.strip,s=r.program}return a&&(a=s,s=e,e=a),{type:l?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:s,openStrip:t.strip,inverseStrip:o,closeStrip:n&&n.strip,loc:this.locInfo(i)}}function Pe(t,e){if(!e&&t.length){var r=t[0].loc,n=t[t.length-1].loc;r&&n&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}function Ae(t,e,r,n){return ye(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}}e(ge,{SourceLocation:()=>be,id:()=>ve,prepareBlock:()=>Te,prepareMustache:()=>Ee,preparePartialBlock:()=>Ae,preparePath:()=>ke,prepareProgram:()=>Pe,prepareRawBlock:()=>Ne,stripComment:()=>we,stripFlags:()=>Se});var xe,De={};for(xe in ge)Object.prototype.hasOwnProperty.call(ge,xe)&&(De[xe]=ge[xe]);function Le(t,e){return"Program"===t.type?t:(ee.yy=De,ee.yy.locInfo=function(t){return new be(e&&e.srcName,t)},ee.parse(t))}function Ce(t,e){var r=Le(t,e);return new fe(e).accept(r)}var _e={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},qe=/^#[xX]([A-Fa-f0-9]+)$/,Ie=/^#([0-9]+)$/,Be=/^([A-Za-z0-9]+)$/,Oe=function(){function t(t){this.named=t}return t.prototype.parse=function(t){if(t){var e=t.match(qe);if(e)return String.fromCharCode(parseInt(e[1],16));if(e=t.match(Ie))return String.fromCharCode(parseInt(e[1],10));if(e=t.match(Be))return this.named[e[1]]}},t}(),He=/[\t\n\f ]/,$e=/[A-Za-z]/,Ve=/\r\n?/g;function Re(t){return He.test(t)}function Ue(t){return $e.test(t)}var Fe=function(){function t(t,e,r){void 0===r&&(r="precompile"),this.delegate=t,this.entityParser=e,this.mode=r,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var t=this.peek();if("<"!==t||this.isIgnoredEndTag()){if("precompile"===this.mode&&"\n"===t){var e=this.tagNameBuffer.toLowerCase();("pre"===e||"textarea"===e)&&this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var t=this.peek(),e=this.tagNameBuffer;"<"!==t||this.isIgnoredEndTag()?"&"===t&&"script"!==e&&"style"!==e?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(t)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var t=this.consume();"!"===t?this.transitionTo("markupDeclarationOpen"):"/"===t?this.transitionTo("endTagOpen"):("@"===t||":"===t||Ue(t))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(t))},markupDeclarationOpen:function(){var t=this.consume();"-"===t&&"-"===this.peek()?(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment()):"DOCTYPE"===t.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase()&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())},doctype:function(){Re(this.consume())&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var t=this.consume();Re(t)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(t.toLowerCase()))},doctypeName:function(){var t=this.consume();Re(t)?this.transitionTo("afterDoctypeName"):">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(t.toLowerCase())},afterDoctypeName:function(){var t=this.consume();if(!Re(t))if(">"===t)this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var e=t.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),r="PUBLIC"===e.toUpperCase(),n="SYSTEM"===e.toUpperCase();(r||n)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),r?this.transitionTo("afterDoctypePublicKeyword"):n&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var t=this.peek();Re(t)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):'"'===t?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):"'"===t?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):">"===t&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var t=this.consume();'"'===t?this.transitionTo("afterDoctypePublicIdentifier"):">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(t)},doctypePublicIdentifierSingleQuoted:function(){var t=this.consume();"'"===t?this.transitionTo("afterDoctypePublicIdentifier"):">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(t)},afterDoctypePublicIdentifier:function(){var t=this.consume();Re(t)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===t?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===t&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var t=this.consume();Re(t)||(">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===t?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===t&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var t=this.consume();'"'===t?this.transitionTo("afterDoctypeSystemIdentifier"):">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(t)},doctypeSystemIdentifierSingleQuoted:function(){var t=this.consume();"'"===t?this.transitionTo("afterDoctypeSystemIdentifier"):">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(t)},afterDoctypeSystemIdentifier:function(){var t=this.consume();Re(t)||">"===t&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var t=this.consume();"-"===t?this.transitionTo("commentStartDash"):">"===t?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(t),this.transitionTo("comment"))},commentStartDash:function(){var t=this.consume();"-"===t?this.transitionTo("commentEnd"):">"===t?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var t=this.consume();"-"===t?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(t)},commentEndDash:function(){var t=this.consume();"-"===t?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+t),this.transitionTo("comment"))},commentEnd:function(){var t=this.consume();">"===t?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+t),this.transitionTo("comment"))},tagName:function(){var t=this.consume();Re(t)?this.transitionTo("beforeAttributeName"):"/"===t?this.transitionTo("selfClosingStartTag"):">"===t?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(t)},endTagName:function(){var t=this.consume();Re(t)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===t?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===t?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(t)},beforeAttributeName:function(){var t=this.peek();Re(t)?this.consume():"/"===t?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===t?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===t?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(t)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var t=this.peek();Re(t)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===t?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===t||"'"===t||"<"===t?(this.delegate.reportSyntaxError(t+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(t)):(this.consume(),this.delegate.appendToAttributeName(t))},afterAttributeName:function(){var t=this.peek();Re(t)?this.consume():"/"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===t?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(t))},beforeAttributeValue:function(){var t=this.peek();Re(t)?this.consume():'"'===t?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===t?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(t))},attributeValueDoubleQuoted:function(){var t=this.consume();'"'===t?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===t?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(t)},attributeValueSingleQuoted:function(){var t=this.consume();"'"===t?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===t?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(t)},attributeValueUnquoted:function(){var t=this.peek();Re(t)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===t?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===t?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===t?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(t))},afterAttributeValueQuoted:function(){var t=this.peek();Re(t)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===t?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===t?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var t=this.consume();("@"===t||":"===t||Ue(t))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(t))}},this.reset()}return t.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},t.prototype.transitionTo=function(t){this.state=t},t.prototype.tokenize=function(t){this.reset(),this.tokenizePart(t),this.tokenizeEOF()},t.prototype.tokenizePart=function(t){for(this.input+=function(t){return t.replace(Ve,"\n")}(t);this.index<this.input.length;){var e=this.states[this.state];if(void 0===e)throw new Error("unhandled state "+this.state);e.call(this)}},t.prototype.tokenizeEOF=function(){this.flushData()},t.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.transitionTo("beforeData"))},t.prototype.peek=function(){return this.input.charAt(this.index)},t.prototype.consume=function(){var t=this.peek();return this.index++,"\n"===t?(this.line++,this.column=0):this.column++,t},t.prototype.consumeCharRef=function(){var t=this.input.indexOf(";",this.index);if(-1!==t){var e=this.input.slice(this.index,t),r=this.entityParser.parse(e);if(r){for(var n=e.length;n;)this.consume(),n--;return this.consume(),r}}},t.prototype.markTagStart=function(){this.delegate.tagOpen()},t.prototype.appendToTagName=function(t){this.tagNameBuffer+=t,this.delegate.appendToTagName(t)},t.prototype.isIgnoredEndTag=function(){var t=this.tagNameBuffer;return"title"===t&&"</title>"!==this.input.substring(this.index,this.index+8)||"style"===t&&"</style>"!==this.input.substring(this.index,this.index+8)||"script"===t&&"<\/script>"!==this.input.substring(this.index,this.index+9)},t}(),Me=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),ze=Object.freeze({line:1,column:0}),je=Object.freeze({source:"(synthetic)",start:ze,end:ze}),Ge=Object.freeze({source:"(nonexistent)",start:ze,end:ze}),We=Object.freeze({source:"(broken)",start:ze,end:ze}),Ke=function(t){return t.CharPosition="CharPosition",t.HbsPosition="HbsPosition",t.InternalsSynthetic="InternalsSynthetic",t.NonExistent="NonExistent",t.Broken="Broken",t}({}),Qe="MATCH_ANY",Je="IS_INVISIBLE",Ye=class{_whens;constructor(t){this._whens=t}first(t){for(let e of this._whens){let r=e.match(t);if(Mt(r))return r[0]}return null}},Xe=class{_map=new Map;get(t,e){let r=this._map.get(t);return r||(r=e(),this._map.set(t,r),r)}add(t,e){this._map.set(t,e)}match(t){let e=function(t){switch(t){case Ke.Broken:case Ke.InternalsSynthetic:case Ke.NonExistent:return Je;default:return t}}(t),r=[],n=this._map.get(e),a=this._map.get(Qe);return n&&r.push(n),a&&r.push(a),r}};function Ze(t){return t(new tr).check()}var tr=class{_whens=new Xe;check(){return(t,e)=>this.matchFor(t.kind,e.kind)(t,e)}matchFor(t,e){let r=this._whens.match(t);Rt(Mt(r),`no match defined for (${t}, ${e}) and no AnyMatch defined either`);let n=new Ye(r).first(e);return Rt(null!==n,`no match defined for (${t}, ${e}) and no AnyMatch defined either`),n}when(t,e,r){return this._whens.get(t,(()=>new Xe)).add(e,r),this}};var er=class t{static synthetic(e){let r=rr.synthetic(e);return new t({loc:r,chars:e})}static load(e,r){return new t({loc:rr.load(e,r[1]),chars:r[0]})}chars;loc;constructor(t){this.loc=t.loc,this.chars=t.chars}getString(){return this.chars}serialize(){return[this.chars,this.loc.serialize()]}},rr=class t{static get NON_EXISTENT(){return new ir(Ke.NonExistent,Ge).wrap()}static load(e,r){return"number"==typeof r?t.forCharPositions(e,r,r):"string"==typeof r?t.synthetic(r):Array.isArray(r)?t.forCharPositions(e,r[0],r[1]):r===Ke.NonExistent?t.NON_EXISTENT:r===Ke.Broken?t.broken(We):void function(t,e="unexpected unreachable branch"){throw Zt.log("unreachable",t),Zt.log(`${e} :: ${JSON.stringify(t)} (${t})`),new Error("code reached unreachable")}(r)}static forHbsLoc(t,e){let r=new ur(t,e.start),n=new ur(t,e.end);return new ar(t,{start:r,end:n},e).wrap()}static forCharPositions(t,e,r){let n=new cr(t,e),a=new cr(t,r);return new nr(t,{start:n,end:a}).wrap()}static synthetic(t){return new ir(Ke.InternalsSynthetic,Ge,t).wrap()}static broken(t=We){return new ir(Ke.Broken,t).wrap()}isInvisible;constructor(t){this.data=t,this.isInvisible=t.kind!==Ke.CharPosition&&t.kind!==Ke.HbsPosition}getStart(){return this.data.getStart().wrap()}getEnd(){return this.data.getEnd().wrap()}get loc(){let t=this.data.toHbsSpan();return null===t?We:t.toHbsLoc()}get module(){return this.data.getModule()}get startPosition(){return this.loc.start}get endPosition(){return this.loc.end}toJSON(){return this.loc}withStart(t){return sr(t.data,this.data.getEnd())}withEnd(t){return sr(this.data.getStart(),t.data)}asString(){return this.data.asString()}toSlice(t){let e=this.data.asString();return new er({loc:this,chars:t||e})}get start(){return this.loc.start}set start(t){this.data.locDidUpdate({start:t})}get end(){return this.loc.end}set end(t){this.data.locDidUpdate({end:t})}get source(){return this.module}collapse(t){switch(t){case"start":return this.getStart().collapsed();case"end":return this.getEnd().collapsed()}}extend(t){return sr(this.data.getStart(),t.data.getEnd())}serialize(){return this.data.serialize()}slice({skipStart:t=0,skipEnd:e=0}){return sr(this.getStart().move(t).data,this.getEnd().move(-e).data)}sliceStartChars({skipStart:t=0,chars:e}){return sr(this.getStart().move(t).data,this.getStart().move(t+e).data)}sliceEndChars({skipEnd:t=0,chars:e}){return sr(this.getEnd().move(t-e).data,this.getStart().move(-t).data)}},nr=class{kind=Ke.CharPosition;_locPosSpan=null;constructor(t,e){this.source=t,this.charPositions=e}wrap(){return new rr(this)}asString(){return this.source.slice(this.charPositions.start.charPos,this.charPositions.end.charPos)}getModule(){return this.source.module}getStart(){return this.charPositions.start}getEnd(){return this.charPositions.end}locDidUpdate(){}toHbsSpan(){let t=this._locPosSpan;if(null===t){let e=this.charPositions.start.toHbsPos(),r=this.charPositions.end.toHbsPos();t=this._locPosSpan=null===e||null===r?or:new ar(this.source,{start:e,end:r})}return t===or?null:t}serialize(){let{start:{charPos:t},end:{charPos:e}}=this.charPositions;return t===e?t:[t,e]}toCharPosSpan(){return this}},ar=class{kind=Ke.HbsPosition;_charPosSpan=null;_providedHbsLoc;constructor(t,e,r=null){this.source=t,this.hbsPositions=e,this._providedHbsLoc=r}serialize(){let t=this.toCharPosSpan();return null===t?Ke.Broken:t.wrap().serialize()}wrap(){return new rr(this)}updateProvided(t,e){this._providedHbsLoc&&(this._providedHbsLoc[e]=t),this._charPosSpan=null,this._providedHbsLoc={start:t,end:t}}locDidUpdate({start:t,end:e}){void 0!==t&&(this.updateProvided(t,"start"),this.hbsPositions.start=new ur(this.source,t,null)),void 0!==e&&(this.updateProvided(e,"end"),this.hbsPositions.end=new ur(this.source,e,null))}asString(){let t=this.toCharPosSpan();return null===t?"":t.asString()}getModule(){return this.source.module}getStart(){return this.hbsPositions.start}getEnd(){return this.hbsPositions.end}toHbsLoc(){return{start:this.hbsPositions.start.hbsPos,end:this.hbsPositions.end.hbsPos}}toHbsSpan(){return this}toCharPosSpan(){let t=this._charPosSpan;if(null===t){let e=this.hbsPositions.start.toCharPos(),r=this.hbsPositions.end.toCharPos();if(!e||!r)return t=this._charPosSpan=or,null;t=this._charPosSpan=new nr(this.source,{start:e,end:r})}return t===or?null:t}},ir=class{constructor(t,e,r=null){this.kind=t,this.loc=e,this.string=r}serialize(){switch(this.kind){case Ke.Broken:case Ke.NonExistent:return this.kind;case Ke.InternalsSynthetic:return this.string||""}}wrap(){return new rr(this)}asString(){return this.string||""}locDidUpdate({start:t,end:e}){void 0!==t&&(this.loc.start=t),void 0!==e&&(this.loc.end=e)}getModule(){return"an unknown module"}getStart(){return new hr(this.kind,this.loc.start)}getEnd(){return new hr(this.kind,this.loc.end)}toCharPosSpan(){return this}toHbsSpan(){return null}toHbsLoc(){return We}},sr=Ze((t=>t.when(Ke.HbsPosition,Ke.HbsPosition,((t,e)=>new ar(t.source,{start:t,end:e}).wrap())).when(Ke.CharPosition,Ke.CharPosition,((t,e)=>new nr(t.source,{start:t,end:e}).wrap())).when(Ke.CharPosition,Ke.HbsPosition,((t,e)=>{let r=e.toCharPos();return null===r?new ir(Ke.Broken,We).wrap():sr(t,r)})).when(Ke.HbsPosition,Ke.CharPosition,((t,e)=>{let r=t.toCharPos();return null===r?new ir(Ke.Broken,We).wrap():sr(r,e)})).when(Je,Qe,(t=>new ir(t.kind,We).wrap())).when(Qe,Je,((t,e)=>new ir(e.kind,We).wrap())))),or="BROKEN",lr=class t{static forHbsPos(t,e){return new ur(t,e,null).wrap()}static broken(t=ze){return new hr(Ke.Broken,t).wrap()}constructor(t){this.data=t}get offset(){let t=this.data.toCharPos();return null===t?null:t.offset}eql(t){return pr(this.data,t.data)}until(t){return sr(this.data,t.data)}move(e){let r=this.data.toCharPos();if(null===r)return t.broken();{let n=r.offset+e;return r.source.check(n)?new cr(r.source,n).wrap():t.broken()}}collapsed(){return sr(this.data,this.data)}toJSON(){return this.data.toJSON()}},cr=class{kind=Ke.CharPosition;_locPos=null;constructor(t,e){this.source=t,this.charPos=e}toCharPos(){return this}toJSON(){let t=this.toHbsPos();return null===t?ze:t.toJSON()}wrap(){return new lr(this)}get offset(){return this.charPos}toHbsPos(){let t=this._locPos;if(null===t){let e=this.source.hbsPosFor(this.charPos);this._locPos=t=null===e?or:new ur(this.source,e,this.charPos)}return t===or?null:t}},ur=class{kind=Ke.HbsPosition;_charPos;constructor(t,e,r=null){this.source=t,this.hbsPos=e,this._charPos=null===r?null:new cr(t,r)}toCharPos(){let t=this._charPos;if(null===t){let e=this.source.charPosFor(this.hbsPos);this._charPos=t=null===e?or:new cr(this.source,e)}return t===or?null:t}toJSON(){return this.hbsPos}wrap(){return new lr(this)}toHbsPos(){return this}},hr=class{constructor(t,e){this.kind=t,this.pos=e}toCharPos(){return null}toJSON(){return this.pos}wrap(){return new lr(this)}get offset(){return null}},pr=Ze((t=>t.when(Ke.HbsPosition,Ke.HbsPosition,(({hbsPos:t},{hbsPos:e})=>t.column===e.column&&t.line===e.line)).when(Ke.CharPosition,Ke.CharPosition,(({charPos:t},{charPos:e})=>t===e)).when(Ke.CharPosition,Ke.HbsPosition,(({offset:t},e)=>{var r;return t===(null==(r=e.toCharPos())?void 0:r.offset)})).when(Ke.HbsPosition,Ke.CharPosition,((t,{offset:e})=>{var r;return(null==(r=t.toCharPos())?void 0:r.offset)===e})).when(Qe,Qe,(()=>!1)))),dr=class t{static from(e,r={}){var n;return new t(e,null==(n=r.meta)?void 0:n.moduleName)}constructor(t,e="an unknown module"){this.source=t,this.module=e}check(t){return t>=0&&t<=this.source.length}slice(t,e){return this.source.slice(t,e)}offsetFor(t,e){return lr.forHbsPos(this,{line:t,column:e})}spanFor({start:t,end:e}){return rr.forHbsLoc(this,{start:{line:t.line,column:t.column},end:{line:e.line,column:e.column}})}hbsPosFor(t){let e=0,r=0;if(t>this.source.length)return null;for(;;){let n=this.source.indexOf("\n",r);if(t<=n||-1===n)return{line:e+1,column:t-r};e+=1,r=n+1}}charPosFor(t){let{line:e,column:r}=t,n=this.source.length,a=0,i=0;for(;i<n;){let t=this.source.indexOf("\n",i);if(-1===t&&(t=this.source.length),a===e-1)return i+r>t?t:i+r;if(-1===t)return 0;a+=1,i=t+1}return n}};function mr(t,e){let{module:r,loc:n}=e,{line:a,column:i}=n.start,s=e.asString(),o=s?`\n\n|\n| ${s.split("\n").join("\n| ")}\n|\n\n`:"",l=new Error(`${t}: ${o}(error occurred in '${r}' @ line ${a} : column ${i})`);return l.name="SyntaxError",l.location=e,l.code=s,l}var fr={Program:["body"],Template:["body"],Block:["body"],MustacheStatement:["path","params","hash"],BlockStatement:["path","params","hash","program","inverse"],ElementModifierStatement:["path","params","hash"],PartialStatement:["name","params","hash"],CommentStatement:[],MustacheCommentStatement:[],ElementNode:["attributes","modifiers","children","comments"],ElementStartNode:[],ElementPartNode:[],ElementEndNode:[],ElementNameNode:[],AttrNode:["value"],TextNode:[],ConcatStatement:["parts"],SubExpression:["path","params","hash"],PathExpression:[],PathHead:[],StringLiteral:[],BooleanLiteral:[],NumberLiteral:[],NullLiteral:[],UndefinedLiteral:[],Hash:["pairs"],HashPair:["value"],BlockParam:[],NamedBlock:["attributes","modifiers","children","comments"],SimpleElement:["attributes","modifiers","children","comments"],Component:["head","attributes","modifiers","children","comments"]},gr=function(){function t(t,e,r,n){let a=Error.call(this,t);this.key=n,this.message=t,this.node=e,this.parent=r,a.stack&&(this.stack=a.stack)}return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}();function yr(t,e,r){return new gr("Cannot remove a node unless it is part of an array",t,e,r)}function br(t,e){return new gr("Replacing and removing in key handlers is not yet supported.",t,null,e)}var vr=class{node;parent;parentKey;constructor(t,e=null,r=null){this.node=t,this.parent=e,this.parentKey=r}get parentNode(){return this.parent?this.parent.node:null}parents(){return{[Symbol.iterator]:()=>new Sr(this)}}},Sr=class{path;constructor(t){this.path=t}next(){return this.path.parent?(this.path=this.path.parent,{done:!1,value:this.path}):{done:!0,value:null}}};function wr(t){return"function"==typeof t?t:t.enter}function kr(t){if("function"!=typeof t)return t.exit}function Er(t,e){let r,n,a,{node:i,parent:s,parentKey:o}=e,l=function(t,e){if(("Template"===e||"Block"===e)&&t.Program)return t.Program;let r=t[e];return void 0!==r?r:t.All}(t,i.type);if(void 0!==l&&(r=wr(l),n=kr(l)),void 0!==r&&(a=r(i,e)),null!=a){if(JSON.stringify(i)!==JSON.stringify(a)){if(Array.isArray(a))return Pr(t,a,s,o),a;return Er(t,new vr(a,s,o))||a}a=void 0}if(void 0===a){let r=fr[i.type];for(let n=0;n<r.length;n++){Tr(t,l,e,r[n])}void 0!==n&&(a=n(i,e))}return a}function Nr(t,e,r){t[e]=r}function Tr(t,e,r,n){let a,i,{node:s}=r,o=function(t,e){return t[e]}(s,n);if(o){if(void 0!==e){let t=function(t,e){let r="function"!=typeof t?t.keys:void 0;if(void 0===r)return;let n=r[e];return void 0!==n?n:r.All}(e,n);void 0!==t&&(a=wr(t),i=kr(t))}if(void 0!==a&&void 0!==a(s,n))throw br(s,n);if(Array.isArray(o))Pr(t,o,r,n);else{let e=Er(t,new vr(o,r,n));void 0!==e&&function(t,e,r,n){if(null===n)throw yr(r,t,e);if(Array.isArray(n)){if(1!==n.length)throw 0===n.length?yr(r,t,e):function(t,e,r){return new gr("Cannot replace a node with multiple nodes unless it is part of an array",t,e,r)}(r,t,e);Nr(t,e,n[0])}else Nr(t,e,n)}(s,n,o,e)}if(void 0!==i&&void 0!==i(s,n))throw br(s,n)}}function Pr(t,e,r,n){for(let a=0;a<e.length;a++){let i=Ut(e[a]),s=Er(t,new vr(i,r,n));void 0!==s&&(a+=Ar(e,a,s)-1)}}function Ar(t,e,r){return null===r?(t.splice(e,1),0):Array.isArray(r)?(t.splice(e,1,...r),r.length):(t.splice(e,1,r),1)}function xr(t,e){Er(e,new vr(t))}var Dr,Lr=/[!"#%&'()*+./;<=>@[\\\]^`{|}~]/u;function Cr(t){let e=function(t){let e=t.attributes.length,r=[];for(let n=0;n<e;n++)r.push(Ut(t.attributes[n]).name);let n=r.indexOf("as");if(-1===n&&r.length>0&&"|"===Ut(r[r.length-1]).charAt(0))throw mr("Block parameters must be preceded by the `as` keyword, detected block parameters without `as`",t.loc);if(-1!==n&&e>n&&"|"===Ut(r[n+1]).charAt(0)){let a=r.slice(n).join(" ");if("|"!==a.charAt(a.length-1)||2!==Ft(a.match(/\|/gu),"block params must exist here").length)throw mr("Invalid block parameters syntax, '"+a+"'",t.loc);let i=[];for(let a=n+1;a<e;a++){let e=Ut(r[a]).replace(/\|/gu,"");if(""!==e){if(Lr.test(e))throw mr("Invalid identifier for block parameters, '"+e+"'",t.loc);let n=t.attributes[a].loc;r[a].startsWith("|")&&(n=n.slice({skipStart:1})),r[a].endsWith("|")&&(n=n.slice({skipEnd:1})),n.endPosition.column-n.startPosition.column>e.length&&(n=n.slice({skipEnd:n.endPosition.column-n.startPosition.column-e.length})),i.push({type:"BlockParam",value:e,loc:n})}}if(0===i.length)throw mr("Cannot use zero block parameters",t.loc);return t.attributes=t.attributes.slice(0,n),i}return null}(t);e&&(t.blockParamNodes=e,t.blockParams=e.map((t=>t.value)))}function _r(t,e){(function(t){switch(t.type){case"Block":case"Template":return t.body;case"ElementNode":return t.children}})(t).push(e)}function qr(t){return"StringLiteral"===t.type||"BooleanLiteral"===t.type||"NumberLiteral"===t.type||"NullLiteral"===t.type||"UndefinedLiteral"===t.type}function Ir(){return Dr||(Dr=new dr("","(synthetic)")),Dr}function Br(t){switch(t.type){case"AtHead":case"VarHead":return{original:t.name,parts:[t.name]};case"ThisHead":return{original:"this",parts:[]}}}function Or(t,e){let r,[n,...a]=jt(t.split("."));return r="this"===n?{type:"ThisHead",loc:Mr(e||null)}:"@"===n[0]?{type:"AtHead",name:n,loc:Mr(e||null)}:{type:"VarHead",name:n,loc:Mr(e||null)},{head:r,tail:a}}function Hr(t){return{type:"ThisHead",loc:Mr(t||null)}}function $r(t,e){return Rt("@"===t[0],"call builders.at() with a string that starts with '@'"),{type:"AtHead",name:t,loc:Mr(e||null)}}function Vr(t,e){return Rt("this"!==t,"You called builders.var() with 'this'. Call builders.this instead"),Rt("@"!==t[0],`You called builders.var() with '${t}'. Call builders.at('${t}') instead`),{type:"VarHead",name:t,loc:Mr(e||null)}}function Rr(t,e){if("string"!=typeof t){if("type"in t)return t;{let{head:r,tail:n}=Or(t.head,rr.broken());Rt(0===n.length,"builder.path({ head, tail }) should not be called with a head with dots in it");let{original:a}=Br(r);return new Gr([a,...n].join("."),r,n,Mr(e||null))}}let{head:r,tail:n}=Or(t,rr.broken());return new Gr(t,r,n,Mr(e||null))}function Ur(t,e,r){return{type:t,value:e,original:e,loc:Mr(r||null)}}function Fr(t,e){return{type:"Hash",pairs:t||[],loc:Mr(e||null)}}function Mr(...t){if(1===t.length){let e=t[0];return e&&"object"==typeof e?rr.forHbsLoc(Ir(),e):rr.forHbsLoc(Ir(),je)}{let[e,r,n,a,i]=t,s=i?new dr("",i):Ir();return rr.forHbsLoc(s,{start:{line:e,column:r},end:{line:n,column:a}})}}var zr={mustache:function(t,e,r,n,a,i){return"string"==typeof t&&(t=Rr(t)),{type:"MustacheStatement",path:t,params:e||[],hash:r||Fr([]),escaped:!n,trusting:!!n,loc:Mr(a||null),strip:i||{open:!1,close:!1}}},block:function(t,e,r,n,a,i,s,o,l){let c,u;return c="Template"===n.type?Xt({},n,{type:"Block"}):n,u=null!=a&&"Template"===a.type?Xt({},a,{type:"Block"}):a,{type:"BlockStatement",path:Rr(t),params:e||[],hash:r||Fr([]),program:c||null,inverse:u||null,loc:Mr(i||null),openStrip:s||{open:!1,close:!1},inverseStrip:o||{open:!1,close:!1},closeStrip:l||{open:!1,close:!1}}},partial:function(t,e,r,n,a){return{type:"PartialStatement",name:t,params:e||[],hash:r||Fr([]),indent:n||"",strip:{open:!1,close:!1},loc:Mr(a||null)}},comment:function(t,e){return{type:"CommentStatement",value:t,loc:Mr(e||null)}},mustacheComment:function(t,e){return{type:"MustacheCommentStatement",value:t,loc:Mr(e||null)}},element:function(t,e={}){let r,{attrs:n,blockParams:a,modifiers:i,comments:s,children:o,loc:l}=e,c=!1;return"object"==typeof t?(c=t.selfClosing,r=t.name):"/"===t.slice(-1)?(r=t.slice(0,-1),c=!0):r=t,{type:"ElementNode",tag:r,nameNode:{type:"ElementNameNode",value:t},startTag:{type:"ElementStartNode",value:t},endTag:{type:"ElementEndNode",value:c?"":t},parts:r.split(".").map((t=>({type:"ElementPartNode",value:t}))),selfClosing:c,attributes:n||[],blockParams:a||[],blockParamNodes:(null==a?void 0:a.map((t=>({type:"BlockParam",value:t}))))||[],modifiers:i||[],comments:s||[],children:o||[],loc:Mr(l||null)}},elementModifier:function(t,e,r,n){return{type:"ElementModifierStatement",path:Rr(t),params:e||[],hash:r||Fr([]),loc:Mr(n||null)}},attr:function(t,e,r){return{type:"AttrNode",name:t,value:e,loc:Mr(r||null)}},text:function(t,e){return{type:"TextNode",chars:t||"",loc:Mr(e||null)}},sexpr:function(t,e,r,n){return{type:"SubExpression",path:Rr(t),params:e||[],hash:r||Fr([]),loc:Mr(n||null)}},concat:function(t,e){if(!Mt(t))throw new Error("b.concat requires at least one part");return{type:"ConcatStatement",parts:t||[],loc:Mr(e||null)}},hash:Fr,pair:function(t,e,r){return{type:"HashPair",key:t,value:e,loc:Mr(r||null)}},literal:Ur,program:function(t,e,r){return{type:"Template",body:t||[],blockParams:e||[],loc:Mr(r||null)}},blockItself:function(t,e,r=!1,n){return{type:"Block",body:t||[],blockParams:e||[],blockParamNodes:(null==e?void 0:e.map((t=>({type:"BlockParam",value:t}))))||[],chained:r,loc:Mr(n||null)}},template:function(t,e,r){return{type:"Template",body:t||[],blockParams:e||[],loc:Mr(r||null)}},loc:Mr,pos:function(t,e){return{line:t,column:e}},path:Rr,fullPath:function(t,e,r){let{original:n,parts:a}=Br(t),i=[...n,...[...a,...e]].join(".");return new Gr(i,t,e,Mr(r||null))},head:function(t,e){return"@"===t[0]?$r(t,e):"this"===t?Hr(e):Vr(t,e)},at:$r,var:Vr,this:Hr,blockName:function(t,e){return{type:"NamedBlockName",name:t,loc:Mr(e||null)}},string:jr("StringLiteral"),boolean:jr("BooleanLiteral"),number:jr("NumberLiteral"),undefined:()=>Ur("UndefinedLiteral",void 0),null:()=>Ur("NullLiteral",null)};function jr(t){return function(e,r){return Ur(t,e,r)}}var Gr=class{type="PathExpression";parts;this=!1;data=!1;constructor(t,e,r,n){this.original=t,this.loc=n;let a=r.slice();"ThisHead"===e.type?this.this=!0:"AtHead"===e.type?(this.data=!0,a.unshift(e.name.slice(1))):a.unshift(e.name),this.parts=a}_head=void 0;get head(){if(this._head)return this._head;let t;this.this?t="this":this.data?t=`@${Wt(jt(this.parts))}`:(zt(this.parts),t=Wt(this.parts));let e=this.loc.collapse("start").sliceStartChars({chars:t.length}).loc;return this._head=zr.head(t,e)}get tail(){return this.this?this.parts:this.parts.slice(1)}},Wr={close:!1,open:!1};var Kr=new class{pos(t,e){return{line:t,column:e}}blockItself({body:t=[],blockParams:e=[],chained:r=!1,loc:n}){return{type:"Block",body:t,blockParams:e,blockParamNodes:null==e?void 0:e.map((t=>({type:"BlockParam",value:t}))),chained:r,loc:n}}template({body:t,blockParams:e,loc:r}){return{type:"Template",body:t||[],blockParams:e||[],loc:r}}mustache({path:t,params:e,hash:r,trusting:n,loc:a,strip:i=Wr}){return{type:"MustacheStatement",path:t,params:e,hash:r,escaped:!n,trusting:n,loc:a,strip:i||{open:!1,close:!1}}}block({path:t,params:e,hash:r,defaultBlock:n,elseBlock:a=null,loc:i,openStrip:s=Wr,inverseStrip:o=Wr,closeStrip:l=Wr}){return{type:"BlockStatement",path:t,params:e,hash:r,program:n,inverse:a,loc:i,openStrip:s,inverseStrip:o,closeStrip:l}}comment(t,e){return{type:"CommentStatement",value:t,loc:e}}mustacheComment(t,e){return{type:"MustacheCommentStatement",value:t,loc:e}}concat(t,e){return{type:"ConcatStatement",parts:t,loc:e}}element({tag:t,selfClosing:e,attrs:r,blockParams:n,modifiers:a,comments:i,children:s,loc:o}){return{type:"ElementNode",tag:t,nameNode:{type:"ElementNameNode",value:t},startTag:{type:"ElementStartNode",value:t},endTag:{type:"ElementEndNode",value:e?"":t},parts:t.split(".").map((t=>({type:"ElementPartNode",value:t}))),selfClosing:e,attributes:r||[],blockParams:n,blockParamNodes:n.map((t=>({type:"BlockParam",value:t})))||[],modifiers:a||[],comments:i||[],children:s||[],loc:o}}elementModifier({path:t,params:e,hash:r,loc:n}){return{type:"ElementModifierStatement",path:t,params:e,hash:r,loc:n}}attr({name:t,value:e,loc:r}){return{type:"AttrNode",name:t,value:e,loc:r}}text({chars:t,loc:e}){return{type:"TextNode",chars:t,loc:e}}sexpr({path:t,params:e,hash:r,loc:n}){return{type:"SubExpression",path:t,params:e,hash:r,loc:n}}path({head:t,tail:e,loc:r}){let{original:n}=function(t){switch(t.type){case"AtHead":case"VarHead":return{original:t.name,parts:[t.name]};case"ThisHead":return{original:"this",parts:[]}}}(t),a=[...n,...e].join(".");return new Gr(a,t,e,r)}head(t,e){return"@"===t[0]?this.atName(t,e):"this"===t?this.this(e):this.var(t,e)}this(t){return{type:"ThisHead",loc:t}}atName(t,e){return Rt("@"===t[0],"call builders.at() with a string that starts with '@'"),{type:"AtHead",name:t,loc:e}}var(t,e){return Rt("this"!==t,"You called builders.var() with 'this'. Call builders.this instead"),Rt("@"!==t[0],`You called builders.var() with '${t}'. Call builders.at('${t}') instead`),{type:"VarHead",name:t,loc:e}}hash(t,e){return{type:"Hash",pairs:t||[],loc:e}}pair({key:t,value:e,loc:r}){return{type:"HashPair",key:t,value:e,loc:r}}literal({type:t,value:e,loc:r}){return{type:t,value:e,original:e,loc:r}}undefined(){return this.literal({type:"UndefinedLiteral",value:void 0})}null(){return this.literal({type:"NullLiteral",value:null})}string(t,e){return this.literal({type:"StringLiteral",value:t,loc:e})}boolean(t,e){return this.literal({type:"BooleanLiteral",value:t,loc:e})}number(t,e){return this.literal({type:"NumberLiteral",value:t,loc:e})}},Qr=class{elementStack=[];lines;source;currentAttribute=null;currentNode=null;tokenizer;constructor(t,e=new Oe(_e),r="precompile"){this.source=t,this.lines=t.source.split(/\r\n?|\n/u),this.tokenizer=new Fe(this,e,r)}offset(){let{line:t,column:e}=this.tokenizer;return this.source.offsetFor(t,e)}pos({line:t,column:e}){return this.source.offsetFor(t,e)}finish(t){return Xt({},t,{loc:t.loc.until(this.offset())})}get currentAttr(){return Ft(this.currentAttribute,"expected attribute")}get currentTag(){let t=this.currentNode;return Rt(t&&("StartTag"===t.type||"EndTag"===t.type),"expected tag"),t}get currentStartTag(){let t=this.currentNode;return Rt(t&&"StartTag"===t.type,"expected start tag"),t}get currentEndTag(){let t=this.currentNode;return Rt(t&&"EndTag"===t.type,"expected end tag"),t}get currentComment(){let t=this.currentNode;return Rt(t&&"CommentStatement"===t.type,"expected a comment"),t}get currentData(){let t=this.currentNode;return Rt(t&&"TextNode"===t.type,"expected a text node"),t}acceptTemplate(t){return this[t.type](t)}acceptNode(t){return this[t.type](t)}currentElement(){return Gt(jt(this.elementStack))}sourceForNode(t,e){let r,n,a,i=t.loc.start.line-1,s=i-1,o=t.loc.start.column,l=[];for(e?(n=e.loc.end.line-1,a=e.loc.end.column):(n=t.loc.end.line-1,a=t.loc.end.column);s<n;)s++,r=Ut(this.lines[s]),s===i?i===n?l.push(r.slice(o,a)):l.push(r.slice(o)):s===n?l.push(r.slice(0,a)):l.push(r);return l.join("\n")}},Jr="beforeAttributeName",Yr=class extends Qr{get isTopLevel(){return 0===this.elementStack.length}Program(t){let e,r=[];e=this.isTopLevel?Kr.template({body:r,blockParams:t.blockParams,loc:this.source.spanFor(t.loc)}):Kr.blockItself({body:r,blockParams:t.blockParams,chained:t.chained,loc:this.source.spanFor(t.loc)});let n,a=t.body.length;if(this.elementStack.push(e),0===a)return this.elementStack.pop();for(n=0;n<a;n++)this.acceptNode(Ut(t.body[n]));let i=this.elementStack.pop();if(i!==e){let t=i;throw mr(`Unclosed element \`${t.tag}\``,t.loc)}return e}BlockStatement(t){if("comment"===this.tokenizer.state)return void this.appendToCommentData(this.sourceForNode(t));if("data"!==this.tokenizer.state&&"beforeData"!==this.tokenizer.state)throw mr("A block may only be used inside an HTML element or another block.",this.source.spanFor(t.loc));let{path:e,params:r,hash:n}=Xr(this,t);t.program.loc||(t.program.loc=Ge),t.inverse&&!t.inverse.loc&&(t.inverse.loc=Ge);let a=this.Program(t.program),i=t.inverse?this.Program(t.inverse):null,s=Kr.block({path:e,params:r,hash:n,defaultBlock:a,elseBlock:i,loc:this.source.spanFor(t.loc),openStrip:t.openStrip,inverseStrip:t.inverseStrip,closeStrip:t.closeStrip});!function(t,e){let r=[e.loc.getStart().offset,e.loc.getEnd().offset],n=t.slice(...r),a=r[0],i=n.indexOf("|")+1;a+=i,n=n.slice(i,-1),i=n.indexOf("|"),n=n.slice(0,i);for(let r of e.program.blockParamNodes){let e=[a+new RegExp(`\\b${r.value}\\b`).exec(n).index,0];e[1]=e[0]+r.value.length,r.loc=t.spanFor({start:t.hbsPosFor(e[0]),end:t.hbsPosFor(e[1])})}}(this.source,s),_r(this.currentElement(),s)}MustacheStatement(t){let{tokenizer:e}=this;if("comment"===e.state)return void this.appendToCommentData(this.sourceForNode(t));let r,{escaped:n,loc:a,strip:i}=t;if(qr(t.path))r=Kr.mustache({path:this.acceptNode(t.path),params:[],hash:Kr.hash([],this.source.spanFor(t.path.loc).collapse("end")),trusting:!n,loc:this.source.spanFor(a),strip:i});else{let{path:e,params:s,hash:o}=Xr(this,t);r=Kr.mustache({path:e,params:s,hash:o,trusting:!n,loc:this.source.spanFor(a),strip:i})}switch(e.state){case"tagOpen":case"tagName":throw mr("Cannot use mustaches in an elements tagname",r.loc);case"beforeAttributeName":Zr(this.currentStartTag,r);break;case"attributeName":case"afterAttributeName":this.beginAttributeValue(!1),this.finishAttributeValue(),Zr(this.currentStartTag,r),e.transitionTo(Jr);break;case"afterAttributeValueQuoted":Zr(this.currentStartTag,r),e.transitionTo(Jr);break;case"beforeAttributeValue":this.beginAttributeValue(!1),this.appendDynamicAttributeValuePart(r),e.transitionTo("attributeValueUnquoted");break;case"attributeValueDoubleQuoted":case"attributeValueSingleQuoted":case"attributeValueUnquoted":this.appendDynamicAttributeValuePart(r);break;default:_r(this.currentElement(),r)}return r}appendDynamicAttributeValuePart(t){this.finalizeTextPart();let e=this.currentAttr;e.isDynamic=!0,e.parts.push(t)}finalizeTextPart(){let t=this.currentAttr.currentPart;null!==t&&(this.currentAttr.parts.push(t),this.startTextPart())}startTextPart(){this.currentAttr.currentPart=null}ContentStatement(t){(function(t,e){let r=e.loc.start.line,n=e.loc.start.column,a=function(t,e){if(""===e)return{lines:t.split("\n").length-1,columns:0};let[r]=t.split(e),n=r.split(/\n/u),a=n.length-1;return{lines:a,columns:Ut(n[a]).length}}(e.original,e.value);r+=a.lines,a.lines?n=a.columns:n+=a.columns,t.line=r,t.column=n})(this.tokenizer,t),this.tokenizer.tokenizePart(t.value),this.tokenizer.flushData()}CommentStatement(t){let{tokenizer:e}=this;if("comment"===e.state)return this.appendToCommentData(this.sourceForNode(t)),null;let{value:r,loc:n}=t,a=Kr.mustacheComment(r,this.source.spanFor(n));switch(e.state){case"beforeAttributeName":case"afterAttributeName":this.currentStartTag.comments.push(a);break;case"beforeData":case"data":_r(this.currentElement(),a);break;default:throw mr(`Using a Handlebars comment when in the \`${e.state}\` state is not supported`,this.source.spanFor(t.loc))}return a}PartialStatement(t){throw mr("Handlebars partials are not supported",this.source.spanFor(t.loc))}PartialBlockStatement(t){throw mr("Handlebars partial blocks are not supported",this.source.spanFor(t.loc))}Decorator(t){throw mr("Handlebars decorators are not supported",this.source.spanFor(t.loc))}DecoratorBlock(t){throw mr("Handlebars decorator blocks are not supported",this.source.spanFor(t.loc))}SubExpression(t){let{path:e,params:r,hash:n}=Xr(this,t);return Kr.sexpr({path:e,params:r,hash:n,loc:this.source.spanFor(t.loc)})}PathExpression(t){let e,{original:r}=t;if(-1!==r.indexOf("/")){if("./"===r.slice(0,2))throw mr('Using "./" is not supported in Glimmer and unnecessary',this.source.spanFor(t.loc));if("../"===r.slice(0,3))throw mr('Changing context using "../" is not supported in Glimmer',this.source.spanFor(t.loc));if(-1!==r.indexOf("."))throw mr("Mixing '.' and '/' in paths is not supported in Glimmer; use only '.' to separate property paths",this.source.spanFor(t.loc));e=[t.parts.join("/")]}else{if("."===r)throw mr("'.' is not a supported path in Glimmer; check for a path with a trailing '.'",this.source.spanFor(t.loc));e=t.parts}let n,a=!1;if(/^this(?:\..+)?$/u.test(r)&&(a=!0),a)n={type:"ThisHead",loc:{start:t.loc.start,end:{line:t.loc.start.line,column:t.loc.start.column+4}}};else if(t.data){let r=e.shift();if(void 0===r)throw mr("Attempted to parse a path expression, but it was not valid. Paths beginning with @ must start with a-z.",this.source.spanFor(t.loc));n={type:"AtHead",name:`@${r}`,loc:{start:t.loc.start,end:{line:t.loc.start.line,column:t.loc.start.column+r.length+1}}}}else{let r=e.shift();if(void 0===r)throw mr("Attempted to parse a path expression, but it was not valid. Paths must start with a-z or A-Z.",this.source.spanFor(t.loc));n={type:"VarHead",name:r,loc:{start:t.loc.start,end:{line:t.loc.start.line,column:t.loc.start.column+r.length}}}}return new Gr(t.original,n,e,this.source.spanFor(t.loc))}Hash(t){let e=t.pairs.map((t=>Kr.pair({key:t.key,value:this.acceptNode(t.value),loc:this.source.spanFor(t.loc)})));return Kr.hash(e,this.source.spanFor(t.loc))}StringLiteral(t){return Kr.literal({type:"StringLiteral",value:t.value,loc:t.loc})}BooleanLiteral(t){return Kr.literal({type:"BooleanLiteral",value:t.value,loc:t.loc})}NumberLiteral(t){return Kr.literal({type:"NumberLiteral",value:t.value,loc:t.loc})}UndefinedLiteral(t){return Kr.literal({type:"UndefinedLiteral",value:void 0,loc:t.loc})}NullLiteral(t){return Kr.literal({type:"NullLiteral",value:null,loc:t.loc})}};function Xr(t,e){if(e.path.type.endsWith("Literal")){let r=e.path,n="";throw n="BooleanLiteral"===r.type?r.original.toString():"StringLiteral"===r.type?`"${r.original}"`:"NullLiteral"===r.type?"null":"NumberLiteral"===r.type?r.value.toString():"undefined",mr(`${r.type} "${"StringLiteral"===r.type?r.original:n}" cannot be called as a sub-expression, replace (${n}) with ${n}`,t.source.spanFor(r.loc))}let r="PathExpression"===e.path.type?t.PathExpression(e.path):t.SubExpression(e.path),n=e.params?e.params.map((e=>t.acceptNode(e))):[],a=Mt(n)?Gt(n).loc:r.loc;return{path:r,params:n,hash:e.hash?t.Hash(e.hash):{type:"Hash",pairs:[],loc:t.source.spanFor(a).collapse("end")}}}function Zr(t,e){let{path:r,params:n,hash:a,loc:i}=e;if(qr(r)){let n=`{{${function(t){return"UndefinedLiteral"===t.type?"undefined":JSON.stringify(t.value)}(r)}}}`;throw mr(`In ${`<${t.name} ... ${n} ...`}, ${n} is not a valid modifier`,e.loc)}let s=Kr.elementModifier({path:r,params:n,hash:a,loc:i});t.modifiers.push(s)}var tn=class extends Yr{tagOpenLine=0;tagOpenColumn=0;reset(){this.currentNode=null}beginComment(){this.currentNode=Kr.comment("",this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn))}appendToCommentData(t){this.currentComment.value+=t}finishComment(){_r(this.currentElement(),this.finish(this.currentComment))}beginData(){this.currentNode=Kr.text({chars:"",loc:this.offset().collapsed()})}appendToData(t){this.currentData.chars+=t}finishData(){this.currentData.loc=this.currentData.loc.withEnd(this.offset()),_r(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 t=this.finish(this.currentTag);if("StartTag"===t.type){if(this.finishStartTag(),":"===t.name)throw mr("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()}));(Me.has(t.name)||t.selfClosing)&&this.finishEndTag(!0)}else"EndTag"===t.type&&this.finishEndTag(!1)}finishStartTag(){let{name:t,attributes:e,modifiers:r,comments:n,selfClosing:a,loc:i}=this.finish(this.currentStartTag),s=Kr.element({tag:t,selfClosing:a,attrs:e,modifiers:r,comments:n,children:[],blockParams:[],loc:i});s.startTag={type:"ElementStartNode",value:t,loc:i},s.nameNode={type:"ElementNameNode",value:t,loc:i.withStart(this.source.offsetFor(i.startPosition.line,i.startPosition.column+1)).withEnd(this.source.offsetFor(i.startPosition.line,i.startPosition.column+1+t.length))},function(t,e){let r=[e.loc.getStart().offset,e.loc.getEnd().offset],n=r[0],a=t.slice(...r);for(let i of e.parts){let e=[n+a.indexOf(i.value),0];e[1]=e[0]+i.value.length,a=t.slice(e[1],r[1]),n=e[1],i.loc=t.spanFor({start:t.hbsPosFor(e[0]),end:t.hbsPosFor(e[1])})}}(this.source,s),this.elementStack.push(s)}finishEndTag(t){let e=this.finish(this.currentTag),r=this.elementStack.pop();r.endTag={type:"ElementEndNode",loc:e.loc,value:r.selfClosing?"":e.name},this.validateEndTag(e,r,t);let n=this.currentElement();r.loc=r.loc.withEnd(this.offset()),Cr(r),_r(n,r)}markTagAsSelfClosing(){this.currentTag.selfClosing=!0}appendToTagName(t){this.currentTag.name+=t}beginAttribute(){let t=this.offset();this.currentAttribute={name:"",parts:[],currentPart:null,isQuoted:!1,isDynamic:!1,start:t,valueSpan:t.collapsed()}}appendToAttributeName(t){this.currentAttr.name+=t}beginAttributeValue(t){this.currentAttr.isQuoted=t,this.startTextPart(),this.currentAttr.valueSpan=this.offset().collapsed()}appendToAttributeValue(t){let e=this.currentAttr.parts,r=e[e.length-1],n=this.currentAttr.currentPart;if(n)n.chars+=t,n.loc=n.loc.withEnd(this.offset());else{let e=this.offset();e="\n"===t?r?r.loc.getEnd():this.currentAttr.valueSpan.getStart():e.move(-1),this.currentAttr.currentPart=Kr.text({chars:t,loc:e.collapsed()})}}finishAttributeValue(){this.finalizeTextPart();let t=this.currentTag,e=this.offset();if("EndTag"===t.type)throw mr("Invalid end tag: closing tag must not have attributes",this.source.spanFor({start:t.loc.toJSON(),end:e.toJSON()}));let{name:r,parts:n,start:a,isQuoted:i,isDynamic:s,valueSpan:o}=this.currentAttr,l=this.assembleAttributeValue(n,i,s,a.until(e));l.loc=o.withEnd(e);let c=Kr.attr({name:r,value:l,loc:a.until(e)});this.currentStartTag.attributes.push(c)}reportSyntaxError(t){throw mr(t,this.offset().collapsed())}assembleConcatenatedValue(t){for(let e of t)if("MustacheStatement"!==e.type&&"TextNode"!==e.type)throw mr(`Unsupported node in quoted attribute value: ${e.type}`,e.loc);zt(t,"the concatenation parts of an element should not be empty");let e=Wt(t),r=Gt(t);return Kr.concat(t,this.source.spanFor(e.loc).extend(this.source.spanFor(r.loc)))}validateEndTag(t,e,r){if(Me.has(t.name)&&!r)throw mr(`<${t.name}> elements do not need end tags. You should remove it`,t.loc);if(void 0===e.tag)throw mr(`Closing tag </${t.name}> without an open tag`,t.loc);if(e.tag!==t.name)throw mr(`Closing tag </${t.name}> did not match last open tag <${e.tag}> (on line ${e.loc.startPosition.line})`,t.loc)}assembleAttributeValue(t,e,r,n){if(r){if(e)return this.assembleConcatenatedValue(t);{zt(t);let[e,r]=t;if(void 0===r||"TextNode"===r.type&&"/"===r.chars)return e;throw mr("An unquoted attribute value must be a string or a mustache, preceded by whitespace or a '=' character, and followed by whitespace, a '>' character, or '/>'",n)}}return Mt(t)?t[0]:Kr.text({chars:"",loc:n})}},en={},rn=class extends Oe{constructor(){super({})}parse(){}};var nn=function(t){return t.Helper="Helper",t.Modifier="Modifier",t.Component="Component",t}({});nn.Helper,nn.Modifier,nn.Component;var an="\n",sn=function(){function t(t){this.length=t.length;for(var e=[0],r=0;r<t.length;)switch(t[r]){case an:r+=1,e.push(r);break;case"\r":t[r+=1]===an&&(r+=1),e.push(r);break;default:r++}this.offsets=e}return t.prototype.locationForIndex=function(t){if(t<0||t>this.length)return null;for(var e=0,r=this.offsets;r[e+1]<=t;)e++;return{line:e,column:t-r[e]}},t.prototype.indexForLocation=function(t){var e=t.line,r=t.column;return e<0||e>=this.offsets.length||r<0||r>this.lengthOfLine(e)?null:this.offsets[e]+r},t.prototype.lengthOfLine=function(t){var e=this.offsets[t];return(t===this.offsets.length-1?this.length:this.offsets[t+1])-e},t}();var on=function(t,e){let r=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(r,e)};function ln(t){let e=new sn(t),r=({line:t,column:r})=>e.indexForLocation({line:t-1,column:r});return()=>({name:"prettierParsePlugin",visitor:{All(t){(t=>{let{start:e,end:n}=t.loc;e.offset=r(e),n.offset=r(n)})(t),function(t){let e=t.children??t.body;if(e)for(let t=0;t<e.length-1;t++)"TextNode"===e[t].type&&"MustacheStatement"===e[t+1].type&&(e[t].chars=e[t].chars.replace(/\\$/,"\\\\"))}(t)}}})}var cn={parse:function(t){let e;try{e=function(t,e={}){var r,n;let a,i,s,o=e.mode||"precompile";"string"==typeof t?(a=new dr(t,null==(r=e.meta)?void 0:r.moduleName),i="codemod"===o?Le(t,e.parseOptions):Ce(t,e.parseOptions)):t instanceof dr?(a=t,i="codemod"===o?Le(t.source,e.parseOptions):Ce(t.source,e.parseOptions)):(a=new dr("",null==(n=e.meta)?void 0:n.moduleName),i=t),"codemod"===o&&(s=new rn);let l=rr.forCharPositions(a,0,a.source.length);i.loc={source:"(program)",start:l.startPosition,end:l.endPosition};let c=new tn(a,s,o).acceptTemplate(i);if(e.strictMode&&(c.blockParams=e.locals??[]),e&&e.plugins&&e.plugins.ast)for(let t of e.plugins.ast)xr(c,t(Xt({},e,{syntax:en},{plugins:void 0})).visitor);return c}(t,{mode:"codemod",plugins:{ast:[ln(t)]}})}catch(t){let e=function(t){let{location:e,hash:r}=t;if(e){let{start:t,end:r}=e;return"number"!=typeof r.line?{start:t}:e}if(r){let{loc:{last_line:t,last_column:e}}=r;return{start:{line:t,column:e+1}}}}(t);if(e){let r=function(t){let{message:e}=t,r=e.split("\n");return r.length>=4&&/^Parse error on line \d+:$/.test(r[0])&&/^-*\^$/.test(H(!1,r,-2))?H(!1,r,-1):r.length>=4&&/:\s?$/.test(r[0])&&/^\(error occurred in '.*?' @ line \d+ : column \d+\)$/.test(H(!1,r,-1))&&""===r[1]&&""===H(!1,r,-2)&&r.slice(2,-2).every((t=>t.startsWith("|")))?r[0].trim().slice(0,-1):e}(t);throw on(r,{loc:e,cause:t})}throw t}return e},astFormat:"glimmer",locStart:X,locEnd:Z},un={glimmer:Ht},hn=a;exports.default=hn,exports.languages=$t,exports.parsers=Vt,exports.printers=un;
|
|
2
|
+
"use strict";var t=Object.defineProperty,e=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})},r={};e(r,{languages:()=>$r,parsers:()=>Ur,printers:()=>Gr});var n=(t,e)=>(r,n,...a)=>1|r&&null==n?void 0:(e.call(n)??n[t]).apply(n,a),a=String.prototype.replaceAll??function(t,e){return t.global?this.replace(t,e):this.split(t).join(e)},s=n("replaceAll",function(){if("string"==typeof this)return a});function i(t){return this[t<0?this.length+t:t]}var o=n("at",function(){if(Array.isArray(this)||"string"==typeof this)return i}),l=()=>{},c="string",u="array",h="cursor",p="indent",d="align",m="trim",f="group",g="fill",y="if-break",b="indent-if-break",v="line-suffix",S="line-suffix-boundary",w="line",k="label",T="break-parent",E=new Set([h,p,d,m,f,g,y,b,v,S,w,k,T]);var N=function(t){if("string"==typeof t)return c;if(Array.isArray(t))return u;if(!t)return;let{type:e}=t;return E.has(e)?e:void 0};function P(t){let e=null===t?"null":typeof t;if("string"!==e&&"object"!==e)return`Unexpected doc '${e}', \nExpected it to be 'string' or 'object'.`;if(N(t))throw new Error("doc is valid.");let r=Object.prototype.toString.call(t);if("[object Object]"!==r)return`Unexpected doc '${r}'.`;let n=(t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t))([...E].map(t=>`'${t}'`));return`Unexpected doc.type '${t.type}'.\nExpected it to be ${n}.`}var x=class extends Error{name="InvalidDocError";constructor(t){super(P(t)),this.doc=t}};function A(t,e){if("string"==typeof t)return e(t);let r=new Map;return n(t);function n(t){if(r.has(t))return r.get(t);let a=function(t){switch(N(t)){case u:return e(t.map(n));case g:return e({...t,parts:t.parts.map(n)});case y:return e({...t,breakContents:n(t.breakContents),flatContents:n(t.flatContents)});case f:{let{expandedStates:r,contents:a}=t;return r?(r=r.map(n),a=r[0]):a=n(a),e({...t,contents:a,expandedStates:r})}case d:case p:case b:case k:case v:return e({...t,contents:n(t.contents)});case c:case h:case m:case S:case w:case T:return e(t);default:throw new x(t)}}(t);return r.set(t,a),a}}function D(t,e=F){return A(t,t=>"string"==typeof t?R(e,t.split("\n")):t)}var C=l;function L(t){return{type:p,contents:t}}function q(t){return function(t,e){return{type:d,contents:e,n:t}}(-1,t)}var _={type:T};function I(t){return{type:g,parts:t}}function O(t,e={}){return C(e.expandedStates),{type:f,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function B(t,e="",r={}){return{type:y,breakContents:t,flatContents:e,groupId:r.groupId}}function R(t,e){let r=[];for(let n=0;n<e.length;n++)0!==n&&r.push(t),r.push(e[n]);return r}var V={type:w},$={type:w,soft:!0},U=[{type:w,hard:!0},_],F=[{type:w,hard:!0,literal:!0},_],H=Object.freeze({character:"'",codePoint:39}),z=Object.freeze({character:'"',codePoint:34}),M=Object.freeze({preferred:H,alternate:z}),j=Object.freeze({preferred:z,alternate:H});var G=function(t,e){let{preferred:r,alternate:n}=!0===e||"'"===e?M:j,{length:a}=t,s=0,i=0;for(let e=0;e<a;e++){let a=t.charCodeAt(e);a===r.codePoint?s++:a===n.codePoint&&i++}return(s>i?n:r).character};var W=new class{#t;constructor(t){this.#t=new Set(t)}getLeadingWhitespaceCount(t){let e=this.#t,r=0;for(let n=0;n<t.length&&e.has(t.charAt(n));n++)r++;return r}getTrailingWhitespaceCount(t){let e=this.#t,r=0;for(let n=t.length-1;n>=0&&e.has(t.charAt(n));n--)r++;return r}getLeadingWhitespace(t){let e=this.getLeadingWhitespaceCount(t);return t.slice(0,e)}getTrailingWhitespace(t){let e=this.getTrailingWhitespaceCount(t);return t.slice(t.length-e)}hasLeadingWhitespace(t){return this.#t.has(t.charAt(0))}hasTrailingWhitespace(t){return this.#t.has(o(0,t,-1))}trimStart(t){let e=this.getLeadingWhitespaceCount(t);return t.slice(e)}trimEnd(t){let e=this.getTrailingWhitespaceCount(t);return t.slice(0,t.length-e)}trim(t){return this.trimEnd(this.trimStart(t))}split(t,e=!1){let r=`[${function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}([...this.#t].join(""))}]+`,n=new RegExp(e?`(${r})`:r,"u");return t.split(n)}hasWhitespaceCharacter(t){let e=this.#t;return Array.prototype.some.call(t,t=>e.has(t))}hasNonWhitespaceCharacter(t){let e=this.#t;return Array.prototype.some.call(t,t=>!e.has(t))}isWhitespaceOnly(t){let e=this.#t;return Array.prototype.every.call(t,t=>e.has(t))}#e(t){let e=Number.POSITIVE_INFINITY;for(let r of t.split("\n")){if(0===r.length)continue;let t=this.getLeadingWhitespaceCount(r);if(0===t)return 0;r.length!==t&&t<e&&(e=t)}return e===Number.POSITIVE_INFINITY?0:e}dedentString(t){let e=this.#e(t);return 0===e?t:t.split("\n").map(t=>t.slice(e)).join("\n")}}(["\t","\n","\f","\r"," "]);var K=function(t){return Array.isArray(t)&&t.length>0},Q=class extends Error{name="UnexpectedNodeError";constructor(t,e,r="type"){super(`Unexpected ${e} node ${r}: ${JSON.stringify(t[r])}.`),this.node=t}};function J(t,e,r){if("TextNode"===t.type){let n=t.chars.trim();if(!n)return null;"style"===r.tag&&1===r.children.length&&r.children[0]===t?e.chars="":e.chars=W.split(n).join(" ")}"ElementNode"===t.type&&(delete e.startTag,delete e.openTag,delete e.parts,delete e.endTag,delete e.closeTag,delete e.nameNode,delete e.body,delete e.blockParamNodes,delete e.params,delete e.path),"Block"===t.type&&(delete e.blockParamNodes,delete e.params),"AttrNode"===t.type&&"class"===t.name.toLowerCase()&&delete e.value,"PathExpression"===t.type&&(e.head=t.head.original)}J.ignoredProperties=new Set(["loc","selfClosing"]);var Y=J;var Z=function(t){let{node:e}=t;if("TextNode"!==e.type)return;let{parent:r}=t;if("ElementNode"!==r.type||"style"!==r.tag||1!==r.children.length||r.children[0]!==e)return;let n=r.attributes.find(t=>"AttrNode"===t.type&&"lang"===t.name);return n&&("TextNode"!==n.value.type||""!==n.value.chars&&"css"!==n.value.chars)?void 0:async t=>{let r=e.chars;return r.trim()?await t(r,{parser:"css"}):""}},X=null;function tt(t){if(null!==X&&(X.property,1)){let t=X;return X=tt.prototype=null,t}return X=tt.prototype=t??Object.create(null),new tt}for(let t=0;t<=10;t++)tt();var et=function(t,e="type"){return function(t){tt(t)}(t),function(r){let n=r[e],a=t[n];if(!Array.isArray(a))throw Object.assign(new Error(`Missing visitor keys for '${n}'.`),{node:r});return a}},rt=Object.assign,nt=console;var at=function(){var t=function(t,e,r,n){for(r=r||{},n=t.length;n--;r[t[n]]=e);return r},e=[2,52],r=[1,20],n=[5,14,15,19,29,34,39,44,47,48,53,57,61],a=[1,44],s=[1,40],i=[1,43],o=[1,33],l=[1,34],c=[1,35],u=[1,36],h=[1,37],p=[1,42],d=[1,46],m=[14,15,19,29,34,39,44,47,48,53,57,61],f=[14,15,19,29,34,44,47,48,53,57,61],g=[15,18],y=[14,15,19,29,34,47,48,53,57,61],b=[33,67,73,75,84,85,86,87,88,89],v=[23,33,56,67,68,73,75,77,79,84,85,86,87,88,89],S=[1,62],w=[1,63],k=[23,33,56,68,73,79],T=[23,33,56,67,68,73,75,77,79,84,85,86,87,88,89,92,93],E=[2,51],N=[1,64],P=[67,73,75,77,84,85,86,87,88,89],x=[56,67,73,75,84,85,86,87,88,89],A=[1,75],D=[1,76],C=[1,83],L=[33,67,73,75,79,84,85,86,87,88,89],q=[23,67,73,75,84,85,86,87,88,89],_=[67,68,73,75,84,85,86,87,88,89],I=[33,79],O=[1,134],B=[73,81],R={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,hash:49,expr:50,mustache_repetition0:51,mustache_option0:52,OPEN_UNESCAPED:53,mustache_repetition1:54,mustache_option1:55,CLOSE_UNESCAPED:56,OPEN_PARTIAL:57,partial_repetition0:58,partial_option0:59,openPartialBlock:60,OPEN_PARTIAL_BLOCK:61,openPartialBlock_repetition0:62,openPartialBlock_option0:63,exprHead:64,arrayLiteral:65,sexpr:66,OPEN_SEXPR:67,CLOSE_SEXPR:68,sexpr_repetition0:69,sexpr_option0:70,hash_repetition_plus0:71,hashSegment:72,ID:73,EQUALS:74,OPEN_ARRAY:75,arrayLiteral_repetition0:76,CLOSE_ARRAY:77,blockParams:78,OPEN_BLOCK_PARAMS:79,blockParams_repetition_plus0:80,CLOSE_BLOCK_PARAMS:81,path:82,dataName:83,STRING:84,NUMBER:85,BOOLEAN:86,UNDEFINED:87,NULL:88,DATA:89,pathSegments:90,sep:91,SEP:92,PRIVATE_SEP:93,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",53:"OPEN_UNESCAPED",56:"CLOSE_UNESCAPED",57:"OPEN_PARTIAL",61:"OPEN_PARTIAL_BLOCK",67:"OPEN_SEXPR",68:"CLOSE_SEXPR",73:"ID",74:"EQUALS",75:"OPEN_ARRAY",77:"CLOSE_ARRAY",79:"OPEN_BLOCK_PARAMS",81:"CLOSE_BLOCK_PARAMS",84:"STRING",85:"NUMBER",86:"BOOLEAN",87:"UNDEFINED",88:"NULL",89:"DATA",92:"SEP",93:"PRIVATE_SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,3],[8,5],[8,5],[11,5],[12,3],[60,5],[50,1],[50,1],[64,1],[64,1],[66,3],[66,5],[49,1],[72,3],[65,3],[78,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[83,2],[91,1],[91,1],[82,3],[82,1],[90,3],[90,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[51,0],[51,2],[52,0],[52,1],[54,0],[54,2],[55,0],[55,1],[58,0],[58,2],[59,0],[59,1],[62,0],[62,2],[63,0],[63,1],[69,0],[69,2],[70,0],[70,1],[71,1],[71,2],[76,0],[76,2],[80,1],[80,2]],performAction:function(t,e,r,n,a,s,i){var o=s.length-1;switch(a){case 1:return s[o-1];case 2:this.$=n.prepareProgram(s[o]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 28:case 29:case 30:case 31:case 38:case 39:case 46:case 47:this.$=s[o];break;case 9:this.$={type:"CommentStatement",value:n.stripComment(s[o]),strip:n.stripFlags(s[o],s[o]),loc:n.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:s[o],value:s[o],loc:n.locInfo(this._$)};break;case 11:this.$=n.prepareRawBlock(s[o-2],s[o-1],s[o],this._$);break;case 12:this.$={path:s[o-3],params:s[o-2],hash:s[o-1]};break;case 13:this.$=n.prepareBlock(s[o-3],s[o-2],s[o-1],s[o],!1,this._$);break;case 14:this.$=n.prepareBlock(s[o-3],s[o-2],s[o-1],s[o],!0,this._$);break;case 15:this.$={open:s[o-5],path:s[o-4],params:s[o-3],hash:s[o-2],blockParams:s[o-1],strip:n.stripFlags(s[o-5],s[o])};break;case 16:case 17:this.$={path:s[o-4],params:s[o-3],hash:s[o-2],blockParams:s[o-1],strip:n.stripFlags(s[o-5],s[o])};break;case 18:this.$={strip:n.stripFlags(s[o-1],s[o-1]),program:s[o]};break;case 19:var l=n.prepareBlock(s[o-2],s[o-1],s[o],s[o],!1,this._$),c=n.prepareProgram([l],s[o-1].loc);c.chained=!0,this.$={strip:s[o-2].strip,program:c,chain:!0};break;case 21:this.$={path:s[o-1],strip:n.stripFlags(s[o-2],s[o])};break;case 22:this.$=n.prepareMustache(n.syntax.hash(s[o-1],n.locInfo(this._$),{yy:n,syntax:"expr"}),[],void 0,s[o-2],n.stripFlags(s[o-2],s[o]),this._$);break;case 23:case 24:this.$=n.prepareMustache(s[o-3],s[o-2],s[o-1],s[o-4],n.stripFlags(s[o-4],s[o]),this._$);break;case 25:this.$={type:"PartialStatement",name:s[o-3],params:s[o-2],hash:s[o-1],indent:"",strip:n.stripFlags(s[o-4],s[o]),loc:n.locInfo(this._$)};break;case 26:this.$=n.preparePartialBlock(s[o-2],s[o-1],s[o],this._$);break;case 27:this.$={path:s[o-3],params:s[o-2],hash:s[o-1],strip:n.stripFlags(s[o-4],s[o])};break;case 32:this.$=n.syntax.hash(s[o-1],n.locInfo(this._$),{yy:n,syntax:"expr"});break;case 33:this.$={type:"SubExpression",path:s[o-3],params:s[o-2],hash:s[o-1],loc:n.locInfo(this._$)};break;case 34:this.$={type:"Hash",pairs:s[o],loc:n.locInfo(this._$)};break;case 35:this.$={type:"HashPair",key:n.id(s[o-2]),value:s[o],loc:n.locInfo(this._$)};break;case 36:this.$=n.syntax.square(s[o-1],n.locInfo(this._$),{yy:n,syntax:"expr"});break;case 37:this.$=n.id(s[o-1]);break;case 40:this.$={type:"StringLiteral",value:s[o],original:s[o],loc:n.locInfo(this._$)};break;case 41:this.$={type:"NumberLiteral",value:Number(s[o]),original:Number(s[o]),loc:n.locInfo(this._$)};break;case 42:this.$={type:"BooleanLiteral",value:"true"===s[o],original:"true"===s[o],loc:n.locInfo(this._$)};break;case 43:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:n.locInfo(this._$)};break;case 44:this.$={type:"NullLiteral",original:null,value:null,loc:n.locInfo(this._$)};break;case 45:this.$=n.preparePath(!0,!1,s[o],this._$);break;case 48:this.$=n.preparePath(!1,s[o-2],s[o],this._$);break;case 49:this.$=n.preparePath(!1,!1,s[o],this._$);break;case 50:s[o-2].push({part:n.id(s[o]),original:s[o],separator:s[o-1]}),this.$=s[o-2];break;case 51:this.$=[{part:n.id(s[o]),original:s[o]}];break;case 52:case 54:case 56:case 64:case 70:case 76:case 84:case 88:case 92:case 96:case 100:case 106:this.$=[];break;case 53:case 55:case 57:case 65:case 71:case 77:case 85:case 89:case 93:case 97:case 101:case 105:case 107:case 109:s[o-1].push(s[o]);break;case 104:case 108:this.$=[s[o]]}},table:[t([5,14,15,19,29,34,48,53,57,61],e,{3:1,4:2,6:3}),{1:[3]},{5:[1,4]},t([5,39,44,47],[2,2],{7:5,8:6,9:7,10:8,11:9,12:10,13:11,24:15,27:16,16:17,60:19,14:[1,12],15:r,19:[1,23],29:[1,21],34:[1,22],48:[1,13],53:[1,14],57:[1,18],61:[1,24]}),{1:[2,1]},t(n,[2,53]),t(n,[2,3]),t(n,[2,4]),t(n,[2,5]),t(n,[2,6]),t(n,[2,7]),t(n,[2,8]),t(n,[2,9]),{20:28,49:25,50:26,64:29,65:38,66:39,67:a,71:27,72:30,73:s,75:i,82:31,83:32,84:o,85:l,86:c,87:u,88:h,89:p,90:41},{20:28,50:45,64:29,65:38,66:39,67:a,73:d,75:i,82:31,83:32,84:o,85:l,86:c,87:u,88:h,89:p,90:41},t(m,e,{6:3,4:47}),t(f,e,{6:3,4:48}),t(g,[2,54],{17:49}),{20:28,50:50,64:29,65:38,66:39,67:a,73:d,75:i,82:31,83:32,84:o,85:l,86:c,87:u,88:h,89:p,90:41},t(y,e,{6:3,4:51}),t([5,14,15,18,19,29,34,39,44,47,48,53,57,61],[2,10]),{20:52,64:53,65:38,66:39,67:a,73:d,75:i,82:31,83:32,84:o,85:l,86:c,87:u,88:h,89:p,90:41},{20:54,64:53,65:38,66:39,67:a,73:d,75:i,82:31,83:32,84:o,85:l,86:c,87:u,88:h,89:p,90:41},{20:55,64:53,65:38,66:39,67:a,73:d,75:i,82:31,83:32,84:o,85:l,86:c,87:u,88:h,89:p,90:41},{20:28,50:56,64:29,65:38,66:39,67:a,73:d,75:i,82:31,83:32,84:o,85:l,86:c,87:u,88:h,89:p,90:41},{33:[1,57]},t(b,[2,84],{51:58}),t([23,33,56,68,79],[2,34],{72:59,73:[1,60]}),t(v,[2,28]),t(v,[2,29],{91:61,92:S,93:w}),t(k,[2,104]),t(v,[2,38]),t(v,[2,39]),t(v,[2,40]),t(v,[2,41]),t(v,[2,42]),t(v,[2,43]),t(v,[2,44]),t(T,[2,30]),t(T,[2,31]),t([23,33,56,67,68,73,75,79,84,85,86,87,88,89,92,93],E,{74:N}),t(v,[2,49],{91:65,92:S,93:w}),{73:d,90:66},t(P,[2,106],{76:67}),{20:28,49:68,50:69,64:29,65:38,66:39,67:a,71:27,72:30,73:s,75:i,82:31,83:32,84:o,85:l,86:c,87:u,88:h,89:p,90:41},t(x,[2,88],{54:70}),t(T,E),{25:71,38:73,39:A,43:74,44:D,45:72,47:[2,60]},{28:77,43:78,44:D,47:[2,62]},{13:80,15:r,18:[1,79]},t(b,[2,92],{58:81}),{26:82,47:C},t(L,[2,64],{30:84}),{91:61,92:S,93:w},t(L,[2,70],{35:85}),t(q,[2,56],{21:86}),t(b,[2,96],{62:87}),t(n,[2,22]),{20:28,33:[2,86],49:90,50:89,52:88,64:29,65:38,66:39,67:a,71:27,72:30,73:s,75:i,82:31,83:32,84:o,85:l,86:c,87:u,88:h,89:p,90:41},t(k,[2,105]),{74:N},{73:d,90:91},{73:[2,46]},{73:[2,47]},{20:28,50:92,64:29,65:38,66:39,67:a,73:d,75:i,82:31,83:32,84:o,85:l,86:c,87:u,88:h,89:p,90:41},{73:[1,93]},t(v,[2,45],{91:65,92:S,93:w}),{20:28,50:95,64:29,65:38,66:39,67:a,73:d,75:i,77:[1,94],82:31,83:32,84:o,85:l,86:c,87:u,88:h,89:p,90:41},{68:[1,96]},t(_,[2,100],{69:97}),{20:28,49:100,50:99,55:98,56:[2,90],64:29,65:38,66:39,67:a,71:27,72:30,73:s,75:i,82:31,83:32,84:o,85:l,86:c,87:u,88:h,89:p,90:41},{26:101,47:C},{47:[2,61]},t(m,e,{6:3,4:102}),{47:[2,20]},{20:103,64:53,65:38,66:39,67:a,73:d,75:i,82:31,83:32,84:o,85:l,86:c,87:u,88:h,89:p,90:41},t(y,e,{6:3,4:104}),{26:105,47:C},{47:[2,63]},t(n,[2,11]),t(g,[2,55]),{20:28,33:[2,94],49:108,50:107,59:106,64:29,65:38,66:39,67:a,71:27,72:30,73:s,75:i,82:31,83:32,84:o,85:l,86:c,87:u,88:h,89:p,90:41},t(n,[2,26]),{20:109,64:53,65:38,66:39,67:a,73:d,75:i,82:31,83:32,84:o,85:l,86:c,87:u,88:h,89:p,90:41},t(I,[2,66],{71:27,20:28,64:29,72:30,82:31,83:32,65:38,66:39,90:41,31:110,50:111,49:112,67:a,73:s,75:i,84:o,85:l,86:c,87:u,88:h,89:p}),t(I,[2,72],{71:27,20:28,64:29,72:30,82:31,83:32,65:38,66:39,90:41,36:113,50:114,49:115,67:a,73:s,75:i,84:o,85:l,86:c,87:u,88:h,89:p}),{20:28,22:116,23:[2,58],49:118,50:117,64:29,65:38,66:39,67:a,71:27,72:30,73:s,75:i,82:31,83:32,84:o,85:l,86:c,87:u,88:h,89:p,90:41},{20:28,33:[2,98],49:121,50:120,63:119,64:29,65:38,66:39,67:a,71:27,72:30,73:s,75:i,82:31,83:32,84:o,85:l,86:c,87:u,88:h,89:p,90:41},{33:[1,122]},t(b,[2,85]),{33:[2,87]},t(v,[2,48],{91:65,92:S,93:w}),t(k,[2,35]),t(T,[2,50]),t(T,[2,36]),t(P,[2,107]),t(T,[2,32]),{20:28,49:125,50:124,64:29,65:38,66:39,67:a,68:[2,102],70:123,71:27,72:30,73:s,75:i,82:31,83:32,84:o,85:l,86:c,87:u,88:h,89:p,90:41},{56:[1,126]},t(x,[2,89]),{56:[2,91]},t(n,[2,13]),{38:73,39:A,43:74,44:D,45:128,46:127,47:[2,82]},t(L,[2,76],{40:129}),{47:[2,18]},t(n,[2,14]),{33:[1,130]},t(b,[2,93]),{33:[2,95]},{33:[1,131]},{32:132,33:[2,68],78:133,79:O},t(L,[2,65]),t(I,[2,67]),{33:[2,74],37:135,78:136,79:O},t(L,[2,71]),t(I,[2,73]),{23:[1,137]},t(q,[2,57]),{23:[2,59]},{33:[1,138]},t(b,[2,97]),{33:[2,99]},t(n,[2,23]),{68:[1,139]},t(_,[2,101]),{68:[2,103]},t(n,[2,24]),{47:[2,19]},{47:[2,83]},t(I,[2,78],{71:27,20:28,64:29,72:30,82:31,83:32,65:38,66:39,90:41,41:140,50:141,49:142,67:a,73:s,75:i,84:o,85:l,86:c,87:u,88:h,89:p}),t(n,[2,25]),t(n,[2,21]),{33:[1,143]},{33:[2,69]},{73:[1,145],80:144},{33:[1,146]},{33:[2,75]},t(g,[2,12]),t(y,[2,27]),t(T,[2,33]),{33:[2,80],42:147,78:148,79:O},t(L,[2,77]),t(I,[2,79]),t(m,[2,15]),{73:[1,150],81:[1,149]},t(B,[2,108]),t(f,[2,16]),{33:[1,151]},{33:[2,81]},{33:[2,37]},t(B,[2,109]),t(m,[2,17])],defaultActions:{4:[2,1],62:[2,46],63:[2,47],72:[2,61],74:[2,20],78:[2,63],90:[2,87],100:[2,91],104:[2,18],108:[2,95],118:[2,59],121:[2,99],125:[2,103],127:[2,19],128:[2,83],133:[2,69],136:[2,75],148:[2,81],149:[2,37]},parseError:function(t,e){if(!e.recoverable){var r=new Error(t);throw r.hash=e,r}this.trace(t)},parse:function(t){var e=this,r=[0],n=[null],a=[],s=this.table,i="",o=0,l=0,c=a.slice.call(arguments,1),u=Object.create(this.lexer),h={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(h.yy[p]=this.yy[p]);u.setInput(t,h.yy),h.yy.lexer=u,h.yy.parser=this,typeof u.yylloc>"u"&&(u.yylloc={});var d=u.yylloc;a.push(d);var m=u.options&&u.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,g,y,b,v,S,w,k,T,E=function(){var t;return"number"!=typeof(t=u.lex()||1)&&(t=e.symbols_[t]||t),t},N={};;){if(y=r[r.length-1],this.defaultActions[y]?b=this.defaultActions[y]:((null===f||typeof f>"u")&&(f=E()),b=s[y]&&s[y][f]),typeof b>"u"||!b.length||!b[0]){var P="";for(S in T=[],s[y])this.terminals_[S]&&S>2&&T.push("'"+this.terminals_[S]+"'");P=u.showPosition?"Parse error on line "+(o+1)+":\n"+u.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(P,{text:u.match,token:this.terminals_[f]||f,line:u.yylineno,loc:d,expected:T})}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+y+", token: "+f);switch(b[0]){case 1:r.push(f),n.push(u.yytext),a.push(u.yylloc),r.push(b[1]),f=null,g?(f=g,g=null):(l=u.yyleng,i=u.yytext,o=u.yylineno,d=u.yylloc);break;case 2:if(w=this.productions_[b[1]][1],N.$=n[n.length-w],N._$={first_line:a[a.length-(w||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(w||1)].first_column,last_column:a[a.length-1].last_column},m&&(N._$.range=[a[a.length-(w||1)].range[0],a[a.length-1].range[1]]),typeof(v=this.performAction.apply(N,[i,l,o,h.yy,b[1],n,a].concat(c)))<"u")return v;w&&(r=r.slice(0,-1*w*2),n=n.slice(0,-1*w),a=a.slice(0,-1*w)),r.push(this.productions_[b[1]][0]),n.push(N.$),a.push(N._$),k=s[r[r.length-2]][r[r.length-1]],r.push(k);break;case 3:return!0}}return!0}},V={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===n.length?this.yylloc.first_column:0)+n[n.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var r,n,a;if(this.options.backtrack_lexer&&(a={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&&(a.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var s in a)this[s]=a[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),s=0;s<a.length;s++)if((r=this._input.match(this.rules[a[s]]))&&(!e||r[0].length>e[0].length)){if(e=r,n=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,a[s])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,r,n){function a(t,r){return e.yytext=e.yytext.substring(t,e.yyleng-r+t)}switch(r){case 0:if("\\\\"===e.yytext.slice(-2)?(a(0,1),this.begin("mu")):"\\"===e.yytext.slice(-1)?(a(0,1),this.begin("emu")):this.begin("mu"),e.yytext)return 15;break;case 1:case 5:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(a(5,9),18);case 6:case 24:return this.popState(),14;case 7:return 67;case 8:return 68;case 9:if("string"!==t.syntax.square)return 75;this.unput(e.yytext),this.begin("escl");break;case 10:return 77;case 11:return 19;case 12:return this.popState(),this.begin("raw"),23;case 13:return 57;case 14:return 61;case 15:return 29;case 16:return 47;case 17:case 18:return this.popState(),44;case 19:return 34;case 20:return 39;case 21:return 53;case 22:case 25:return 48;case 23:this.unput(e.yytext),this.popState(),this.begin("com");break;case 26:return 74;case 27:case 28:case 44:return 73;case 29:return 93;case 30:return 92;case 31:break;case 32:return this.popState(),56;case 33:return this.popState(),33;case 34:return e.yytext=a(1,2).replace(/\\"/g,'"'),84;case 35:return e.yytext=a(1,2).replace(/\\'/g,"'"),84;case 36:return 89;case 37:case 38:return 86;case 39:return 87;case 40:return 88;case 41:return 85;case 42:return 79;case 43:return 81;case 45:return e.yytext=e.yytext.replace(/\\([\\\]])/g,"$1"),this.popState(),73;case 46:return"INVALID";case 47:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)\]|])))/,/^(?:\.#)/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)\]])))/,/^(?:false(?=([~}\s)\]])))/,/^(?:undefined(?=([~}\s)\]])))/,/^(?:null(?=([~}\s)\]])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)\]])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)\]|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,46,47],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},escl:{rules:[45],inclusive:!1},INITIAL:{rules:[0,1,47],inclusive:!0}}};function $(){this.yy={}}return R.lexer=V,$.prototype=R,R.Parser=$,new $}(),st=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function it(t,e){var r,n,a,s,i=e&&e.loc;i&&(r=i.start.line,n=i.end.line,a=i.start.column,s=i.end.column,t+=" - "+r+":"+a);for(var o=Error.prototype.constructor.call(this,t),l=0;l<st.length;l++)this[st[l]]=o[st[l]];Error.captureStackTrace&&Error.captureStackTrace(this,it);try{i&&(this.lineNumber=r,this.endLineNumber=n,Object.defineProperty?(Object.defineProperty(this,"column",{value:a,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:s,enumerable:!0})):(this.column=a,this.endColumn=s))}catch{}}it.prototype=new Error;var ot=it;function lt(){this.parents=[]}function ct(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function ut(t){ct.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function ht(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}lt.prototype={constructor:lt,mutating:!1,acceptKey:function(t,e){var r=this.accept(t[e]);if(this.mutating){if(r&&!lt.prototype[r.type])throw new ot('Unexpected node type "'+r.type+'" found when accepting '+e+" on "+t.type);t[e]=r}},acceptRequired:function(t,e){if(this.acceptKey(t,e),!t[e])throw new ot(t.type+" requires "+e)},acceptArray:function(t){for(var e=0,r=t.length;e<r;e++)this.acceptKey(t,e),t[e]||(t.splice(e,1),e--,r--)},accept:function(t){if(t){if(!this[t.type])throw new ot("Unknown type: "+t.type,t);this.current&&this.parents.unshift(this.current),this.current=t;var e=this[t.type](t);if(this.current=this.parents.shift(),!this.mutating||e)return e;if(!1!==e)return t}},Program:function(t){this.acceptArray(t.body)},MustacheStatement:ct,Decorator:ct,BlockStatement:ut,DecoratorBlock:ut,PartialStatement:ht,PartialBlockStatement:function(t){ht.call(this,t),this.acceptKey(t,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:ct,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(t){this.acceptArray(t.pairs)},HashPair:function(t){this.acceptRequired(t,"value")}};var pt=lt;function dt(t){void 0===t&&(t={}),this.options=t}function mt(t,e,r){void 0===e&&(e=t.length);var n=t[e-1],a=t[e-2];return n?"ContentStatement"===n.type?(a||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original):void 0:r}function ft(t,e,r){void 0===e&&(e=-1);var n=t[e+1],a=t[e+2];return n?"ContentStatement"===n.type?(a||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original):void 0:r}function gt(t,e,r){var n=t[null==e?0:e+1];if(n&&"ContentStatement"===n.type&&(r||!n.rightStripped)){var a=n.value;n.value=n.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==a}}function yt(t,e,r){var n=t[null==e?t.length-1:e-1];if(n&&"ContentStatement"===n.type&&(r||!n.leftStripped)){var a=n.value;return n.value=n.value.replace(r?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==a,n.leftStripped}}dt.prototype=new pt,dt.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,a=0,s=n.length;a<s;a++){var i=n[a],o=this.accept(i);if(o){var l=mt(n,a,r),c=ft(n,a,r),u=o.openStandalone&&l,h=o.closeStandalone&&c,p=o.inlineStandalone&&l&&c;o.close&>(n,a,!0),o.open&&yt(n,a,!0),e&&p&&(gt(n,a),yt(n,a)&&"PartialStatement"===i.type&&(i.indent=/([ \t]+$)/.exec(n[a-1].original)[1])),e&&u&&(gt((i.program||i.inverse).body),yt(n,a)),e&&h&&(gt(n,a),yt((i.inverse||i.program).body))}}return t},dt.prototype.BlockStatement=dt.prototype.DecoratorBlock=dt.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.inverse);var e=t.program||t.inverse,r=t.program&&t.inverse,n=r,a=r;if(r&&r.chained)for(n=r.body[0].program;a.chained;)a=a.body[a.body.length-1].program;var s={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:ft(e.body),closeStandalone:mt((n||e).body)};if(t.openStrip.close&>(e.body,null,!0),r){var i=t.inverseStrip;i.open&&yt(e.body,null,!0),i.close&>(n.body,null,!0),t.closeStrip.open&&yt(a.body,null,!0),!this.options.ignoreStandalone&&mt(e.body)&&ft(n.body)&&(yt(e.body),gt(n.body))}else t.closeStrip.open&&yt(e.body,null,!0);return s},dt.prototype.Decorator=dt.prototype.MustacheStatement=function(t){return t.strip},dt.prototype.PartialStatement=dt.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}};var bt=dt,vt={};e(vt,{SourceLocation:()=>kt,id:()=>Tt,prepareBlock:()=>Dt,prepareMustache:()=>xt,preparePartialBlock:()=>Lt,preparePath:()=>Pt,prepareProgram:()=>Ct,prepareRawBlock:()=>At,stripComment:()=>Nt,stripFlags:()=>Et});var St=function(t,e,r){for(var n,a=0,s=e.length;a<s;a++)(n||!(a in e))&&(n||(n=Array.prototype.slice.call(e,0,a)),n[a]=e[a]);return t.concat(n||Array.prototype.slice.call(e))};function wt(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new ot(t.path.original+" doesn't match "+e,r)}}function kt(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}function Tt(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function Et(t,e){return{open:"~"===t.charAt(2),close:"~"===e.charAt(e.length-3)}}function Nt(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function Pt(t,e,r,n){var a;n=this.locInfo(n),a=t?"@":e?e.original+".":"";for(var s=[],i=0,o=0,l=r.length;o<l;o++){var c=r[o].part,u=r[o].original!==c,h=r[o].separator,p=".#"===h?"#":"";if(a+=(h||"")+c,u||".."!==c&&"."!==c&&"this"!==c)s.push("".concat(p).concat(c));else{if(s.length>0)throw new ot("Invalid path: "+a,{loc:n});".."===c&&i++}}var d=e||s.shift();return{type:"PathExpression",this:a.startsWith("this."),data:t,depth:i,head:d,tail:s,parts:d?St([d],s):s,original:a,loc:n}}function xt(t,e,r,n,a,s){var i=n.charAt(3)||n.charAt(2),o="{"!==i&&"&"!==i;return{type:/\*/.test(n)?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:o,strip:a,loc:this.locInfo(s)}}function At(t,e,r,n){wt(t,r);var a={type:"Program",body:e,strip:{},loc:n=this.locInfo(n)};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:a,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function Dt(t,e,r,n,a,s){n&&n.path&&wt(t,n);var i,o,l=/\*/.test(t.open);if(e.blockParams=t.blockParams,r){if(l)throw new ot("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),o=r.strip,i=r.program}return a&&(a=i,i=e,e=a),{type:l?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:i,openStrip:t.strip,inverseStrip:o,closeStrip:n&&n.strip,loc:this.locInfo(s)}}function Ct(t,e){if(!e&&t.length){var r=t[0].loc,n=t[t.length-1].loc;r&&n&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}function Lt(t,e,r,n){return wt(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}}var qt,_t={};for(qt in vt)Object.prototype.hasOwnProperty.call(vt,qt)&&(_t[qt]=vt[qt]);function It(t,e){var r,n,a,s,i;return"Program"===t.type?t:(at.yy=_t,at.yy.locInfo=function(t){return new kt(e&&e.srcName,t)},s="function"==typeof(null===(r=e?.syntax)||void 0===r?void 0:r.square)?e.syntax.square:"node"===(null===(n=e?.syntax)||void 0===n?void 0:n.square)?Ot:"string",i="function"==typeof(null===(a=e?.syntax)||void 0===a?void 0:a.hash)?e.syntax.hash:Bt,at.yy.syntax={square:s,hash:i},at.parse(t))}function Ot(t,e){return{type:"ArrayLiteral",items:t,loc:e}}function Bt(t,e){return{type:"HashLiteral",pairs:t.pairs,loc:e}}function Rt(t,e){var r=It(t,e);return new bt(e).accept(r)}var Vt={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},$t=/^#[xX]([A-Fa-f0-9]+)$/,Ut=/^#([0-9]+)$/,Ft=/^([A-Za-z0-9]+)$/,Ht=function(){function t(t){this.named=t}return t.prototype.parse=function(t){if(t){var e=t.match($t);if(e)return String.fromCharCode(parseInt(e[1],16));if(e=t.match(Ut))return String.fromCharCode(parseInt(e[1],10));if(e=t.match(Ft))return this.named[e[1]]}},t}(),zt=/[\t\n\f ]/,Mt=/[A-Za-z]/,jt=/\r\n?/g;function Gt(t){return zt.test(t)}function Wt(t){return Mt.test(t)}var Kt=function(){function t(t,e,r){void 0===r&&(r="precompile"),this.delegate=t,this.entityParser=e,this.mode=r,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var t=this.peek();if("<"!==t||this.isIgnoredEndTag()){if("precompile"===this.mode&&"\n"===t){var e=this.tagNameBuffer.toLowerCase();("pre"===e||"textarea"===e)&&this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var t=this.peek(),e=this.tagNameBuffer;"<"!==t||this.isIgnoredEndTag()?"&"===t&&"script"!==e&&"style"!==e?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(t)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var t=this.consume();"!"===t?this.transitionTo("markupDeclarationOpen"):"/"===t?this.transitionTo("endTagOpen"):("@"===t||":"===t||Wt(t))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(t))},markupDeclarationOpen:function(){var t=this.consume();"-"===t&&"-"===this.peek()?(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment()):"DOCTYPE"===t.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase()&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())},doctype:function(){Gt(this.consume())&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var t=this.consume();Gt(t)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(t.toLowerCase()))},doctypeName:function(){var t=this.consume();Gt(t)?this.transitionTo("afterDoctypeName"):">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(t.toLowerCase())},afterDoctypeName:function(){var t=this.consume();if(!Gt(t))if(">"===t)this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var e=t.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),r="PUBLIC"===e.toUpperCase(),n="SYSTEM"===e.toUpperCase();(r||n)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),r?this.transitionTo("afterDoctypePublicKeyword"):n&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var t=this.peek();Gt(t)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):'"'===t?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):"'"===t?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):">"===t&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var t=this.consume();'"'===t?this.transitionTo("afterDoctypePublicIdentifier"):">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(t)},doctypePublicIdentifierSingleQuoted:function(){var t=this.consume();"'"===t?this.transitionTo("afterDoctypePublicIdentifier"):">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(t)},afterDoctypePublicIdentifier:function(){var t=this.consume();Gt(t)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===t?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===t&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var t=this.consume();Gt(t)||(">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===t?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===t&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var t=this.consume();'"'===t?this.transitionTo("afterDoctypeSystemIdentifier"):">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(t)},doctypeSystemIdentifierSingleQuoted:function(){var t=this.consume();"'"===t?this.transitionTo("afterDoctypeSystemIdentifier"):">"===t?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(t)},afterDoctypeSystemIdentifier:function(){var t=this.consume();Gt(t)||">"===t&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var t=this.consume();"-"===t?this.transitionTo("commentStartDash"):">"===t?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(t),this.transitionTo("comment"))},commentStartDash:function(){var t=this.consume();"-"===t?this.transitionTo("commentEnd"):">"===t?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var t=this.consume();"-"===t?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(t)},commentEndDash:function(){var t=this.consume();"-"===t?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+t),this.transitionTo("comment"))},commentEnd:function(){var t=this.consume();">"===t?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+t),this.transitionTo("comment"))},tagName:function(){var t=this.consume();Gt(t)?this.transitionTo("beforeAttributeName"):"/"===t?this.transitionTo("selfClosingStartTag"):">"===t?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(t)},endTagName:function(){var t=this.consume();Gt(t)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===t?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===t?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(t)},beforeAttributeName:function(){var t=this.peek();Gt(t)?this.consume():"/"===t?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===t?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===t?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(t)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var t=this.peek();Gt(t)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===t?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===t||"'"===t||"<"===t?(this.delegate.reportSyntaxError(t+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(t)):(this.consume(),this.delegate.appendToAttributeName(t))},afterAttributeName:function(){var t=this.peek();Gt(t)?this.consume():"/"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===t?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(t))},beforeAttributeValue:function(){var t=this.peek();Gt(t)?this.consume():'"'===t?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===t?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(t))},attributeValueDoubleQuoted:function(){var t=this.consume();'"'===t?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===t?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(t)},attributeValueSingleQuoted:function(){var t=this.consume();"'"===t?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===t?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(t)},attributeValueUnquoted:function(){var t=this.peek();Gt(t)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===t?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===t?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===t?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(t))},afterAttributeValueQuoted:function(){var t=this.peek();Gt(t)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===t?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===t?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var t=this.consume();("@"===t||":"===t||Wt(t))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(t))}},this.reset()}return t.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},t.prototype.transitionTo=function(t){this.state=t},t.prototype.tokenize=function(t){this.reset(),this.tokenizePart(t),this.tokenizeEOF()},t.prototype.tokenizePart=function(t){for(this.input+=function(t){return t.replace(jt,"\n")}(t);this.index<this.input.length;){var e=this.states[this.state];if(void 0===e)throw new Error("unhandled state "+this.state);e.call(this)}},t.prototype.tokenizeEOF=function(){this.flushData()},t.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.transitionTo("beforeData"))},t.prototype.peek=function(){return this.input.charAt(this.index)},t.prototype.consume=function(){var t=this.peek();return this.index++,"\n"===t?(this.line++,this.column=0):this.column++,t},t.prototype.consumeCharRef=function(){var t=this.input.indexOf(";",this.index);if(-1!==t){var e=this.input.slice(this.index,t),r=this.entityParser.parse(e);if(r){for(var n=e.length;n;)this.consume(),n--;return this.consume(),r}}},t.prototype.markTagStart=function(){this.delegate.tagOpen()},t.prototype.appendToTagName=function(t){this.tagNameBuffer+=t,this.delegate.appendToTagName(t)},t.prototype.isIgnoredEndTag=function(){var t=this.tagNameBuffer;return"title"===t&&"</title>"!==this.input.substring(this.index,this.index+8)||"style"===t&&"</style>"!==this.input.substring(this.index,this.index+8)||"script"===t&&"<\/script>"!==this.input.substring(this.index,this.index+9)},t}(),Qt=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]);function Jt(t){return!!t&&t.length>0}function Yt(t){return 0===t.length?void 0:t[t.length-1]}var Zt=Object.freeze({line:1,column:0}),Xt=Object.freeze({source:"(synthetic)",start:Zt,end:Zt}),te=Object.freeze({source:"(nonexistent)",start:Zt,end:Zt}),ee=Object.freeze({source:"(broken)",start:Zt,end:Zt}),re=class{constructor(t){this._whens=t}first(t){for(let e of this._whens){let r=e.match(t);if(Jt(r))return r[0]}return null}},ne=class{get(t,e){let r=this._map.get(t);return r||(r=e(),this._map.set(t,r),r)}add(t,e){this._map.set(t,e)}match(t){let e=function(t){switch(t){case"Broken":case"InternalsSynthetic":case"NonExistent":return"IS_INVISIBLE";default:return t}}(t),r=[],n=this._map.get(e),a=this._map.get("MATCH_ANY");return n&&r.push(n),a&&r.push(a),r}constructor(){this._map=new Map}};function ae(t){return t(new se).validate()}var se=class{validate(){return(t,e)=>this.matchFor(t.kind,e.kind)(t,e)}matchFor(t,e){let r=this._whens.match(t);return Jt(r),new re(r).first(e)}when(t,e,r){return this._whens.get(t,()=>new ne).add(e,r),this}constructor(){this._whens=new ne}},ie=class t{static synthetic(e){let r=oe.synthetic(e);return new t({loc:r,chars:e})}static load(e,r){return new t({loc:oe.load(e,r[1]),chars:r[0]})}constructor(t){this.loc=t.loc,this.chars=t.chars}getString(){return this.chars}serialize(){return[this.chars,this.loc.serialize()]}},oe=class t{static get NON_EXISTENT(){return new ue("NonExistent",te).wrap()}static load(e,r){return"number"==typeof r?t.forCharPositions(e,r,r):"string"==typeof r?t.synthetic(r):Array.isArray(r)?t.forCharPositions(e,r[0],r[1]):"NonExistent"===r?t.NON_EXISTENT:"Broken"===r?t.broken(ee):void function(t,e="unexpected unreachable branch"){throw nt.log("unreachable",t),nt.log(`${e} :: ${JSON.stringify(t)} (${t})`),new Error("code reached unreachable")}(r)}static forHbsLoc(t,e){let r=new fe(t,e.start),n=new fe(t,e.end);return new ce(t,{start:r,end:n},e).wrap()}static forCharPositions(t,e,r){let n=new me(t,e),a=new me(t,r);return new le(t,{start:n,end:a}).wrap()}static synthetic(t){return new ue("InternalsSynthetic",te,t).wrap()}static broken(t=ee){return new ue("Broken",t).wrap()}constructor(t){var e;this.data=t,this.isInvisible="CharPosition"!==(e=t.kind)&&"HbsPosition"!==e}getStart(){return this.data.getStart().wrap()}getEnd(){return this.data.getEnd().wrap()}get loc(){let t=this.data.toHbsSpan();return null===t?ee:t.toHbsLoc()}get module(){return this.data.getModule()}get startPosition(){return this.loc.start}get endPosition(){return this.loc.end}toJSON(){return this.loc}withStart(t){return he(t.data,this.data.getEnd())}withEnd(t){return he(this.data.getStart(),t.data)}asString(){return this.data.asString()}toSlice(t){let e=this.data.asString();return JSON.stringify(e),JSON.stringify(t),new ie({loc:this,chars:t||e})}get start(){return this.loc.start}set start(t){this.data.locDidUpdate({start:t})}get end(){return this.loc.end}set end(t){this.data.locDidUpdate({end:t})}get source(){return this.module}collapse(t){switch(t){case"start":return this.getStart().collapsed();case"end":return this.getEnd().collapsed()}}extend(t){return he(this.data.getStart(),t.data.getEnd())}serialize(){return this.data.serialize()}slice({skipStart:t=0,skipEnd:e=0}){return he(this.getStart().move(t).data,this.getEnd().move(-e).data)}sliceStartChars({skipStart:t=0,chars:e}){return he(this.getStart().move(t).data,this.getStart().move(t+e).data)}sliceEndChars({skipEnd:t=0,chars:e}){return he(this.getEnd().move(t-e).data,this.getStart().move(-t).data)}},le=class{#t;constructor(t,e){this.source=t,this.charPositions=e,this.kind="CharPosition",this.#t=null}wrap(){return new oe(this)}asString(){return this.source.slice(this.charPositions.start.charPos,this.charPositions.end.charPos)}getModule(){return this.source.module}getStart(){return this.charPositions.start}getEnd(){return this.charPositions.end}locDidUpdate(){}toHbsSpan(){let t=this.#t;if(null===t){let e=this.charPositions.start.toHbsPos(),r=this.charPositions.end.toHbsPos();t=this.#t=null===e||null===r?pe:new ce(this.source,{start:e,end:r})}return t===pe?null:t}serialize(){let{start:{charPos:t},end:{charPos:e}}=this.charPositions;return t===e?t:[t,e]}toCharPosSpan(){return this}},ce=class{#t;#e;constructor(t,e,r=null){this.source=t,this.hbsPositions=e,this.kind="HbsPosition",this.#t=null,this.#e=r}serialize(){let t=this.toCharPosSpan();return null===t?"Broken":t.wrap().serialize()}wrap(){return new oe(this)}updateProvided(t,e){this.#e&&(this.#e[e]=t),this.#t=null,this.#e={start:t,end:t}}locDidUpdate({start:t,end:e}){void 0!==t&&(this.updateProvided(t,"start"),this.hbsPositions.start=new fe(this.source,t,null)),void 0!==e&&(this.updateProvided(e,"end"),this.hbsPositions.end=new fe(this.source,e,null))}asString(){let t=this.toCharPosSpan();return null===t?"":t.asString()}getModule(){return this.source.module}getStart(){return this.hbsPositions.start}getEnd(){return this.hbsPositions.end}toHbsLoc(){return{start:this.hbsPositions.start.hbsPos,end:this.hbsPositions.end.hbsPos}}toHbsSpan(){return this}toCharPosSpan(){let t=this.#t;if(null===t){let e=this.hbsPositions.start.toCharPos(),r=this.hbsPositions.end.toCharPos();if(!e||!r)return t=this.#t=pe,null;t=this.#t=new le(this.source,{start:e,end:r})}return t===pe?null:t}},ue=class{constructor(t,e,r=null){this.kind=t,this.loc=e,this.string=r}serialize(){switch(this.kind){case"Broken":case"NonExistent":return this.kind;case"InternalsSynthetic":return this.string||""}}wrap(){return new oe(this)}asString(){return this.string||""}locDidUpdate({start:t,end:e}){void 0!==t&&(this.loc.start=t),void 0!==e&&(this.loc.end=e)}getModule(){return"an unknown module"}getStart(){return new ge(this.kind,this.loc.start)}getEnd(){return new ge(this.kind,this.loc.end)}toCharPosSpan(){return this}toHbsSpan(){return null}toHbsLoc(){return ee}},he=ae(t=>t.when("HbsPosition","HbsPosition",(t,e)=>new ce(t.source,{start:t,end:e}).wrap()).when("CharPosition","CharPosition",(t,e)=>new le(t.source,{start:t,end:e}).wrap()).when("CharPosition","HbsPosition",(t,e)=>{let r=e.toCharPos();return null===r?new ue("Broken",ee).wrap():he(t,r)}).when("HbsPosition","CharPosition",(t,e)=>{let r=t.toCharPos();return null===r?new ue("Broken",ee).wrap():he(r,e)}).when("IS_INVISIBLE","MATCH_ANY",t=>new ue(t.kind,ee).wrap()).when("MATCH_ANY","IS_INVISIBLE",(t,e)=>new ue(e.kind,ee).wrap())),pe="BROKEN",de=class t{static forHbsPos(t,e){return new fe(t,e,null).wrap()}static broken(t=Zt){return new ge("Broken",t).wrap()}constructor(t){this.data=t}get offset(){let t=this.data.toCharPos();return null===t?null:t.offset}eql(t){return ye(this.data,t.data)}until(t){return he(this.data,t.data)}move(e){let r=this.data.toCharPos();if(null===r)return t.broken();{let n=r.offset+e;return r.source.validate(n)?new me(r.source,n).wrap():t.broken()}}collapsed(){return he(this.data,this.data)}toJSON(){return this.data.toJSON()}},me=class{constructor(t,e){this.source=t,this.charPos=e,this.kind="CharPosition",this._locPos=null}toCharPos(){return this}toJSON(){let t=this.toHbsPos();return null===t?Zt:t.toJSON()}wrap(){return new de(this)}get offset(){return this.charPos}toHbsPos(){let t=this._locPos;if(null===t){let e=this.source.hbsPosFor(this.charPos);this._locPos=t=null===e?pe:new fe(this.source,e,this.charPos)}return t===pe?null:t}},fe=class{constructor(t,e,r=null){this.source=t,this.hbsPos=e,this.kind="HbsPosition",this._charPos=null===r?null:new me(t,r)}toCharPos(){let t=this._charPos;if(null===t){let e=this.source.charPosFor(this.hbsPos);this._charPos=t=null===e?pe:new me(this.source,e)}return t===pe?null:t}toJSON(){return this.hbsPos}wrap(){return new de(this)}toHbsPos(){return this}},ge=class{constructor(t,e){this.kind=t,this.pos=e}toCharPos(){return null}toJSON(){return this.pos}wrap(){return new de(this)}get offset(){return null}},ye=ae(t=>t.when("HbsPosition","HbsPosition",({hbsPos:t},{hbsPos:e})=>t.column===e.column&&t.line===e.line).when("CharPosition","CharPosition",({charPos:t},{charPos:e})=>t===e).when("CharPosition","HbsPosition",({offset:t},e)=>t===e.toCharPos()?.offset).when("HbsPosition","CharPosition",(t,{offset:e})=>t.toCharPos()?.offset===e).when("MATCH_ANY","MATCH_ANY",()=>!1)),be=class t{static from(e,r={}){return new t(e,r.meta?.moduleName)}constructor(t,e="an unknown module"){this.source=t,this.module=e}validate(t){return t>=0&&t<=this.source.length}slice(t,e){return this.source.slice(t,e)}offsetFor(t,e){return de.forHbsPos(this,{line:t,column:e})}spanFor({start:t,end:e}){return oe.forHbsLoc(this,{start:{line:t.line,column:t.column},end:{line:e.line,column:e.column}})}hbsPosFor(t){let e=0,r=0;if(t>this.source.length)return null;for(;;){let n=this.source.indexOf("\n",r);if(t<=n||-1===n)return{line:e+1,column:t-r};e+=1,r=n+1}}charPosFor(t){let{line:e,column:r}=t,n=this.source.length,a=0,s=0;for(;s<n;){let t=this.source.indexOf("\n",s);if(-1===t&&(t=this.source.length),a===e-1)return s+r>t?t:s+r;if(-1===t)return 0;a+=1,s=t+1}return n}};function ve(t,e){let{module:r,loc:n}=e,{line:a,column:s}=n.start,i=e.asString(),o=i?`\n\n|\n| ${i.split("\n").join("\n| ")}\n|\n\n`:"",l=new Error(`${t}: ${o}(error occurred in '${r}' @ line ${a} : column ${s})`);return l.name="SyntaxError",l.location=e,l.code=i,l}var Se={Template:["body"],Block:["body"],MustacheStatement:["path","params","hash"],BlockStatement:["path","params","hash","program","inverse"],ElementModifierStatement:["path","params","hash"],CommentStatement:[],MustacheCommentStatement:[],ElementNode:["attributes","modifiers","children","comments"],AttrNode:["value"],TextNode:[],ConcatStatement:["parts"],SubExpression:["path","params","hash"],PathExpression:[],StringLiteral:[],BooleanLiteral:[],NumberLiteral:[],NullLiteral:[],UndefinedLiteral:[],Hash:["pairs"],HashPair:["value"]},we=function(){function t(t,e,r,n){let a=Error.call(this,t);this.key=n,this.message=t,this.node=e,this.parent=r,a.stack&&(this.stack=a.stack)}return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}();function ke(t,e,r){return new we("Cannot remove a node unless it is part of an array",t,e,r)}function Te(t,e){return new we("Replacing and removing in key handlers is not yet supported.",t,null,e)}var Ee,Ne=class{constructor(t,e=null,r=null){this.node=t,this.parent=e,this.parentKey=r}get parentNode(){return this.parent?this.parent.node:null}parents(){return{[Symbol.iterator]:()=>new Pe(this)}}},Pe=class{constructor(t){this.path=t}next(){return this.path.parent?(this.path=this.path.parent,{done:!1,value:this.path}):{done:!0,value:null}}};function xe(t){return"function"==typeof t?t:t.enter}function Ae(t){return"function"==typeof t?void 0:t.exit}function De(t,e){let r,n,a,{node:s,parent:i,parentKey:o}=e,l=function(t,e){if(t.Program&&("Template"===e&&!t.Template||"Block"===e&&!t.Block))return t.Program;let r=t[e];return void 0!==r?r:t.All}(t,s.type);if(void 0!==l&&(r=xe(l),n=Ae(l)),void 0!==r&&(a=r(s,e)),null!=a){if(JSON.stringify(s)!==JSON.stringify(a))return Array.isArray(a)?(qe(t,a,i,o),a):De(t,new Ne(a,i,o))||a;a=void 0}if(void 0===a){let r=Se[s.type];for(let n=0;n<r.length;n++)Le(t,l,e,r[n]);void 0!==n&&(a=n(s,e))}return a}function Ce(t,e,r){t[e]=r}function Le(t,e,r,n){let a,s,{node:i}=r,o=i[n];if(o){if(void 0!==e){let t=function(t,e){let r="function"!=typeof t?t.keys:void 0;if(void 0===r)return;let n=r[e];return void 0!==n?n:r.All}(e,n);void 0!==t&&(a=xe(t),s=Ae(t))}if(void 0!==a&&void 0!==a(i,n))throw Te(i,n);if(Array.isArray(o))qe(t,o,r,n);else{let e=De(t,new Ne(o,r,n));void 0!==e&&function(t,e,r,n){if(null===n)throw ke(r,t,e);if(Array.isArray(n)){if(1!==n.length)throw 0===n.length?ke(r,t,e):function(t,e,r){return new we("Cannot replace a node with multiple nodes unless it is part of an array",t,e,r)}(r,t,e);Ce(t,e,n[0])}else Ce(t,e,n)}(i,n,o,e)}if(void 0!==s&&void 0!==s(i,n))throw Te(i,n)}}function qe(t,e,r,n){for(let a=0;a<e.length;a++){let s=e[a],i=De(t,new Ne(s,r,n));void 0!==i&&(a+=_e(e,a,i)-1)}}function _e(t,e,r){return null===r?(t.splice(e,1),0):Array.isArray(r)?(t.splice(e,1,...r),r.length):(t.splice(e,1,r),1)}function Ie(t,e){De(e,new Ne(t))}function Oe(t,e){(function(t){switch(t.type){case"Block":case"Template":return t.body;case"ElementNode":return t.children}})(t).push(e)}function Be(t){return"StringLiteral"===t.type||"BooleanLiteral"===t.type||"NumberLiteral"===t.type||"NullLiteral"===t.type||"UndefinedLiteral"===t.type}function Re(){return Ee||(Ee=new be("","(synthetic)")),Ee}function Ve(t,e,r){return ze.literal({type:t,value:e,loc:$e(r||null)})}function $e(...t){if(1===t.length){let e=t[0];return e&&"object"==typeof e?oe.forHbsLoc(Re(),e):oe.forHbsLoc(Re(),Xt)}{let[e,r,n,a,s]=t,i=s?new be("",s):Re();return oe.forHbsLoc(i,{start:{line:e,column:r},end:{line:n||e,column:a||r}})}}var Ue=function(t,e){return ze.head({original:t,loc:$e(e||null)})};Fe("StringLiteral"),Fe("BooleanLiteral"),Fe("NumberLiteral");function Fe(t){return function(e,r){return Ve(t,e,r)}}var He={close:!1,open:!1},ze=new class{pos({line:t,column:e}){return{line:t,column:e}}blockItself({body:t,params:e,chained:r=!1,loc:n}){return{type:"Block",body:t,params:e,get blockParams(){return this.params.map(t=>t.name)},set blockParams(t){this.params=t.map(t=>ze.var({name:t,loc:oe.synthetic(t)}))},chained:r,loc:n}}template({body:t,blockParams:e,loc:r}){return{type:"Template",body:t,blockParams:e,loc:r}}mustache({path:t,params:e,hash:r,trusting:n,loc:a,strip:s=He}){return function({path:t,params:e,hash:r,trusting:n,strip:a,loc:s}){let i={type:"MustacheStatement",path:t,params:e,hash:r,trusting:n,strip:a,loc:s};return Object.defineProperty(i,"escaped",{enumerable:!1,get(){return!this.trusting},set(t){this.trusting=!t}}),i}({path:t,params:e,hash:r,trusting:n,strip:s,loc:a})}block({path:t,params:e,hash:r,defaultBlock:n,elseBlock:a=null,loc:s,openStrip:i=He,inverseStrip:o=He,closeStrip:l=He}){return{type:"BlockStatement",path:t,params:e,hash:r,program:n,inverse:a,loc:s,openStrip:i,inverseStrip:o,closeStrip:l}}comment({value:t,loc:e}){return{type:"CommentStatement",value:t,loc:e}}mustacheComment({value:t,loc:e}){return{type:"MustacheCommentStatement",value:t,loc:e}}concat({parts:t,loc:e}){return{type:"ConcatStatement",parts:t,loc:e}}element({path:t,selfClosing:e,attributes:r,modifiers:n,params:a,comments:s,children:i,openTag:o,closeTag:l,loc:c}){let u=e;return{type:"ElementNode",path:t,attributes:r,modifiers:n,params:a,comments:s,children:i,openTag:o,closeTag:l,loc:c,get tag(){return this.path.original},set tag(t){this.path.original=t},get blockParams(){return this.params.map(t=>t.name)},set blockParams(t){this.params=t.map(t=>ze.var({name:t,loc:oe.synthetic(t)}))},get selfClosing(){return u},set selfClosing(t){u=t,this.closeTag=t?null:oe.synthetic(`</${this.tag}>`)}}}elementModifier({path:t,params:e,hash:r,loc:n}){return{type:"ElementModifierStatement",path:t,params:e,hash:r,loc:n}}attr({name:t,value:e,loc:r}){return{type:"AttrNode",name:t,value:e,loc:r}}text({chars:t,loc:e}){return{type:"TextNode",chars:t,loc:e}}sexpr({path:t,params:e,hash:r,loc:n}){return{type:"SubExpression",path:t,params:e,hash:r,loc:n}}path({head:t,tail:e,loc:r}){return function({head:t,tail:e,loc:r}){let n={type:"PathExpression",head:t,tail:e,get original(){return[this.head.original,...this.tail].join(".")},set original(t){let[e,...r]=t.split(".");this.head=Ue(e,this.head.loc),this.tail=r},loc:r};return Object.defineProperty(n,"parts",{enumerable:!1,get(){let t=this.original.split(".");return"this"===t[0]?t.shift():t[0].startsWith("@")&&(t[0]=t[0].slice(1)),Object.freeze(t)},set(t){let e=[...t];"this"===e[0]||e[0]?.startsWith("@")||("ThisHead"===this.head.type?e.unshift("this"):"AtHead"===this.head.type&&(e[0]=`@${e[0]}`)),this.original=e.join(".")}}),Object.defineProperty(n,"this",{enumerable:!1,get(){return"ThisHead"===this.head.type}}),Object.defineProperty(n,"data",{enumerable:!1,get(){return"AtHead"===this.head.type}}),n}({head:t,tail:e,loc:r})}head({original:t,loc:e}){return"this"===t?this.this({loc:e}):"@"===t[0]?this.atName({name:t,loc:e}):this.var({name:t,loc:e})}this({loc:t}){return{type:"ThisHead",get original(){return"this"},loc:t}}atName({name:t,loc:e}){let r="",n={type:"AtHead",get name(){return r},set name(t){t[0],t.indexOf("."),r=t},get original(){return this.name},set original(t){this.name=t},loc:e};return n.name=t,n}var({name:t,loc:e}){let r="",n={type:"VarHead",get name(){return r},set name(t){t[0],t.indexOf("."),r=t},get original(){return this.name},set original(t){this.name=t},loc:e};return n.name=t,n}hash({pairs:t,loc:e}){return{type:"Hash",pairs:t,loc:e}}pair({key:t,value:e,loc:r}){return{type:"HashPair",key:t,value:e,loc:r}}literal({type:t,value:e,loc:r}){return function({type:t,value:e,loc:r}){let n={type:t,value:e,loc:r};return Object.defineProperty(n,"original",{enumerable:!1,get(){return this.value},set(t){this.value=t}}),n}({type:t,value:e,loc:r})}},Me=class{constructor(t,e=new Ht(Vt),r="precompile"){this.elementStack=[],this.currentAttribute=null,this.currentNode=null,this.source=t,this.lines=t.source.split(/\r\n?|\n/u),this.tokenizer=new Kt(this,e,r)}offset(){let{line:t,column:e}=this.tokenizer;return this.source.offsetFor(t,e)}pos({line:t,column:e}){return this.source.offsetFor(t,e)}finish(t){return rt({},t,{loc:t.start.until(this.offset())})}get currentAttr(){return this.currentAttribute}get currentTag(){let t=this.currentNode;return t&&("StartTag"===t.type||t.type),t}get currentStartTag(){let t=this.currentNode;return t&&t.type,t}get currentEndTag(){let t=this.currentNode;return t&&t.type,t}get currentComment(){let t=this.currentNode;return t&&t.type,t}get currentData(){let t=this.currentNode;return t&&t.type,t}acceptNode(t){return this[t.type](t)}currentElement(){return Yt(this.elementStack)}sourceForNode(t,e){let r,n,a,s=t.loc.start.line-1,i=s-1,o=t.loc.start.column,l=[];for(e?(n=e.loc.end.line-1,a=e.loc.end.column):(n=t.loc.end.line-1,a=t.loc.end.column);i<n;)i++,r=this.lines[i],i===s?s===n?l.push(r.slice(o,a)):l.push(r.slice(o)):i===n?l.push(r.slice(0,a)):l.push(r);return l.join("\n")}},je=class extends Me{parse(t,e){t.loc;let r=ze.template({body:[],blockParams:e,loc:this.source.spanFor(t.loc)}),n=this.parseProgram(r,t);return this.pendingError?.eof(n.loc.getEnd()),n}Program(t,e){t.loc;let r=ze.blockItself({body:[],params:e,chained:t.chained,loc:this.source.spanFor(t.loc)});return this.parseProgram(r,t)}parseProgram(t,e){if(0===e.body.length)return t;let r;try{this.elementStack.push(t);for(let t of e.body)this.acceptNode(t)}finally{r=this.elementStack.pop()}if(t!==r){if("ElementNode"===r?.type)throw ve(`Unclosed element \`${r.tag}\``,r.loc);t.type}return t}BlockStatement(t){if("comment"===this.tokenizer.state)return t.loc,void this.appendToCommentData(this.sourceForNode(t));if("data"!==this.tokenizer.state&&"beforeData"!==this.tokenizer.state)throw ve("A block may only be used inside an HTML element or another block.",this.source.spanFor(t.loc));let e,{path:r,params:n,hash:a}=Ge(this,t),s=this.source.spanFor(t.loc),i=[];if(t.program.blockParams?.length){let r=a.loc.collapse("end");r=t.program.loc?r.withEnd(this.source.spanFor(t.program.loc).getStart()):t.program.body[0]?r.withEnd(this.source.spanFor(t.program.body[0].loc).getStart()):r.withEnd(s.getEnd()),e=Ke(this.source,t,r);let n=r.asString(),o=n.indexOf("|")+1,l=n.indexOf("|",o);for(let e of t.program.blockParams){let t,a;t=o>=l?-1:n.indexOf(e,o),-1===t||t+e.length>l?(o=l,a=this.source.spanFor(te)):(o=t,a=r.sliceStartChars({skipStart:o,chars:e.length}),o+=e.length),i.push(ze.var({name:e,loc:a}))}}else e=Ke(this.source,t,s);let o=this.Program(e.program,i),l=e.inverse?this.Program(e.inverse,[]):null,c=ze.block({path:r,params:n,hash:a,defaultBlock:o,elseBlock:l,loc:this.source.spanFor(t.loc),openStrip:t.openStrip,inverseStrip:t.inverseStrip,closeStrip:t.closeStrip});Oe(this.currentElement(),c)}MustacheStatement(t){this.pendingError?.mustache(this.source.spanFor(t.loc));let{tokenizer:e}=this;if("comment"===e.state)return void this.appendToCommentData(this.sourceForNode(t));let r,{escaped:n,loc:a,strip:s}=t;if("original"in t.path&&"...attributes"===t.path.original)throw ve("Illegal use of ...attributes",this.source.spanFor(t.loc));if(Be(t.path))r=ze.mustache({path:this.acceptNode(t.path),params:[],hash:ze.hash({pairs:[],loc:this.source.spanFor(t.path.loc).collapse("end")}),trusting:!n,loc:this.source.spanFor(a),strip:s});else{let{path:e,params:i,hash:o}=Ge(this,t);r=ze.mustache({path:e,params:i,hash:o,trusting:!n,loc:this.source.spanFor(a),strip:s})}switch(e.state){case"tagOpen":case"tagName":throw ve("Cannot use mustaches in an elements tagname",r.loc);case"beforeAttributeName":We(this.currentStartTag,r);break;case"attributeName":case"afterAttributeName":this.beginAttributeValue(!1),this.finishAttributeValue(),We(this.currentStartTag,r),e.transitionTo("beforeAttributeName");break;case"afterAttributeValueQuoted":We(this.currentStartTag,r),e.transitionTo("beforeAttributeName");break;case"beforeAttributeValue":this.beginAttributeValue(!1),this.appendDynamicAttributeValuePart(r),e.transitionTo("attributeValueUnquoted");break;case"attributeValueDoubleQuoted":case"attributeValueSingleQuoted":case"attributeValueUnquoted":this.appendDynamicAttributeValuePart(r);break;default:Oe(this.currentElement(),r)}return r}appendDynamicAttributeValuePart(t){this.finalizeTextPart();let e=this.currentAttr;e.isDynamic=!0,e.parts.push(t)}finalizeTextPart(){let t=this.currentAttr.currentPart;null!==t&&(this.currentAttr.parts.push(t),this.startTextPart())}startTextPart(){this.currentAttr.currentPart=null}ContentStatement(t){(function(t,e){let r=e.loc.start.line,n=e.loc.start.column,a=function(t,e){if(""===e)return{lines:t.split("\n").length-1,columns:0};let[r]=t.split(e),n=r.split(/\n/u),a=n.length-1;return{lines:a,columns:n[a].length}}(e.original,e.value);r+=a.lines,a.lines?n=a.columns:n+=a.columns,t.line=r,t.column=n})(this.tokenizer,t),this.tokenizer.tokenizePart(t.value),this.tokenizer.flushData()}CommentStatement(t){let{tokenizer:e}=this;if("comment"===e.state)return this.appendToCommentData(this.sourceForNode(t)),null;let{value:r,loc:n}=t,a=ze.mustacheComment({value:r,loc:this.source.spanFor(n)});switch(e.state){case"beforeAttributeName":case"afterAttributeName":this.currentStartTag.comments.push(a);break;case"beforeData":case"data":Oe(this.currentElement(),a);break;default:throw ve(`Using a Handlebars comment when in the \`${e.state}\` state is not supported`,this.source.spanFor(t.loc))}return a}PartialStatement(t){throw ve("Handlebars partials are not supported",this.source.spanFor(t.loc))}PartialBlockStatement(t){throw ve("Handlebars partial blocks are not supported",this.source.spanFor(t.loc))}Decorator(t){throw ve("Handlebars decorators are not supported",this.source.spanFor(t.loc))}DecoratorBlock(t){throw ve("Handlebars decorator blocks are not supported",this.source.spanFor(t.loc))}SubExpression(t){let{path:e,params:r,hash:n}=Ge(this,t);return ze.sexpr({path:e,params:r,hash:n,loc:this.source.spanFor(t.loc)})}PathExpression(t){let e,{original:r}=t;if(-1!==r.indexOf("/")){if("./"===r.slice(0,2))throw ve('Using "./" is not supported in Glimmer and unnecessary',this.source.spanFor(t.loc));if("../"===r.slice(0,3))throw ve('Changing context using "../" is not supported in Glimmer',this.source.spanFor(t.loc));if(-1!==r.indexOf("."))throw ve("Mixing '.' and '/' in paths is not supported in Glimmer; use only '.' to separate property paths",this.source.spanFor(t.loc));e=[t.parts.join("/")]}else{if("."===r)throw ve("'.' is not a supported path in Glimmer; check for a path with a trailing '.'",this.source.spanFor(t.loc));e=t.parts}let n,a=!1;if(/^this(?:\..+)?$/u.test(r)&&(a=!0),a)n=ze.this({loc:this.source.spanFor({start:t.loc.start,end:{line:t.loc.start.line,column:t.loc.start.column+4}})});else if(t.data){let r=e.shift();if(void 0===r)throw ve("Attempted to parse a path expression, but it was not valid. Paths beginning with @ must start with a-z.",this.source.spanFor(t.loc));n=ze.atName({name:`@${r}`,loc:this.source.spanFor({start:t.loc.start,end:{line:t.loc.start.line,column:t.loc.start.column+r.length+1}})})}else{let r=e.shift();if(void 0===r)throw ve("Attempted to parse a path expression, but it was not valid. Paths must start with a-z or A-Z.",this.source.spanFor(t.loc));n=ze.var({name:r,loc:this.source.spanFor({start:t.loc.start,end:{line:t.loc.start.line,column:t.loc.start.column+r.length}})})}return ze.path({head:n,tail:e,loc:this.source.spanFor(t.loc)})}Hash(t){let e=t.pairs.map(t=>ze.pair({key:t.key,value:this.acceptNode(t.value),loc:this.source.spanFor(t.loc)}));return ze.hash({pairs:e,loc:this.source.spanFor(t.loc)})}StringLiteral(t){return ze.literal({type:"StringLiteral",value:t.value,loc:this.source.spanFor(t.loc)})}BooleanLiteral(t){return ze.literal({type:"BooleanLiteral",value:t.value,loc:this.source.spanFor(t.loc)})}NumberLiteral(t){return ze.literal({type:"NumberLiteral",value:t.value,loc:this.source.spanFor(t.loc)})}UndefinedLiteral(t){return ze.literal({type:"UndefinedLiteral",value:void 0,loc:this.source.spanFor(t.loc)})}NullLiteral(t){return ze.literal({type:"NullLiteral",value:null,loc:this.source.spanFor(t.loc)})}constructor(...t){super(...t),this.pendingError=null}};function Ge(t,e){let r;switch(e.path.type){case"PathExpression":r=t.PathExpression(e.path);break;case"SubExpression":r=t.SubExpression(e.path);break;case"StringLiteral":case"UndefinedLiteral":case"NullLiteral":case"NumberLiteral":case"BooleanLiteral":{let r;throw r="BooleanLiteral"===e.path.type?e.path.original.toString():"StringLiteral"===e.path.type?`"${e.path.original}"`:"NullLiteral"===e.path.type?"null":"NumberLiteral"===e.path.type?e.path.value.toString():"undefined",ve(`${e.path.type} "${"StringLiteral"===e.path.type?e.path.original:r}" cannot be called as a sub-expression, replace (${r}) with ${r}`,t.source.spanFor(e.path.loc))}}let n=e.params.map(e=>t.acceptNode(e)),a=Jt(n)?Yt(n).loc:r.loc;return{path:r,params:n,hash:e.hash?t.Hash(e.hash):ze.hash({pairs:[],loc:t.source.spanFor(a).collapse("end")})}}function We(t,e){let{path:r,params:n,hash:a,loc:s}=e;if(Be(r)){let n=`{{${i=r,"UndefinedLiteral"===i.type?"undefined":JSON.stringify(i.value)}}}`;throw ve(`In <${t.name} ... ${n} ..., ${n} is not a valid modifier`,e.loc)}var i;let o=ze.elementModifier({path:r,params:n,hash:a,loc:s});t.modifiers.push(o)}function Ke(t,e,r){if(!e.program.loc){let n=o(0,e.program.body,0),a=o(0,e.program.body,-1);if(n&&a)e.program.loc={...n.loc,end:a.loc.end};else{let n=t.spanFor(e.loc);e.program.loc=r.withEnd(n.getEnd())}}let n=t.spanFor(e.program.loc).getEnd();return e.inverse&&!e.inverse.loc&&(e.inverse.loc=n.collapsed()),e}function Qe(t){return/[\t\n\f ]/u.test(t)}var Je=class extends je{reset(){this.currentNode=null}beginComment(){this.currentNode={type:"CommentStatement",value:"",start:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}appendToCommentData(t){this.currentComment.value+=t}finishComment(){Oe(this.currentElement(),ze.comment(this.finish(this.currentComment)))}beginData(){this.currentNode={type:"TextNode",chars:"",start:this.offset()}}appendToData(t){this.currentData.chars+=t}finishData(){Oe(this.currentElement(),ze.text(this.finish(this.currentData)))}tagOpen(){this.tagOpenLine=this.tokenizer.line,this.tagOpenColumn=this.tokenizer.column}beginStartTag(){this.currentNode={type:"StartTag",name:"",nameStart:null,nameEnd:null,attributes:[],modifiers:[],comments:[],params:[],selfClosing:!1,start:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}beginEndTag(){this.currentNode={type:"EndTag",name:"",start:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}finishTag(){let t=this.finish(this.currentTag);if("StartTag"===t.type){if(this.finishStartTag(),":"===t.name)throw ve("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.start.toJSON(),end:this.offset().toJSON()}));(Qt.has(t.name)||t.selfClosing)&&this.finishEndTag(!0)}else t.type,t.type,this.finishEndTag(!1)}finishStartTag(){let{name:t,nameStart:e,nameEnd:r}=this.currentStartTag,n=e.until(r),[a,...s]=t.split("."),i=ze.path({head:ze.head({original:a,loc:n.sliceStartChars({chars:a.length})}),tail:s,loc:n}),{attributes:o,modifiers:l,comments:c,params:u,selfClosing:h,loc:p}=this.finish(this.currentStartTag),d=ze.element({path:i,selfClosing:h,attributes:o,modifiers:l,comments:c,params:u,children:[],openTag:p,closeTag:h?null:oe.broken(),loc:p});this.elementStack.push(d)}finishEndTag(t){let{start:e}=this.currentTag,r=this.finish(this.currentTag),n=this.elementStack.pop();this.validateEndTag(r,n,t);let a=this.currentElement();t?n.closeTag=null:n.selfClosing?n.closeTag:n.closeTag=e.until(this.offset()),n.loc=n.loc.withEnd(this.offset()),Oe(a,ze.element(n))}markTagAsSelfClosing(){let t=this.currentTag;if("StartTag"!==t.type)throw ve("Invalid end tag: closing tag must not be self-closing",this.source.spanFor({start:t.start.toJSON(),end:this.offset().toJSON()}));t.selfClosing=!0}appendToTagName(t){let e=this.currentTag;if(e.name+=t,"StartTag"===e.type){let t=this.offset();null===e.nameStart&&(e.nameEnd,e.nameStart=t.move(-1)),e.nameEnd=t}}beginAttribute(){let t=this.offset();this.currentAttribute={name:"",parts:[],currentPart:null,isQuoted:!1,isDynamic:!1,start:t,valueSpan:t.collapsed()}}appendToAttributeName(t){this.currentAttr.name+=t,"as"===this.currentAttr.name&&this.parsePossibleBlockParams()}beginAttributeValue(t){this.currentAttr.isQuoted=t,this.startTextPart(),this.currentAttr.valueSpan=this.offset().collapsed()}appendToAttributeValue(t){let e=this.currentAttr.parts,r=e[e.length-1],n=this.currentAttr.currentPart;if(n)n.chars+=t,n.loc=n.loc.withEnd(this.offset());else{let e=this.offset();e="\n"===t?r?r.loc.getEnd():this.currentAttr.valueSpan.getStart():e.move(-1),this.currentAttr.currentPart=ze.text({chars:t,loc:e.collapsed()})}}finishAttributeValue(){this.finalizeTextPart();let t=this.currentTag,e=this.offset();if("EndTag"===t.type)throw ve("Invalid end tag: closing tag must not have attributes",this.source.spanFor({start:t.start.toJSON(),end:e.toJSON()}));let{name:r,parts:n,start:a,isQuoted:s,isDynamic:i,valueSpan:o}=this.currentAttr;if(r.startsWith("|")&&0===n.length&&!s&&!i)throw ve("Invalid block parameters syntax: block parameters must be preceded by the `as` keyword",a.until(a.move(r.length)));let l=this.assembleAttributeValue(n,s,i,a.until(e));l.loc=o.withEnd(e);let c=ze.attr({name:r,value:l,loc:a.until(e)});this.currentStartTag.attributes.push(c)}parsePossibleBlockParams(){let t=/[!"#%&'()*+./;<=>@[\\\]^`{|}~]/u;this.tokenizer.state;let e,r=this.currentStartTag,n=this.currentAttr,a={state:"PossibleAs"},s={PossibleAs:t=>{if(a.state,Qe(t))a={state:"BeforeStartPipe"},this.tokenizer.transitionTo("afterAttributeName"),this.tokenizer.consume();else{if("|"===t)throw ve('Invalid block parameters syntax: expecting at least one space character between "as" and "|"',n.start.until(this.offset().move(1)));a={state:"Done"}}},BeforeStartPipe:t=>{a.state,Qe(t)?this.tokenizer.consume():"|"===t?(a={state:"BeforeBlockParamName"},this.tokenizer.transitionTo("beforeAttributeName"),this.tokenizer.consume()):a={state:"Done"}},BeforeBlockParamName:t=>{if(a.state,Qe(t))this.tokenizer.consume();else if(""===t)a={state:"Done"},this.pendingError={mustache(t){throw ve("Invalid block parameters syntax: mustaches cannot be used inside parameters list",t)},eof(t){throw ve('Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list',n.start.until(t))}};else if("|"===t){if(0===r.params.length)throw ve("Invalid block parameters syntax: empty parameters list, expecting at least one identifier",n.start.until(this.offset().move(1)));a={state:"AfterEndPipe"},this.tokenizer.consume()}else{if(">"===t||"/"===t)throw ve('Invalid block parameters syntax: incomplete parameters list, expecting "|" but the tag was closed prematurely',n.start.until(this.offset().move(1)));a={state:"BlockParamName",name:t,start:this.offset()},this.tokenizer.consume()}},BlockParamName:e=>{if(a.state,""===e)a={state:"Done"},this.pendingError={mustache(t){throw ve("Invalid block parameters syntax: mustaches cannot be used inside parameters list",t)},eof(t){throw ve('Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list',n.start.until(t))}};else if("|"===e||Qe(e)){let n=a.start.until(this.offset());if("this"===a.name||t.test(a.name))throw ve(`Invalid block parameters syntax: invalid identifier name \`${a.name}\``,n);r.params.push(ze.var({name:a.name,loc:n})),a="|"===e?{state:"AfterEndPipe"}:{state:"BeforeBlockParamName"},this.tokenizer.consume()}else{if(">"===e||"/"===e)throw ve('Invalid block parameters syntax: expecting "|" but the tag was closed prematurely',n.start.until(this.offset().move(1)));a.name+=e,this.tokenizer.consume()}},AfterEndPipe:t=>{a.state,Qe(t)?this.tokenizer.consume():""===t?(a={state:"Done"},this.pendingError={mustache(t){throw ve("Invalid block parameters syntax: modifiers cannot follow parameters list",t)},eof(t){throw ve('Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list',n.start.until(t))}}):">"===t||"/"===t?a={state:"Done"}:(a={state:"Error",message:'Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list',start:this.offset()},this.tokenizer.consume())},Error:t=>{if(a.state,""===t||"/"===t||">"===t||Qe(t))throw ve(a.message,a.start.until(this.offset()));this.tokenizer.consume()},Done:()=>{}};do{e=this.tokenizer.peek(),s[a.state](e)}while("Done"!==a.state&&""!==e);a.state}reportSyntaxError(t){throw ve(t,this.offset().collapsed())}assembleConcatenatedValue(t){let e=0===(n=t).length?void 0:n[0],r=Yt(t);var n;return ze.concat({parts:t,loc:this.source.spanFor(e.loc).extend(this.source.spanFor(r.loc))})}validateEndTag(t,e,r){if(Qt.has(t.name)&&!r)throw ve(`<${t.name}> elements do not need end tags. You should remove it`,t.loc);if("ElementNode"!==e.type)throw ve(`Closing tag </${t.name}> without an open tag`,t.loc);if(e.tag!==t.name)throw ve(`Closing tag </${t.name}> did not match last open tag <${e.tag}> (on line ${e.loc.startPosition.line})`,t.loc)}assembleAttributeValue(t,e,r,n){if(r){if(e)return this.assembleConcatenatedValue(t);{let[e,r]=t;if(void 0===r||"TextNode"===r.type&&"/"===r.chars)return e;throw ve("An unquoted attribute value must be a string or a mustache, preceded by whitespace or a '=' character, and followed by whitespace, a '>' character, or '/>'",n)}}return Jt(t)?t[0]:ze.text({chars:"",loc:n})}constructor(...t){super(...t),this.tagOpenLine=0,this.tagOpenColumn=0}},Ye={},Ze=class extends Ht{constructor(){super({})}parse(){}};var Xe=et(Se),tr=t=>t.loc.start.offset,er=t=>t.loc.end.offset,rr=new Set([...Qt]);function nr(t){return t.toUpperCase()===t}function ar(t){return!0===t.selfClosing||function(t){return rr.has(t.toLowerCase())&&!nr(t[0])}(t.tag)||function(t){return"ElementNode"===t.type&&"string"==typeof t.tag&&!t.tag.startsWith(":")&&(nr(t.tag[0])||t.tag.includes("."))}(t)&&t.children.every(t=>sr(t))}function sr(t){return"TextNode"===t.type&&!/\S/u.test(t.chars)}function ir(t){return"MustacheCommentStatement"===t?.type&&"string"==typeof t.value&&"prettier-ignore"===t.value.trim()}function or(t,e){return tr(t)-tr(e)}function lr(t,e){let{node:r}=t,n=["attributes","modifiers","comments"].filter(t=>K(r[t])),a=n.flatMap(t=>r[t]).sort(or);for(let r of n)t.each(({node:t})=>{let r=a.indexOf(t);a.splice(r,1,[V,e()])},r);return K(r.blockParams)&&a.push(V,Ir(r)),["<",r.tag,L(a),cr(r)]}function cr(t){return ar(t)?B([$,"/>"],[" />",$]):B([$,">"],">")}function ur(t){return[t.trusting?"{{{":"{{",t.strip?.open?"~":""]}function hr(t){let e=t.trusting?"}}}":"}}";return[t.strip?.close?"~":"",e]}function pr(t){return[ur(t),t.openStrip.open?"~":"","#"]}function dr(t){let e=hr(t);return[t.openStrip.close?"~":"",e]}function mr(t){return[ur(t),t.closeStrip.open?"~":"","/"]}function fr(t){let e=hr(t);return[t.closeStrip.close?"~":"",e]}function gr(t){return[ur(t),t.inverseStrip.open?"~":""]}function yr(t){let e=hr(t);return[t.inverseStrip.close?"~":"",e]}function br(t,e){let{node:r}=t,n=[],a=_r(t,e);return a&&n.push(O(a)),K(r.program.blockParams)&&n.push(Ir(r.program)),O([pr(r),qr(t,e),n.length>0?L([V,R(V,n)]):"",$,dr(r)])}function vr(t,e){return["ignore"===e.htmlWhitespaceSensitivity?U:"",gr(t),"else",yr(t)]}var Sr=({path:t},{path:e})=>[t,e].every(t=>"PathExpression"===t.type&&"VarHead"===t.head.type)&&t.head.name===e.head.name;function wr(t){if(!t.match(t=>"BlockStatement"===t.type,(t,e)=>"body"===e&&"Block"===t.type&&1===t.body.length,(t,e)=>"inverse"===e&&"BlockStatement"===t.type))return!1;let{node:e}=t;return"PathExpression"===e.path.type&&"VarHead"===e.path.head.type&&"if"===e.path.head.name||Sr(e,t.grandparent)}function kr(t,e){let{node:r,grandparent:n}=t;return O([gr(n),["else"," ",n.inverse.body[0].path.head.name],L([V,O(_r(t,e)),...K(r.program.blockParams)?[V,Ir(r.program)]:[]]),$,yr(n)])}function Tr(t,e,r){let{node:n}=t;return"ignore"===e.htmlWhitespaceSensitivity?[Er(n)?$:U,mr(n),r("path"),fr(n)]:[mr(n),r("path"),fr(n)]}function Er(t){return"BlockStatement"===t.type&&t.program.body.every(t=>sr(t))}function Nr(t,e,r){let{node:n}=t;if(Er(n))return"";let a=r("program");return"ignore"===e.htmlWhitespaceSensitivity?L([U,a]):L(a)}function Pr(t,e,r){let{node:n}=t;if(!n.inverse)return"";let a=r("inverse"),s="ignore"===e.htmlWhitespaceSensitivity?[U,a]:a;return t.call(wr,"inverse","body",0)?s:[vr(n,e),L(s)]}function xr(t){return R(V,W.split(t))}function Ar(t){return(t="string"==typeof t?t:"").split("\n").length-1}function Dr(t=0){return Array.from({length:Math.min(t,2)}).fill(U)}function Cr(t,e){let r=qr(t,e),n=_r(t,e);return n?L([r,V,O(n)]):r}function Lr(t,e){let r=qr(t,e),n=_r(t,e);return n?[L([r,V,n]),$]:r}function qr(t,e){return e("path")}function _r(t,e){let{node:r}=t,n=[];return r.params.length>0&&n.push(...t.map(e,"params")),r.hash?.pairs.length>0&&n.push(e("hash")),0===n.length?"":R(V,n)}function Ir(t){return["as |",t.blockParams.join(" "),"|"]}var Or=new Set("!\"#%&'()*+,./;<=>@[\\]^`{|}~"),Br=new Set(["true","false","null","undefined"]),Rr=(t,e)=>(0!==e||!t.startsWith("@"))&&(0!==e&&Br.has(t)||/\s/u.test(t)||/^\d/u.test(t)||Array.prototype.some.call(t,t=>Or.has(t)));var Vr={features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},print:function(t,e,r){let{node:n}=t;switch(n.type){case"Block":case"Program":case"Template":return O(t.map(r,"body"));case"ElementNode":{let a="ignore"!==e.htmlWhitespaceSensitivity,s=[a||"ElementNode"!==t.previous?.type?"":$,O([lr(t,r)])];if(ar(n))return[s];let i=["</",n.tag,">"],o="style"===n.tag;if(0===n.children.length||(!a||o)&&n.children.every(t=>sr(t)))return[s,i];let l=t.map(r,"children");return o||!a?[s,L([$,...l]),$,i]:[s,L(O(l)),i]}case"BlockStatement":return wr(t)?[kr(t,r),Nr(t,e,r),Pr(t,e,r)]:[br(t,r),O([Nr(t,e,r),Pr(t,e,r),Tr(t,e,r)])];case"ElementModifierStatement":return O(["{{",Lr(t,r),"}}"]);case"MustacheStatement":return O([ur(n),Lr(t,r),hr(n)]);case"SubExpression":return O(["(",Cr(t,r),$,")"]);case"AttrNode":{let{name:t,value:a}=n,s="TextNode"===a.type;if(s&&""===a.chars&&tr(a)===er(a))return t;let i=s?G(a.chars,e.singleQuote):"ConcatStatement"===a.type?G(a.parts.map(t=>"TextNode"===t.type?t.chars:"").join(""),e.singleQuote):"",o=r("value");return[t,"=",i,"class"===t&&i?O(L(o)):o,i]}case"ConcatStatement":return t.map(r,"parts");case"Hash":return R(V,t.map(r,"pairs"));case"HashPair":return[n.key,"=",r("value")];case"TextNode":{let r=n.chars,{parent:a}=t;if("ElementNode"===a.type){if("pre"===a.tag)return D(r);if("style"===a.tag)return r=s(0,r,/^\n+/gu,""),r=W.trimEnd(r),r=W.dedentString(r),D(r,U)}r=s(0,r,"{{","\\{{");let i=function(t){for(let e=0;e<2;e++){let r=t.getParentNode(e);if("AttrNode"===r?.type)return r.name.toLowerCase()}}(t);if(i){if("class"===i){let e=r.trim().split(/\s+/u).join(" "),n=!1,a=!1;return"ConcatStatement"===t.parent.type&&("MustacheStatement"===t.previous?.type&&/^\s/u.test(r)&&(n=!0),"MustacheStatement"===t.next?.type&&/\s$/u.test(r)&&""!==e&&(a=!0)),[n?V:"",e,a?V:""]}return D(r)}let o=W.isWhitespaceOnly(r),{isFirst:l,isLast:c}=t;if("ignore"!==e.htmlWhitespaceSensitivity){let e=c&&"Template"===t.parent.type,n=l&&"Template"===t.parent.type;if(o){if(n||e)return"";let t=[V],a=Ar(r);return a&&(t=Dr(a)),c&&(t=t.map(t=>q(t))),t}let a=W.getLeadingWhitespace(r),s=[];if(a){s=[V];let t=Ar(a);t&&(s=Dr(t)),r=r.slice(a.length)}let i=W.getTrailingWhitespace(r),u=[];if(i){if(!e){u=[V];let t=Ar(i);t&&(u=Dr(t)),c&&(u=u.map(t=>q(t)))}r=r.slice(0,-i.length)}return[...s,I(xr(r)),...u]}let u=Ar(r),h=function(t){t="string"==typeof t?t:"";let e=(t.match(/^([^\S\n\r]*[\n\r])+/gu)||[])[0]||"";return Ar(e)}(r),p=function(t){t="string"==typeof t?t:"";let e=(t.match(/([\n\r][^\S\n\r]*)+$/gu)||[])[0]||"";return Ar(e)}(r);if((l||c)&&o&&("Block"===t.parent.type||"ElementNode"===t.parent.type||"Template"===t.parent.type))return"";o&&u?(h=Math.min(u,2),p=0):(("BlockStatement"===t.next?.type||"ElementNode"===t.next?.type)&&(p=Math.max(p,1)),("BlockStatement"===t.previous?.type||"ElementNode"===t.previous?.type)&&(h=Math.max(h,1)));let d="",m="";return 0===p&&"MustacheStatement"===t.next?.type&&(m=" "),0===h&&"MustacheStatement"===t.previous?.type&&(d=" "),l&&(h=0,d=""),c&&(p=0,m=""),W.hasLeadingWhitespace(r)&&(r=d+W.trimStart(r)),W.hasTrailingWhitespace(r)&&(r=W.trimEnd(r)+m),[...Dr(h),I(xr(r)),...Dr(p)]}case"MustacheCommentStatement":{let t=tr(n),r=er(n),a="~"===e.originalText.charAt(t+2),s="~"===e.originalText.charAt(r-3),i=n.value.includes("}}")?"--":"";return["{{",a?"~":"","!",i,n.value,i,s?"~":"","}}"]}case"PathExpression":return function(t){return 0===t.tail.length&&t.original.includes("/")?t.original:[t.head.original,...t.tail].map((t,e)=>Rr(t,e)?`[${t}]`:t).join(".")}(n);case"BooleanLiteral":case"NumberLiteral":return String(n.value);case"CommentStatement":return["\x3c!--",n.value,"--\x3e"];case"StringLiteral":return function(t,e){let{node:{value:r}}=t,n=G(r,function(t){let{ancestors:e}=t,r=e.findIndex(t=>"SubExpression"!==t.type);return-1!==r&&"ConcatStatement"===e[r+1].type&&"AttrNode"===e[r+2].type}(t)?!e.singleQuote:e.singleQuote);return[n,s(0,r,n,`\\${n}`),n]}(t,e);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Q(n,"Handlebars")}},massageAstNode:Y,hasPrettierIgnore:function(t){return ir(t.node)||t.isInArray&&("children"===t.key||"body"===t.key||"parts"===t.key)&&ir(t.siblings[t.index-2])},getVisitorKeys:Xe,embed:Z},$r=[{name:"Handlebars",type:"markup",aceMode:"handlebars",extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aliases:["hbs","htmlbars"],parsers:["glimmer"],vscodeLanguageIds:["handlebars"],linguistLanguageId:155}],Ur={};e(Ur,{glimmer:()=>jr});var Fr=function(t,e){let r=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(r,e)},Hr=Symbol.for("PRETTIER_IS_FRONT_MATTER");var zr=function(t){let e=function(t){let e=t.slice(0,3);if("---"!==e&&"+++"!==e)return;let r=t.indexOf("\n",3);if(-1===r)return;let n=t.slice(3,r).trim(),a=t.indexOf(`\n${e}`,r),s=n;if(s||(s="+++"===e?"toml":"yaml"),-1===a&&"---"===e&&"yaml"===s&&(a=t.indexOf("\n...",r)),-1===a)return;let i=a+1+3,l=t.charAt(i+1);if(!/\s?/u.test(l))return;let c,u=t.slice(0,i);return{language:s,explicitLanguage:n||null,value:t.slice(r+1,a),startDelimiter:e,endDelimiter:u.slice(-3),raw:u,start:{line:1,column:0,index:0},end:{index:u.length,get line(){return c??(c=u.split("\n")),c.length},get column(){return c??(c=u.split("\n")),o(0,c,-1).length}},[Hr]:!0}}(t);return e?{frontMatter:e,get content(){let{raw:r}=e;return s(0,r,/[^\n]/gu," ")+t.slice(r.length)}}:{content:t}};var Mr={mode:"codemod",plugins:{ast:[()=>({name:"glimmerPrettierParsePlugin",visitor:{All(t){(t=>{let{start:e,end:r}=t.loc;e.offset=t.loc.getStart().offset,r.offset=t.loc.getEnd().offset})(t),function(t){let e=t.children??t.body;if(e)for(let t=0;t<e.length-1;t++)"TextNode"===e[t].type&&"MustacheStatement"===e[t+1].type&&(e[t].chars=e[t].chars.replace(/\\$/u,"\\\\"))}(t)}}})]}};var jr={parse:function(t){let e,{frontMatter:r,content:n}=zr(t);try{e=function(t,e={}){let r,n,a,s=e.mode||"precompile";"string"==typeof t?(r=new be(t,e.meta?.moduleName),n="codemod"===s?It(t,e.parseOptions):Rt(t,e.parseOptions)):t instanceof be?(r=t,n="codemod"===s?It(t.source,e.parseOptions):Rt(t.source,e.parseOptions)):(r=new be("",e.meta?.moduleName),n=t),"codemod"===s&&(a=new Ze);let i=oe.forCharPositions(r,0,r.source.length);n.loc={source:"(program)",start:i.startPosition,end:i.endPosition};let o=new Je(r,a,s).parse(n,e.locals??[]);if(e.plugins?.ast)for(let t of e.plugins.ast)Ie(o,t(rt({},e,{syntax:Ye},{plugins:void 0})).visitor);return o}(n,Mr)}catch(t){let e=function(t){let{location:e,hash:r}=t;if(e){let{start:t,end:r}=e;return"number"!=typeof r.line?{start:t}:e}if(r){let{loc:{last_line:t,last_column:e}}=r;return{start:{line:t,column:e+1}}}}(t);if(e){let r=function(t){let{message:e}=t,r=e.split("\n");return r.length>=4&&/^Parse error on line \d+:$/u.test(r[0])&&/^-*\^$/u.test(o(0,r,-2))?o(0,r,-1):r.length>=4&&/:\s?$/u.test(r[0])&&/^\(error occurred in '.*?' @ line \d+ : column \d+\)$/u.test(o(0,r,-1))&&""===r[1]&&""===o(0,r,-2)&&r.slice(2,-2).every(t=>t.startsWith("|"))?r[0].trim().slice(0,-1):e}(t);throw Fr(r,{loc:e,cause:t})}throw t}if(r){let t={...r,type:"FrontMatter",loc:{start:{...r.start,offset:r.start.index},end:{...r.end,offset:r.end.index}}};e.body.unshift(t)}return e},astFormat:"glimmer",locStart:tr,locEnd:er},Gr={glimmer:Vr};exports.default=r,exports.languages=$r,exports.parsers=Ur,exports.printers=Gr;
|
|
3
|
+
//# sourceMappingURL=glimmer.js.map
|