UNPKG

@proofgeist/kit

Version:

Create web application with the ProofKit stack

11 lines 141 kB
import"./chunk-FEIY7W7S.js";var Dn=Object.defineProperty,Sr=t=>{throw TypeError(t)},Pe=(t,e)=>{for(var r in e)Dn(t,r,{get:e[r],enumerable:!0})},kr=(t,e,r)=>e.has(t)||Sr("Cannot "+r),at=(t,e,r)=>(kr(t,e,"read from private field"),r?r.call(t):e.get(t)),En=(t,e,r)=>e.has(t)?Sr("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),vn=(t,e,r,n)=>(kr(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),wr={};Pe(wr,{languages:()=>Ba,parsers:()=>Qr,printers:()=>ds});var Cn=(t,e,r,n)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(r,n):r.global?e.replace(r,n):e.split(r).join(n)},Br=Cn,xr="string",Tr="array",Nr="cursor",Fe="indent",Le="align",Pr="trim",_e="group",qe="fill",Ie="if-break",Fr="indent-if-break",Lr="line-suffix",_r="line-suffix-boundary",kt="line",qr="label",Oe="break-parent",Ir=new Set([Nr,Fe,Le,Pr,_e,qe,Ie,Fr,Lr,_r,kt,qr,Oe]);function Sn(t){if(typeof t=="string")return xr;if(Array.isArray(t))return Tr;if(!t)return;let{type:e}=t;if(Ir.has(e))return e}var Or=Sn,kn=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function wn(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}', Expected it to be 'string' or 'object'.`;if(Or(t))throw new Error("doc is valid.");let r=Object.prototype.toString.call(t);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=kn([...Ir].map(a=>`'${a}'`));return`Unexpected doc.type '${t.type}'. Expected it to be ${n}.`}var Bn=class extends Error{name="InvalidDocError";constructor(t){super(wn(t)),this.doc=t}},xn=Bn,$r=()=>{},Ct=$r,$e=$r;function I(t){return Ct(t),{type:Fe,contents:t}}function Tn(t,e){return Ct(e),{type:Le,contents:e,n:t}}function V(t,e={}){return Ct(t),$e(e.expandedStates,!0),{type:_e,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function er(t){return Tn(-1,t)}function rr(t){return $e(t),{type:qe,parts:t}}function nr(t,e="",r={}){return Ct(t),e!==""&&Ct(e),{type:Ie,breakContents:t,flatContents:e,groupId:r.groupId}}var Vr={type:Oe},Nn={type:kt,hard:!0},Pn={type:kt,hard:!0,literal:!0},F={type:kt},W={type:kt,soft:!0},wt=[Nn,Vr],Fn=[Pn,Vr];function Vt(t,e){Ct(t),$e(e);let r=[];for(let n=0;n<e.length;n++)n!==0&&r.push(t),r.push(e[n]);return r}var Ln=(t,e,r)=>{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[r<0?e.length+r:r]:e.at(r)},Pt=Ln;function _n(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 i=a(s);return r.set(s,i),i}function a(s){switch(Or(s)){case Tr:return e(s.map(n));case qe:return e({...s,parts:s.parts.map(n)});case Ie:return e({...s,breakContents:n(s.breakContents),flatContents:n(s.flatContents)});case _e:{let{expandedStates:i,contents:o}=s;return i?(i=i.map(n),o=i[0]):o=n(o),e({...s,contents:o,expandedStates:i})}case Le:case Fe:case Fr:case qr:case Lr:return e({...s,contents:n(s.contents)});case xr:case Nr:case Pr:case _r:case kt:case Oe:return e(s);default:throw new xn(s)}}}function qn(t,e=Fn){return _n(t,r=>typeof r=="string"?Vt(e,r.split(` `)):r)}var zt="'",ar='"';function In(t,e){let r=e===!0||e===zt?zt:ar,n=r===zt?ar:zt,a=0,s=0;for(let i of t)i===r?a++:i===n&&s++;return a>s?n:r}var De=In;function On(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var U,$n=class{constructor(t){En(this,U),vn(this,U,new Set(t))}getLeadingWhitespaceCount(t){let e=at(this,U),r=0;for(let n=0;n<t.length&&e.has(t.charAt(n));n++)r++;return r}getTrailingWhitespaceCount(t){let e=at(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 at(this,U).has(t.charAt(0))}hasTrailingWhitespace(t){return at(this,U).has(Pt(!1,t,-1))}trimStart(t){let e=this.getLeadingWhitespaceCount(t);return t.slice(e)}trimEnd(t){let e=this.getTrailingWhitespaceCount(t);return t.slice(0,t.length-e)}trim(t){return this.trimEnd(this.trimStart(t))}split(t,e=!1){let r=`[${On([...at(this,U)].join(""))}]+`,n=new RegExp(e?`(${r})`:r);return t.split(n)}hasWhitespaceCharacter(t){let e=at(this,U);return Array.prototype.some.call(t,r=>e.has(r))}hasNonWhitespaceCharacter(t){let e=at(this,U);return Array.prototype.some.call(t,r=>!e.has(r))}isWhitespaceOnly(t){let e=at(this,U);return Array.prototype.every.call(t,r=>e.has(r))}};U=new WeakMap;var Vn=$n,Hn=[" ",` `,"\f","\r"," "],Rn=new Vn(Hn),X=Rn;function Un(t){return Array.isArray(t)&&t.length>0}var Xt=Un,Mn=class extends Error{name="UnexpectedNodeError";constructor(t,e,r="type"){super(`Unexpected ${e} node ${r}: ${JSON.stringify(t[r])}.`),this.node=t}},zn=Mn;function Hr(t,e){if(t.type==="TextNode"){let r=t.chars.trim();if(!r)return null;e.chars=X.split(r).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)}Hr.ignoredProperties=new Set(["loc","selfClosing"]);var jn=Hr,Tt=null;function Ft(t){if(Tt!==null&&typeof Tt.property){let e=Tt;return Tt=Ft.prototype=null,e}return Tt=Ft.prototype=t??Object.create(null),new Ft}var Gn=10;for(let t=0;t<=Gn;t++)Ft();function Wn(t){return Ft(t)}function Kn(t,e="type"){Wn(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 Qn=Kn,Jn={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"]},Yn=Qn(Jn),Xn=Yn;function qt(t){return t.loc.start.offset}function Ee(t){return t.loc.end.offset}var Zn=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]);function Rr(t){return t.toUpperCase()===t}function ta(t){return t.type==="ElementNode"&&typeof t.tag=="string"&&!t.tag.startsWith(":")&&(Rr(t.tag[0])||t.tag.includes("."))}function ea(t){return Zn.has(t.toLowerCase())&&!Rr(t[0])}function Ur(t){return t.selfClosing===!0||ea(t.tag)||ta(t)&&t.children.every(e=>Ve(e))}function Ve(t){return t.type==="TextNode"&&!/\S/.test(t.chars)}function ir(t){return t?.type==="MustacheCommentStatement"&&typeof t.value=="string"&&t.value.trim()==="prettier-ignore"}function ra(t){return ir(t.node)||t.isInArray&&(t.key==="children"||t.key==="body"||t.key==="parts")&&ir(t.siblings[t.index-2])}var Mr=2;function na(t,e,r){var n,a,s,i,o,l,h,p,g;let{node:A}=t;switch(A.type){case"Block":case"Program":case"Template":return V(t.map(r,"body"));case"ElementNode":{let y=V(ia(t,r)),C=e.htmlWhitespaceSensitivity==="ignore"&&((n=t.next)==null?void 0:n.type)==="ElementNode"?W:"";if(Ur(A))return[y,C];let B=["</",A.tag,">"];return A.children.length===0?[y,I(B),C]:e.htmlWhitespaceSensitivity==="ignore"?[y,I(sr(t,e,r)),wt,I(B),C]:[y,I(V(sr(t,e,r))),I(B),C]}case"BlockStatement":return ha(t)?[pa(t,r),lr(t,r,e),cr(t,r,e)]:[la(t,r),V([lr(t,r,e),cr(t,r,e),da(t,r,e)])];case"ElementModifierStatement":return V(["{{",pr(t,r),"}}"]);case"MustacheStatement":return V([Zt(A),pr(t,r),te(A)]);case"SubExpression":return V(["(",Da(t,r),W,")"]);case"AttrNode":{let{name:y,value:C}=A,B=C.type==="TextNode";if(B&&C.chars===""&&qt(C)===Ee(C))return y;let x=B?De(C.chars,e.singleQuote):C.type==="ConcatStatement"?De(C.parts.map(Z=>Z.type==="TextNode"?Z.chars:"").join(""),e.singleQuote):"",k=r("value");return[y,"=",x,y==="class"&&x?V(I(k)):k,x]}case"ConcatStatement":return t.map(r,"parts");case"Hash":return Vt(F,t.map(r,"pairs"));case"HashPair":return[A.key,"=",r("value")];case"TextNode":{let y=Br(!1,A.chars,"{{",String.raw`\{{`),C=fa(t);if(C){if(C==="class"){let J=y.trim().split(/\s+/).join(" "),tt=!1,O=!1;return t.parent.type==="ConcatStatement"&&(((a=t.previous)==null?void 0:a.type)==="MustacheStatement"&&/^\s/.test(y)&&(tt=!0),((s=t.next)==null?void 0:s.type)==="MustacheStatement"&&/\s$/.test(y)&&J!==""&&(O=!0)),[tt?F:"",J,O?F:""]}return qn(y)}let B=X.isWhitespaceOnly(y),{isFirst:x,isLast:k}=t;if(e.htmlWhitespaceSensitivity!=="ignore"){let J=k&&t.parent.type==="Template",tt=x&&t.parent.type==="Template";if(B){if(tt||J)return"";let N=[F],rt=Dt(y);return rt&&(N=Nt(rt)),k&&(N=N.map(Rt=>er(Rt))),N}let O=X.getLeadingWhitespace(y),gt=[];if(O){gt=[F];let N=Dt(O);N&&(gt=Nt(N)),y=y.slice(O.length)}let $=X.getTrailingWhitespace(y),et=[];if($){if(!J){et=[F];let N=Dt($);N&&(et=Nt(N)),k&&(et=et.map(rt=>er(rt)))}y=y.slice(0,-$.length)}return[...gt,rr(hr(y)),...et]}let Z=Dt(y),M=ga(y),Q=ba(y);if((x||k)&&B&&(t.parent.type==="Block"||t.parent.type==="ElementNode"||t.parent.type==="Template"))return"";B&&Z?(M=Math.min(Z,Mr),Q=0):((((i=t.next)==null?void 0:i.type)==="BlockStatement"||((o=t.next)==null?void 0:o.type)==="ElementNode")&&(Q=Math.max(Q,1)),(((l=t.previous)==null?void 0:l.type)==="BlockStatement"||((h=t.previous)==null?void 0:h.type)==="ElementNode")&&(M=Math.max(M,1)));let mt="",ft="";return Q===0&&((p=t.next)==null?void 0:p.type)==="MustacheStatement"&&(ft=" "),M===0&&((g=t.previous)==null?void 0:g.type)==="MustacheStatement"&&(mt=" "),x&&(M=0,mt=""),k&&(Q=0,ft=""),X.hasLeadingWhitespace(y)&&(y=mt+X.trimStart(y)),X.hasTrailingWhitespace(y)&&(y=X.trimEnd(y)+ft),[...Nt(M),rr(hr(y)),...Nt(Q)]}case"MustacheCommentStatement":{let y=qt(A),C=Ee(A),B=e.originalText.charAt(y+2)==="~",x=e.originalText.charAt(C-3)==="~",k=A.value.includes("}}")?"--":"";return["{{",B?"~":"","!",k,A.value,k,x?"~":"","}}"]}case"PathExpression":return Sa(A);case"BooleanLiteral":return String(A.value);case"CommentStatement":return["<!--",A.value,"-->"];case"StringLiteral":return ya(t,e);case"NumberLiteral":return String(A.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";case"AtHead":case"VarHead":case"ThisHead":default:throw new zn(A,"Handlebars")}}function aa(t,e){return qt(t)-qt(e)}function ia(t,e){let{node:r}=t,n=["attributes","modifiers","comments"].filter(s=>Xt(r[s])),a=n.flatMap(s=>r[s]).sort(aa);for(let s of n)t.each(({node:i})=>{let o=a.indexOf(i);a.splice(o,1,[F,e()])},s);return Xt(r.blockParams)&&a.push(F,Re(r)),["<",r.tag,I(a),sa(r)]}function sr(t,e,r){let{node:n}=t,a=n.children.every(s=>Ve(s));return e.htmlWhitespaceSensitivity==="ignore"&&a?"":t.map(({isFirst:s})=>{let i=r();return s&&e.htmlWhitespaceSensitivity==="ignore"?[W,i]:i},"children")}function sa(t){return Ur(t)?nr([W,"/>"],[" />",W]):nr([W,">"],">")}function Zt(t){var e;let r=t.trusting?"{{{":"{{",n=(e=t.strip)!=null&&e.open?"~":"";return[r,n]}function te(t){var e;let r=t.trusting?"}}}":"}}";return[(e=t.strip)!=null&&e.close?"~":"",r]}function ua(t){let e=Zt(t),r=t.openStrip.open?"~":"";return[e,r,"#"]}function oa(t){let e=te(t);return[t.openStrip.close?"~":"",e]}function ur(t){let e=Zt(t),r=t.closeStrip.open?"~":"";return[e,r,"/"]}function or(t){let e=te(t);return[t.closeStrip.close?"~":"",e]}function zr(t){let e=Zt(t),r=t.inverseStrip.open?"~":"";return[e,r]}function jr(t){let e=te(t);return[t.inverseStrip.close?"~":"",e]}function la(t,e){let{node:r}=t,n=[],a=ee(t,e);return a&&n.push(V(a)),Xt(r.program.blockParams)&&n.push(Re(r.program)),V([ua(r),He(t,e),n.length>0?I([F,Vt(F,n)]):"",W,oa(r)])}function ca(t,e){return[e.htmlWhitespaceSensitivity==="ignore"?wt:"",zr(t),"else",jr(t)]}var Gr=(t,e)=>t.head.type==="VarHead"&&e.head.type==="VarHead"&&t.head.name===e.head.name;function ha(t){var e;let{grandparent:r,node:n}=t;return((e=r?.inverse)==null?void 0:e.body.length)===1&&r.inverse.body[0]===n&&Gr(r.inverse.body[0].path,r.path)}function pa(t,e){let{node:r,grandparent:n}=t;return V([zr(n),["else"," ",n.inverse.body[0].path.head.name],I([F,V(ee(t,e)),...Xt(r.program.blockParams)?[F,Re(r.program)]:[]]),W,jr(n)])}function da(t,e,r){let{node:n}=t;return r.htmlWhitespaceSensitivity==="ignore"?[Wr(n)?W:wt,ur(n),e("path"),or(n)]:[ur(n),e("path"),or(n)]}function Wr(t){return t.type==="BlockStatement"&&t.program.body.every(e=>Ve(e))}function ma(t){return Kr(t)&&t.inverse.body.length===1&&t.inverse.body[0].type==="BlockStatement"&&Gr(t.inverse.body[0].path,t.path)}function Kr(t){return t.type==="BlockStatement"&&t.inverse}function lr(t,e,r){let{node:n}=t;if(Wr(n))return"";let a=e("program");return r.htmlWhitespaceSensitivity==="ignore"?I([wt,a]):I(a)}function cr(t,e,r){let{node:n}=t,a=e("inverse"),s=r.htmlWhitespaceSensitivity==="ignore"?[wt,a]:a;return ma(n)?s:Kr(n)?[ca(n,r),I(s)]:""}function hr(t){return Vt(F,X.split(t))}function fa(t){for(let e=0;e<2;e++){let r=t.getParentNode(e);if(r?.type==="AttrNode")return r.name.toLowerCase()}}function Dt(t){return t=typeof t=="string"?t:"",t.split(` `).length-1}function ga(t){t=typeof t=="string"?t:"";let e=(t.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return Dt(e)}function ba(t){t=typeof t=="string"?t:"";let e=(t.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return Dt(e)}function Nt(t=0){return Array.from({length:Math.min(t,Mr)}).fill(wt)}function ya(t,e){let{node:{value:r}}=t,n=De(r,Aa(t)?!e.singleQuote:e.singleQuote);return[n,Br(!1,r,n,`\\${n}`),n]}function Aa(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 Da(t,e){let r=He(t,e),n=ee(t,e);return n?I([r,F,V(n)]):r}function pr(t,e){let r=He(t,e),n=ee(t,e);return n?[I([r,F,n]),W]:r}function He(t,e){return e("path")}function ee(t,e){var r;let{node:n}=t,a=[];return n.params.length>0&&a.push(...t.map(e,"params")),((r=n.hash)==null?void 0:r.pairs.length)>0&&a.push(e("hash")),a.length===0?"":Vt(F,a)}function Re(t){return["as |",t.blockParams.join(" "),"|"]}var Ea=new Set("!\"#%&'()*+,./;<=>@[\\]^`{|}~"),va=new Set(["true","false","null","undefined"]),Ca=(t,e)=>e===0&&t.startsWith("@")?!1:e!==0&&va.has(t)||/\s/.test(t)||/^\d/.test(t)||Array.prototype.some.call(t,r=>Ea.has(r));function Sa(t){return t.tail.length===0&&t.original.includes("/")?t.original:[t.head.original,...t.tail].map((e,r)=>Ca(e,r)?`[${e}]`:e).join(".")}var ka={print:na,massageAstNode:jn,hasPrettierIgnore:ra,getVisitorKeys:Xn},wa=ka,Ba=[{linguistLanguageId:155,name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}],Qr={};Pe(Qr,{glimmer:()=>ps});var xa=Object.freeze([]);function Jr(){return xa}var gs=Jr(),bs=Jr();function v(t,e){if(!t)throw new Error(e||"assertion failure")}function R(t){Oa.warn(`DEPRECATION: ${t}`)}function Ue(t){if(t==null)throw new Error("Expected value to be present");return t}function Ta(t,e){if(t==null)throw new Error(e);return t}function Bt(t){return t.length>0}function ve(t,e="unexpected empty list"){if(!Bt(t))throw new Error(e)}function It(t,e="unexpected empty list"){return ve(t,e),t}function Me(t){return t.length===0?void 0:t[t.length-1]}function Na(t){return t.length===0?void 0:t[0]}var ze=function(t){return t[t.MAX_SMI=1073741823]="MAX_SMI",t[t.MIN_SMI=-1073741824]="MIN_SMI",t[t.SIGN_BIT=-536870913]="SIGN_BIT",t[t.MAX_INT=536870911]="MAX_INT",t[t.MIN_INT=-536870912]="MIN_INT",t[t.FALSE_HANDLE=0]="FALSE_HANDLE",t[t.TRUE_HANDLE=1]="TRUE_HANDLE",t[t.NULL_HANDLE=2]="NULL_HANDLE",t[t.UNDEFINED_HANDLE=3]="UNDEFINED_HANDLE",t[t.ENCODED_FALSE_HANDLE=0]="ENCODED_FALSE_HANDLE",t[t.ENCODED_TRUE_HANDLE=1]="ENCODED_TRUE_HANDLE",t[t.ENCODED_NULL_HANDLE=2]="ENCODED_NULL_HANDLE",t[t.ENCODED_UNDEFINED_HANDLE=3]="ENCODED_UNDEFINED_HANDLE",t}({});function Pa(t){return t&ze.SIGN_BIT}function Fa(t){return t|~ze.SIGN_BIT}function La(t){return~t}function _a(t){return~t}function qa(t){return t|=0,t<0?Pa(t):La(t)}function Ia(t){return t|=0,t>ze.SIGN_BIT?_a(t):Fa(t)}[1,-1].forEach(t=>Ia(qa(t)));var Yr=Object.assign,Oa=console,dr=console;function $a(t,e="unexpected unreachable branch"){throw dr.log("unreachable",t),dr.log(`${e} :: ${JSON.stringify(t)} (${t})`),new Error("code reached unreachable")}var Va=function(){var t=function(z,d,b,f){for(b=b||{},f=z.length;f--;b[z[f]]=d);return b},e=[2,44],r=[1,20],n=[5,14,15,19,29,34,39,44,47,48,52,56,60],a=[1,35],s=[1,38],i=[1,30],o=[1,31],l=[1,32],h=[1,33],p=[1,34],g=[1,37],A=[14,15,19,29,34,39,44,47,48,52,56,60],y=[14,15,19,29,34,44,47,48,52,56,60],C=[15,18],B=[14,15,19,29,34,47,48,52,56,60],x=[33,64,71,79,80,81,82,83,84],k=[23,33,55,64,67,71,74,79,80,81,82,83,84],Z=[1,51],M=[23,33,55,64,67,71,74,79,80,81,82,83,84,86],Q=[2,43],mt=[55,64,71,79,80,81,82,83,84],ft=[1,58],J=[1,59],tt=[1,66],O=[33,64,71,74,79,80,81,82,83,84],gt=[23,64,71,79,80,81,82,83,84],$=[1,76],et=[64,67,71,79,80,81,82,83,84],N=[33,74],rt=[23,33,55,67,71,74],Rt=[1,106],ie=[1,118],Ye=[71,76],se={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,expr:49,mustache_repetition0:50,mustache_option0:51,OPEN_UNESCAPED:52,mustache_repetition1:53,mustache_option1:54,CLOSE_UNESCAPED:55,OPEN_PARTIAL:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,sexpr:63,OPEN_SEXPR:64,sexpr_repetition0:65,sexpr_option0:66,CLOSE_SEXPR:67,hash:68,hash_repetition_plus0:69,hashSegment:70,ID:71,EQUALS:72,blockParams:73,OPEN_BLOCK_PARAMS:74,blockParams_repetition_plus0:75,CLOSE_BLOCK_PARAMS:76,path:77,dataName:78,STRING:79,NUMBER:80,BOOLEAN:81,UNDEFINED:82,NULL:83,DATA:84,pathSegments:85,SEP:86,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",52:"OPEN_UNESCAPED",55:"CLOSE_UNESCAPED",56:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",64:"OPEN_SEXPR",67:"CLOSE_SEXPR",71:"ID",72:"EQUALS",74:"OPEN_BLOCK_PARAMS",76:"CLOSE_BLOCK_PARAMS",79:"STRING",80:"NUMBER",81:"BOOLEAN",82:"UNDEFINED",83:"NULL",84:"DATA",86:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[49,1],[49,1],[63,5],[68,1],[70,3],[73,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[78,2],[77,1],[85,3],[85,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[50,0],[50,2],[51,0],[51,1],[53,0],[53,2],[54,0],[54,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[65,0],[65,2],[66,0],[66,1],[69,1],[69,2],[75,1],[75,2]],performAction:function(z,d,b,f,S,u,L){var c=u.length-1;switch(S){case 1:return u[c-1];case 2:this.$=f.prepareProgram(u[c]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 27:case 28:case 33:case 34:this.$=u[c];break;case 9:this.$={type:"CommentStatement",value:f.stripComment(u[c]),strip:f.stripFlags(u[c],u[c]),loc:f.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:u[c],value:u[c],loc:f.locInfo(this._$)};break;case 11:this.$=f.prepareRawBlock(u[c-2],u[c-1],u[c],this._$);break;case 12:this.$={path:u[c-3],params:u[c-2],hash:u[c-1]};break;case 13:this.$=f.prepareBlock(u[c-3],u[c-2],u[c-1],u[c],!1,this._$);break;case 14:this.$=f.prepareBlock(u[c-3],u[c-2],u[c-1],u[c],!0,this._$);break;case 15:this.$={open:u[c-5],path:u[c-4],params:u[c-3],hash:u[c-2],blockParams:u[c-1],strip:f.stripFlags(u[c-5],u[c])};break;case 16:case 17:this.$={path:u[c-4],params:u[c-3],hash:u[c-2],blockParams:u[c-1],strip:f.stripFlags(u[c-5],u[c])};break;case 18:this.$={strip:f.stripFlags(u[c-1],u[c-1]),program:u[c]};break;case 19:var nt=f.prepareBlock(u[c-2],u[c-1],u[c],u[c],!1,this._$),xt=f.prepareProgram([nt],u[c-1].loc);xt.chained=!0,this.$={strip:u[c-2].strip,program:xt,chain:!0};break;case 21:this.$={path:u[c-1],strip:f.stripFlags(u[c-2],u[c])};break;case 22:case 23:this.$=f.prepareMustache(u[c-3],u[c-2],u[c-1],u[c-4],f.stripFlags(u[c-4],u[c]),this._$);break;case 24:this.$={type:"PartialStatement",name:u[c-3],params:u[c-2],hash:u[c-1],indent:"",strip:f.stripFlags(u[c-4],u[c]),loc:f.locInfo(this._$)};break;case 25:this.$=f.preparePartialBlock(u[c-2],u[c-1],u[c],this._$);break;case 26:this.$={path:u[c-3],params:u[c-2],hash:u[c-1],strip:f.stripFlags(u[c-4],u[c])};break;case 29:this.$={type:"SubExpression",path:u[c-3],params:u[c-2],hash:u[c-1],loc:f.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:u[c],loc:f.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:f.id(u[c-2]),value:u[c],loc:f.locInfo(this._$)};break;case 32:this.$=f.id(u[c-1]);break;case 35:this.$={type:"StringLiteral",value:u[c],original:u[c],loc:f.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(u[c]),original:Number(u[c]),loc:f.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:u[c]==="true",original:u[c]==="true",loc:f.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:f.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:f.locInfo(this._$)};break;case 40:this.$=f.preparePath(!0,u[c],this._$);break;case 41:this.$=f.preparePath(!1,u[c],this._$);break;case 42:u[c-2].push({part:f.id(u[c]),original:u[c],separator:u[c-1]}),this.$=u[c-2];break;case 43:this.$=[{part:f.id(u[c]),original:u[c]}];break;case 44:case 46:case 48:case 56:case 62:case 68:case 76:case 80:case 84:case 88:case 92:this.$=[];break;case 45:case 47:case 49:case 57:case 63:case 69:case 77:case 81:case 85:case 89:case 93:case 97:case 99:u[c-1].push(u[c]);break;case 96:case 98:this.$=[u[c]];break}},table:[t([5,14,15,19,29,34,48,52,56,60],e,{3:1,4:2,6:3}),{1:[3]},{5:[1,4]},t([5,39,44,47],[2,2],{7:5,8:6,9:7,10:8,11:9,12:10,13:11,24:15,27:16,16:17,59:19,14:[1,12],15:r,19:[1,23],29:[1,21],34:[1,22],48:[1,13],52:[1,14],56:[1,18],60:[1,24]}),{1:[2,1]},t(n,[2,45]),t(n,[2,3]),t(n,[2,4]),t(n,[2,5]),t(n,[2,6]),t(n,[2,7]),t(n,[2,8]),t(n,[2,9]),{20:26,49:25,63:27,64:a,71:s,77:28,78:29,79:i,80:o,81:l,82:h,83:p,84:g,85:36},{20:26,49:39,63:27,64:a,71:s,77:28,78:29,79:i,80:o,81:l,82:h,83:p,84:g,85:36},t(A,e,{6:3,4:40}),t(y,e,{6:3,4:41}),t(C,[2,46],{17:42}),{20:26,49:43,63:27,64:a,71:s,77:28,78:29,79:i,80:o,81:l,82:h,83:p,84:g,85:36},t(B,e,{6:3,4:44}),t([5,14,15,18,19,29,34,39,44,47,48,52,56,60],[2,10]),{20:45,71:s,77:28,78:29,79:i,80:o,81:l,82:h,83:p,84:g,85:36},{20:46,71:s,77:28,78:29,79:i,80:o,81:l,82:h,83:p,84:g,85:36},{20:47,71:s,77:28,78:29,79:i,80:o,81:l,82:h,83:p,84:g,85:36},{20:26,49:48,63:27,64:a,71:s,77:28,78:29,79:i,80:o,81:l,82:h,83:p,84:g,85:36},t(x,[2,76],{50:49}),t(k,[2,27]),t(k,[2,28]),t(k,[2,33]),t(k,[2,34]),t(k,[2,35]),t(k,[2,36]),t(k,[2,37]),t(k,[2,38]),t(k,[2,39]),{20:26,49:50,63:27,64:a,71:s,77:28,78:29,79:i,80:o,81:l,82:h,83:p,84:g,85:36},t(k,[2,41],{86:Z}),{71:s,85:52},t(M,Q),t(mt,[2,80],{53:53}),{25:54,38:56,39:ft,43:57,44:J,45:55,47:[2,52]},{28:60,43:61,44:J,47:[2,54]},{13:63,15:r,18:[1,62]},t(x,[2,84],{57:64}),{26:65,47:tt},t(O,[2,56],{30:67}),t(O,[2,62],{35:68}),t(gt,[2,48],{21:69}),t(x,[2,88],{61:70}),{20:26,33:[2,78],49:72,51:71,63:27,64:a,68:73,69:74,70:75,71:$,77:28,78:29,79:i,80:o,81:l,82:h,83:p,84:g,85:36},t(et,[2,92],{65:77}),{71:[1,78]},t(k,[2,40],{86:Z}),{20:26,49:80,54:79,55:[2,82],63:27,64:a,68:81,69:74,70:75,71:$,77:28,78:29,79:i,80:o,81:l,82:h,83:p,84:g,85:36},{26:82,47:tt},{47:[2,53]},t(A,e,{6:3,4:83}),{47:[2,20]},{20:84,71:s,77:28,78:29,79:i,80:o,81:l,82:h,83:p,84:g,85:36},t(B,e,{6:3,4:85}),{26:86,47:tt},{47:[2,55]},t(n,[2,11]),t(C,[2,47]),{20:26,33:[2,86],49:88,58:87,63:27,64:a,68:89,69:74,70:75,71:$,77:28,78:29,79:i,80:o,81:l,82:h,83:p,84:g,85:36},t(n,[2,25]),{20:90,71:s,77:28,78:29,79:i,80:o,81:l,82:h,83:p,84:g,85:36},t(N,[2,58],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,31:91,49:92,68:93,64:a,71:$,79:i,80:o,81:l,82:h,83:p,84:g}),t(N,[2,64],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,36:94,49:95,68:96,64:a,71:$,79:i,80:o,81:l,82:h,83:p,84:g}),{20:26,22:97,23:[2,50],49:98,63:27,64:a,68:99,69:74,70:75,71:$,77:28,78:29,79:i,80:o,81:l,82:h,83:p,84:g,85:36},{20:26,33:[2,90],49:101,62:100,63:27,64:a,68:102,69:74,70:75,71:$,77:28,78:29,79:i,80:o,81:l,82:h,83:p,84:g,85:36},{33:[1,103]},t(x,[2,77]),{33:[2,79]},t([23,33,55,67,74],[2,30],{70:104,71:[1,105]}),t(rt,[2,96]),t(M,Q,{72:Rt}),{20:26,49:108,63:27,64:a,66:107,67:[2,94],68:109,69:74,70:75,71:$,77:28,78:29,79:i,80:o,81:l,82:h,83:p,84:g,85:36},t(M,[2,42]),{55:[1,110]},t(mt,[2,81]),{55:[2,83]},t(n,[2,13]),{38:56,39:ft,43:57,44:J,45:112,46:111,47:[2,74]},t(O,[2,68],{40:113}),{47:[2,18]},t(n,[2,14]),{33:[1,114]},t(x,[2,85]),{33:[2,87]},{33:[1,115]},{32:116,33:[2,60],73:117,74:ie},t(O,[2,57]),t(N,[2,59]),{33:[2,66],37:119,73:120,74:ie},t(O,[2,63]),t(N,[2,65]),{23:[1,121]},t(gt,[2,49]),{23:[2,51]},{33:[1,122]},t(x,[2,89]),{33:[2,91]},t(n,[2,22]),t(rt,[2,97]),{72:Rt},{20:26,49:123,63:27,64:a,71:s,77:28,78:29,79:i,80:o,81:l,82:h,83:p,84:g,85:36},{67:[1,124]},t(et,[2,93]),{67:[2,95]},t(n,[2,23]),{47:[2,19]},{47:[2,75]},t(N,[2,70],{20:26,63:27,77:28,78:29,85:36,69:74,70:75,41:125,49:126,68:127,64:a,71:$,79:i,80:o,81:l,82:h,83:p,84:g}),t(n,[2,24]),t(n,[2,21]),{33:[1,128]},{33:[2,61]},{71:[1,130],75:129},{33:[1,131]},{33:[2,67]},t(C,[2,12]),t(B,[2,26]),t(rt,[2,31]),t(k,[2,29]),{33:[2,72],42:132,73:133,74:ie},t(O,[2,69]),t(N,[2,71]),t(A,[2,15]),{71:[1,135],76:[1,134]},t(Ye,[2,98]),t(y,[2,16]),{33:[1,136]},{33:[2,73]},{33:[2,32]},t(Ye,[2,99]),t(A,[2,17])],defaultActions:{4:[2,1],55:[2,53],57:[2,20],61:[2,55],73:[2,79],81:[2,83],85:[2,18],89:[2,87],99:[2,51],102:[2,91],109:[2,95],111:[2,19],112:[2,75],117:[2,61],120:[2,67],133:[2,73],134:[2,32]},parseError:function(z,d){if(d.recoverable)this.trace(z);else{var b=new Error(z);throw b.hash=d,b}},parse:function(z){var d=this,b=[0],f=[],S=[null],u=[],L=this.table,c="",nt=0,xt=0,Xe=0,gn=2,Ze=1,bn=u.slice.call(arguments,1),T=Object.create(this.lexer),ct={yy:{}};for(var oe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,oe)&&(ct.yy[oe]=this.yy[oe]);T.setInput(z,ct.yy),ct.yy.lexer=T,ct.yy.parser=this,typeof T.yylloc>"u"&&(T.yylloc={});var le=T.yylloc;u.push(le);var yn=T.options&&T.options.ranges;typeof ct.yy.parseError=="function"?this.parseError=ct.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ms(j){b.length=b.length-2*j,S.length=S.length-j,u.length=u.length-j}for(var An=function(){var j;return j=T.lex()||Ze,typeof j!="number"&&(j=d.symbols_[j]||j),j},_,ce,ht,H,fs,he,bt={},Ut,Y,tr,Mt;;){if(ht=b[b.length-1],this.defaultActions[ht]?H=this.defaultActions[ht]:((_===null||typeof _>"u")&&(_=An()),H=L[ht]&&L[ht][_]),typeof H>"u"||!H.length||!H[0]){var pe="";Mt=[];for(Ut in L[ht])this.terminals_[Ut]&&Ut>gn&&Mt.push("'"+this.terminals_[Ut]+"'");T.showPosition?pe="Parse error on line "+(nt+1)+`: `+T.showPosition()+` Expecting `+Mt.join(", ")+", got '"+(this.terminals_[_]||_)+"'":pe="Parse error on line "+(nt+1)+": Unexpected "+(_==Ze?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(pe,{text:T.match,token:this.terminals_[_]||_,line:T.yylineno,loc:le,expected:Mt})}if(H[0]instanceof Array&&H.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ht+", token: "+_);switch(H[0]){case 1:b.push(_),S.push(T.yytext),u.push(T.yylloc),b.push(H[1]),_=null,ce?(_=ce,ce=null):(xt=T.yyleng,c=T.yytext,nt=T.yylineno,le=T.yylloc,Xe>0&&Xe--);break;case 2:if(Y=this.productions_[H[1]][1],bt.$=S[S.length-Y],bt._$={first_line:u[u.length-(Y||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(Y||1)].first_column,last_column:u[u.length-1].last_column},yn&&(bt._$.range=[u[u.length-(Y||1)].range[0],u[u.length-1].range[1]]),he=this.performAction.apply(bt,[c,xt,nt,ct.yy,H[1],S,u].concat(bn)),typeof he<"u")return he;Y&&(b=b.slice(0,-1*Y*2),S=S.slice(0,-1*Y),u=u.slice(0,-1*Y)),b.push(this.productions_[H[1]][0]),S.push(bt.$),u.push(bt._$),tr=L[b[b.length-2]][b[b.length-1]],b.push(tr);break;case 3:return!0}}return!0}},fn=function(){var z={EOF:1,parseError:function(d,b){if(this.yy.parser)this.yy.parser.parseError(d,b);else throw new Error(d)},setInput:function(d,b){return this.yy=b||this.yy||{},this._input=d,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 d=this._input[0];this.yytext+=d,this.yyleng++,this.offset++,this.match+=d,this.matched+=d;var b=d.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),d},unput:function(d){var b=d.length,f=d.split(/(?:\r\n?|\n)/g);this._input=d+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b),this.offset-=b;var S=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),f.length-1&&(this.yylineno-=f.length-1);var u=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:f?(f.length===S.length?this.yylloc.first_column:0)+S[S.length-f.length].length-f[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[u[0],u[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). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(d){this.unput(this.match.slice(d))},pastInput:function(){var d=this.matched.substr(0,this.matched.length-this.match.length);return(d.length>20?"...":"")+d.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var d=this.match;return d.length<20&&(d+=this._input.substr(0,20-d.length)),(d.substr(0,20)+(d.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var d=this.pastInput(),b=new Array(d.length+1).join("-");return d+this.upcomingInput()+` `+b+"^"},test_match:function(d,b){var f,S,u;if(this.options.backtrack_lexer&&(u={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&&(u.yylloc.range=this.yylloc.range.slice(0))),S=d[0].match(/(?:\r\n?|\n).*/g),S&&(this.yylineno+=S.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:S?S[S.length-1].length-S[S.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+d[0].length},this.yytext+=d[0],this.match+=d[0],this.matches=d,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(d[0].length),this.matched+=d[0],f=this.performAction.call(this,this.yy,this,b,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var L in u)this[L]=u[L];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var d,b,f,S;this._more||(this.yytext="",this.match="");for(var u=this._currentRules(),L=0;L<u.length;L++)if(f=this._input.match(this.rules[u[L]]),f&&(!b||f[0].length>b[0].length)){if(b=f,S=L,this.options.backtrack_lexer){if(d=this.test_match(f,u[L]),d!==!1)return d;if(this._backtrack){b=!1;continue}else return!1}else if(!this.options.flex)break}return b?(d=this.test_match(b,u[S]),d!==!1?d:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. `+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var d=this.next();return d||this.lex()},begin:function(d){this.conditionStack.push(d)},popState:function(){var d=this.conditionStack.length-1;return d>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(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},pushState:function(d){this.begin(d)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(d,b,f,S){function u(c,nt){return b.yytext=b.yytext.substring(c,b.yyleng-nt+c)}var L=S;switch(f){case 0:if(b.yytext.slice(-2)==="\\\\"?(u(0,1),this.begin("mu")):b.yytext.slice(-1)==="\\"?(u(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:(u(5,9),18);case 5:return 15;case 6:return this.popState(),14;case 7:return 64;case 8:return 67;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 56;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 52;case 20:return 48;case 21:this.unput(b.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 72;case 25:return 71;case 26:return 71;case 27:return 86;case 28:break;case 29:return this.popState(),55;case 30:return this.popState(),33;case 31:return b.yytext=u(1,2).replace(/\\"/g,'"'),79;case 32:return b.yytext=u(1,2).replace(/\\'/g,"'"),79;case 33:return 84;case 34:return 81;case 35:return 81;case 36:return 82;case 37:return 83;case 38:return 80;case 39:return 74;case 40:return 76;case 41:return 71;case 42:return b.yytext=b.yytext.replace(/\\([\\\]])/g,"$1"),71;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};return z}();se.lexer=fn;function ue(){this.yy={}}return ue.prototype=se,se.Parser=ue,new ue}(),de=Va,me=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function je(t,e){var r=e&&e.loc,n,a,s,i;r&&(n=r.start.line,a=r.end.line,s=r.start.column,i=r.end.column,t+=" - "+n+":"+s);for(var o=Error.prototype.constructor.call(this,t),l=0;l<me.length;l++)this[me[l]]=o[me[l]];Error.captureStackTrace&&Error.captureStackTrace(this,je);try{r&&(this.lineNumber=n,this.endLineNumber=a,Object.defineProperty?(Object.defineProperty(this,"column",{value:s,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:i,enumerable:!0})):(this.column=s,this.endColumn=i))}catch{}}je.prototype=new Error;var Et=je;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 Et('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 Et(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 Et("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:Qt,Decorator:Qt,BlockStatement:mr,DecoratorBlock:mr,PartialStatement:fr,PartialBlockStatement:function(t){fr.call(this,t),this.acceptKey(t,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:Qt,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 Qt(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function mr(t){Qt.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function fr(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}var Ha=Kt;function K(t){t===void 0&&(t={}),this.options=t}K.prototype=new Ha;K.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,a=0,s=n.length;a<s;a++){var i=n[a],o=this.accept(i);if(o){var l=Ce(n,a,r),h=Se(n,a,r),p=o.openStandalone&&l,g=o.closeStandalone&&h,A=o.inlineStandalone&&l&&h;o.close&&pt(n,a,!0),o.open&&it(n,a,!0),e&&A&&(pt(n,a),it(n,a)&&i.type==="PartialStatement"&&(i.indent=/([ \t]+$)/.exec(n[a-1].original)[1])),e&&p&&(pt((i.program||i.inverse).body),it(n,a)),e&&g&&(pt(n,a),it((i.inverse||i.program).body))}}return t};K.prototype.BlockStatement=K.prototype.DecoratorBlock=K.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:Se(e.body),closeStandalone:Ce((n||e).body)};if(t.openStrip.close&&pt(e.body,null,!0),r){var i=t.inverseStrip;i.open&&it(e.body,null,!0),i.close&&pt(n.body,null,!0),t.closeStrip.open&&it(a.body,null,!0),!this.options.ignoreStandalone&&Ce(e.body)&&Se(n.body)&&(it(e.body),pt(n.body))}else t.closeStrip.open&&it(e.body,null,!0);return s};K.prototype.Decorator=K.prototype.MustacheStatement=function(t){return t.strip};K.prototype.PartialStatement=K.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}};function Ce(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 Se(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 it(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 Ra=K,Jt={};Pe(Jt,{SourceLocation:()=>Xr,id:()=>Ua,prepareBlock:()=>Ka,prepareMustache:()=>Ga,preparePartialBlock:()=>Ja,preparePath:()=>ja,prepareProgram:()=>Qa,prepareRawBlock:()=>Wa,stripComment:()=>za,stripFlags:()=>Ma});function Ge(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new Et(t.path.original+" doesn't match "+e,r)}}function Xr(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 Ua(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function Ma(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}function za(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function ja(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",a=[],s=0,i=0,o=e.length;i<o;i++){var l=e[i].part,h=e[i].original!==l;if(n+=(e[i].separator||"")+l,!h&&(l===".."||l==="."||l==="this")){if(a.length>0)throw new Et("Invalid path: "+n,{loc:r});l===".."&&s++}else a.push(l)}return{type:"PathExpression",data:t,depth:s,parts:a,original:n,loc:r}}function Ga(t,e,r,n,a,s){var i=n.charAt(3)||n.charAt(2),o=i!=="{"&&i!=="&",l=/\*/.test(n);return{type:l?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:o,strip:a,loc:this.locInfo(s)}}function Wa(t,e,r,n){Ge(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 Ka(t,e,r,n,a,s){n&&n.path&&Ge(t,n);var i=/\*/.test(t.open);e.blockParams=t.blockParams;var o,l;if(r){if(i)throw new Et("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),l=r.strip,o=r.program}return a&&(a=o,o=e,e=a),{type:i?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:o,openStrip:t.strip,inverseStrip:l,closeStrip:n&&n.strip,loc:this.locInfo(s)}}function Qa(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 Ja(t,e,r,n){return Ge(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 Zr={};for(jt in Jt)Object.prototype.hasOwnProperty.call(Jt,jt)&&(Zr[jt]=Jt[jt]);var jt;function ke(t,e){if(t.type==="Program")return t;de.yy=Zr,de.yy.locInfo=function(n){return new Xr(e&&e.srcName,n)};var r=de.parse(t);return r}function gr(t,e){var r=ke(t,e),n=new Ra(e);return n.accept(r)}var Ya={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1