=0;if(!c&&!h)return i.post.match(/,.*\}/)?(t=i.pre+"{"+i.body+Rg+i.post,fl(t)):[t];var d;if(c)d=i.body.split(/\.\./);else if(d=AI(i.body),d.length===1&&(d=fl(d[0],!1).map(Vge),d.length===1))return s.map(function(W){return i.pre+d[0]+W});var f;if(c){var p=jg(d[0]),m=jg(d[1]),y=Math.max(d[0].length,d[1].length),g=d.length==3?Math.abs(jg(d[2])):1,b=Kge,S=m0){var R=new Array(w+1).join("0");v<0?T="-"+R+T.slice(1):T=R+T;}}f.push(T);}}else {f=[];for(var q=0;q!r.has(i.id)),this.storiesInFiles.delete(e));}getFiles(){return Array.from(this.storiesInFiles.keys())}getTemplates(){return new Map(this.stories.map(e=>[e.hash,e.template.getSource()]))}hasStories(e){return this.storiesInFiles.has(e)}getStories(e){let r=this.storiesInFiles.get(e);return r?this.stories.filter(i=>r.has(i.id)):[]}},Sg,al=()=>Sg!==void 0?Sg:Sg=new Eg,vg=/(stories|story)\.(m?js|ts)x?$/,T_=t=>({test:vg,createIndex:async(e,r)=>{let i=(await(0, E_.readCsf)(e,{...r})).parse();delete me.cache[e];let n=me(e);t.unregister(e);let s=[];return i.indexInputs.forEach(a=>{var o,l;try{let u=((o=n[a.exportName])==null?void 0:o.template)??((l=n.default)==null?void 0:l.template)??void 0;u!==void 0&&a.__id!==void 0&&t.register(a.__id,u,e),s.push(a);}catch(u){v_.logger.warn(Mt`
Unable to index story "${a.exportName}" in ${e}:
${u}
- `);}}),s}});en();var S0e={php:"php",script:"bin/console"},Tg=async(t,e=[],r={})=>{let i={...S0e,...r},n=[i.php,i.script,t].concat(e).map(s=>`'${s}'`).join(" ");return new Promise((s,a)=>{child_process.exec(n,(o,l,u)=>{o&&a(new Error(Vt`
+ `);}}),s}});Ii();var g0e={php:"php",script:"bin/console"},Tg=async(t,e=[],r={})=>{let i={...g0e,...r},n=[i.php,i.script,t].concat(e).map(s=>`'${s}'`).join(" ");return new Promise((s,a)=>{child_process.exec(n,(o,l,u)=>{o&&a(new Error(Mt`
Symfony console failed with exit status ${o.code}:
CMD: ${o.cmd}
Output: ${l}
Error output: ${u}
- `)),s(l);});})},__=async(t,e=[],r={})=>{let i=await Tg(t,[...e,"--format=json"],r);return JSON.parse(i)},I_=async()=>(await __("debug:container",["--parameter=kernel.project_dir"]))["kernel.project_dir"],O_=async()=>(await __("debug:config",["twig_component","--resolve-env"])).twig_component;function Dg(t,e){let r=t.split(":"),i=r.slice(0,-1),n=`${r.slice(-1)}.html.twig`,s=[];for(let a in e.namespaces)if(a!==""&&t.indexOf(a)===0){s.push(uf__namespace.join(e.namespaces[a],i.slice(1).join("/")));break}e.namespaces[""]!==void 0&&s.push(uf__namespace.join(e.namespaces[""],i.join("/"))),s.push(uf__namespace.join(e.anonymousTemplateDirectory,i.join("/")));try{return me.resolve(`./${n}`,{paths:s})}catch(a){throw new Error(Vt`Unable to find template file for component "${t}": ${a}`)}}en();var cI=_n(uI()),Ng=class{constructor(e,r){this.source=e;this.components=r;this.source=e;}getSource(){return this.source}toString(){return this.source}getComponents(){return this.components}};function Cge(t){let e=["block"],r=new RegExp(/twig:[A-Za-z]+(?::[A-Za-z]+)*/),i=new RegExp(/component\(\s*'([A-Za-z]+(?::[A-Za-z]+)*)'\s*(?:,.*)?\)/,"gs"),n=s=>Object.entries(s).reduce((a,[o,l])=>{if(l!==null&&typeof l=="object")a.push(...n(l));else if(typeof l=="string")for(let u of l.matchAll(i))a.push([...u][1]);return r.test(o)&&a.push(o.replace("twig:","")),a},[]);try{let s=new cI.XMLParser().parse(`${t}
`);return n(s).filter(a=>!e.includes(a))}catch(s){throw new Error("Invalid XML.",{cause:{parserError:s,template:t}})}}function fI(t,...e){let r=String.raw({raw:t},...e);return new Ng(r,Cge(r))}var EO=_n(yI()),vO=_n(vI());var VI=_n(FI(),1);var pl=t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")};var zge={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},hl=t=>t.replace(/[[\]\\-]/g,"\\$&"),Gge=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),MI=t=>t.join(""),LI=(t,e)=>{let r=e;if(t.charAt(r)!=="[")throw new Error("not in a brace expression");let i=[],n=[],s=r+1,a=!1,o=!1,l=!1,u=!1,c=r,h="";e:for(;sh?i.push(hl(h)+"-"+hl(m)):m===h&&i.push(hl(m)),h="",s++;continue}if(t.startsWith("-]",s+1)){i.push(hl(m+"-")),s+=2;continue}if(t.startsWith("-",s+1)){h=m,s+=2;continue}i.push(hl(m)),s++;}if(ce?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");var Yge=new Set(["!","?","+","*","@"]),BI=t=>Yge.has(t),Hge="(?!(?:^|/)\\.\\.?(?:$|/))",pf="(?!\\.)",Qge=new Set(["[","."]),Zge=new Set(["..","."]),ebe=new Set("().*{}+?[]^$\\!"),tbe=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Ug="[^/]",jI=Ug+"*?",RI=Ug+"+?",ma=class t{type;#e;#r;#s=!1;#i=[];#o;#u;#f;#l=!1;#a;#t;#m=!1;constructor(e,r,i={}){this.type=e,e&&(this.#r=!0),this.#o=r,this.#e=this.#o?this.#o.#e:this,this.#a=this.#e===this?i:this.#e.#a,this.#f=this.#e===this?[]:this.#e.#f,e==="!"&&!this.#e.#l&&this.#f.push(this),this.#u=this.#o?this.#o.#i.length:0;}get hasMagic(){if(this.#r!==void 0)return this.#r;for(let e of this.#i)if(typeof e!="string"&&(e.type||e.hasMagic))return this.#r=!0;return this.#r}toString(){return this.#t!==void 0?this.#t:this.type?this.#t=this.type+"("+this.#i.map(e=>String(e)).join("|")+")":this.#t=this.#i.map(e=>String(e)).join("")}#g(){if(this!==this.#e)throw new Error("should only call on root");if(this.#l)return this;this.toString(),this.#l=!0;let e;for(;e=this.#f.pop();){if(e.type!=="!")continue;let r=e,i=r.#o;for(;i;){for(let n=r.#u+1;!i.type&&ntypeof i=="string"?i:i.toJSON()):[this.type,...this.#i.map(i=>i.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#l&&((r=this.#o)==null?void 0:r.type)==="!")&&e.push({}),e}isStart(){var r;if(this.#e===this)return !0;if(!((r=this.#o)!=null&&r.isStart()))return !1;if(this.#u===0)return !0;let e=this.#o;for(let i=0;i{let[m,y,g,b]=typeof p=="string"?t.#E(p,this.#r,u):p.toRegExpSource(e);return this.#r=this.#r||g,this.#s=this.#s||b,m}).join(""),h="";if(this.isStart()&&typeof this.#i[0]=="string"&&!(this.#i.length===1&&Zge.has(this.#i[0]))){let m=Qge,y=r&&m.has(c.charAt(0))||c.startsWith("\\.")&&m.has(c.charAt(2))||c.startsWith("\\.\\.")&&m.has(c.charAt(4)),g=!r&&!e&&m.has(c.charAt(0));h=y?Hge:g?pf:"";}let d="";return this.isEnd()&&this.#e.#l&&((l=this.#o)==null?void 0:l.type)==="!"&&(d="(?:$|\\/)"),[h+c+d,oi(c),this.#r=!!this.#r,this.#s]}let i=this.type==="*"||this.type==="+",n=this.type==="!"?"(?:(?!(?:":"(?:",s=this.#p(r);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){let u=this.toString();return this.#i=[u],this.type=null,this.#r=void 0,[u,oi(this.toString()),!1,!1]}let a=!i||e||r||!pf?"":this.#p(!0);a===s&&(a=""),a&&(s=`(?:${s})(?:${a})*?`);let o="";if(this.type==="!"&&this.#m)o=(this.isStart()&&!r?pf:"")+RI;else {let u=this.type==="!"?"))"+(this.isStart()&&!r&&!e?pf:"")+jI+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`;o=n+s+u;}return [o,oi(s),this.#r=!!this.#r,this.#s]}#p(e){return this.#i.map(r=>{if(typeof r=="string")throw new Error("string type in extglob ast??");let[i,n,s,a]=r.toRegExpSource(e);return this.#s=this.#s||a,i}).filter(r=>!(this.isStart()&&this.isEnd())||!!r).join("|")}static#E(e,r,i=!1){let n=!1,s="",a=!1;for(let o=0;oe?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&");var gr=(t,e,r={})=>(pl(e),!r.nocomment&&e.charAt(0)==="#"?!1:new _r(e,r).match(t)),rbe=/^\*+([^+@!?\*\[\(]*)$/,ibe=t=>e=>!e.startsWith(".")&&e.endsWith(t),nbe=t=>e=>e.endsWith(t),sbe=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),abe=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),obe=/^\*+\.\*+$/,lbe=t=>!t.startsWith(".")&&t.includes("."),ube=t=>t!=="."&&t!==".."&&t.includes("."),cbe=/^\.\*+$/,fbe=t=>t!=="."&&t!==".."&&t.startsWith("."),pbe=/^\*+$/,hbe=t=>t.length!==0&&!t.startsWith("."),dbe=t=>t.length!==0&&t!=="."&&t!=="..",mbe=/^\?+([^+@!?\*\[\(]*)?$/,ybe=([t,e=""])=>{let r=WI([t]);return e?(e=e.toLowerCase(),i=>r(i)&&i.toLowerCase().endsWith(e)):r},gbe=([t,e=""])=>{let r=KI([t]);return e?(e=e.toLowerCase(),i=>r(i)&&i.toLowerCase().endsWith(e)):r},bbe=([t,e=""])=>{let r=KI([t]);return e?i=>r(i)&&i.endsWith(e):r},Sbe=([t,e=""])=>{let r=WI([t]);return e?i=>r(i)&&i.endsWith(e):r},WI=([t])=>{let e=t.length;return r=>r.length===e&&!r.startsWith(".")},KI=([t])=>{let e=t.length;return r=>r.length===e&&r!=="."&&r!==".."},XI=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",qI={win32:{sep:"\\"},posix:{sep:"/"}},Ebe=XI==="win32"?qI.win32.sep:qI.posix.sep;gr.sep=Ebe;var Jt=Symbol("globstar **");gr.GLOBSTAR=Jt;var vbe="[^/]",xbe=vbe+"*?",Tbe="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Dbe="(?:(?!(?:\\/|^)\\.).)*?",wbe=(t,e={})=>r=>gr(r,t,e);gr.filter=wbe;var Jr=(t,e={})=>Object.assign({},t,e),Abe=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return gr;let e=gr;return Object.assign((i,n,s={})=>e(i,n,Jr(t,s)),{Minimatch:class extends e.Minimatch{constructor(n,s={}){super(n,Jr(t,s));}static defaults(n){return e.defaults(Jr(t,n)).Minimatch}},AST:class extends e.AST{constructor(n,s,a={}){super(n,s,Jr(t,a));}static fromGlob(n,s={}){return e.AST.fromGlob(n,Jr(t,s))}},unescape:(i,n={})=>e.unescape(i,Jr(t,n)),escape:(i,n={})=>e.escape(i,Jr(t,n)),filter:(i,n={})=>e.filter(i,Jr(t,n)),defaults:i=>e.defaults(Jr(t,i)),makeRe:(i,n={})=>e.makeRe(i,Jr(t,n)),braceExpand:(i,n={})=>e.braceExpand(i,Jr(t,n)),match:(i,n,s={})=>e.match(i,n,Jr(t,s)),sep:e.sep,GLOBSTAR:Jt})};gr.defaults=Abe;var JI=(t,e={})=>(pl(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0, VI.default)(t));gr.braceExpand=JI;var Pbe=(t,e={})=>new _r(t,e).makeRe();gr.makeRe=Pbe;var Cbe=(t,e,r={})=>{let i=new _r(e,r);return t=t.filter(n=>i.match(n)),i.options.nonull&&!t.length&&t.push(e),t};gr.match=Cbe;var UI=/[?*]|[+@!]\(.*?\)|\[|\]/,_be=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),_r=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(e,r={}){pl(e),r=r||{},this.options=r,this.pattern=e,this.platform=r.platform||XI,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!r.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!r.nonegate,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=r.windowsNoMagicRoot!==void 0?r.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make();}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return !0;for(let e of this.set)for(let r of e)if(typeof r!="string")return !0;return !1}debug(...e){}make(){let e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],r.debug&&(this.debug=(...s)=>console.error(...s)),this.debug(this.pattern,this.globSet);let i=this.globSet.map(s=>this.slashSplit(s));this.globParts=this.preprocess(i),this.debug(this.pattern,this.globParts);let n=this.globParts.map((s,a,o)=>{if(this.isWindows&&this.windowsNoMagicRoot){let l=s[0]===""&&s[1]===""&&(s[2]==="?"||!UI.test(s[2]))&&!UI.test(s[3]),u=/^[a-z]:/i.test(s[0]);if(l)return [...s.slice(0,4),...s.slice(4).map(c=>this.parse(c))];if(u)return [s[0],...s.slice(1).map(c=>this.parse(c))]}return s.map(l=>this.parse(l))});if(this.debug(this.pattern,n),this.set=n.filter(s=>s.indexOf(!1)===-1),this.isWindows)for(let s=0;s=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):r>=1?e=this.levelOneOptimize(e):e=this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(r=>{let i=-1;for(;(i=r.indexOf("**",i+1))!==-1;){let n=i;for(;r[n+1]==="**";)n++;n!==i&&r.splice(i,n-i);}return r})}levelOneOptimize(e){return e.map(r=>(r=r.reduce((i,n)=>{let s=i[i.length-1];return n==="**"&&s==="**"?i:n===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(i.pop(),i):(i.push(n),i)},[]),r.length===0?[""]:r))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let n=1;nn&&i.splice(n+1,a-n);let o=i[n+1],l=i[n+2],u=i[n+3];if(o!==".."||!l||l==="."||l===".."||!u||u==="."||u==="..")continue;r=!0,i.splice(n,1);let c=i.slice(0);c[n]="**",e.push(c),n--;}if(!this.preserveMultipleSlashes){for(let a=1;ar.length)}partsMatch(e,r,i=!1){let n=0,s=0,a=[],o="";for(;nS?r=r.slice(E):S>E&&(e=e.slice(S)));}}let{optimizationLevel:s=1}=this.options;s>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:r}),this.debug("matchOne",e.length,r.length);for(var a=0,o=0,l=e.length,u=r.length;a{let i=await Tg(t,[...e,"--format=json"],r);return JSON.parse(i)},D_=async()=>(await x_("debug:container",["--parameter=kernel.project_dir"]))["kernel.project_dir"],w_=async()=>(await x_("debug:config",["twig_component","--resolve-env"])).twig_component;function xg(t,e){let r=t.split(":"),i=r.slice(0,-1),n=`${r.slice(-1)}.html.twig`,s=[];for(let a in e.namespaces)if(a!==""&&t.indexOf(a)===0){s.push(of__namespace.join(e.namespaces[a],i.slice(1).join("/")));break}e.namespaces[""]!==void 0&&s.push(of__namespace.join(e.namespaces[""],i.join("/"))),s.push(of__namespace.join(e.anonymousTemplateDirectory,i.join("/")));try{return me.resolve(`./${n}`,{paths:s})}catch(a){throw new Error(Mt`Unable to find template file for component "${t}": ${a}`)}}Ii();var nI=Hi(iI()),kg=class{constructor(e,r){this.source=e;this.components=r;this.source=e;}getSource(){return this.source}toString(){return this.source}getComponents(){return this.components}};function Age(t){let e=["block"],r=new RegExp(/twig:[A-Za-z]+(?::[A-Za-z]+)*/),i=new RegExp(/component\(\s*'([A-Za-z]+(?::[A-Za-z]+)*)'\s*(?:,.*)?\)/,"gs"),n=s=>Object.entries(s).reduce((a,[o,l])=>{if(l!==null&&typeof l=="object")a.push(...n(l));else if(typeof l=="string")for(let u of l.matchAll(i))a.push([...u][1]);return r.test(o)&&a.push(o.replace("twig:","")),a},[]);try{let s=new nI.XMLParser().parse(`${t}
`);return n(s).filter(a=>!e.includes(a))}catch(s){throw new Error("Invalid XML.",{cause:{parserError:s,template:t}})}}function sI(t,...e){let r=String.raw({raw:t},...e);return new kg(r,Age(r))}var SO=Hi(cI()),EO=Hi(af());var mO=Hi(mI());var LI=Hi(CI(),1);var pl=t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")};var Jge={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},hl=t=>t.replace(/[[\]\\-]/g,"\\$&"),$ge=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),_I=t=>t.join(""),II=(t,e)=>{let r=e;if(t.charAt(r)!=="[")throw new Error("not in a brace expression");let i=[],n=[],s=r+1,a=!1,o=!1,l=!1,u=!1,c=r,h="";e:for(;sh?i.push(hl(h)+"-"+hl(m)):m===h&&i.push(hl(m)),h="",s++;continue}if(t.startsWith("-]",s+1)){i.push(hl(m+"-")),s+=2;continue}if(t.startsWith("-",s+1)){h=m,s+=2;continue}i.push(hl(m)),s++;}if(ce?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");var zge=new Set(["!","?","+","*","@"]),OI=t=>zge.has(t),Gge="(?!(?:^|/)\\.\\.?(?:$|/))",cf="(?!\\.)",Yge=new Set(["[","."]),Hge=new Set(["..","."]),Qge=new Set("().*{}+?[]^$\\!"),Zge=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),qg="[^/]",kI=qg+"*?",NI=qg+"+?",ma=class t{type;#e;#r;#s=!1;#i=[];#o;#u;#f;#l=!1;#a;#t;#m=!1;constructor(e,r,i={}){this.type=e,e&&(this.#r=!0),this.#o=r,this.#e=this.#o?this.#o.#e:this,this.#a=this.#e===this?i:this.#e.#a,this.#f=this.#e===this?[]:this.#e.#f,e==="!"&&!this.#e.#l&&this.#f.push(this),this.#u=this.#o?this.#o.#i.length:0;}get hasMagic(){if(this.#r!==void 0)return this.#r;for(let e of this.#i)if(typeof e!="string"&&(e.type||e.hasMagic))return this.#r=!0;return this.#r}toString(){return this.#t!==void 0?this.#t:this.type?this.#t=this.type+"("+this.#i.map(e=>String(e)).join("|")+")":this.#t=this.#i.map(e=>String(e)).join("")}#g(){if(this!==this.#e)throw new Error("should only call on root");if(this.#l)return this;this.toString(),this.#l=!0;let e;for(;e=this.#f.pop();){if(e.type!=="!")continue;let r=e,i=r.#o;for(;i;){for(let n=r.#u+1;!i.type&&n