odm-client 0.0.1 → 0.0.3

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.
Files changed (51) hide show
  1. package/dist/client/mongodb-client.d.ts +9 -7
  2. package/dist/client/mongodb-index.d.ts +2 -2
  3. package/dist/cloudbase-index.cjs +1 -1
  4. package/dist/cloudbase-index.js +66 -56
  5. package/dist/decorators/index.d.ts +7 -0
  6. package/dist/deps/_commonjsHelpers-KaVRbhAgd4-5pgl5rkso.js +28 -0
  7. package/dist/deps/_commonjsHelpers-KaVRbhAgd4-r4alsdeis.js +1 -0
  8. package/dist/deps/acorn-DYjaOAP8Gz-29lcn4w0b.js +16 -0
  9. package/dist/deps/acorn-DYjaOAP8Gz-gyct7wut5.js +3005 -0
  10. package/dist/deps/angular-1bp1uAROl4-bz9b1prej.js +2533 -0
  11. package/dist/deps/angular-1bp1uAROl4-z3xa5q2km.js +3 -0
  12. package/dist/deps/babel-_P9jsDBVVy-ipfz7c01i.js +7217 -0
  13. package/dist/deps/babel-_P9jsDBVVy-kjb76ly0t.js +15 -0
  14. package/dist/deps/estree-Q-oFBmJEml-u09jq3zep.js +44 -0
  15. package/dist/deps/estree-Q-oFBmJEml-w9z7zljkf.js +4528 -0
  16. package/dist/deps/flow-j77MFvzLrn-kf5rv1yl1.js +20 -0
  17. package/dist/deps/flow-j77MFvzLrn-l8rtylmcl.js +27411 -0
  18. package/dist/deps/glimmer-ewQPb5nTUl-5p9240228.js +37 -0
  19. package/dist/deps/glimmer-ewQPb5nTUl-xsdp5ejns.js +2703 -0
  20. package/dist/deps/graphql-8EXR1_taGG-a4my17998.js +28 -0
  21. package/dist/deps/graphql-8EXR1_taGG-iqqy1396h.js +1221 -0
  22. package/dist/deps/html-dGbiW_CFWL-inuu6eaf1.js +25 -0
  23. package/dist/deps/html-dGbiW_CFWL-mq1pmq7je.js +2791 -0
  24. package/dist/deps/markdown-vAYIRClyWZ-el25zjeip.js +62 -0
  25. package/dist/deps/markdown-vAYIRClyWZ-f8svm8az3.js +3190 -0
  26. package/dist/deps/meriyah-d5_qqf88x--ntk7vora9.js +5 -0
  27. package/dist/deps/meriyah-d5_qqf88x--tbqv1nv9b.js +2645 -0
  28. package/dist/deps/postcss-Vz5bDQ3hJO-if8y8k5xi.js +4739 -0
  29. package/dist/deps/postcss-Vz5bDQ3hJO-rmv75nb4j.js +61 -0
  30. package/dist/deps/typescript-2hCq12HCbJ-n0w7fscoa.js +21 -0
  31. package/dist/deps/typescript-2hCq12HCbJ-yusfiayfb.js +12947 -0
  32. package/dist/deps/yaml-I5o0CrcX7J-ibk1yd293.js +4079 -0
  33. package/dist/deps/yaml-I5o0CrcX7J-xyc4o9p22.js +159 -0
  34. package/dist/generator/cloudbase-init-generator.d.ts +8 -0
  35. package/dist/generator/enum-generator.d.ts +3 -0
  36. package/dist/generator/index.d.ts +6 -0
  37. package/dist/generator/mongodb-init-generator.d.ts +9 -0
  38. package/dist/generator/parser.d.ts +21 -0
  39. package/dist/generator/table-generator.d.ts +3 -0
  40. package/dist/generator/type-generator.d.ts +6 -0
  41. package/dist/index.cjs +1 -1
  42. package/dist/index.d.ts +1 -1
  43. package/dist/index.js +6 -29
  44. package/dist/index2.cjs +42770 -0
  45. package/dist/index2.js +242204 -0
  46. package/dist/mongodb-index.cjs +11 -11
  47. package/dist/mongodb-index.js +2103 -2106
  48. package/dist/types/index.d.ts +14 -0
  49. package/package.json +3 -1
  50. /package/dist/deps/{query-builder-h6B2D2BCoQ-4ajykqs3m.js → query-builder-h6B2D2BCoQ-f5zcr506g.js} +0 -0
  51. /package/dist/deps/{query-builder-h6B2D2BCoQ-wqso6i87o.js → query-builder-h6B2D2BCoQ-iw94q0kiz.js} +0 -0
@@ -0,0 +1,37 @@
1
+ "use strict";var An=Object.defineProperty;var er=t=>{throw TypeError(t)};var Dn=(t,e,r)=>e in t?An(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var ge=(t,e,r)=>Dn(t,typeof e!="symbol"?e+"":e,r),ye=(t,e,r)=>e.has(t)||er("Cannot "+r);var I=(t,e,r)=>(ye(t,e,"read from private field"),r?r.call(t):e.get(t)),Dt=(t,e,r)=>e.has(t)?er("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),K=(t,e,r,n)=>(ye(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),rr=(t,e,r)=>(ye(t,e,"access private method"),r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var En=Object.defineProperty,qe=(t,e)=>{for(var r in e)En(t,r,{get:e[r],enumerable:!0})},Tr={};qe(Tr,{languages:()=>pn,parsers:()=>Qe,printers:()=>dn});var Nr=(t,e)=>(r,n,...a)=>r|1&&n==null?void 0:(e.call(n)??n[t]).apply(n,a),vn=String.prototype.replaceAll??function(t,e){return t.global?this.replace(t,e):this.split(t).join(e)},Cn=Nr("replaceAll",function(){if(typeof this=="string")return vn}),Zt=Cn;function Sn(t){return this[t<0?this.length+t:t]}var wn=Nr("at",function(){if(Array.isArray(this)||typeof this=="string")return Sn}),nt=wn,Bn=()=>{},kn=Bn,Pr="string",Fr="array",Lr="cursor",_e="indent",Ie="align",qr="trim",Oe="group",Re="fill",Ve="if-break",_r="indent-if-break",Ir="line-suffix",Or="line-suffix-boundary",xt="line",Rr="label",$e="break-parent",Vr=new Set([Lr,_e,Ie,qr,Oe,Re,Ve,_r,Ir,Or,xt,Rr,$e]);function xn(t){if(typeof t=="string")return Pr;if(Array.isArray(t))return Fr;if(!t)return;let{type:e}=t;if(Vr.has(e))return e}var $r=xn,Tn=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function Nn(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}',
2
+ Expected it to be 'string' or 'object'.`;if($r(t))throw new Error("doc is valid.");let r=Object.prototype.toString.call(t);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=Tn([...Vr].map(a=>`'${a}'`));return`Unexpected doc.type '${t.type}'.
3
+ Expected it to be ${n}.`}var Pn=class extends Error{constructor(e){super(Nn(e));ge(this,"name","InvalidDocError");this.doc=e}},Fn=Pn;function Ln(t,e){if(typeof t=="string")return e(t);let r=new Map;return n(t);function n(s){if(r.has(s))return r.get(s);let u=a(s);return r.set(s,u),u}function a(s){switch($r(s)){case Fr:return e(s.map(n));case Re:return e({...s,parts:s.parts.map(n)});case Ve:return e({...s,breakContents:n(s.breakContents),flatContents:n(s.flatContents)});case Oe:{let{expandedStates:u,contents:i}=s;return u?(u=u.map(n),i=u[0]):i=n(i),e({...s,contents:i,expandedStates:u})}case Ie:case _e:case _r:case Rr:case Ir:return e({...s,contents:n(s.contents)});case Pr:case Lr:case qr:case Or:case xt:case $e:return e(s);default:throw new Fn(s)}}}function be(t,e=Rn){return Ln(t,r=>typeof r=="string"?Rt(e,r.split(`
4
+ `)):r)}var qn=kn;function G(t){return{type:_e,contents:t}}function _n(t,e){return{type:Ie,contents:e,n:t}}function nr(t){return _n(-1,t)}var Ur={type:$e};function ar(t){return{type:Re,parts:t}}function O(t,e={}){return qn(e.expandedStates),{type:Oe,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function sr(t,e="",r={}){return{type:Ve,breakContents:t,flatContents:e,groupId:r.groupId}}function Rt(t,e){let r=[];for(let n=0;n<e.length;n++)n!==0&&r.push(t),r.push(e[n]);return r}var N={type:xt},j={type:xt,soft:!0},In={type:xt,hard:!0},Tt=[In,Ur],On={type:xt,hard:!0,literal:!0},Rn=[On,Ur],Hr=Object.freeze({character:"'",codePoint:39}),zr=Object.freeze({character:'"',codePoint:34}),Vn=Object.freeze({preferred:Hr,alternate:zr}),$n=Object.freeze({preferred:zr,alternate:Hr});function Un(t,e){let{preferred:r,alternate:n}=e===!0||e==="'"?Vn:$n,{length:a}=t,s=0,u=0;for(let i=0;i<a;i++){let l=t.charCodeAt(i);l===r.codePoint?s++:l===n.codePoint&&u++}return(s>u?n:r).character}var we=Un;function Hn(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var U,ee,Mr,Br,zn=(Br=class{constructor(t){Dt(this,ee);Dt(this,U);K(this,U,new Set(t))}getLeadingWhitespaceCount(t){let e=I(this,U),r=0;for(let n=0;n<t.length&&e.has(t.charAt(n));n++)r++;return r}getTrailingWhitespaceCount(t){let e=I(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 I(this,U).has(t.charAt(0))}hasTrailingWhitespace(t){return I(this,U).has(nt(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=`[${Hn([...I(this,U)].join(""))}]+`,n=new RegExp(e?`(${r})`:r,"u");return t.split(n)}hasWhitespaceCharacter(t){let e=I(this,U);return Array.prototype.some.call(t,r=>e.has(r))}hasNonWhitespaceCharacter(t){let e=I(this,U);return Array.prototype.some.call(t,r=>!e.has(r))}isWhitespaceOnly(t){let e=I(this,U);return Array.prototype.every.call(t,r=>e.has(r))}dedentString(t){let e=rr(this,ee,Mr).call(this,t);return e===0?t:t.split(`
5
+ `).map(r=>r.slice(e)).join(`
6
+ `)}},U=new WeakMap,ee=new WeakSet,Mr=function(t){let e=Number.POSITIVE_INFINITY;for(let r of t.split(`
7
+ `)){if(r.length===0)continue;let n=this.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&n<e&&(e=n)}return e===Number.POSITIVE_INFINITY?0:e},Br),Mn=zn,jn=[" ",`
8
+ `,"\f","\r"," "],Gn=new Mn(jn),M=Gn;function Wn(t){return Array.isArray(t)&&t.length>0}var Xt=Wn,Kn=class extends Error{constructor(e,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(e[n])}.`);ge(this,"name","UnexpectedNodeError");this.node=e}},Jn=Kn;function jr(t,e,r){if(t.type==="TextNode"){let n=t.chars.trim();if(!n)return null;r.tag==="style"&&r.children.length===1&&r.children[0]===t?e.chars="":e.chars=M.split(n).join(" ")}t.type==="ElementNode"&&(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),t.type==="Block"&&(delete e.blockParamNodes,delete e.params),t.type==="AttrNode"&&t.name.toLowerCase()==="class"&&delete e.value,t.type==="PathExpression"&&(e.head=t.head.original)}jr.ignoredProperties=new Set(["loc","selfClosing"]);var Qn=jr;function Yn(t){let{node:e}=t;if(e.type!=="TextNode")return;let{parent:r}=t;if(!(r.type==="ElementNode"&&r.tag==="style"&&r.children.length===1&&r.children[0]===e))return;let n=r.attributes.find(a=>a.type==="AttrNode"&&a.name==="lang");if(!(n&&!(n.value.type==="TextNode"&&(n.value.chars===""||n.value.chars==="css"))))return async a=>{let s=e.chars;return s.trim()?await a(s,{parser:"css"}):""}}var Zn=Yn,Nt=null;function qt(t){if(Nt!==null&&typeof Nt.property){let e=Nt;return Nt=qt.prototype=null,e}return Nt=qt.prototype=t??Object.create(null),new qt}var Xn=10;for(let t=0;t<=Xn;t++)qt();function ta(t){return qt(t)}function ea(t,e="type"){ta(t);function r(n){let a=n[e],s=t[a];if(!Array.isArray(s))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return s}return r}var ra=ea,Gr=Object.assign,ur=console;function na(t,e="unexpected unreachable branch"){throw ur.log("unreachable",t),ur.log(`${e} :: ${JSON.stringify(t)} (${t})`),new Error("code reached unreachable")}var aa=function(){var t=function(W,g,b,p){for(b=b||{},p=W.length;p--;b[W[p]]=g);return b},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],u=[1,43],i=[1,33],l=[1,34],h=[1,35],f=[1,36],m=[1,37],A=[1,42],d=[1,46],v=[14,15,19,29,34,39,44,47,48,53,57,61],w=[14,15,19,29,34,44,47,48,53,57,61],S=[15,18],B=[14,15,19,29,34,47,48,53,57,61],x=[33,67,73,75,84,85,86,87,88,89],P=[23,33,56,67,68,73,75,77,79,84,85,86,87,88,89],R=[1,62],V=[1,63],ot=[23,33,56,68,73,79],H=[23,33,56,67,68,73,75,77,79,84,85,86,87,88,89,92,93],tt=[2,51],lt=[1,64],Y=[67,73,75,77,84,85,86,87,88,89],mt=[56,67,73,75,84,85,86,87,88,89],gt=[1,75],Z=[1,76],_=[1,83],z=[33,67,73,75,79,84,85,86,87,88,89],$t=[23,67,73,75,84,85,86,87,88,89],Ye=[67,68,73,75,84,85,86,87,88,89],yt=[33,79],oe=[1,134],Ze=[73,81],le={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(W,g,b,p,D,o,F){var c=o.length-1;switch(D){case 1:return o[c-1];case 2:this.$=p.prepareProgram(o[c]);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.$=o[c];break;case 9:this.$={type:"CommentStatement",value:p.stripComment(o[c]),strip:p.stripFlags(o[c],o[c]),loc:p.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:o[c],value:o[c],loc:p.locInfo(this._$)};break;case 11:this.$=p.prepareRawBlock(o[c-2],o[c-1],o[c],this._$);break;case 12:this.$={path:o[c-3],params:o[c-2],hash:o[c-1]};break;case 13:this.$=p.prepareBlock(o[c-3],o[c-2],o[c-1],o[c],!1,this._$);break;case 14:this.$=p.prepareBlock(o[c-3],o[c-2],o[c-1],o[c],!0,this._$);break;case 15:this.$={open:o[c-5],path:o[c-4],params:o[c-3],hash:o[c-2],blockParams:o[c-1],strip:p.stripFlags(o[c-5],o[c])};break;case 16:case 17:this.$={path:o[c-4],params:o[c-3],hash:o[c-2],blockParams:o[c-1],strip:p.stripFlags(o[c-5],o[c])};break;case 18:this.$={strip:p.stripFlags(o[c-1],o[c-1]),program:o[c]};break;case 19:var Ut=p.prepareBlock(o[c-2],o[c-1],o[c],o[c],!1,this._$),Ht=p.prepareProgram([Ut],o[c-1].loc);Ht.chained=!0,this.$={strip:o[c-2].strip,program:Ht,chain:!0};break;case 21:this.$={path:o[c-1],strip:p.stripFlags(o[c-2],o[c])};break;case 22:this.$=p.prepareMustache(p.syntax.hash(o[c-1],p.locInfo(this._$),{yy:p,syntax:"expr"}),[],void 0,o[c-2],p.stripFlags(o[c-2],o[c]),this._$);break;case 23:case 24:this.$=p.prepareMustache(o[c-3],o[c-2],o[c-1],o[c-4],p.stripFlags(o[c-4],o[c]),this._$);break;case 25:this.$={type:"PartialStatement",name:o[c-3],params:o[c-2],hash:o[c-1],indent:"",strip:p.stripFlags(o[c-4],o[c]),loc:p.locInfo(this._$)};break;case 26:this.$=p.preparePartialBlock(o[c-2],o[c-1],o[c],this._$);break;case 27:this.$={path:o[c-3],params:o[c-2],hash:o[c-1],strip:p.stripFlags(o[c-4],o[c])};break;case 32:this.$=p.syntax.hash(o[c-1],p.locInfo(this._$),{yy:p,syntax:"expr"});break;case 33:this.$={type:"SubExpression",path:o[c-3],params:o[c-2],hash:o[c-1],loc:p.locInfo(this._$)};break;case 34:this.$={type:"Hash",pairs:o[c],loc:p.locInfo(this._$)};break;case 35:this.$={type:"HashPair",key:p.id(o[c-2]),value:o[c],loc:p.locInfo(this._$)};break;case 36:this.$=p.syntax.square(o[c-1],p.locInfo(this._$),{yy:p,syntax:"expr"});break;case 37:this.$=p.id(o[c-1]);break;case 40:this.$={type:"StringLiteral",value:o[c],original:o[c],loc:p.locInfo(this._$)};break;case 41:this.$={type:"NumberLiteral",value:Number(o[c]),original:Number(o[c]),loc:p.locInfo(this._$)};break;case 42:this.$={type:"BooleanLiteral",value:o[c]==="true",original:o[c]==="true",loc:p.locInfo(this._$)};break;case 43:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:p.locInfo(this._$)};break;case 44:this.$={type:"NullLiteral",original:null,value:null,loc:p.locInfo(this._$)};break;case 45:this.$=p.preparePath(!0,!1,o[c],this._$);break;case 48:this.$=p.preparePath(!1,o[c-2],o[c],this._$);break;case 49:this.$=p.preparePath(!1,!1,o[c],this._$);break;case 50:o[c-2].push({part:p.id(o[c]),original:o[c],separator:o[c-1]}),this.$=o[c-2];break;case 51:this.$=[{part:p.id(o[c]),original:o[c]}];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:o[c-1].push(o[c]);break;case 104:case 108:this.$=[o[c]];break}},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:u,82:31,83:32,84:i,85:l,86:h,87:f,88:m,89:A,90:41},{20:28,50:45,64:29,65:38,66:39,67:a,73:d,75:u,82:31,83:32,84:i,85:l,86:h,87:f,88:m,89:A,90:41},t(v,e,{6:3,4:47}),t(w,e,{6:3,4:48}),t(S,[2,54],{17:49}),{20:28,50:50,64:29,65:38,66:39,67:a,73:d,75:u,82:31,83:32,84:i,85:l,86:h,87:f,88:m,89:A,90:41},t(B,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:u,82:31,83:32,84:i,85:l,86:h,87:f,88:m,89:A,90:41},{20:54,64:53,65:38,66:39,67:a,73:d,75:u,82:31,83:32,84:i,85:l,86:h,87:f,88:m,89:A,90:41},{20:55,64:53,65:38,66:39,67:a,73:d,75:u,82:31,83:32,84:i,85:l,86:h,87:f,88:m,89:A,90:41},{20:28,50:56,64:29,65:38,66:39,67:a,73:d,75:u,82:31,83:32,84:i,85:l,86:h,87:f,88:m,89:A,90:41},{33:[1,57]},t(x,[2,84],{51:58}),t([23,33,56,68,79],[2,34],{72:59,73:[1,60]}),t(P,[2,28]),t(P,[2,29],{91:61,92:R,93:V}),t(ot,[2,104]),t(P,[2,38]),t(P,[2,39]),t(P,[2,40]),t(P,[2,41]),t(P,[2,42]),t(P,[2,43]),t(P,[2,44]),t(H,[2,30]),t(H,[2,31]),t([23,33,56,67,68,73,75,79,84,85,86,87,88,89,92,93],tt,{74:lt}),t(P,[2,49],{91:65,92:R,93:V}),{73:d,90:66},t(Y,[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:u,82:31,83:32,84:i,85:l,86:h,87:f,88:m,89:A,90:41},t(mt,[2,88],{54:70}),t(H,tt),{25:71,38:73,39:gt,43:74,44:Z,45:72,47:[2,60]},{28:77,43:78,44:Z,47:[2,62]},{13:80,15:r,18:[1,79]},t(x,[2,92],{58:81}),{26:82,47:_},t(z,[2,64],{30:84}),{91:61,92:R,93:V},t(z,[2,70],{35:85}),t($t,[2,56],{21:86}),t(x,[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:u,82:31,83:32,84:i,85:l,86:h,87:f,88:m,89:A,90:41},t(ot,[2,105]),{74:lt},{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:u,82:31,83:32,84:i,85:l,86:h,87:f,88:m,89:A,90:41},{73:[1,93]},t(P,[2,45],{91:65,92:R,93:V}),{20:28,50:95,64:29,65:38,66:39,67:a,73:d,75:u,77:[1,94],82:31,83:32,84:i,85:l,86:h,87:f,88:m,89:A,90:41},{68:[1,96]},t(Ye,[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:u,82:31,83:32,84:i,85:l,86:h,87:f,88:m,89:A,90:41},{26:101,47:_},{47:[2,61]},t(v,e,{6:3,4:102}),{47:[2,20]},{20:103,64:53,65:38,66:39,67:a,73:d,75:u,82:31,83:32,84:i,85:l,86:h,87:f,88:m,89:A,90:41},t(B,e,{6:3,4:104}),{26:105,47:_},{47:[2,63]},t(n,[2,11]),t(S,[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:u,82:31,83:32,84:i,85:l,86:h,87:f,88:m,89:A,90:41},t(n,[2,26]),{20:109,64:53,65:38,66:39,67:a,73:d,75:u,82:31,83:32,84:i,85:l,86:h,87:f,88:m,89:A,90:41},t(yt,[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:u,84:i,85:l,86:h,87:f,88:m,89:A}),t(yt,[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:u,84:i,85:l,86:h,87:f,88:m,89:A}),{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:u,82:31,83:32,84:i,85:l,86:h,87:f,88:m,89:A,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:u,82:31,83:32,84:i,85:l,86:h,87:f,88:m,89:A,90:41},{33:[1,122]},t(x,[2,85]),{33:[2,87]},t(P,[2,48],{91:65,92:R,93:V}),t(ot,[2,35]),t(H,[2,50]),t(H,[2,36]),t(Y,[2,107]),t(H,[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:u,82:31,83:32,84:i,85:l,86:h,87:f,88:m,89:A,90:41},{56:[1,126]},t(mt,[2,89]),{56:[2,91]},t(n,[2,13]),{38:73,39:gt,43:74,44:Z,45:128,46:127,47:[2,82]},t(z,[2,76],{40:129}),{47:[2,18]},t(n,[2,14]),{33:[1,130]},t(x,[2,93]),{33:[2,95]},{33:[1,131]},{32:132,33:[2,68],78:133,79:oe},t(z,[2,65]),t(yt,[2,67]),{33:[2,74],37:135,78:136,79:oe},t(z,[2,71]),t(yt,[2,73]),{23:[1,137]},t($t,[2,57]),{23:[2,59]},{33:[1,138]},t(x,[2,97]),{33:[2,99]},t(n,[2,23]),{68:[1,139]},t(Ye,[2,101]),{68:[2,103]},t(n,[2,24]),{47:[2,19]},{47:[2,83]},t(yt,[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:u,84:i,85:l,86:h,87:f,88:m,89:A}),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(S,[2,12]),t(B,[2,27]),t(H,[2,33]),{33:[2,80],42:147,78:148,79:oe},t(z,[2,77]),t(yt,[2,79]),t(v,[2,15]),{73:[1,150],81:[1,149]},t(Ze,[2,108]),t(w,[2,16]),{33:[1,151]},{33:[2,81]},{33:[2,37]},t(Ze,[2,109]),t(v,[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(W,g){if(g.recoverable)this.trace(W);else{var b=new Error(W);throw b.hash=g,b}},parse:function(W){var g=this,b=[0],p=[null],D=[],o=this.table,F="",c=0,Ut=0,Ht=0,mn=2,Xe=1,gn=D.slice.call(arguments,1),k=Object.create(this.lexer),ct={yy:{}};for(var he in this.yy)Object.prototype.hasOwnProperty.call(this.yy,he)&&(ct.yy[he]=this.yy[he]);k.setInput(W,ct.yy),ct.yy.lexer=k,ct.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var pe=k.yylloc;D.push(pe);var yn=k.options&&k.options.ranges;typeof ct.yy.parseError=="function"?this.parseError=ct.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var bn=function(){var At;return At=k.lex()||Xe,typeof At!="number"&&(At=g.symbols_[At]||At),At},L,de,ht,$,Os,fe,bt={},zt,X,tr,Mt;;){if(ht=b[b.length-1],this.defaultActions[ht]?$=this.defaultActions[ht]:((L===null||typeof L>"u")&&(L=bn()),$=o[ht]&&o[ht][L]),typeof $>"u"||!$.length||!$[0]){var me="";Mt=[];for(zt in o[ht])this.terminals_[zt]&&zt>mn&&Mt.push("'"+this.terminals_[zt]+"'");k.showPosition?me="Parse error on line "+(c+1)+`:
9
+ `+k.showPosition()+`
10
+ Expecting `+Mt.join(", ")+", got '"+(this.terminals_[L]||L)+"'":me="Parse error on line "+(c+1)+": Unexpected "+(L==Xe?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(me,{text:k.match,token:this.terminals_[L]||L,line:k.yylineno,loc:pe,expected:Mt})}if($[0]instanceof Array&&$.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ht+", token: "+L);switch($[0]){case 1:b.push(L),p.push(k.yytext),D.push(k.yylloc),b.push($[1]),L=null,de?(L=de,de=null):(Ut=k.yyleng,F=k.yytext,c=k.yylineno,pe=k.yylloc,Ht>0);break;case 2:if(X=this.productions_[$[1]][1],bt.$=p[p.length-X],bt._$={first_line:D[D.length-(X||1)].first_line,last_line:D[D.length-1].last_line,first_column:D[D.length-(X||1)].first_column,last_column:D[D.length-1].last_column},yn&&(bt._$.range=[D[D.length-(X||1)].range[0],D[D.length-1].range[1]]),fe=this.performAction.apply(bt,[F,Ut,c,ct.yy,$[1],p,D].concat(gn)),typeof fe<"u")return fe;X&&(b=b.slice(0,-1*X*2),p=p.slice(0,-1*X),D=D.slice(0,-1*X)),b.push(this.productions_[$[1]][0]),p.push(bt.$),D.push(bt._$),tr=o[b[b.length-2]][b[b.length-1]],b.push(tr);break;case 3:return!0}}return!0}},fn=function(){var W={EOF:1,parseError:function(g,b){if(this.yy.parser)this.yy.parser.parseError(g,b);else throw new Error(g)},setInput:function(g,b){return this.yy=b||this.yy||{},this._input=g,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 g=this._input[0];this.yytext+=g,this.yyleng++,this.offset++,this.match+=g,this.matched+=g;var b=g.match(/(?:\r\n?|\n).*/g);return b?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),g},unput:function(g){var b=g.length,p=g.split(/(?:\r\n?|\n)/g);this._input=g+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b),this.offset-=b;var D=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),p.length-1&&(this.yylineno-=p.length-1);var o=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:p?(p.length===D.length?this.yylloc.first_column:0)+D[D.length-p.length].length-p[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-b]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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).
11
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(g){this.unput(this.match.slice(g))},pastInput:function(){var g=this.matched.substr(0,this.matched.length-this.match.length);return(g.length>20?"...":"")+g.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var g=this.match;return g.length<20&&(g+=this._input.substr(0,20-g.length)),(g.substr(0,20)+(g.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var g=this.pastInput(),b=new Array(g.length+1).join("-");return g+this.upcomingInput()+`
12
+ `+b+"^"},test_match:function(g,b){var p,D,o;if(this.options.backtrack_lexer&&(o={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&&(o.yylloc.range=this.yylloc.range.slice(0))),D=g[0].match(/(?:\r\n?|\n).*/g),D&&(this.yylineno+=D.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:D?D[D.length-1].length-D[D.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+g[0].length},this.yytext+=g[0],this.match+=g[0],this.matches=g,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(g[0].length),this.matched+=g[0],p=this.performAction.call(this,this.yy,this,b,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),p)return p;if(this._backtrack){for(var F in o)this[F]=o[F];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var g,b,p,D;this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),F=0;F<o.length;F++)if(p=this._input.match(this.rules[o[F]]),p&&(!b||p[0].length>b[0].length)){if(b=p,D=F,this.options.backtrack_lexer){if(g=this.test_match(p,o[F]),g!==!1)return g;if(this._backtrack){b=!1;continue}else return!1}else if(!this.options.flex)break}return b?(g=this.test_match(b,o[D]),g!==!1?g:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
13
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var g=this.next();return g||this.lex()},begin:function(g){this.conditionStack.push(g)},popState:function(){var g=this.conditionStack.length-1;return g>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(g){return g=this.conditionStack.length-1-Math.abs(g||0),g>=0?this.conditionStack[g]:"INITIAL"},pushState:function(g){this.begin(g)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(g,b,p,D){function o(F,c){return b.yytext=b.yytext.substring(F,b.yyleng-c+F)}switch(p){case 0:if(b.yytext.slice(-2)==="\\\\"?(o(0,1),this.begin("mu")):b.yytext.slice(-1)==="\\"?(o(0,1),this.begin("emu")):this.begin("mu"),b.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(o(5,9),18);case 5:return 15;case 6:return this.popState(),14;case 7:return 67;case 8:return 68;case 9:if(g.syntax.square==="string")this.unput(b.yytext),this.begin("escl");else return 75;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:return this.popState(),44;case 18:return this.popState(),44;case 19:return 34;case 20:return 39;case 21:return 53;case 22:return 48;case 23:this.unput(b.yytext),this.popState(),this.begin("com");break;case 24:return this.popState(),14;case 25:return 48;case 26:return 74;case 27:return 73;case 28: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 b.yytext=o(1,2).replace(/\\"/g,'"'),84;case 35:return b.yytext=o(1,2).replace(/\\'/g,"'"),84;case 36:return 89;case 37:return 86;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 44:return 73;case 45:return b.yytext=b.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}}};return W}();le.lexer=fn;function ce(){this.yy={}}return ce.prototype=le,le.Parser=ce,new ce}(),jt=aa,Ae=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Ue(t,e){var r=e&&e.loc,n,a,s,u;r&&(n=r.start.line,a=r.end.line,s=r.start.column,u=r.end.column,t+=" - "+n+":"+s);for(var i=Error.prototype.constructor.call(this,t),l=0;l<Ae.length;l++)this[Ae[l]]=i[Ae[l]];Error.captureStackTrace&&Error.captureStackTrace(this,Ue);try{r&&(this.lineNumber=n,this.endLineNumber=a,Object.defineProperty?(Object.defineProperty(this,"column",{value:s,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:u,enumerable:!0})):(this.column=s,this.endColumn=u))}catch{}}Ue.prototype=new Error;var St=Ue;function Kt(){this.parents=[]}Kt.prototype={constructor:Kt,mutating:!1,acceptKey:function(t,e){var r=this.accept(t[e]);if(this.mutating){if(r&&!Kt.prototype[r.type])throw new St('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 St(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 St("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(e!==!1)return t}},Program:function(t){this.acceptArray(t.body)},MustacheStatement:Jt,Decorator:Jt,BlockStatement:ir,DecoratorBlock:ir,PartialStatement:or,PartialBlockStatement:function(t){or.call(this,t),this.acceptKey(t,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:Jt,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")}};function Jt(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function ir(t){Jt.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function or(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}var sa=Kt;function Q(t){t===void 0&&(t={}),this.options=t}Q.prototype=new sa;Q.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 u=n[a],i=this.accept(u);if(i){var l=Be(n,a,r),h=ke(n,a,r),f=i.openStandalone&&l,m=i.closeStandalone&&h,A=i.inlineStandalone&&l&&h;i.close&&pt(n,a,!0),i.open&&at(n,a,!0),e&&A&&(pt(n,a),at(n,a)&&u.type==="PartialStatement"&&(u.indent=/([ \t]+$)/.exec(n[a-1].original)[1])),e&&f&&(pt((u.program||u.inverse).body),at(n,a)),e&&m&&(pt(n,a),at((u.inverse||u.program).body))}}return t};Q.prototype.BlockStatement=Q.prototype.DecoratorBlock=Q.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:ke(e.body),closeStandalone:Be((n||e).body)};if(t.openStrip.close&&pt(e.body,null,!0),r){var u=t.inverseStrip;u.open&&at(e.body,null,!0),u.close&&pt(n.body,null,!0),t.closeStrip.open&&at(a.body,null,!0),!this.options.ignoreStandalone&&Be(e.body)&&ke(n.body)&&(at(e.body),pt(n.body))}else t.closeStrip.open&&at(e.body,null,!0);return s};Q.prototype.Decorator=Q.prototype.MustacheStatement=function(t){return t.strip};Q.prototype.PartialStatement=Q.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}};function Be(t,e,r){e===void 0&&(e=t.length);var n=t[e-1],a=t[e-2];if(!n)return r;if(n.type==="ContentStatement")return(a||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original)}function ke(t,e,r){e===void 0&&(e=-1);var n=t[e+1],a=t[e+2];if(!n)return r;if(n.type==="ContentStatement")return(a||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original)}function pt(t,e,r){var n=t[e==null?0:e+1];if(!(!n||n.type!=="ContentStatement"||!r&&n.rightStripped)){var a=n.value;n.value=n.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==a}}function at(t,e,r){var n=t[e==null?t.length-1:e-1];if(!(!n||n.type!=="ContentStatement"||!r&&n.leftStripped)){var a=n.value;return n.value=n.value.replace(r?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==a,n.leftStripped}}var ua=Q,Qt={};qe(Qt,{SourceLocation:()=>Wr,id:()=>oa,prepareBlock:()=>fa,prepareMustache:()=>pa,preparePartialBlock:()=>ga,preparePath:()=>ha,prepareProgram:()=>ma,prepareRawBlock:()=>da,stripComment:()=>ca,stripFlags:()=>la});var ia=function(t,e,r){for(var n=0,a=e.length,s;n<a;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))};function He(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new St(t.path.original+" doesn't match "+e,r)}}function Wr(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 oa(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function la(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}function ca(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function ha(t,e,r,n){n=this.locInfo(n);var a;t?a="@":e?a=e.original+".":a="";for(var s=[],u=0,i=0,l=r.length;i<l;i++){var h=r[i].part,f=r[i].original!==h,m=r[i].separator,A=m===".#"?"#":"";if(a+=(m||"")+h,!f&&(h===".."||h==="."||h==="this")){if(s.length>0)throw new St("Invalid path: "+a,{loc:n});h===".."&&u++}else s.push("".concat(A).concat(h))}var d=e||s.shift();return{type:"PathExpression",this:a.startsWith("this."),data:t,depth:u,head:d,tail:s,parts:d?ia([d],s):s,original:a,loc:n}}function pa(t,e,r,n,a,s){var u=n.charAt(3)||n.charAt(2),i=u!=="{"&&u!=="&",l=/\*/.test(n);return{type:l?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:i,strip:a,loc:this.locInfo(s)}}function da(t,e,r,n){He(t,r),n=this.locInfo(n);var a={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:a,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function fa(t,e,r,n,a,s){n&&n.path&&He(t,n);var u=/\*/.test(t.open);e.blockParams=t.blockParams;var i,l;if(r){if(u)throw new St("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),l=r.strip,i=r.program}return a&&(a=i,i=e,e=a),{type:u?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:i,openStrip:t.strip,inverseStrip:l,closeStrip:n&&n.strip,loc:this.locInfo(s)}}function ma(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 ga(t,e,r,n){return He(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 Kr={};for(Gt in Qt)Object.prototype.hasOwnProperty.call(Qt,Gt)&&(Kr[Gt]=Qt[Gt]);var Gt;function xe(t,e){var r,n,a;if(t.type==="Program")return t;jt.yy=Kr,jt.yy.locInfo=function(i){return new Wr(e&&e.srcName,i)};var s;typeof((r=e==null?void 0:e.syntax)===null||r===void 0?void 0:r.square)=="function"?s=e.syntax.square:((n=e==null?void 0:e.syntax)===null||n===void 0?void 0:n.square)==="node"?s=ya:s="string";var u;return typeof((a=e==null?void 0:e.syntax)===null||a===void 0?void 0:a.hash)=="function"?u=e.syntax.hash:u=ba,jt.yy.syntax={square:s,hash:u},jt.parse(t)}function ya(t,e){return{type:"ArrayLiteral",items:t,loc:e}}function ba(t,e){return{type:"HashLiteral",pairs:t.pairs,loc:e}}function lr(t,e){var r=xe(t,e),n=new ua(e);return n.accept(r)}var Aa={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:`
14
+ `,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:" ",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:"‌"},Da=/^#[xX]([A-Fa-f0-9]+)$/,Ea=/^#([0-9]+)$/,va=/^([A-Za-z0-9]+)$/,Jr=function(){function t(e){this.named=e}return t.prototype.parse=function(e){if(e){var r=e.match(Da);if(r)return String.fromCharCode(parseInt(r[1],16));if(r=e.match(Ea),r)return String.fromCharCode(parseInt(r[1],10));if(r=e.match(va),r)return this.named[r[1]]}},t}(),Ca=/[\t\n\f ]/,Sa=/[A-Za-z]/,wa=/\r\n?/g;function T(t){return Ca.test(t)}function cr(t){return Sa.test(t)}function Ba(t){return t.replace(wa,`
15
+ `)}var ka=function(){function t(e,r,n){n===void 0&&(n="precompile"),this.delegate=e,this.entityParser=r,this.mode=n,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var a=this.peek();if(a==="<"&&!this.isIgnoredEndTag())this.transitionTo("tagOpen"),this.markTagStart(),this.consume();else{if(this.mode==="precompile"&&a===`
16
+ `){var s=this.tagNameBuffer.toLowerCase();(s==="pre"||s==="textarea")&&this.consume()}this.transitionTo("data"),this.delegate.beginData()}},data:function(){var a=this.peek(),s=this.tagNameBuffer;a==="<"&&!this.isIgnoredEndTag()?(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume()):a==="&"&&s!=="script"&&s!=="style"?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(a))},tagOpen:function(){var a=this.consume();a==="!"?this.transitionTo("markupDeclarationOpen"):a==="/"?this.transitionTo("endTagOpen"):(a==="@"||a===":"||cr(a))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(a))},markupDeclarationOpen:function(){var a=this.consume();if(a==="-"&&this.peek()==="-")this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment();else{var s=a.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase();s==="DOCTYPE"&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())}},doctype:function(){var a=this.consume();T(a)&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var a=this.consume();T(a)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(a.toLowerCase()))},doctypeName:function(){var a=this.consume();T(a)?this.transitionTo("afterDoctypeName"):a===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(a.toLowerCase())},afterDoctypeName:function(){var a=this.consume();if(!T(a))if(a===">")this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var s=a.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),u=s.toUpperCase()==="PUBLIC",i=s.toUpperCase()==="SYSTEM";(u||i)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),u?this.transitionTo("afterDoctypePublicKeyword"):i&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var a=this.peek();T(a)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):a==='"'?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):a==="'"?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):a===">"&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var a=this.consume();a==='"'?this.transitionTo("afterDoctypePublicIdentifier"):a===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(a)},doctypePublicIdentifierSingleQuoted:function(){var a=this.consume();a==="'"?this.transitionTo("afterDoctypePublicIdentifier"):a===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(a)},afterDoctypePublicIdentifier:function(){var a=this.consume();T(a)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):a===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):a==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):a==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var a=this.consume();T(a)||(a===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):a==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):a==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var a=this.consume();a==='"'?this.transitionTo("afterDoctypeSystemIdentifier"):a===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(a)},doctypeSystemIdentifierSingleQuoted:function(){var a=this.consume();a==="'"?this.transitionTo("afterDoctypeSystemIdentifier"):a===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(a)},afterDoctypeSystemIdentifier:function(){var a=this.consume();T(a)||a===">"&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var a=this.consume();a==="-"?this.transitionTo("commentStartDash"):a===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(a),this.transitionTo("comment"))},commentStartDash:function(){var a=this.consume();a==="-"?this.transitionTo("commentEnd"):a===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var a=this.consume();a==="-"?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(a)},commentEndDash:function(){var a=this.consume();a==="-"?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+a),this.transitionTo("comment"))},commentEnd:function(){var a=this.consume();a===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+a),this.transitionTo("comment"))},tagName:function(){var a=this.consume();T(a)?this.transitionTo("beforeAttributeName"):a==="/"?this.transitionTo("selfClosingStartTag"):a===">"?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(a)},endTagName:function(){var a=this.consume();T(a)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):a==="/"?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):a===">"?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(a)},beforeAttributeName:function(){var a=this.peek();if(T(a)){this.consume();return}else a==="/"?(this.transitionTo("selfClosingStartTag"),this.consume()):a===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):a==="="?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(a)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var a=this.peek();T(a)?(this.transitionTo("afterAttributeName"),this.consume()):a==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):a==="="?(this.transitionTo("beforeAttributeValue"),this.consume()):a===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):a==='"'||a==="'"||a==="<"?(this.delegate.reportSyntaxError(a+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(a)):(this.consume(),this.delegate.appendToAttributeName(a))},afterAttributeName:function(){var a=this.peek();if(T(a)){this.consume();return}else a==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):a==="="?(this.consume(),this.transitionTo("beforeAttributeValue")):a===">"?(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(a))},beforeAttributeValue:function(){var a=this.peek();T(a)?this.consume():a==='"'?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):a==="'"?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):a===">"?(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(a))},attributeValueDoubleQuoted:function(){var a=this.consume();a==='"'?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):a==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(a)},attributeValueSingleQuoted:function(){var a=this.consume();a==="'"?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):a==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(a)},attributeValueUnquoted:function(){var a=this.peek();T(a)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):a==="/"?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):a==="&"?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):a===">"?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(a))},afterAttributeValueQuoted:function(){var a=this.peek();T(a)?(this.consume(),this.transitionTo("beforeAttributeName")):a==="/"?(this.consume(),this.transitionTo("selfClosingStartTag")):a===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){var a=this.peek();a===">"?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var a=this.consume();(a==="@"||a===":"||cr(a))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(a))}},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(e){this.state=e},t.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},t.prototype.tokenizePart=function(e){for(this.input+=Ba(e);this.index<this.input.length;){var r=this.states[this.state];if(r!==void 0)r.call(this);else throw new Error("unhandled state "+this.state)}},t.prototype.tokenizeEOF=function(){this.flushData()},t.prototype.flushData=function(){this.state==="data"&&(this.delegate.finishData(),this.transitionTo("beforeData"))},t.prototype.peek=function(){return this.input.charAt(this.index)},t.prototype.consume=function(){var e=this.peek();return this.index++,e===`
17
+ `?(this.line++,this.column=0):this.column++,e},t.prototype.consumeCharRef=function(){var e=this.input.indexOf(";",this.index);if(e!==-1){var r=this.input.slice(this.index,e),n=this.entityParser.parse(r);if(n){for(var a=r.length;a;)this.consume(),a--;return this.consume(),n}}},t.prototype.markTagStart=function(){this.delegate.tagOpen()},t.prototype.appendToTagName=function(e){this.tagNameBuffer+=e,this.delegate.appendToTagName(e)},t.prototype.isIgnoredEndTag=function(){var e=this.tagNameBuffer;return e==="title"&&this.input.substring(this.index,this.index+8)!=="</title>"||e==="style"&&this.input.substring(this.index,this.index+8)!=="</style>"||e==="script"&&this.input.substring(this.index,this.index+9)!=="<\/script>"},t}(),te=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]);function xa(){return[...te]}function Ta(t){var e;return te.has(t.toLowerCase())&&((e=t[0])==null?void 0:e.toLowerCase())===t[0]}function Vt(t){return!!t&&t.length>0}function ze(t){return t.length===0?void 0:t[t.length-1]}function Na(t){return t.length===0?void 0:t[0]}var ut=Object.freeze({line:1,column:0}),Pa=Object.freeze({source:"(synthetic)",start:ut,end:ut}),Te=Object.freeze({source:"(nonexistent)",start:ut,end:ut}),st=Object.freeze({source:"(broken)",start:ut,end:ut}),Fa=class{constructor(t){this._whens=t}first(t){for(let e of this._whens){let r=e.match(t);if(Vt(r))return r[0]}return null}},hr=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(s){switch(s){case"Broken":case"InternalsSynthetic":case"NonExistent":return"IS_INVISIBLE";default:return s}}(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 Qr(t){return t(new La).validate()}var La=class{validate(){return(t,e)=>this.matchFor(t.kind,e.kind)(t,e)}matchFor(t,e){let r=this._whens.match(t);return Vt(r),new Fa(r).first(e)}when(t,e,r){return this._whens.get(t,()=>new hr).add(e,r),this}constructor(){this._whens=new hr}},qa=class Ne{static synthetic(e){let r=q.synthetic(e);return new Ne({loc:r,chars:e})}static load(e,r){return new Ne({loc:q.load(e,r[1]),chars:r[0]})}constructor(e){this.loc=e.loc,this.chars=e.chars}getString(){return this.chars}serialize(){return[this.chars,this.loc.serialize()]}},q=class vt{static get NON_EXISTENT(){return new dt("NonExistent",Te).wrap()}static load(e,r){return typeof r=="number"?vt.forCharPositions(e,r,r):typeof r=="string"?vt.synthetic(r):Array.isArray(r)?vt.forCharPositions(e,r[0],r[1]):r==="NonExistent"?vt.NON_EXISTENT:r==="Broken"?vt.broken(st):void na(r)}static forHbsLoc(e,r){let n=new kt(e,r.start),a=new kt(e,r.end);return new je(e,{start:n,end:a},r).wrap()}static forCharPositions(e,r,n){let a=new It(e,r),s=new It(e,n);return new Me(e,{start:a,end:s}).wrap()}static synthetic(e){return new dt("InternalsSynthetic",Te,e).wrap()}static broken(e=st){return new dt("Broken",e).wrap()}constructor(e){var r;this.data=e,this.isInvisible=(r=e.kind)!=="CharPosition"&&r!=="HbsPosition"}getStart(){return this.data.getStart().wrap()}getEnd(){return this.data.getEnd().wrap()}get loc(){let e=this.data.toHbsSpan();return e===null?st:e.toHbsLoc()}get module(){return this.data.getModule()}get startPosition(){return this.loc.start}get endPosition(){return this.loc.end}toJSON(){return this.loc}withStart(e){return J(e.data,this.data.getEnd())}withEnd(e){return J(this.data.getStart(),e.data)}asString(){return this.data.asString()}toSlice(e){let r=this.data.asString();return JSON.stringify(r),JSON.stringify(e),new qa({loc:this,chars:e||r})}get start(){return this.loc.start}set start(e){this.data.locDidUpdate({start:e})}get end(){return this.loc.end}set end(e){this.data.locDidUpdate({end:e})}get source(){return this.module}collapse(e){switch(e){case"start":return this.getStart().collapsed();case"end":return this.getEnd().collapsed()}}extend(e){return J(this.data.getStart(),e.data.getEnd())}serialize(){return this.data.serialize()}slice({skipStart:e=0,skipEnd:r=0}){return J(this.getStart().move(e).data,this.getEnd().move(-r).data)}sliceStartChars({skipStart:e=0,chars:r}){return J(this.getStart().move(e).data,this.getStart().move(e+r).data)}sliceEndChars({skipEnd:e=0,chars:r}){return J(this.getEnd().move(e-r).data,this.getStart().move(-e).data)}},Bt,kr,Me=(kr=class{constructor(t,e){Dt(this,Bt);this.source=t,this.charPositions=e,this.kind="CharPosition",K(this,Bt,null)}wrap(){return new q(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=I(this,Bt);if(t===null){let e=this.charPositions.start.toHbsPos(),r=this.charPositions.end.toHbsPos();t=K(this,Bt,e===null||r===null?it:new je(this.source,{start:e,end:r}))}return t===it?null:t}serialize(){let{start:{charPos:t},end:{charPos:e}}=this.charPositions;return t===e?t:[t,e]}toCharPosSpan(){return this}},Bt=new WeakMap,kr),rt,ft,xr,je=(xr=class{constructor(t,e,r=null){Dt(this,rt);Dt(this,ft);this.source=t,this.hbsPositions=e,this.kind="HbsPosition",K(this,rt,null),K(this,ft,r)}serialize(){let t=this.toCharPosSpan();return t===null?"Broken":t.wrap().serialize()}wrap(){return new q(this)}updateProvided(t,e){I(this,ft)&&(I(this,ft)[e]=t),K(this,rt,null),K(this,ft,{start:t,end:t})}locDidUpdate({start:t,end:e}){t!==void 0&&(this.updateProvided(t,"start"),this.hbsPositions.start=new kt(this.source,t,null)),e!==void 0&&(this.updateProvided(e,"end"),this.hbsPositions.end=new kt(this.source,e,null))}asString(){let t=this.toCharPosSpan();return t===null?"":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=I(this,rt);if(t===null){let e=this.hbsPositions.start.toCharPos(),r=this.hbsPositions.end.toCharPos();if(!e||!r)return t=K(this,rt,it),null;t=K(this,rt,new Me(this.source,{start:e,end:r}))}return t===it?null:t}},rt=new WeakMap,ft=new WeakMap,xr),dt=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 q(this)}asString(){return this.string||""}locDidUpdate({start:t,end:e}){t!==void 0&&(this.loc.start=t),e!==void 0&&(this.loc.end=e)}getModule(){return"an unknown module"}getStart(){return new Fe(this.kind,this.loc.start)}getEnd(){return new Fe(this.kind,this.loc.end)}toCharPosSpan(){return this}toHbsSpan(){return null}toHbsLoc(){return st}},J=Qr(t=>t.when("HbsPosition","HbsPosition",(e,r)=>new je(e.source,{start:e,end:r}).wrap()).when("CharPosition","CharPosition",(e,r)=>new Me(e.source,{start:e,end:r}).wrap()).when("CharPosition","HbsPosition",(e,r)=>{let n=r.toCharPos();return n===null?new dt("Broken",st).wrap():J(e,n)}).when("HbsPosition","CharPosition",(e,r)=>{let n=e.toCharPos();return n===null?new dt("Broken",st).wrap():J(n,r)}).when("IS_INVISIBLE","MATCH_ANY",e=>new dt(e.kind,st).wrap()).when("MATCH_ANY","IS_INVISIBLE",(e,r)=>new dt(r.kind,st).wrap())),it="BROKEN",re=class Pe{static forHbsPos(e,r){return new kt(e,r,null).wrap()}static broken(e=ut){return new Fe("Broken",e).wrap()}constructor(e){this.data=e}get offset(){let e=this.data.toCharPos();return e===null?null:e.offset}eql(e){return _a(this.data,e.data)}until(e){return J(this.data,e.data)}move(e){let r=this.data.toCharPos();if(r===null)return Pe.broken();{let n=r.offset+e;return r.source.validate(n)?new It(r.source,n).wrap():Pe.broken()}}collapsed(){return J(this.data,this.data)}toJSON(){return this.data.toJSON()}},It=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 t===null?ut:t.toJSON()}wrap(){return new re(this)}get offset(){return this.charPos}toHbsPos(){let t=this._locPos;if(t===null){let e=this.source.hbsPosFor(this.charPos);this._locPos=t=e===null?it:new kt(this.source,e,this.charPos)}return t===it?null:t}},kt=class{constructor(t,e,r=null){this.source=t,this.hbsPos=e,this.kind="HbsPosition",this._charPos=r===null?null:new It(t,r)}toCharPos(){let t=this._charPos;if(t===null){let e=this.source.charPosFor(this.hbsPos);this._charPos=t=e===null?it:new It(this.source,e)}return t===it?null:t}toJSON(){return this.hbsPos}wrap(){return new re(this)}toHbsPos(){return this}},Fe=class{constructor(t,e){this.kind=t,this.pos=e}toCharPos(){return null}toJSON(){return this.pos}wrap(){return new re(this)}get offset(){return null}},_a=Qr(t=>t.when("HbsPosition","HbsPosition",({hbsPos:e},{hbsPos:r})=>e.column===r.column&&e.line===r.line).when("CharPosition","CharPosition",({charPos:e},{charPos:r})=>e===r).when("CharPosition","HbsPosition",({offset:e},r)=>{var n;return e===((n=r.toCharPos())==null?void 0:n.offset)}).when("HbsPosition","CharPosition",(e,{offset:r})=>{var n;return((n=e.toCharPos())==null?void 0:n.offset)===r}).when("MATCH_ANY","MATCH_ANY",()=>!1)),_t=class Yr{static from(e,r={}){var n;return new Yr(e,(n=r.meta)==null?void 0:n.moduleName)}constructor(e,r="an unknown module"){this.source=e,this.module=r}validate(e){return e>=0&&e<=this.source.length}slice(e,r){return this.source.slice(e,r)}offsetFor(e,r){return re.forHbsPos(this,{line:e,column:r})}spanFor({start:e,end:r}){return q.forHbsLoc(this,{start:{line:e.line,column:e.column},end:{line:r.line,column:r.column}})}hbsPosFor(e){let r=0,n=0;if(e>this.source.length)return null;for(;;){let a=this.source.indexOf(`
18
+ `,n);if(e<=a||a===-1)return{line:r+1,column:e-n};r+=1,n=a+1}}charPosFor(e){let{line:r,column:n}=e,a=this.source.length,s=0,u=0;for(;u<a;){let i=this.source.indexOf(`
19
+ `,u);if(i===-1&&(i=this.source.length),s===r-1)return u+n>i?i:u+n;if(i===-1)return 0;s+=1,u=i+1}return a}};function E(t,e){let{module:r,loc:n}=e,{line:a,column:s}=n.start,u=e.asString(),i=u?`
20
+
21
+ |
22
+ | ${u.split(`
23
+ `).join(`
24
+ | `)}
25
+ |
26
+
27
+ `:"",l=new Error(`${t}: ${i}(error occurred in '${r}' @ line ${a} : column ${s})`);return l.name="SyntaxError",l.location=e,l.code=u,l}var Zr={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"]},Ge=function(){function t(e,r,n,a){let s=Error.call(this,e);this.key=a,this.message=e,this.node=r,this.parent=n,s.stack&&(this.stack=s.stack)}return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}();function pr(t,e,r){return new Ge("Cannot remove a node unless it is part of an array",t,e,r)}function Ia(t,e,r){return new Ge("Cannot replace a node with multiple nodes unless it is part of an array",t,e,r)}function dr(t,e){return new Ge("Replacing and removing in key handlers is not yet supported.",t,null,e)}var 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 Oa(this)}}},Oa=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 Xr(t){return typeof t=="function"?t:t.enter}function tn(t){return typeof t=="function"?void 0:t.exit}function ae(t,e){let r,n,a,{node:s,parent:u,parentKey:i}=e,l=function(h,f){if(h.Program&&(f==="Template"&&!h.Template||f==="Block"&&!h.Block))return h.Program;let m=h[f];return m!==void 0?m:h.All}(t,s.type);if(l!==void 0&&(r=Xr(l),n=tn(l)),r!==void 0&&(a=r(s,e)),a!=null){if(JSON.stringify(s)!==JSON.stringify(a))return Array.isArray(a)?(en(t,a,u,i),a):ae(t,new ne(a,u,i))||a;a=void 0}if(a===void 0){let h=Zr[s.type];for(let f=0;f<h.length;f++)Ra(t,l,e,h[f]);n!==void 0&&(a=n(s,e))}return a}function fr(t,e,r){t[e]=r}function Ra(t,e,r,n){let a,s,{node:u}=r,i=function(l,h){return l[h]}(u,n);if(i){if(e!==void 0){let l=function(h,f){let m=typeof h!="function"?h.keys:void 0;if(m===void 0)return;let A=m[f];return A!==void 0?A:m.All}(e,n);l!==void 0&&(a=Xr(l),s=tn(l))}if(a!==void 0&&a(u,n)!==void 0)throw dr(u,n);if(Array.isArray(i))en(t,i,r,n);else{let l=ae(t,new ne(i,r,n));l!==void 0&&function(h,f,m,A){if(A===null)throw pr(m,h,f);if(Array.isArray(A)){if(A.length!==1)throw A.length===0?pr(m,h,f):Ia(m,h,f);fr(h,f,A[0])}else fr(h,f,A)}(u,n,i,l)}if(s!==void 0&&s(u,n)!==void 0)throw dr(u,n)}}function en(t,e,r,n){for(let a=0;a<e.length;a++){let s=e[a],u=ae(t,new ne(s,r,n));u!==void 0&&(a+=Va(e,a,u)-1)}}function Va(t,e,r){return r===null?(t.splice(e,1),0):Array.isArray(r)?(t.splice(e,1,...r),r.length):(t.splice(e,1,r),1)}function $a(t,e){ae(e,new ne(t))}function wt(t,e){(function(r){switch(r.type){case"Block":case"Template":return r.body;case"ElementNode":return r.children}})(t).push(e)}function rn(t){return t.type==="StringLiteral"||t.type==="BooleanLiteral"||t.type==="NumberLiteral"||t.type==="NullLiteral"||t.type==="UndefinedLiteral"}var De;function Ee(){return De||(De=new _t("","(synthetic)")),De}function mr(t,e){return y.var({name:t,loc:C(e||null)})}function et(t,e){let r=C(e||null);if(typeof t!="string"){if("type"in t)return t;{t.head.indexOf(".");let{head:s,tail:u}=t;return y.path({head:y.head({original:s,loc:r.sliceStartChars({chars:s.length})}),tail:u,loc:C(e||null)})}}let{head:n,tail:a}=function(s,u){let[i,...l]=s.split("."),h=y.head({original:i,loc:C(u||null)});return y.path({head:h,tail:l,loc:C(u||null)})}(t,r);return y.path({head:n,tail:a,loc:r})}function Yt(t,e,r){return y.literal({type:t,value:e,loc:C(r||null)})}function Pt(t=[],e){return y.hash({pairs:t,loc:C(e||null)})}function nn(t){return t.map(e=>typeof e=="string"?y.var({name:e,loc:q.synthetic(e)}):e)}function gr(t=[],e=[],r=!1,n){return y.blockItself({body:t,params:nn(e),chained:r,loc:C(n||null)})}function yr(t=[],e=[],r){return y.template({body:t,blockParams:e,loc:C(r||null)})}function C(...t){if(t.length===1){let e=t[0];return e&&typeof e=="object"?q.forHbsLoc(Ee(),e):q.forHbsLoc(Ee(),Pa)}{let[e,r,n,a,s]=t,u=s?new _t("",s):Ee();return q.forHbsLoc(u,{start:{line:e,column:r},end:{line:n||e,column:a||r}})}}var Ua={mustache:function(t,e=[],r=Pt([]),n=!1,a,s){return y.mustache({path:et(t),params:e,hash:r,trusting:n,strip:s,loc:C(a||null)})},block:function(t,e,r,n,a=null,s,u,i,l){let h,f=null;return h=n.type==="Template"?y.blockItself({params:nn(n.blockParams),body:n.body,loc:n.loc}):n,(a==null?void 0:a.type)==="Template"?(a.blockParams.length,f=y.blockItself({params:[],body:a.body,loc:a.loc})):f=a,y.block({path:et(t),params:e||[],hash:r||Pt([]),defaultBlock:h,elseBlock:f,loc:C(s||null),openStrip:u,inverseStrip:i,closeStrip:l})},comment:function(t,e){return y.comment({value:t,loc:C(e||null)})},mustacheComment:function(t,e){return y.mustacheComment({value:t,loc:C(e||null)})},element:function(t,e={}){let r,n,{attrs:a,blockParams:s,modifiers:u,comments:i,children:l,openTag:h,closeTag:f,loc:m}=e;typeof t=="string"?t.endsWith("/")?(r=et(t.slice(0,-1)),n=!0):r=et(t):"type"in t?(t.type,t.type,r=t):"path"in t?(t.path.type,t.path.type,r=t.path,n=t.selfClosing):(r=et(t.name),n=t.selfClosing);let A=s==null?void 0:s.map(v=>typeof v=="string"?mr(v):v),d=null;return f?d=C(f):f===void 0&&(d=n||Ta(r.original)?null:C(null)),y.element({path:r,selfClosing:n||!1,attributes:a||[],params:A||[],modifiers:u||[],comments:i||[],children:l||[],openTag:C(h||null),closeTag:d,loc:C(m||null)})},elementModifier:function(t,e,r,n){return y.elementModifier({path:et(t),params:e||[],hash:r||Pt([]),loc:C(n||null)})},attr:function(t,e,r){return y.attr({name:t,value:e,loc:C(r||null)})},text:function(t="",e){return y.text({chars:t,loc:C(e||null)})},sexpr:function(t,e=[],r=Pt([]),n){return y.sexpr({path:et(t),params:e,hash:r,loc:C(n||null)})},concat:function(t,e){if(!Vt(t))throw new Error("b.concat requires at least one part");return y.concat({parts:t,loc:C(e||null)})},hash:Pt,pair:function(t,e,r){return y.pair({key:t,value:e,loc:C(r||null)})},literal:Yt,program:function(t,e,r){return e&&e.length?gr(t,e,!1,r):yr(t,[],r)},blockItself:gr,template:yr,loc:C,pos:function(t,e){return y.pos({line:t,column:e})},path:et,fullPath:function(t,e=[],r){return y.path({head:t,tail:e,loc:C(r||null)})},head:function(t,e){return y.head({original:t,loc:C(e||null)})},at:function(t,e){return y.atName({name:t,loc:C(e||null)})},var:mr,this:function(t){return y.this({loc:C(t||null)})},string:ve("StringLiteral"),boolean:ve("BooleanLiteral"),number:ve("NumberLiteral"),undefined:()=>Yt("UndefinedLiteral",void 0),null:()=>Yt("NullLiteral",null)};function ve(t){return function(e,r){return Yt(t,e,r)}}var Wt={close:!1,open:!1},y=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(a=>a.name)},set blockParams(a){this.params=a.map(s=>y.var({name:s,loc:q.synthetic(s)}))},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=Wt}){return function({path:u,params:i,hash:l,trusting:h,strip:f,loc:m}){let A={type:"MustacheStatement",path:u,params:i,hash:l,trusting:h,strip:f,loc:m};return Object.defineProperty(A,"escaped",{enumerable:!1,get(){return!this.trusting},set(d){this.trusting=!d}}),A}({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:u=Wt,inverseStrip:i=Wt,closeStrip:l=Wt}){return{type:"BlockStatement",path:t,params:e,hash:r,program:n,inverse:a,loc:s,openStrip:u,inverseStrip:i,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:u,openTag:i,closeTag:l,loc:h}){let f=e;return{type:"ElementNode",path:t,attributes:r,modifiers:n,params:a,comments:s,children:u,openTag:i,closeTag:l,loc:h,get tag(){return this.path.original},set tag(m){this.path.original=m},get blockParams(){return this.params.map(m=>m.name)},set blockParams(m){this.params=m.map(A=>y.var({name:A,loc:q.synthetic(A)}))},get selfClosing(){return f},set selfClosing(m){f=m,this.closeTag=m?null:q.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:n,tail:a,loc:s}){let u={type:"PathExpression",head:n,tail:a,get original(){return[this.head.original,...this.tail].join(".")},set original(i){let[l,...h]=i.split(".");this.head=Ua.head(l,this.head.loc),this.tail=h},loc:s};return Object.defineProperty(u,"parts",{enumerable:!1,get(){let i=this.original.split(".");return i[0]==="this"?i.shift():i[0].startsWith("@")&&(i[0]=i[0].slice(1)),Object.freeze(i)},set(i){var h;let l=[...i];l[0]==="this"||(h=l[0])!=null&&h.startsWith("@")||(this.head.type==="ThisHead"?l.unshift("this"):this.head.type==="AtHead"&&(l[0]=`@${l[0]}`)),this.original=l.join(".")}}),Object.defineProperty(u,"this",{enumerable:!1,get(){return this.head.type==="ThisHead"}}),Object.defineProperty(u,"data",{enumerable:!1,get(){return this.head.type==="AtHead"}}),u}({head:t,tail:e,loc:r})}head({original:t,loc:e}){return t==="this"?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(a){a[0],a.indexOf("."),r=a},get original(){return this.name},set original(a){this.name=a},loc:e};return n.name=t,n}var({name:t,loc:e}){let r="",n={type:"VarHead",get name(){return r},set name(a){a[0],a.indexOf("."),r=a},get original(){return this.name},set original(a){this.name=a},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:n,value:a,loc:s}){let u={type:n,value:a,loc:s};return Object.defineProperty(u,"original",{enumerable:!1,get(){return this.value},set(i){this.value=i}}),u}({type:t,value:e,loc:r})}},Ha=class{constructor(t,e=new Jr(Aa),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 ka(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 Gr({},t,{loc:t.start.until(this.offset())})}get currentAttr(){return this.currentAttribute}get currentTag(){let t=this.currentNode;return t&&(t.type==="StartTag"||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 ze(this.elementStack)}sourceForNode(t,e){let r,n,a,s=t.loc.start.line-1,u=s-1,i=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);u<n;)u++,r=this.lines[u],u===s?s===n?l.push(r.slice(i,a)):l.push(r.slice(i)):u===n?l.push(r.slice(0,a)):l.push(r);return l.join(`
28
+ `)}},za=class extends Ha{parse(t,e){var a;t.loc;let r=y.template({body:[],blockParams:e,loc:this.source.spanFor(t.loc)}),n=this.parseProgram(r,t);return(a=this.pendingError)==null||a.eof(n.loc.getEnd()),n}Program(t,e){t.loc;let r=y.blockItself({body:[],params:e,chained:t.chained,loc:this.source.spanFor(t.loc)});return this.parseProgram(r,t)}parseProgram(t,e){if(e.body.length===0)return t;let r;try{this.elementStack.push(t);for(let n of e.body)this.acceptNode(n)}finally{r=this.elementStack.pop()}if(t!==r){if((r==null?void 0:r.type)==="ElementNode")throw E(`Unclosed element \`${r.tag}\``,r.loc);t.type}return t}BlockStatement(t){var f;if(this.tokenizer.state==="comment")return t.loc,void this.appendToCommentData(this.sourceForNode(t));if(this.tokenizer.state!=="data"&&this.tokenizer.state!=="beforeData")throw E("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}=Ce(this,t),a=this.source.spanFor(t.loc),s,u=[];if((f=t.program.blockParams)!=null&&f.length){let m=n.loc.collapse("end");m=t.program.loc?m.withEnd(this.source.spanFor(t.program.loc).getStart()):t.program.body[0]?m.withEnd(this.source.spanFor(t.program.body[0].loc).getStart()):m.withEnd(a.getEnd()),s=br(this.source,t,m);let A=m.asString(),d=A.indexOf("|")+1,v=A.indexOf("|",d);for(let w of t.program.blockParams){let S,B;S=d>=v?-1:A.indexOf(w,d),S===-1||S+w.length>v?(d=v,B=this.source.spanFor(Te)):(d=S,B=m.sliceStartChars({skipStart:d,chars:w.length}),d+=w.length),u.push(y.var({name:w,loc:B}))}}else s=br(this.source,t,a);let i=this.Program(s.program,u),l=s.inverse?this.Program(s.inverse,[]):null,h=y.block({path:e,params:r,hash:n,defaultBlock:i,elseBlock:l,loc:this.source.spanFor(t.loc),openStrip:t.openStrip,inverseStrip:t.inverseStrip,closeStrip:t.closeStrip});wt(this.currentElement(),h)}MustacheStatement(t){var u;(u=this.pendingError)==null||u.mustache(this.source.spanFor(t.loc));let{tokenizer:e}=this;if(e.state==="comment")return void this.appendToCommentData(this.sourceForNode(t));let r,{escaped:n,loc:a,strip:s}=t;if("original"in t.path&&t.path.original==="...attributes")throw E("Illegal use of ...attributes",this.source.spanFor(t.loc));if(rn(t.path))r=y.mustache({path:this.acceptNode(t.path),params:[],hash:y.hash({pairs:[],loc:this.source.spanFor(t.path.loc).collapse("end")}),trusting:!n,loc:this.source.spanFor(a),strip:s});else{let{path:i,params:l,hash:h}=Ce(this,t);r=y.mustache({path:i,params:l,hash:h,trusting:!n,loc:this.source.spanFor(a),strip:s})}switch(e.state){case"tagOpen":case"tagName":throw E("Cannot use mustaches in an elements tagname",r.loc);case"beforeAttributeName":Se(this.currentStartTag,r);break;case"attributeName":case"afterAttributeName":this.beginAttributeValue(!1),this.finishAttributeValue(),Se(this.currentStartTag,r),e.transitionTo("beforeAttributeName");break;case"afterAttributeValueQuoted":Se(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:wt(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;t!==null&&(this.currentAttr.parts.push(t),this.startTextPart())}startTextPart(){this.currentAttr.currentPart=null}ContentStatement(t){(function(e,r){let n=r.loc.start.line,a=r.loc.start.column,s=function(u,i){if(i==="")return{lines:u.split(`
29
+ `).length-1,columns:0};let[l]=u.split(i),h=l.split(/\n/u),f=h.length-1;return{lines:f,columns:h[f].length}}(r.original,r.value);n+=s.lines,s.lines?a=s.columns:a+=s.columns,e.line=n,e.column=a})(this.tokenizer,t),this.tokenizer.tokenizePart(t.value),this.tokenizer.flushData()}CommentStatement(t){let{tokenizer:e}=this;if(e.state==="comment")return this.appendToCommentData(this.sourceForNode(t)),null;let{value:r,loc:n}=t,a=y.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":wt(this.currentElement(),a);break;default:throw E(`Using a Handlebars comment when in the \`${e.state}\` state is not supported`,this.source.spanFor(t.loc))}return a}PartialStatement(t){throw E("Handlebars partials are not supported",this.source.spanFor(t.loc))}PartialBlockStatement(t){throw E("Handlebars partial blocks are not supported",this.source.spanFor(t.loc))}Decorator(t){throw E("Handlebars decorators are not supported",this.source.spanFor(t.loc))}DecoratorBlock(t){throw E("Handlebars decorator blocks are not supported",this.source.spanFor(t.loc))}SubExpression(t){let{path:e,params:r,hash:n}=Ce(this,t);return y.sexpr({path:e,params:r,hash:n,loc:this.source.spanFor(t.loc)})}PathExpression(t){let{original:e}=t,r;if(e.indexOf("/")!==-1){if(e.slice(0,2)==="./")throw E('Using "./" is not supported in Glimmer and unnecessary',this.source.spanFor(t.loc));if(e.slice(0,3)==="../")throw E('Changing context using "../" is not supported in Glimmer',this.source.spanFor(t.loc));if(e.indexOf(".")!==-1)throw E("Mixing '.' and '/' in paths is not supported in Glimmer; use only '.' to separate property paths",this.source.spanFor(t.loc));r=[t.parts.join("/")]}else{if(e===".")throw E("'.' is not a supported path in Glimmer; check for a path with a trailing '.'",this.source.spanFor(t.loc));r=t.parts}let n,a=!1;if(/^this(?:\..+)?$/u.test(e)&&(a=!0),a)n=y.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 s=r.shift();if(s===void 0)throw E("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=y.atName({name:`@${s}`,loc:this.source.spanFor({start:t.loc.start,end:{line:t.loc.start.line,column:t.loc.start.column+s.length+1}})})}else{let s=r.shift();if(s===void 0)throw E("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=y.var({name:s,loc:this.source.spanFor({start:t.loc.start,end:{line:t.loc.start.line,column:t.loc.start.column+s.length}})})}return y.path({head:n,tail:r,loc:this.source.spanFor(t.loc)})}Hash(t){let e=t.pairs.map(r=>y.pair({key:r.key,value:this.acceptNode(r.value),loc:this.source.spanFor(r.loc)}));return y.hash({pairs:e,loc:this.source.spanFor(t.loc)})}StringLiteral(t){return y.literal({type:"StringLiteral",value:t.value,loc:this.source.spanFor(t.loc)})}BooleanLiteral(t){return y.literal({type:"BooleanLiteral",value:t.value,loc:this.source.spanFor(t.loc)})}NumberLiteral(t){return y.literal({type:"NumberLiteral",value:t.value,loc:this.source.spanFor(t.loc)})}UndefinedLiteral(t){return y.literal({type:"UndefinedLiteral",value:void 0,loc:this.source.spanFor(t.loc)})}NullLiteral(t){return y.literal({type:"NullLiteral",value:null,loc:this.source.spanFor(t.loc)})}constructor(...t){super(...t),this.pendingError=null}};function Ce(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 s;throw s=e.path.type==="BooleanLiteral"?e.path.original.toString():e.path.type==="StringLiteral"?`"${e.path.original}"`:e.path.type==="NullLiteral"?"null":e.path.type==="NumberLiteral"?e.path.value.toString():"undefined",E(`${e.path.type} "${e.path.type==="StringLiteral"?e.path.original:s}" cannot be called as a sub-expression, replace (${s}) with ${s}`,t.source.spanFor(e.path.loc))}}let n=e.params.map(s=>t.acceptNode(s)),a=Vt(n)?ze(n).loc:r.loc;return{path:r,params:n,hash:e.hash?t.Hash(e.hash):y.hash({pairs:[],loc:t.source.spanFor(a).collapse("end")})}}function Se(t,e){let{path:r,params:n,hash:a,loc:s}=e;if(rn(r)){let i=`{{${function(l){return l.type==="UndefinedLiteral"?"undefined":JSON.stringify(l.value)}(r)}}}`;throw E(`In <${t.name} ... ${i} ..., ${i} is not a valid modifier`,e.loc)}let u=y.elementModifier({path:r,params:n,hash:a,loc:s});t.modifiers.push(u)}function br(t,e,r){if(!e.program.loc){let a=nt(0,e.program.body,0),s=nt(0,e.program.body,-1);if(a&&s)e.program.loc={...a.loc,end:s.loc.end};else{let u=t.spanFor(e.loc);e.program.loc=r.withEnd(u.getEnd())}}let n=t.spanFor(e.program.loc).getEnd();return e.inverse&&!e.inverse.loc&&(e.inverse.loc=n.collapsed()),e}function Et(t){return/[\t\n\f ]/u.test(t)}var Ma=class extends za{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(){wt(this.currentElement(),y.comment(this.finish(this.currentComment)))}beginData(){this.currentNode={type:"TextNode",chars:"",start:this.offset()}}appendToData(t){this.currentData.chars+=t}finishData(){wt(this.currentElement(),y.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(t.type==="StartTag"){if(this.finishStartTag(),t.name===":")throw E("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()}));(te.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("."),u=y.path({head:y.head({original:a,loc:n.sliceStartChars({chars:a.length})}),tail:s,loc:n}),{attributes:i,modifiers:l,comments:h,params:f,selfClosing:m,loc:A}=this.finish(this.currentStartTag),d=y.element({path:u,selfClosing:m,attributes:i,modifiers:l,comments:h,params:f,children:[],openTag:A,closeTag:m?null:q.broken(),loc:A});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()),wt(a,y.element(n))}markTagAsSelfClosing(){let t=this.currentTag;if(t.type!=="StartTag")throw E("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,e.type==="StartTag"){let r=this.offset();e.nameStart===null&&(e.nameEnd,e.nameStart=r.move(-1)),e.nameEnd=r}}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,this.currentAttr.name==="as"&&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 a=this.offset();a=t===`
30
+ `?r?r.loc.getEnd():this.currentAttr.valueSpan.getStart():a.move(-1),this.currentAttr.currentPart=y.text({chars:t,loc:a.collapsed()})}}finishAttributeValue(){this.finalizeTextPart();let t=this.currentTag,e=this.offset();if(t.type==="EndTag")throw E("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:u,valueSpan:i}=this.currentAttr;if(r.startsWith("|")&&n.length===0&&!s&&!u)throw E("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,u,a.until(e));l.loc=i.withEnd(e);let h=y.attr({name:r,value:l,loc:a.until(e)});this.currentStartTag.attributes.push(h)}parsePossibleBlockParams(){let t=/[!"#%&'()*+./;<=>@[\\\]^`{|}~]/u;this.tokenizer.state;let e=this.currentStartTag,r=this.currentAttr,n={state:"PossibleAs"},a={PossibleAs:u=>{if(n.state,Et(u))n={state:"BeforeStartPipe"},this.tokenizer.transitionTo("afterAttributeName"),this.tokenizer.consume();else{if(u==="|")throw E('Invalid block parameters syntax: expecting at least one space character between "as" and "|"',r.start.until(this.offset().move(1)));n={state:"Done"}}},BeforeStartPipe:u=>{n.state,Et(u)?this.tokenizer.consume():u==="|"?(n={state:"BeforeBlockParamName"},this.tokenizer.transitionTo("beforeAttributeName"),this.tokenizer.consume()):n={state:"Done"}},BeforeBlockParamName:u=>{if(n.state,Et(u))this.tokenizer.consume();else if(u==="")n={state:"Done"},this.pendingError={mustache(i){throw E("Invalid block parameters syntax: mustaches cannot be used inside parameters list",i)},eof(i){throw E('Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list',r.start.until(i))}};else if(u==="|"){if(e.params.length===0)throw E("Invalid block parameters syntax: empty parameters list, expecting at least one identifier",r.start.until(this.offset().move(1)));n={state:"AfterEndPipe"},this.tokenizer.consume()}else{if(u===">"||u==="/")throw E('Invalid block parameters syntax: incomplete parameters list, expecting "|" but the tag was closed prematurely',r.start.until(this.offset().move(1)));n={state:"BlockParamName",name:u,start:this.offset()},this.tokenizer.consume()}},BlockParamName:u=>{if(n.state,u==="")n={state:"Done"},this.pendingError={mustache(i){throw E("Invalid block parameters syntax: mustaches cannot be used inside parameters list",i)},eof(i){throw E('Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list',r.start.until(i))}};else if(u==="|"||Et(u)){let i=n.start.until(this.offset());if(n.name==="this"||t.test(n.name))throw E(`Invalid block parameters syntax: invalid identifier name \`${n.name}\``,i);e.params.push(y.var({name:n.name,loc:i})),n=u==="|"?{state:"AfterEndPipe"}:{state:"BeforeBlockParamName"},this.tokenizer.consume()}else{if(u===">"||u==="/")throw E('Invalid block parameters syntax: expecting "|" but the tag was closed prematurely',r.start.until(this.offset().move(1)));n.name+=u,this.tokenizer.consume()}},AfterEndPipe:u=>{n.state,Et(u)?this.tokenizer.consume():u===""?(n={state:"Done"},this.pendingError={mustache(i){throw E("Invalid block parameters syntax: modifiers cannot follow parameters list",i)},eof(i){throw E('Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list',r.start.until(i))}}):u===">"||u==="/"?n={state:"Done"}:(n={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:u=>{if(n.state,u===""||u==="/"||u===">"||Et(u))throw E(n.message,n.start.until(this.offset()));this.tokenizer.consume()},Done:()=>{}},s;do s=this.tokenizer.peek(),a[n.state](s);while(n.state!=="Done"&&s!=="");n.state}reportSyntaxError(t){throw E(t,this.offset().collapsed())}assembleConcatenatedValue(t){let e=Na(t),r=ze(t);return y.concat({parts:t,loc:this.source.spanFor(e.loc).extend(this.source.spanFor(r.loc))})}validateEndTag(t,e,r){if(te.has(t.name)&&!r)throw E(`<${t.name}> elements do not need end tags. You should remove it`,t.loc);if(e.type!=="ElementNode")throw E(`Closing tag </${t.name}> without an open tag`,t.loc);if(e.tag!==t.name)throw E(`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[a,s]=t;if(s===void 0||s.type==="TextNode"&&s.chars==="/")return a;throw E("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 Vt(t)?t[0]:y.text({chars:"",loc:n})}constructor(...t){super(...t),this.tagOpenLine=0,this.tagOpenColumn=0}},ja={},Ga=class extends Jr{constructor(){super({})}parse(){}};function Wa(t,e={}){var l,h,f;let r,n,a,s=e.mode||"precompile";typeof t=="string"?(r=new _t(t,(l=e.meta)==null?void 0:l.moduleName),n=s==="codemod"?xe(t,e.parseOptions):lr(t,e.parseOptions)):t instanceof _t?(r=t,n=s==="codemod"?xe(t.source,e.parseOptions):lr(t.source,e.parseOptions)):(r=new _t("",(h=e.meta)==null?void 0:h.moduleName),n=t),s==="codemod"&&(a=new Ga);let u=q.forCharPositions(r,0,r.source.length);n.loc={source:"(program)",start:u.startPosition,end:u.endPosition};let i=new Ma(r,a,s).parse(n,e.locals??[]);if((f=e.plugins)!=null&&f.ast)for(let m of e.plugins.ast)$a(i,m(Gr({},e,{syntax:ja},{plugins:void 0})).visitor);return i}var Ka=ra(Zr),Ja=Ka,Ot=t=>t.loc.start.offset,Le=t=>t.loc.end.offset,Qa=new Set(xa());function an(t){return t.toUpperCase()===t}function Ya(t){return t.type==="ElementNode"&&typeof t.tag=="string"&&!t.tag.startsWith(":")&&(an(t.tag[0])||t.tag.includes("."))}function Za(t){return Qa.has(t.toLowerCase())&&!an(t[0])}function sn(t){return t.selfClosing===!0||Za(t.tag)||Ya(t)&&t.children.every(e=>We(e))}function We(t){return t.type==="TextNode"&&!/\S/u.test(t.chars)}function Ar(t){return(t==null?void 0:t.type)==="MustacheCommentStatement"&&typeof t.value=="string"&&t.value.trim()==="prettier-ignore"}function Xa(t){return Ar(t.node)||t.isInArray&&(t.key==="children"||t.key==="body"||t.key==="parts")&&Ar(t.siblings[t.index-2])}var un=2;function ts(t,e,r){var a,s,u,i,l,h,f,m,A;let{node:n}=t;switch(n.type){case"Block":case"Program":case"Template":return O(t.map(r,"body"));case"ElementNode":{let d=e.htmlWhitespaceSensitivity!=="ignore",v=[!d&&((a=t.previous)==null?void 0:a.type)==="ElementNode"?j:"",O([rs(t,r)])];if(sn(n))return[v];let w=["</",n.tag,">"],S=n.tag==="style";if(n.children.length===0||(!d||S)&&n.children.every(x=>We(x)))return[v,w];let B=t.map(r,"children");return S||!d?[v,G([j,...B]),j,w]:[v,G(O(B)),w]}case"BlockStatement":return cn(t)?[ls(t,r),vr(t,e,r),Cr(t,e,r)]:[us(t,r),O([vr(t,e,r),Cr(t,e,r),cs(t,e,r)])];case"ElementModifierStatement":return O(["{{",wr(t,r),"}}"]);case"MustacheStatement":return O([se(n),wr(t,r),ue(n)]);case"SubExpression":return O(["(",gs(t,r),j,")"]);case"AttrNode":{let{name:d,value:v}=n,w=v.type==="TextNode";if(w&&v.chars===""&&Ot(v)===Le(v))return d;let S=w?we(v.chars,e.singleQuote):v.type==="ConcatStatement"?we(v.parts.map(x=>x.type==="TextNode"?x.chars:"").join(""),e.singleQuote):"",B=r("value");return[d,"=",S,d==="class"&&S?O(G(B)):B,S]}case"ConcatStatement":return t.map(r,"parts");case"Hash":return Rt(N,t.map(r,"pairs"));case"HashPair":return[n.key,"=",r("value")];case"TextNode":{let d=n.chars,{parent:v}=t;if(v.type==="ElementNode"){if(v.tag==="pre")return be(d);if(v.tag==="style")return d=Zt(0,d,/^\n+/gu,""),d=M.trimEnd(d),d=M.dedentString(d),be(d,Tt)}d=Zt(0,d,"{{","\\{{");let w=hs(t);if(w){if(w==="class"){let tt=d.trim().split(/\s+/u).join(" "),lt=!1,Y=!1;return t.parent.type==="ConcatStatement"&&(((s=t.previous)==null?void 0:s.type)==="MustacheStatement"&&/^\s/u.test(d)&&(lt=!0),((u=t.next)==null?void 0:u.type)==="MustacheStatement"&&/\s$/u.test(d)&&tt!==""&&(Y=!0)),[lt?N:"",tt,Y?N:""]}return be(d)}let S=M.isWhitespaceOnly(d),{isFirst:B,isLast:x}=t;if(e.htmlWhitespaceSensitivity!=="ignore"){let tt=x&&t.parent.type==="Template",lt=B&&t.parent.type==="Template";if(S){if(lt||tt)return"";let _=[N],z=Ct(d);return z&&(_=Ft(z)),x&&(_=_.map($t=>nr($t))),_}let Y=M.getLeadingWhitespace(d),mt=[];if(Y){mt=[N];let _=Ct(Y);_&&(mt=Ft(_)),d=d.slice(Y.length)}let gt=M.getTrailingWhitespace(d),Z=[];if(gt){if(!tt){Z=[N];let _=Ct(gt);_&&(Z=Ft(_)),x&&(Z=Z.map(z=>nr(z)))}d=d.slice(0,-gt.length)}return[...mt,ar(Sr(d)),...Z]}let P=Ct(d),R=ps(d),V=ds(d);if((B||x)&&S&&(t.parent.type==="Block"||t.parent.type==="ElementNode"||t.parent.type==="Template"))return"";S&&P?(R=Math.min(P,un),V=0):((((i=t.next)==null?void 0:i.type)==="BlockStatement"||((l=t.next)==null?void 0:l.type)==="ElementNode")&&(V=Math.max(V,1)),(((h=t.previous)==null?void 0:h.type)==="BlockStatement"||((f=t.previous)==null?void 0:f.type)==="ElementNode")&&(R=Math.max(R,1)));let ot="",H="";return V===0&&((m=t.next)==null?void 0:m.type)==="MustacheStatement"&&(H=" "),R===0&&((A=t.previous)==null?void 0:A.type)==="MustacheStatement"&&(ot=" "),B&&(R=0,ot=""),x&&(V=0,H=""),M.hasLeadingWhitespace(d)&&(d=ot+M.trimStart(d)),M.hasTrailingWhitespace(d)&&(d=M.trimEnd(d)+H),[...Ft(R),ar(Sr(d)),...Ft(V)]}case"MustacheCommentStatement":{let d=Ot(n),v=Le(n),w=e.originalText.charAt(d+2)==="~",S=e.originalText.charAt(v-3)==="~",B=n.value.includes("}}")?"--":"";return["{{",w?"~":"","!",B,n.value,B,S?"~":"","}}"]}case"PathExpression":return Ds(n);case"BooleanLiteral":return String(n.value);case"CommentStatement":return["<!--",n.value,"-->"];case"StringLiteral":return fs(t,e);case"NumberLiteral":return String(n.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";case"FrontMatter":case"AtHead":case"VarHead":case"ThisHead":default:throw new Jn(n,"Handlebars")}}function es(t,e){return Ot(t)-Ot(e)}function rs(t,e){let{node:r}=t,n=["attributes","modifiers","comments"].filter(s=>Xt(r[s])),a=n.flatMap(s=>r[s]).sort(es);for(let s of n)t.each(({node:u})=>{let i=a.indexOf(u);a.splice(i,1,[N,e()])},s);return Xt(r.blockParams)&&a.push(N,Je(r)),["<",r.tag,G(a),ns(r)]}function ns(t){return sn(t)?sr([j,"/>"],[" />",j]):sr([j,">"],">")}function se(t){var n;let e=t.trusting?"{{{":"{{",r=(n=t.strip)!=null&&n.open?"~":"";return[e,r]}function ue(t){var r;let e=t.trusting?"}}}":"}}";return[(r=t.strip)!=null&&r.close?"~":"",e]}function as(t){let e=se(t),r=t.openStrip.open?"~":"";return[e,r,"#"]}function ss(t){let e=ue(t);return[t.openStrip.close?"~":"",e]}function Dr(t){let e=se(t),r=t.closeStrip.open?"~":"";return[e,r,"/"]}function Er(t){let e=ue(t);return[t.closeStrip.close?"~":"",e]}function on(t){let e=se(t),r=t.inverseStrip.open?"~":"";return[e,r]}function ln(t){let e=ue(t);return[t.inverseStrip.close?"~":"",e]}function us(t,e){let{node:r}=t,n=[],a=ie(t,e);return a&&n.push(O(a)),Xt(r.program.blockParams)&&n.push(Je(r.program)),O([as(r),Ke(t,e),n.length>0?G([N,Rt(N,n)]):"",j,ss(r)])}function is(t,e){return[e.htmlWhitespaceSensitivity==="ignore"?Tt:"",on(t),"else",ln(t)]}var os=({path:t},{path:e})=>[t,e].every(r=>r.type==="PathExpression"&&r.head.type==="VarHead")&&t.head.name===e.head.name;function cn(t){if(!t.match(r=>r.type==="BlockStatement",(r,n)=>n==="body"&&r.type==="Block"&&r.body.length===1,(r,n)=>n==="inverse"&&r.type==="BlockStatement"))return!1;let{node:e}=t;return e.path.type==="PathExpression"&&e.path.head.type==="VarHead"&&e.path.head.name==="if"||os(e,t.grandparent)}function ls(t,e){let{node:r,grandparent:n}=t;return O([on(n),["else"," ",n.inverse.body[0].path.head.name],G([N,O(ie(t,e)),...Xt(r.program.blockParams)?[N,Je(r.program)]:[]]),j,ln(n)])}function cs(t,e,r){let{node:n}=t;return e.htmlWhitespaceSensitivity==="ignore"?[hn(n)?j:Tt,Dr(n),r("path"),Er(n)]:[Dr(n),r("path"),Er(n)]}function hn(t){return t.type==="BlockStatement"&&t.program.body.every(e=>We(e))}function vr(t,e,r){let{node:n}=t;if(hn(n))return"";let a=r("program");return e.htmlWhitespaceSensitivity==="ignore"?G([Tt,a]):G(a)}function Cr(t,e,r){let{node:n}=t;if(!n.inverse)return"";let a=r("inverse"),s=e.htmlWhitespaceSensitivity==="ignore"?[Tt,a]:a;return t.call(cn,"inverse","body",0)?s:[is(n,e),G(s)]}function Sr(t){return Rt(N,M.split(t))}function hs(t){for(let e=0;e<2;e++){let r=t.getParentNode(e);if((r==null?void 0:r.type)==="AttrNode")return r.name.toLowerCase()}}function Ct(t){return t=typeof t=="string"?t:"",t.split(`
31
+ `).length-1}function ps(t){t=typeof t=="string"?t:"";let e=(t.match(/^([^\S\n\r]*[\n\r])+/gu)||[])[0]||"";return Ct(e)}function ds(t){t=typeof t=="string"?t:"";let e=(t.match(/([\n\r][^\S\n\r]*)+$/gu)||[])[0]||"";return Ct(e)}function Ft(t=0){return Array.from({length:Math.min(t,un)}).fill(Tt)}function fs(t,e){let{node:{value:r}}=t,n=we(r,ms(t)?!e.singleQuote:e.singleQuote);return[n,Zt(0,r,n,`\\${n}`),n]}function ms(t){let{ancestors:e}=t,r=e.findIndex(n=>n.type!=="SubExpression");return r!==-1&&e[r+1].type==="ConcatStatement"&&e[r+2].type==="AttrNode"}function gs(t,e){let r=Ke(t,e),n=ie(t,e);return n?G([r,N,O(n)]):r}function wr(t,e){let r=Ke(t,e),n=ie(t,e);return n?[G([r,N,n]),j]:r}function Ke(t,e){return e("path")}function ie(t,e){var a;let{node:r}=t,n=[];return r.params.length>0&&n.push(...t.map(e,"params")),((a=r.hash)==null?void 0:a.pairs.length)>0&&n.push(e("hash")),n.length===0?"":Rt(N,n)}function Je(t){return["as |",t.blockParams.join(" "),"|"]}var ys=new Set("!\"#%&'()*+,./;<=>@[\\]^`{|}~"),bs=new Set(["true","false","null","undefined"]),As=(t,e)=>e===0&&t.startsWith("@")?!1:e!==0&&bs.has(t)||/\s/u.test(t)||/^\d/u.test(t)||Array.prototype.some.call(t,r=>ys.has(r));function Ds(t){return t.tail.length===0&&t.original.includes("/")?t.original:[t.head.original,...t.tail].map((e,r)=>As(e,r)?`[${e}]`:e).join(".")}var Es={features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},print:ts,massageAstNode:Qn,hasPrettierIgnore:Xa,getVisitorKeys:Ja,embed:Zn},vs=Es,pn=[{name:"Handlebars",type:"markup",aceMode:"handlebars",extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aliases:["hbs","htmlbars"],parsers:["glimmer"],vscodeLanguageIds:["handlebars"],linguistLanguageId:155}],Qe={};qe(Qe,{glimmer:()=>Is});function Cs(t,e){let r=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(r,e)}var Ss=Cs,ws=Symbol.for("PRETTIER_IS_FRONT_MATTER"),Lt=3;function Bs(t){let e=t.slice(0,Lt);if(e!=="---"&&e!=="+++")return;let r=t.indexOf(`
32
+ `,Lt);if(r===-1)return;let n=t.slice(Lt,r).trim(),a=t.indexOf(`
33
+ ${e}`,r),s=n;if(s||(s=e==="+++"?"toml":"yaml"),a===-1&&e==="---"&&s==="yaml"&&(a=t.indexOf(`
34
+ ...`,r)),a===-1)return;let u=a+1+Lt,i=t.charAt(u+1);if(!/\s?/u.test(i))return;let l=t.slice(0,u),h;return{language:s,explicitLanguage:n||null,value:t.slice(r+1,a),startDelimiter:e,endDelimiter:l.slice(-Lt),raw:l,start:{line:1,column:0,index:0},end:{index:l.length,get line(){return h??(h=l.split(`
35
+ `)),h.length},get column(){return h??(h=l.split(`
36
+ `)),nt(0,h,-1).length}},[ws]:!0}}function ks(t){let e=Bs(t);return e?{frontMatter:e,get content(){let{raw:r}=e;return Zt(0,r,/[^\n]/gu," ")+t.slice(r.length)}}:{content:t}}var xs=ks;function Ts(t){let e=t.children??t.body;if(e)for(let r=0;r<e.length-1;r++)e[r].type==="TextNode"&&e[r+1].type==="MustacheStatement"&&(e[r].chars=e[r].chars.replace(/\\$/u,"\\\\"))}var Ns=t=>{let{start:e,end:r}=t.loc;e.offset=t.loc.getStart().offset,r.offset=t.loc.getEnd().offset},Ps=()=>({name:"glimmerPrettierParsePlugin",visitor:{All(t){Ns(t),Ts(t)}}}),Fs={mode:"codemod",plugins:{ast:[Ps]}};function Ls(t){let{frontMatter:e,content:r}=xs(t),n;try{n=Wa(r,Fs)}catch(a){let s=_s(a);if(s){let u=qs(a);throw Ss(u,{loc:s,cause:a})}throw a}if(e){let a={...e,type:"FrontMatter",loc:{start:{...e.start,offset:e.start.index},end:{...e.end,offset:e.end.index}}};n.body.unshift(a)}return n}function qs(t){let{message:e}=t,r=e.split(`
37
+ `);return r.length>=4&&/^Parse error on line \d+:$/u.test(r[0])&&/^-*\^$/u.test(nt(0,r,-2))?nt(0,r,-1):r.length>=4&&/:\s?$/u.test(r[0])&&/^\(error occurred in '.*?' @ line \d+ : column \d+\)$/u.test(nt(0,r,-1))&&r[1]===""&&nt(0,r,-2)===""&&r.slice(2,-2).every(n=>n.startsWith("|"))?r[0].trim().slice(0,-1):e}function _s(t){let{location:e,hash:r}=t;if(e){let{start:n,end:a}=e;return typeof a.line!="number"?{start:n}:e}if(r){let{loc:{last_line:n,last_column:a}}=r;return{start:{line:n,column:a+1}}}}var Is={parse:Ls,astFormat:"glimmer",locStart:Ot,locEnd:Le},dn={glimmer:vs};exports.default=Tr;exports.languages=pn;exports.parsers=Qe;exports.printers=dn;