@insco/enigma-virtualbox
Version:
Generate an "Enigma Virtual Box" project file
15 lines (14 loc) • 158 kB
JavaScript
'use strict';var fs=require('fs'),events=require('events'),path=require('path');/**
* Version: 1.2.0
*
* Copyright (c) 2025 kjxbyz. All rights reserved.
*/
var Xa=Object.create;var Rr=Object.defineProperty;var Qa=Object.getOwnPropertyDescriptor;var Ya=Object.getOwnPropertyNames;var Za=Object.getPrototypeOf,$a=Object.prototype.hasOwnProperty;var zn=t=>{throw TypeError(t)};var eu=(t,e,r)=>e in t?Rr(t,e,{enumerable:true,configurable:true,writable:true,value:r}):t[e]=r;var Re=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var _=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var tu=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ya(e))!$a.call(t,i)&&i!==r&&Rr(t,i,{get:()=>e[i],enumerable:!(n=Qa(e,i))||n.enumerable});return t};var Kn=(t,e,r)=>(r=t!=null?Xa(Za(t)):{},tu(e||!t||!t.__esModule?Rr(r,"default",{value:t,enumerable:true}):r,t));var A=(t,e,r)=>eu(t,typeof e!="symbol"?e+"":e,r),Dr=(t,e,r)=>e.has(t)||zn("Cannot "+r);var d=(t,e,r)=>(Dr(t,e,"read from private field"),r?r.call(t):e.get(t)),j=(t,e,r)=>e.has(t)?zn("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),C=(t,e,r,n)=>(Dr(t,e,"write to private field"),e.set(t,r),r),de=(t,e,r)=>(Dr(t,e,"access private method"),r);var q=_(G=>{G.__esModule=true;G.extend=$n;G.indexOf=vu;G.escapeExpression=_u;G.isEmpty=xu;G.createFrame=yu;G.blockParams=bu;G.appendContextPath=Su;var hu={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},du=/[&<>"'`=]/g,mu=/[&<>"'`=]/;function gu(t){return hu[t]}function $n(t){for(var e=1;e<arguments.length;e++)for(var r in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],r)&&(t[r]=arguments[e][r]);return t}var jr=Object.prototype.toString;G.toString=jr;var Hr=function(e){return typeof e=="function"};Hr(/x/)&&(G.isFunction=Hr=function(t){return typeof t=="function"&&jr.call(t)==="[object Function]"});G.isFunction=Hr;var ei=Array.isArray||function(t){return t&&typeof t=="object"?jr.call(t)==="[object Array]":false};G.isArray=ei;function vu(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return -1}function _u(t){if(typeof t!="string"){if(t&&t.toHTML)return t.toHTML();if(t==null)return "";if(!t)return t+"";t=""+t;}return mu.test(t)?t.replace(du,gu):t}function xu(t){return !t&&t!==0?true:!!(ei(t)&&t.length===0)}function yu(t){var e=$n({},t);return e._parent=t,e}function bu(t,e){return t.path=e,t}function Su(t,e){return (t?t+".":"")+e}});var K=_((Nt,ti)=>{Nt.__esModule=true;var Vr=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Gr(t,e){var r=e&&e.loc,n=void 0,i=void 0,s=void 0,o=void 0;r&&(n=r.start.line,i=r.end.line,s=r.start.column,o=r.end.column,t+=" - "+n+":"+s);for(var u=Error.prototype.constructor.call(this,t),l=0;l<Vr.length;l++)this[Vr[l]]=u[Vr[l]];Error.captureStackTrace&&Error.captureStackTrace(this,Gr);try{r&&(this.lineNumber=n,this.endLineNumber=i,Object.defineProperty?(Object.defineProperty(this,"column",{value:s,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:o,enumerable:!0})):(this.column=s,this.endColumn=o));}catch{}}Gr.prototype=new Error;Nt.default=Gr;ti.exports=Nt.default;});var ni=_((Rt,ri)=>{Rt.__esModule=true;var Wr=q();Rt.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var n=r.inverse,i=r.fn;if(e===true)return i(this);if(e===false||e==null)return n(this);if(Wr.isArray(e))return e.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):n(this);if(r.data&&r.ids){var s=Wr.createFrame(r.data);s.contextPath=Wr.appendContextPath(r.data.contextPath,r.name),r={data:s};}return i(e,r)});};ri.exports=Rt.default;});var si=_((Dt,ii)=>{Dt.__esModule=true;function Eu(t){return t&&t.__esModule?t:{default:t}}var ot=q(),Pu=K(),wu=Eu(Pu);Dt.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new wu.default("Must pass iterator to #each");var n=r.fn,i=r.inverse,s=0,o="",u=void 0,l=void 0;r.data&&r.ids&&(l=ot.appendContextPath(r.data.contextPath,r.ids[0])+"."),ot.isFunction(e)&&(e=e.call(this)),r.data&&(u=ot.createFrame(r.data));function a(v,m,y){u&&(u.key=v,u.index=m,u.first=m===0,u.last=!!y,l&&(u.contextPath=l+v)),o=o+n(e[v],{data:u,blockParams:ot.blockParams([e[v],v],[l+v,null])});}if(e&&typeof e=="object")if(ot.isArray(e))for(var p=e.length;s<p;s++)s in e&&a(s,s,s===e.length-1);else if(typeof Symbol=="function"&&e[Symbol.iterator]){for(var f=[],c=e[Symbol.iterator](),h=c.next();!h.done;h=c.next())f.push(h.value);e=f;for(var p=e.length;s<p;s++)a(s,s,s===e.length-1);}else (function(){var v=void 0;Object.keys(e).forEach(function(m){v!==void 0&&a(v,s-1),v=m,s++;}),v!==void 0&&a(v,s-1,true);})();return s===0&&(o=i(this)),o});};ii.exports=Dt.default;});var ai=_((Bt,oi)=>{Bt.__esModule=true;function Cu(t){return t&&t.__esModule?t:{default:t}}var ku=K(),Ou=Cu(ku);Bt.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new Ou.default('Missing helper: "'+arguments[arguments.length-1].name+'"')});};oi.exports=Bt.default;});var pi=_((qt,fi)=>{qt.__esModule=true;function Au(t){return t&&t.__esModule?t:{default:t}}var ui=q(),Lu=K(),li=Au(Lu);qt.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new li.default("#if requires exactly one argument");return ui.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||ui.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new li.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})});};fi.exports=qt.default;});var hi=_((Ft,ci)=>{Ft.__esModule=true;Ft.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],n=0;n<arguments.length-1;n++)e.push(arguments[n]);var i=1;r.hash.level!=null?i=r.hash.level:r.data&&r.data.level!=null&&(i=r.data.level),e[0]=i,t.log.apply(t,e);});};ci.exports=Ft.default;});var mi=_((Ht,di)=>{Ht.__esModule=true;Ht.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)});};di.exports=Ht.default;});var vi=_((jt,gi)=>{jt.__esModule=true;function Tu(t){return t&&t.__esModule?t:{default:t}}var at=q(),Mu=K(),Iu=Tu(Mu);jt.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new Iu.default("#with requires exactly one argument");at.isFunction(e)&&(e=e.call(this));var n=r.fn;if(at.isEmpty(e))return r.inverse(this);var i=r.data;return r.data&&r.ids&&(i=at.createFrame(r.data),i.contextPath=at.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:i,blockParams:at.blockParams([e],[i&&i.contextPath])})});};gi.exports=jt.default;});var Ur=_(Vt=>{Vt.__esModule=true;Vt.registerDefaultHelpers=Ju;Vt.moveHelperToHooks=Xu;function Ce(t){return t&&t.__esModule?t:{default:t}}var Nu=ni(),Ru=Ce(Nu),Du=si(),Bu=Ce(Du),qu=ai(),Fu=Ce(qu),Hu=pi(),ju=Ce(Hu),Vu=hi(),Gu=Ce(Vu),Wu=mi(),Uu=Ce(Wu),zu=vi(),Ku=Ce(zu);function Ju(t){Ru.default(t),Bu.default(t),Fu.default(t),ju.default(t),Gu.default(t),Uu.default(t),Ku.default(t);}function Xu(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||delete t.helpers[e]);}});var xi=_((Gt,_i)=>{Gt.__esModule=true;var Qu=q();Gt.default=function(t){t.registerDecorator("inline",function(e,r,n,i){var s=e;return r.partials||(r.partials={},s=function(o,u){var l=n.partials;n.partials=Qu.extend({},l,r.partials);var a=e(o,u);return n.partials=l,a}),r.partials[i.args[0]]=i.fn,s});};_i.exports=Gt.default;});var yi=_(zr=>{zr.__esModule=true;zr.registerDefaultDecorators=el;function Yu(t){return t&&t.__esModule?t:{default:t}}var Zu=xi(),$u=Yu(Zu);function el(t){$u.default(t);}});var Kr=_((Wt,bi)=>{Wt.__esModule=true;var tl=q(),De={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if(typeof e=="string"){var r=tl.indexOf(De.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10);}return e},log:function(e){if(e=De.lookupLevel(e),typeof console<"u"&&De.lookupLevel(De.level)<=e){var r=De.methodMap[e];console[r]||(r="log");for(var n=arguments.length,i=Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];console[r].apply(console,i);}}};Wt.default=De;bi.exports=Wt.default;});var Si=_(Jr=>{Jr.__esModule=true;Jr.createNewLookupObject=nl;var rl=q();function nl(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return rl.extend.apply(void 0,[Object.create(null)].concat(e))}});var Xr=_(ut=>{ut.__esModule=true;ut.createProtoAccessControl=al;ut.resultIsAllowed=ul;ut.resetLoggedProperties=fl;function il(t){return t&&t.__esModule?t:{default:t}}var Ei=Si(),sl=Kr(),ol=il(sl),Ut=Object.create(null);function al(t){var e=Object.create(null);e.constructor=false,e.__defineGetter__=false,e.__defineSetter__=false,e.__lookupGetter__=false;var r=Object.create(null);return r.__proto__=false,{properties:{whitelist:Ei.createNewLookupObject(r,t.allowedProtoProperties),defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:Ei.createNewLookupObject(e,t.allowedProtoMethods),defaultValue:t.allowProtoMethodsByDefault}}}function ul(t,e,r){return Pi(typeof t=="function"?e.methods:e.properties,r)}function Pi(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===true:t.defaultValue!==void 0?t.defaultValue:(ll(e),false)}function ll(t){Ut[t]!==true&&(Ut[t]=true,ol.default.log("error",'Handlebars: Access has been denied to resolve the property "'+t+`" because it is not an "own property" of its parent.
You can add a runtime option to disable the check or this warning:
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`));}function fl(){Object.keys(Ut).forEach(function(t){delete Ut[t];});}});var Kt=_(re=>{re.__esModule=true;re.HandlebarsEnvironment=Zr;function wi(t){return t&&t.__esModule?t:{default:t}}var ke=q(),pl=K(),Qr=wi(pl),cl=Ur(),hl=yi(),dl=Kr(),zt=wi(dl),ml=Xr(),gl="4.7.8";re.VERSION=gl;var vl=8;re.COMPILER_REVISION=vl;var _l=7;re.LAST_COMPATIBLE_COMPILER_REVISION=_l;var xl={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};re.REVISION_CHANGES=xl;var Yr="[object Object]";function Zr(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},cl.registerDefaultHelpers(this),hl.registerDefaultDecorators(this);}Zr.prototype={constructor:Zr,logger:zt.default,log:zt.default.log,registerHelper:function(e,r){if(ke.toString.call(e)===Yr){if(r)throw new Qr.default("Arg not supported with multiple helpers");ke.extend(this.helpers,e);}else this.helpers[e]=r;},unregisterHelper:function(e){delete this.helpers[e];},registerPartial:function(e,r){if(ke.toString.call(e)===Yr)ke.extend(this.partials,e);else {if(typeof r>"u")throw new Qr.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r;}},unregisterPartial:function(e){delete this.partials[e];},registerDecorator:function(e,r){if(ke.toString.call(e)===Yr){if(r)throw new Qr.default("Arg not supported with multiple decorators");ke.extend(this.decorators,e);}else this.decorators[e]=r;},unregisterDecorator:function(e){delete this.decorators[e];},resetLoggedPropertyAccesses:function(){ml.resetLoggedProperties();}};var yl=zt.default.log;re.log=yl;re.createFrame=ke.createFrame;re.logger=zt.default;});var ki=_((Jt,Ci)=>{Jt.__esModule=true;function $r(t){this.string=t;}$r.prototype.toString=$r.prototype.toHTML=function(){return ""+this.string};Jt.default=$r;Ci.exports=Jt.default;});var Oi=_(en=>{en.__esModule=true;en.wrapHelper=bl;function bl(t,e){if(typeof t!="function")return t;var r=function(){var i=arguments[arguments.length-1];return arguments[arguments.length-1]=e(i),t.apply(this,arguments)};return r}});var Ii=_(me=>{me.__esModule=true;me.checkRevision=kl;me.template=Ol;me.wrapProgram=Xt;me.resolvePartial=Al;me.invokePartial=Ll;me.noop=Ti;function Sl(t){return t&&t.__esModule?t:{default:t}}function El(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}var Pl=q(),ae=El(Pl),wl=K(),ue=Sl(wl),le=Kt(),Ai=Ur(),Cl=Oi(),Li=Xr();function kl(t){var e=t&&t[0]||1,r=le.COMPILER_REVISION;if(!(e>=le.LAST_COMPATIBLE_COMPILER_REVISION&&e<=le.COMPILER_REVISION))if(e<le.LAST_COMPATIBLE_COMPILER_REVISION){var n=le.REVISION_CHANGES[r],i=le.REVISION_CHANGES[e];throw new ue.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+i+").")}else throw new ue.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}function Ol(t,e){if(!e)throw new ue.default("No environment passed to template");if(!t||!t.main)throw new ue.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var r=t.compiler&&t.compiler[0]===7;function n(o,u,l){l.hash&&(u=ae.extend({},u,l.hash),l.ids&&(l.ids[0]=true)),o=e.VM.resolvePartial.call(this,o,u,l);var a=ae.extend({},l,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),p=e.VM.invokePartial.call(this,o,u,a);if(p==null&&e.compile&&(l.partials[l.name]=e.compile(o,t.compilerOptions,e),p=l.partials[l.name](u,a)),p!=null){if(l.indent){for(var f=p.split(`
`),c=0,h=f.length;c<h&&!(!f[c]&&c+1===h);c++)f[c]=l.indent+f[c];p=f.join(`
`);}return p}else throw new ue.default("The partial "+l.name+" could not be compiled when running in runtime-only mode")}var i={strict:function(u,l,a){if(!u||!(l in u))throw new ue.default('"'+l+'" not defined in '+u,{loc:a});return i.lookupProperty(u,l)},lookupProperty:function(u,l){var a=u[l];if(a==null||Object.prototype.hasOwnProperty.call(u,l)||Li.resultIsAllowed(a,i.protoAccessControl,l))return a},lookup:function(u,l){for(var a=u.length,p=0;p<a;p++){var f=u[p]&&i.lookupProperty(u[p],l);if(f!=null)return u[p][l]}},lambda:function(u,l){return typeof u=="function"?u.call(l):u},escapeExpression:ae.escapeExpression,invokePartial:n,fn:function(u){var l=t[u];return l.decorator=t[u+"_d"],l},programs:[],program:function(u,l,a,p,f){var c=this.programs[u],h=this.fn(u);return l||f||p||a?c=Xt(this,u,h,l,a,p,f):c||(c=this.programs[u]=Xt(this,u,h)),c},data:function(u,l){for(;u&&l--;)u=u._parent;return u},mergeIfNeeded:function(u,l){var a=u||l;return u&&l&&u!==l&&(a=ae.extend({},l,u)),a},nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function s(o){var u=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],l=u.data;s._setup(u),!u.partial&&t.useData&&(l=Tl(o,l));var a=void 0,p=t.useBlockParams?[]:void 0;t.useDepths&&(u.depths?a=o!=u.depths[0]?[o].concat(u.depths):u.depths:a=[o]);function f(c){return ""+t.main(i,c,i.helpers,i.partials,l,p,a)}return f=Mi(t.main,f,i,u.depths||[],l,p),f(o,u)}return s.isTop=true,s._setup=function(o){if(o.partial)i.protoAccessControl=o.protoAccessControl,i.helpers=o.helpers,i.partials=o.partials,i.decorators=o.decorators,i.hooks=o.hooks;else {var u=ae.extend({},e.helpers,o.helpers);Ml(u,i),i.helpers=u,t.usePartial&&(i.partials=i.mergeIfNeeded(o.partials,e.partials)),(t.usePartial||t.useDecorators)&&(i.decorators=ae.extend({},e.decorators,o.decorators)),i.hooks={},i.protoAccessControl=Li.createProtoAccessControl(o);var l=o.allowCallsToHelperMissing||r;Ai.moveHelperToHooks(i,"helperMissing",l),Ai.moveHelperToHooks(i,"blockHelperMissing",l);}},s._child=function(o,u,l,a){if(t.useBlockParams&&!l)throw new ue.default("must pass block params");if(t.useDepths&&!a)throw new ue.default("must pass parent depths");return Xt(i,o,t[o],u,0,l,a)},s}function Xt(t,e,r,n,i,s,o){function u(l){var a=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],p=o;return o&&l!=o[0]&&!(l===t.nullContext&&o[0]===null)&&(p=[l].concat(o)),r(t,l,t.helpers,t.partials,a.data||n,s&&[a.blockParams].concat(s),p)}return u=Mi(r,u,t,o,n,s),u.program=e,u.depth=o?o.length:0,u.blockParams=i||0,u}function Al(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=r.partials[t]):r.name==="@partial-block"?t=r.data["partial-block"]:t=r.partials[r.name],t}function Ll(t,e,r){var n=r.data&&r.data["partial-block"];r.partial=true,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var i=void 0;if(r.fn&&r.fn!==Ti&&function(){r.data=le.createFrame(r.data);var s=r.fn;i=r.data["partial-block"]=function(u){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return l.data=le.createFrame(l.data),l.data["partial-block"]=n,s(u,l)},s.partials&&(r.partials=ae.extend({},r.partials,s.partials));}(),t===void 0&&i&&(t=i),t===void 0)throw new ue.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}function Ti(){return ""}function Tl(t,e){return (!e||!("root"in e))&&(e=e?le.createFrame(e):{},e.root=t),e}function Mi(t,e,r,n,i,s){if(t.decorator){var o={};e=t.decorator(e,o,r,n&&n[0],i,s,n),ae.extend(e,o);}return e}function Ml(t,e){Object.keys(t).forEach(function(r){var n=t[r];t[r]=Il(n,e);});}function Il(t,e){var r=e.lookupProperty;return Cl.wrapHelper(t,function(n){return ae.extend({lookupProperty:r},n)})}});var tn=_((Qt,Ni)=>{Qt.__esModule=true;Qt.default=function(t){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__);})();var e=globalThis.Handlebars;t.noConflict=function(){return globalThis.Handlebars===t&&(globalThis.Handlebars=e),t};};Ni.exports=Qt.default;});var Fi=_((Yt,qi)=>{Yt.__esModule=true;function nn(t){return t&&t.__esModule?t:{default:t}}function sn(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}var Nl=Kt(),Ri=sn(Nl),Rl=ki(),Dl=nn(Rl),Bl=K(),ql=nn(Bl),Fl=q(),rn=sn(Fl),Hl=Ii(),Di=sn(Hl),jl=tn(),Vl=nn(jl);function Bi(){var t=new Ri.HandlebarsEnvironment;return rn.extend(t,Ri),t.SafeString=Dl.default,t.Exception=ql.default,t.Utils=rn,t.escapeExpression=rn.escapeExpression,t.VM=Di,t.template=function(e){return Di.template(e,t)},t}var lt=Bi();lt.create=Bi;Vl.default(lt);lt.default=lt;Yt.default=lt;qi.exports=Yt.default;});var on=_((Zt,ji)=>{Zt.__esModule=true;var Hi={helpers:{helperExpression:function(e){return e.type==="SubExpression"||(e.type==="MustacheStatement"||e.type==="BlockStatement")&&!!(e.params&&e.params.length||e.hash)},scopedId:function(e){return /^\.|this\b/.test(e.original)},simpleId:function(e){return e.parts.length===1&&!Hi.helpers.scopedId(e)&&!e.depth}}};Zt.default=Hi;ji.exports=Zt.default;});var Gi=_(($t,Vi)=>{$t.__esModule=true;var Gl=function(){var t={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,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$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",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"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],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,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],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(i,s,o,u,l,a,p){var f=a.length-1;switch(l){case 1:return a[f-1];case 2:this.$=u.prepareProgram(a[f]);break;case 3:this.$=a[f];break;case 4:this.$=a[f];break;case 5:this.$=a[f];break;case 6:this.$=a[f];break;case 7:this.$=a[f];break;case 8:this.$=a[f];break;case 9:this.$={type:"CommentStatement",value:u.stripComment(a[f]),strip:u.stripFlags(a[f],a[f]),loc:u.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:a[f],value:a[f],loc:u.locInfo(this._$)};break;case 11:this.$=u.prepareRawBlock(a[f-2],a[f-1],a[f],this._$);break;case 12:this.$={path:a[f-3],params:a[f-2],hash:a[f-1]};break;case 13:this.$=u.prepareBlock(a[f-3],a[f-2],a[f-1],a[f],false,this._$);break;case 14:this.$=u.prepareBlock(a[f-3],a[f-2],a[f-1],a[f],true,this._$);break;case 15:this.$={open:a[f-5],path:a[f-4],params:a[f-3],hash:a[f-2],blockParams:a[f-1],strip:u.stripFlags(a[f-5],a[f])};break;case 16:this.$={path:a[f-4],params:a[f-3],hash:a[f-2],blockParams:a[f-1],strip:u.stripFlags(a[f-5],a[f])};break;case 17:this.$={path:a[f-4],params:a[f-3],hash:a[f-2],blockParams:a[f-1],strip:u.stripFlags(a[f-5],a[f])};break;case 18:this.$={strip:u.stripFlags(a[f-1],a[f-1]),program:a[f]};break;case 19:var c=u.prepareBlock(a[f-2],a[f-1],a[f],a[f],false,this._$),h=u.prepareProgram([c],a[f-1].loc);h.chained=true,this.$={strip:a[f-2].strip,program:h,chain:true};break;case 20:this.$=a[f];break;case 21:this.$={path:a[f-1],strip:u.stripFlags(a[f-2],a[f])};break;case 22:this.$=u.prepareMustache(a[f-3],a[f-2],a[f-1],a[f-4],u.stripFlags(a[f-4],a[f]),this._$);break;case 23:this.$=u.prepareMustache(a[f-3],a[f-2],a[f-1],a[f-4],u.stripFlags(a[f-4],a[f]),this._$);break;case 24:this.$={type:"PartialStatement",name:a[f-3],params:a[f-2],hash:a[f-1],indent:"",strip:u.stripFlags(a[f-4],a[f]),loc:u.locInfo(this._$)};break;case 25:this.$=u.preparePartialBlock(a[f-2],a[f-1],a[f],this._$);break;case 26:this.$={path:a[f-3],params:a[f-2],hash:a[f-1],strip:u.stripFlags(a[f-4],a[f])};break;case 27:this.$=a[f];break;case 28:this.$=a[f];break;case 29:this.$={type:"SubExpression",path:a[f-3],params:a[f-2],hash:a[f-1],loc:u.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:a[f],loc:u.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:u.id(a[f-2]),value:a[f],loc:u.locInfo(this._$)};break;case 32:this.$=u.id(a[f-1]);break;case 33:this.$=a[f];break;case 34:this.$=a[f];break;case 35:this.$={type:"StringLiteral",value:a[f],original:a[f],loc:u.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(a[f]),original:Number(a[f]),loc:u.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:a[f]==="true",original:a[f]==="true",loc:u.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:u.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:u.locInfo(this._$)};break;case 40:this.$=a[f];break;case 41:this.$=a[f];break;case 42:this.$=u.preparePath(true,a[f],this._$);break;case 43:this.$=u.preparePath(false,a[f],this._$);break;case 44:a[f-2].push({part:u.id(a[f]),original:a[f],separator:a[f-1]}),this.$=a[f-2];break;case 45:this.$=[{part:u.id(a[f]),original:a[f]}];break;case 46:this.$=[];break;case 47:a[f-1].push(a[f]);break;case 48:this.$=[];break;case 49:a[f-1].push(a[f]);break;case 50:this.$=[];break;case 51:a[f-1].push(a[f]);break;case 58:this.$=[];break;case 59:a[f-1].push(a[f]);break;case 64:this.$=[];break;case 65:a[f-1].push(a[f]);break;case 70:this.$=[];break;case 71:a[f-1].push(a[f]);break;case 78:this.$=[];break;case 79:a[f-1].push(a[f]);break;case 82:this.$=[];break;case 83:a[f-1].push(a[f]);break;case 86:this.$=[];break;case 87:a[f-1].push(a[f]);break;case 90:this.$=[];break;case 91:a[f-1].push(a[f]);break;case 94:this.$=[];break;case 95:a[f-1].push(a[f]);break;case 98:this.$=[a[f]];break;case 99:a[f-1].push(a[f]);break;case 100:this.$=[a[f]];break;case 101:a[f-1].push(a[f]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(i,s){throw new Error(i)},parse:function(i){var s=this,o=[0],u=[null],l=[],a=this.table,p="",f=0,c=0,h=0;this.lexer.setInput(i),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var y=this.lexer.yylloc;l.push(y);var x=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function H(){var te;return te=s.lexer.lex()||1,typeof te!="number"&&(te=s.symbols_[te]||te),te}for(var E,z,O,B,Ir,$,he={},At,oe,Un,Lt;;){if(O=o[o.length-1],this.defaultActions[O]?B=this.defaultActions[O]:((E===null||typeof E>"u")&&(E=H()),B=a[O]&&a[O][E]),typeof B>"u"||!B.length||!B[0]){var Nr="";{Lt=[];for(At in a[O])this.terminals_[At]&&At>2&&Lt.push("'"+this.terminals_[At]+"'");this.lexer.showPosition?Nr="Parse error on line "+(f+1)+`:
`+this.lexer.showPosition()+`
Expecting `+Lt.join(", ")+", got '"+(this.terminals_[E]||E)+"'":Nr="Parse error on line "+(f+1)+": Unexpected "+(E==1?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(Nr,{text:this.lexer.match,token:this.terminals_[E]||E,line:this.lexer.yylineno,loc:y,expected:Lt});}}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+E);switch(B[0]){case 1:o.push(E),u.push(this.lexer.yytext),l.push(this.lexer.yylloc),o.push(B[1]),E=null,z?(E=z,z=null):(c=this.lexer.yyleng,p=this.lexer.yytext,f=this.lexer.yylineno,y=this.lexer.yylloc,h>0);break;case 2:if(oe=this.productions_[B[1]][1],he.$=u[u.length-oe],he._$={first_line:l[l.length-(oe||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(oe||1)].first_column,last_column:l[l.length-1].last_column},x&&(he._$.range=[l[l.length-(oe||1)].range[0],l[l.length-1].range[1]]),$=this.performAction.call(he,p,c,f,this.yy,B[1],u,l),typeof $<"u")return $;oe&&(o=o.slice(0,-1*oe*2),u=u.slice(0,-1*oe),l=l.slice(0,-1*oe)),o.push(this.productions_[B[1]][0]),u.push(he.$),l.push(he._$),Un=a[o[o.length-2]][o[o.length-1]],o.push(Un);break;case 3:return true}}return true}},e=function(){var n={EOF:1,parseError:function(s,o){if(this.yy.parser)this.yy.parser.parseError(s,o);else throw new Error(s)},setInput:function(s){return this._input=s,this._more=this._less=this.done=false,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 s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var o=s.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},unput:function(s){var o=s.length,u=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o-1),this.offset-=o;var l=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),u.length-1&&(this.yylineno-=u.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===l.length?this.yylloc.first_column:0)+l[l.length-u.length].length-u[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-o]),this},more:function(){return this._more=true,this},less:function(s){this.unput(this.match.slice(s));},pastInput:function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return (s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var s=this.pastInput(),o=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
`+o+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=true);var s,o,u,l,p;this._more||(this.yytext="",this.match="");for(var f=this._currentRules(),c=0;c<f.length&&(u=this._input.match(this.rules[f[c]]),!(u&&(!o||u[0].length>o[0].length)&&(o=u,l=c,!this.options.flex)));c++);return o?(p=o[0].match(/(?:\r\n?|\n).*/g),p&&(this.yylineno+=p.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:p?p[p.length-1].length-p[p.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=false,this._input=this._input.slice(o[0].length),this.matched+=o[0],s=this.performAction.call(this,this.yy,this,f[l],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=false),s||void 0):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 s=this.next();return typeof s<"u"?s:this.lex()},begin:function(s){this.conditionStack.push(s);},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(s){this.begin(s);}};return n.options={},n.performAction=function(s,o,u,l){function a(f,c){return o.yytext=o.yytext.substring(f,o.yyleng-c+f)}switch(u){case 0:if(o.yytext.slice(-2)==="\\\\"?(a(0,1),this.begin("mu")):o.yytext.slice(-1)==="\\"?(a(0,1),this.begin("emu")):this.begin("mu"),o.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:(a(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;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 51;case 20:return 48;case 21:this.unput(o.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return o.yytext=a(1,2).replace(/\\"/g,'"'),80;case 32:return o.yytext=a(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return o.yytext=o.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return "INVALID";case 44:return 5}},n.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\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.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:false},emu:{rules:[2],inclusive:false},com:{rules:[6],inclusive:false},raw:{rules:[3,4,5],inclusive:false},INITIAL:{rules:[0,1,44],inclusive:true}},n}();t.lexer=e;function r(){this.yy={};}return r.prototype=t,t.Parser=r,new r}();$t.default=Gl;Vi.exports=$t.default;});var nr=_((rr,zi)=>{rr.__esModule=true;function Wl(t){return t&&t.__esModule?t:{default:t}}var Ul=K(),an=Wl(Ul);function er(){this.parents=[];}er.prototype={constructor:er,mutating:false,acceptKey:function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!er.prototype[n.type])throw new an.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+e.type);e[r]=n;}},acceptRequired:function(e,r){if(this.acceptKey(e,r),!e[r])throw new an.default(e.type+" requires "+r)},acceptArray:function(e){for(var r=0,n=e.length;r<n;r++)this.acceptKey(e,r),e[r]||(e.splice(r,1),r--,n--);},accept:function(e){if(e){if(!this[e.type])throw new an.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var r=this[e.type](e);if(this.current=this.parents.shift(),!this.mutating||r)return r;if(r!==false)return e}},Program:function(e){this.acceptArray(e.body);},MustacheStatement:tr,Decorator:tr,BlockStatement:Wi,DecoratorBlock:Wi,PartialStatement:Ui,PartialBlockStatement:function(e){Ui.call(this,e),this.acceptKey(e,"program");},ContentStatement:function(){},CommentStatement:function(){},SubExpression:tr,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs);},HashPair:function(e){this.acceptRequired(e,"value");}};function tr(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash");}function Wi(t){tr.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse");}function Ui(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash");}rr.default=er;zi.exports=rr.default;});var Ji=_((ir,Ki)=>{ir.__esModule=true;function zl(t){return t&&t.__esModule?t:{default:t}}var Kl=nr(),Jl=zl(Kl);function ne(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t;}ne.prototype=new Jl.default;ne.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=true;for(var n=t.body,i=0,s=n.length;i<s;i++){var o=n[i],u=this.accept(o);if(u){var l=un(n,i,r),a=ln(n,i,r),p=u.openStandalone&&l,f=u.closeStandalone&&a,c=u.inlineStandalone&&l&&a;u.close&&Oe(n,i,true),u.open&&ge(n,i,true),e&&c&&(Oe(n,i),ge(n,i)&&o.type==="PartialStatement"&&(o.indent=/([ \t]+$)/.exec(n[i-1].original)[1])),e&&p&&(Oe((o.program||o.inverse).body),ge(n,i)),e&&f&&(Oe(n,i),ge((o.inverse||o.program).body));}}return t};ne.prototype.BlockStatement=ne.prototype.DecoratorBlock=ne.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,i=r;if(r&&r.chained)for(n=r.body[0].program;i.chained;)i=i.body[i.body.length-1].program;var s={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:ln(e.body),closeStandalone:un((n||e).body)};if(t.openStrip.close&&Oe(e.body,null,true),r){var o=t.inverseStrip;o.open&&ge(e.body,null,true),o.close&&Oe(n.body,null,true),t.closeStrip.open&&ge(i.body,null,true),!this.options.ignoreStandalone&&un(e.body)&&ln(n.body)&&(ge(e.body),Oe(n.body));}else t.closeStrip.open&&ge(e.body,null,true);return s};ne.prototype.Decorator=ne.prototype.MustacheStatement=function(t){return t.strip};ne.prototype.PartialStatement=ne.prototype.CommentStatement=function(t){var e=t.strip||{};return {inlineStandalone:true,open:e.open,close:e.close}};function un(t,e,r){e===void 0&&(e=t.length);var n=t[e-1],i=t[e-2];if(!n)return r;if(n.type==="ContentStatement")return (i||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original)}function ln(t,e,r){e===void 0&&(e=-1);var n=t[e+1],i=t[e+2];if(!n)return r;if(n.type==="ContentStatement")return (i||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original)}function Oe(t,e,r){var n=t[e==null?0:e+1];if(!(!n||n.type!=="ContentStatement"||!r&&n.rightStripped)){var i=n.value;n.value=n.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==i;}}function ge(t,e,r){var n=t[e==null?t.length-1:e-1];if(!(!n||n.type!=="ContentStatement"||!r&&n.leftStripped)){var i=n.value;return n.value=n.value.replace(r?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==i,n.leftStripped}}ir.default=ne;Ki.exports=ir.default;});var Xi=_(J=>{J.__esModule=true;J.SourceLocation=Yl;J.id=Zl;J.stripFlags=$l;J.stripComment=ef;J.preparePath=tf;J.prepareMustache=rf;J.prepareRawBlock=nf;J.prepareBlock=sf;J.prepareProgram=of;J.preparePartialBlock=af;function Xl(t){re