UNPKG

create-storm-workspace

Version:

⚡A CLI tool used to generate and fully configure a Storm Workspace repository.

4 lines 2.95 MB
#!/usr/bin/env node var y9=Object.create;var sA=Object.defineProperty;var b9=Object.getOwnPropertyDescriptor;var E9=Object.getOwnPropertyNames;var C9=Object.getPrototypeOf,I9=Object.prototype.hasOwnProperty;var zn=(e,t)=>()=>(e&&(t=e(e=0)),t);var it=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),kl=(e,t)=>{for(var r in t)sA(e,r,{get:t[r],enumerable:!0})},fT=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of E9(t))!I9.call(e,l)&&l!==r&&sA(e,l,{get:()=>t[l],enumerable:!(i=b9(t,l))||i.enumerable});return e};var Bi=(e,t,r)=>(r=e!=null?y9(C9(e)):{},fT(t||!e||!e.__esModule?sA(r,"default",{value:e,enumerable:!0}):r,e)),v9=e=>fT(sA({},"__esModule",{value:!0}),e);function Nh(e=""){return e&&e.replace(/\\/g,"/").replace(S9,t=>t.toUpperCase())}function x9(){return typeof process<"u"&&typeof process.cwd=="function"?process.cwd().replace(/\\/g,"/"):"/"}function Eb(e,t){let r="",i=0,l=-1,n=0,c=null;for(let o=0;o<=e.length;++o){if(o<e.length)c=e[o];else{if(c==="/")break;c="/"}if(c==="/"){if(!(l===o-1||n===1))if(n===2){if(r.length<2||i!==2||r[r.length-1]!=="."||r[r.length-2]!=="."){if(r.length>2){let p=r.lastIndexOf("/");p===-1?(r="",i=0):(r=r.slice(0,p),i=r.length-1-r.lastIndexOf("/")),l=o,n=0;continue}else if(r.length>0){r="",i=0,l=o,n=0;continue}}t&&(r+=r.length>0?"/..":"..",i=2)}else r.length>0?r+=`/${e.slice(l+1,o)}`:r=e.slice(l+1,o),i=o-l-1;l=o,n=0}else c==="."&&n!==-1?++n:n=-1}return r}var S9,w9,B9,mT,AT,T9,Qh,Lo,An,fo,Fh,Cb,ka,Uu,gT=zn(()=>{S9=/^[A-Za-z]:\//;w9=/^[/\\]{2}/,B9=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,mT=/^[A-Za-z]:$/,AT=/^\/([A-Za-z]:)?$/,T9=/.(\.[^./]+|\.)$/,Qh=function(e){if(e.length===0)return".";e=Nh(e);let t=e.match(w9),r=fo(e),i=e[e.length-1]==="/";return e=Eb(e,!r),e.length===0?r?"/":i?"./":".":(i&&(e+="/"),mT.test(e)&&(e+="/"),t?r?`//${e}`:`//./${e}`:r&&!fo(e)?`/${e}`:e)},Lo=function(...e){let t="";for(let r of e)if(r)if(t.length>0){let i=t[t.length-1]==="/",l=r[0]==="/";i&&l?t+=r.slice(1):t+=i||l?r:`/${r}`}else t+=r;return Qh(t)};An=function(...e){e=e.map(i=>Nh(i));let t="",r=!1;for(let i=e.length-1;i>=-1&&!r;i--){let l=i>=0?e[i]:x9();!l||l.length===0||(t=`${l}/${t}`,r=fo(l))}return t=Eb(t,!r),r&&!fo(t)?`/${t}`:t.length>0?t:"."};fo=function(e){return B9.test(e)},Fh=function(e){if(e==="..")return"";let t=T9.exec(Nh(e));return t&&t[1]||""},Cb=function(e,t){let r=An(e).replace(AT,"$1").split("/"),i=An(t).replace(AT,"$1").split("/");if(i[0][1]===":"&&r[0][1]===":"&&r[0]!==i[0])return i.join("/");let l=[...r];for(let n of l){if(i[0]!==n)break;r.shift(),i.shift()}return[...r.map(()=>".."),...i].join("/")},ka=function(e){let t=Nh(e).replace(/\/$/,"").split("/").slice(0,-1);return t.length===1&&mT.test(t[0])&&(t[0]+="/"),t.join("/")||(fo(e)?"/":".")},Uu=function(e,t){let r=Nh(e).split("/"),i="";for(let l=r.length-1;l>=0;l--){let n=r[l];if(n){i=n;break}}return t&&i.endsWith(t)?i.slice(0,-t.length):i}});var Vu=zn(()=>{gT()});var bT=it((koe,yT)=>{(()=>{var e={"./node_modules/.pnpm/mlly@1.7.3/node_modules/mlly/dist lazy recursive":l=>{function n(c){return Promise.resolve().then(()=>{var o=new Error("Cannot find module '"+c+"'");throw o.code="MODULE_NOT_FOUND",o})}n.keys=()=>[],n.resolve=n,n.id="./node_modules/.pnpm/mlly@1.7.3/node_modules/mlly/dist lazy recursive",l.exports=n}},t={};function r(l){var n=t[l];if(n!==void 0)return n.exports;var c=t[l]={exports:{}};return e[l](c,c.exports,r),c.exports}r.n=l=>{var n=l&&l.__esModule?()=>l.default:()=>l;return r.d(n,{a:n}),n},r.d=(l,n)=>{for(var c in n)r.o(n,c)&&!r.o(l,c)&&Object.defineProperty(l,c,{enumerable:!0,get:n[c]})},r.o=(l,n)=>Object.prototype.hasOwnProperty.call(l,n);var i={};(()=>{"use strict";r.d(i,{default:()=>_h});let l=require("node:os");var n=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],c=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],o="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",p={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},h="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",s={5:h,"5module":h+" export import",6:h+" const class extends export import super"},a=/^in(stanceof)?$/,d=new RegExp("["+o+"]"),b=new RegExp("["+o+"\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65]");function E(g,N){for(var W=65536,X=0;X<N.length;X+=2){if((W+=N[X])>g)return!1;if((W+=N[X+1])>=g)return!0}return!1}function C(g,N){return g<65?g===36:g<91||(g<97?g===95:g<123||(g<=65535?g>=170&&d.test(String.fromCharCode(g)):N!==!1&&E(g,c)))}function f(g,N){return g<48?g===36:g<58||!(g<65)&&(g<91||(g<97?g===95:g<123||(g<=65535?g>=170&&b.test(String.fromCharCode(g)):N!==!1&&(E(g,c)||E(g,n)))))}var A=function(g,N){N===void 0&&(N={}),this.label=g,this.keyword=N.keyword,this.beforeExpr=!!N.beforeExpr,this.startsExpr=!!N.startsExpr,this.isLoop=!!N.isLoop,this.isAssign=!!N.isAssign,this.prefix=!!N.prefix,this.postfix=!!N.postfix,this.binop=N.binop||null,this.updateContext=null};function y(g,N){return new A(g,{beforeExpr:!0,binop:N})}var m={beforeExpr:!0},v={startsExpr:!0},B={};function T(g,N){return N===void 0&&(N={}),N.keyword=g,B[g]=new A(g,N)}var w={num:new A("num",v),regexp:new A("regexp",v),string:new A("string",v),name:new A("name",v),privateId:new A("privateId",v),eof:new A("eof"),bracketL:new A("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new A("]"),braceL:new A("{",{beforeExpr:!0,startsExpr:!0}),braceR:new A("}"),parenL:new A("(",{beforeExpr:!0,startsExpr:!0}),parenR:new A(")"),comma:new A(",",m),semi:new A(";",m),colon:new A(":",m),dot:new A("."),question:new A("?",m),questionDot:new A("?."),arrow:new A("=>",m),template:new A("template"),invalidTemplate:new A("invalidTemplate"),ellipsis:new A("...",m),backQuote:new A("`",v),dollarBraceL:new A("${",{beforeExpr:!0,startsExpr:!0}),eq:new A("=",{beforeExpr:!0,isAssign:!0}),assign:new A("_=",{beforeExpr:!0,isAssign:!0}),incDec:new A("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new A("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:y("||",1),logicalAND:y("&&",2),bitwiseOR:y("|",3),bitwiseXOR:y("^",4),bitwiseAND:y("&",5),equality:y("==/!=/===/!==",6),relational:y("</>/<=/>=",7),bitShift:y("<</>>/>>>",8),plusMin:new A("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:y("%",10),star:y("*",10),slash:y("/",10),starstar:new A("**",{beforeExpr:!0}),coalesce:y("??",1),_break:T("break"),_case:T("case",m),_catch:T("catch"),_continue:T("continue"),_debugger:T("debugger"),_default:T("default",m),_do:T("do",{isLoop:!0,beforeExpr:!0}),_else:T("else",m),_finally:T("finally"),_for:T("for",{isLoop:!0}),_function:T("function",v),_if:T("if"),_return:T("return",m),_switch:T("switch"),_throw:T("throw",m),_try:T("try"),_var:T("var"),_const:T("const"),_while:T("while",{isLoop:!0}),_with:T("with"),_new:T("new",{beforeExpr:!0,startsExpr:!0}),_this:T("this",v),_super:T("super",v),_class:T("class",v),_extends:T("extends",m),_export:T("export"),_import:T("import",v),_null:T("null",v),_true:T("true",v),_false:T("false",v),_in:T("in",{beforeExpr:!0,binop:7}),_instanceof:T("instanceof",{beforeExpr:!0,binop:7}),_typeof:T("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:T("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:T("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},D=/\r\n?|\n|\u2028|\u2029/,P=new RegExp(D.source,"g");function k(g){return g===10||g===13||g===8232||g===8233}function x(g,N,W){W===void 0&&(W=g.length);for(var X=N;X<W;X++){var Ee=g.charCodeAt(X);if(k(Ee))return X<W-1&&Ee===13&&g.charCodeAt(X+1)===10?X+2:X+1}return-1}var R=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Q=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,M=Object.prototype,V=M.hasOwnProperty,K=M.toString,U=Object.hasOwn||function(g,N){return V.call(g,N)},O=Array.isArray||function(g){return K.call(g)==="[object Array]"},$=Object.create(null);function re(g){return $[g]||($[g]=new RegExp("^(?:"+g.replace(/ /g,"|")+")$"))}function ae(g){return g<=65535?String.fromCharCode(g):(g-=65536,String.fromCharCode(55296+(g>>10),56320+(1023&g)))}var ne=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ce=function(g,N){this.line=g,this.column=N};ce.prototype.offset=function(g){return new ce(this.line,this.column+g)};var Y=function(g,N,W){this.start=N,this.end=W,g.sourceFile!==null&&(this.source=g.sourceFile)};function H(g,N){for(var W=1,X=0;;){var Ee=x(g,X,N);if(Ee<0)return new ce(W,N-X);++W,X=Ee}}var ie={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Z=!1;function le(g){var N={};for(var W in ie)N[W]=g&&U(g,W)?g[W]:ie[W];if(N.ecmaVersion==="latest"?N.ecmaVersion=1e8:N.ecmaVersion==null?(!Z&&typeof console=="object"&&console.warn&&(Z=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required. Defaulting to 2020, but this will stop working in the future.`)),N.ecmaVersion=11):N.ecmaVersion>=2015&&(N.ecmaVersion-=2009),N.allowReserved==null&&(N.allowReserved=N.ecmaVersion<5),g&&g.allowHashBang!=null||(N.allowHashBang=N.ecmaVersion>=14),O(N.onToken)){var X=N.onToken;N.onToken=function(Ee){return X.push(Ee)}}return O(N.onComment)&&(N.onComment=function(Ee,Oe){return function(Ue,Xe,At,Dt,mt,Yt){var Ot={type:Ue?"Block":"Line",value:Xe,start:At,end:Dt};Ee.locations&&(Ot.loc=new Y(this,mt,Yt)),Ee.ranges&&(Ot.range=[At,Dt]),Oe.push(Ot)}}(N,N.onComment)),N}function Ce(g,N){return 2|(g?4:0)|(N?8:0)}var ue=function(g,N,W){this.options=g=le(g),this.sourceFile=g.sourceFile,this.keywords=re(s[g.ecmaVersion>=6?6:g.sourceType==="module"?"5module":5]);var X="";g.allowReserved!==!0&&(X=p[g.ecmaVersion>=6?6:g.ecmaVersion===5?5:3],g.sourceType==="module"&&(X+=" await")),this.reservedWords=re(X);var Ee=(X?X+" ":"")+p.strict;this.reservedWordsStrict=re(Ee),this.reservedWordsStrictBind=re(Ee+" "+p.strictBind),this.input=String(N),this.containsEsc=!1,W?(this.pos=W,this.lineStart=this.input.lastIndexOf(` `,W-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(D).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=w.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=g.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&g.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},be={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};ue.prototype.parse=function(){var g=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(g)},be.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},be.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},be.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},be.canAwait.get=function(){for(var g=this.scopeStack.length-1;g>=0;g--){var N=this.scopeStack[g];if(N.inClassFieldInit||256&N.flags)return!1;if(2&N.flags)return(4&N.flags)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},be.allowSuper.get=function(){var g=this.currentThisScope(),N=g.flags,W=g.inClassFieldInit;return(64&N)>0||W||this.options.allowSuperOutsideMethod},be.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},be.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},be.allowNewDotTarget.get=function(){var g=this.currentThisScope(),N=g.flags,W=g.inClassFieldInit;return(258&N)>0||W},be.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},ue.extend=function(){for(var g=[],N=arguments.length;N--;)g[N]=arguments[N];for(var W=this,X=0;X<g.length;X++)W=g[X](W);return W},ue.parse=function(g,N){return new this(N,g).parse()},ue.parseExpressionAt=function(g,N,W){var X=new this(W,g,N);return X.nextToken(),X.parseExpression()},ue.tokenizer=function(g,N){return new this(N,g)},Object.defineProperties(ue.prototype,be);var Be=ue.prototype,we=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Be.strictDirective=function(g){if(this.options.ecmaVersion<5)return!1;for(;;){Q.lastIndex=g,g+=Q.exec(this.input)[0].length;var N=we.exec(this.input.slice(g));if(!N)return!1;if((N[1]||N[2])==="use strict"){Q.lastIndex=g+N[0].length;var W=Q.exec(this.input),X=W.index+W[0].length,Ee=this.input.charAt(X);return Ee===";"||Ee==="}"||D.test(W[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(Ee)||Ee==="!"&&this.input.charAt(X+1)==="=")}g+=N[0].length,Q.lastIndex=g,g+=Q.exec(this.input)[0].length,this.input[g]===";"&&g++}},Be.eat=function(g){return this.type===g&&(this.next(),!0)},Be.isContextual=function(g){return this.type===w.name&&this.value===g&&!this.containsEsc},Be.eatContextual=function(g){return!!this.isContextual(g)&&(this.next(),!0)},Be.expectContextual=function(g){this.eatContextual(g)||this.unexpected()},Be.canInsertSemicolon=function(){return this.type===w.eof||this.type===w.braceR||D.test(this.input.slice(this.lastTokEnd,this.start))},Be.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Be.semicolon=function(){this.eat(w.semi)||this.insertSemicolon()||this.unexpected()},Be.afterTrailingComma=function(g,N){if(this.type===g)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),N||this.next(),!0},Be.expect=function(g){this.eat(g)||this.unexpected()},Be.unexpected=function(g){this.raise(g??this.start,"Unexpected token")};var ee=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Be.checkPatternErrors=function(g,N){if(g){g.trailingComma>-1&&this.raiseRecoverable(g.trailingComma,"Comma is not permitted after the rest element");var W=N?g.parenthesizedAssign:g.parenthesizedBind;W>-1&&this.raiseRecoverable(W,N?"Assigning to rvalue":"Parenthesized pattern")}},Be.checkExpressionErrors=function(g,N){if(!g)return!1;var W=g.shorthandAssign,X=g.doubleProto;if(!N)return W>=0||X>=0;W>=0&&this.raise(W,"Shorthand property assignments are valid only in destructuring patterns"),X>=0&&this.raiseRecoverable(X,"Redefinition of __proto__ property")},Be.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Be.isSimpleAssignTarget=function(g){return g.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(g.expression):g.type==="Identifier"||g.type==="MemberExpression"};var oe=ue.prototype;oe.parseTopLevel=function(g){var N=Object.create(null);for(g.body||(g.body=[]);this.type!==w.eof;){var W=this.parseStatement(null,!0,N);g.body.push(W)}if(this.inModule)for(var X=0,Ee=Object.keys(this.undefinedExports);X<Ee.length;X+=1){var Oe=Ee[X];this.raiseRecoverable(this.undefinedExports[Oe].start,"Export '"+Oe+"' is not defined")}return this.adaptDirectivePrologue(g.body),this.next(),g.sourceType=this.options.sourceType,this.finishNode(g,"Program")};var xe={kind:"loop"},Le={kind:"switch"};oe.isLet=function(g){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Q.lastIndex=this.pos;var N=Q.exec(this.input),W=this.pos+N[0].length,X=this.input.charCodeAt(W);if(X===91||X===92)return!0;if(g)return!1;if(X===123||X>55295&&X<56320)return!0;if(C(X,!0)){for(var Ee=W+1;f(X=this.input.charCodeAt(Ee),!0);)++Ee;if(X===92||X>55295&&X<56320)return!0;var Oe=this.input.slice(W,Ee);if(!a.test(Oe))return!0}return!1},oe.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Q.lastIndex=this.pos;var g,N=Q.exec(this.input),W=this.pos+N[0].length;return!(D.test(this.input.slice(this.pos,W))||this.input.slice(W,W+8)!=="function"||W+8!==this.input.length&&(f(g=this.input.charCodeAt(W+8))||g>55295&&g<56320))},oe.parseStatement=function(g,N,W){var X,Ee=this.type,Oe=this.startNode();switch(this.isLet(g)&&(Ee=w._var,X="let"),Ee){case w._break:case w._continue:return this.parseBreakContinueStatement(Oe,Ee.keyword);case w._debugger:return this.parseDebuggerStatement(Oe);case w._do:return this.parseDoStatement(Oe);case w._for:return this.parseForStatement(Oe);case w._function:return g&&(this.strict||g!=="if"&&g!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(Oe,!1,!g);case w._class:return g&&this.unexpected(),this.parseClass(Oe,!0);case w._if:return this.parseIfStatement(Oe);case w._return:return this.parseReturnStatement(Oe);case w._switch:return this.parseSwitchStatement(Oe);case w._throw:return this.parseThrowStatement(Oe);case w._try:return this.parseTryStatement(Oe);case w._const:case w._var:return X=X||this.value,g&&X!=="var"&&this.unexpected(),this.parseVarStatement(Oe,X);case w._while:return this.parseWhileStatement(Oe);case w._with:return this.parseWithStatement(Oe);case w.braceL:return this.parseBlock(!0,Oe);case w.semi:return this.parseEmptyStatement(Oe);case w._export:case w._import:if(this.options.ecmaVersion>10&&Ee===w._import){Q.lastIndex=this.pos;var Ue=Q.exec(this.input),Xe=this.pos+Ue[0].length,At=this.input.charCodeAt(Xe);if(At===40||At===46)return this.parseExpressionStatement(Oe,this.parseExpression())}return this.options.allowImportExportEverywhere||(N||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),Ee===w._import?this.parseImport(Oe):this.parseExport(Oe,W);default:if(this.isAsyncFunction())return g&&this.unexpected(),this.next(),this.parseFunctionStatement(Oe,!0,!g);var Dt=this.value,mt=this.parseExpression();return Ee===w.name&&mt.type==="Identifier"&&this.eat(w.colon)?this.parseLabeledStatement(Oe,Dt,mt,g):this.parseExpressionStatement(Oe,mt)}},oe.parseBreakContinueStatement=function(g,N){var W=N==="break";this.next(),this.eat(w.semi)||this.insertSemicolon()?g.label=null:this.type!==w.name?this.unexpected():(g.label=this.parseIdent(),this.semicolon());for(var X=0;X<this.labels.length;++X){var Ee=this.labels[X];if((g.label==null||Ee.name===g.label.name)&&(Ee.kind!=null&&(W||Ee.kind==="loop")||g.label&&W))break}return X===this.labels.length&&this.raise(g.start,"Unsyntactic "+N),this.finishNode(g,W?"BreakStatement":"ContinueStatement")},oe.parseDebuggerStatement=function(g){return this.next(),this.semicolon(),this.finishNode(g,"DebuggerStatement")},oe.parseDoStatement=function(g){return this.next(),this.labels.push(xe),g.body=this.parseStatement("do"),this.labels.pop(),this.expect(w._while),g.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(w.semi):this.semicolon(),this.finishNode(g,"DoWhileStatement")},oe.parseForStatement=function(g){this.next();var N=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(xe),this.enterScope(0),this.expect(w.parenL),this.type===w.semi)return N>-1&&this.unexpected(N),this.parseFor(g,null);var W=this.isLet();if(this.type===w._var||this.type===w._const||W){var X=this.startNode(),Ee=W?"let":this.value;return this.next(),this.parseVar(X,!0,Ee),this.finishNode(X,"VariableDeclaration"),(this.type===w._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&X.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===w._in?N>-1&&this.unexpected(N):g.await=N>-1),this.parseForIn(g,X)):(N>-1&&this.unexpected(N),this.parseFor(g,X))}var Oe=this.isContextual("let"),Ue=!1,Xe=this.containsEsc,At=new ee,Dt=this.start,mt=N>-1?this.parseExprSubscripts(At,"await"):this.parseExpression(!0,At);return this.type===w._in||(Ue=this.options.ecmaVersion>=6&&this.isContextual("of"))?(N>-1?(this.type===w._in&&this.unexpected(N),g.await=!0):Ue&&this.options.ecmaVersion>=8&&(mt.start!==Dt||Xe||mt.type!=="Identifier"||mt.name!=="async"?this.options.ecmaVersion>=9&&(g.await=!1):this.unexpected()),Oe&&Ue&&this.raise(mt.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(mt,!1,At),this.checkLValPattern(mt),this.parseForIn(g,mt)):(this.checkExpressionErrors(At,!0),N>-1&&this.unexpected(N),this.parseFor(g,mt))},oe.parseFunctionStatement=function(g,N,W){return this.next(),this.parseFunction(g,z|(W?0:Ne),!1,N)},oe.parseIfStatement=function(g){return this.next(),g.test=this.parseParenExpression(),g.consequent=this.parseStatement("if"),g.alternate=this.eat(w._else)?this.parseStatement("if"):null,this.finishNode(g,"IfStatement")},oe.parseReturnStatement=function(g){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(w.semi)||this.insertSemicolon()?g.argument=null:(g.argument=this.parseExpression(),this.semicolon()),this.finishNode(g,"ReturnStatement")},oe.parseSwitchStatement=function(g){var N;this.next(),g.discriminant=this.parseParenExpression(),g.cases=[],this.expect(w.braceL),this.labels.push(Le),this.enterScope(0);for(var W=!1;this.type!==w.braceR;)if(this.type===w._case||this.type===w._default){var X=this.type===w._case;N&&this.finishNode(N,"SwitchCase"),g.cases.push(N=this.startNode()),N.consequent=[],this.next(),X?N.test=this.parseExpression():(W&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),W=!0,N.test=null),this.expect(w.colon)}else N||this.unexpected(),N.consequent.push(this.parseStatement(null));return this.exitScope(),N&&this.finishNode(N,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(g,"SwitchStatement")},oe.parseThrowStatement=function(g){return this.next(),D.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),g.argument=this.parseExpression(),this.semicolon(),this.finishNode(g,"ThrowStatement")};var ge=[];oe.parseCatchClauseParam=function(){var g=this.parseBindingAtom(),N=g.type==="Identifier";return this.enterScope(N?32:0),this.checkLValPattern(g,N?4:2),this.expect(w.parenR),g},oe.parseTryStatement=function(g){if(this.next(),g.block=this.parseBlock(),g.handler=null,this.type===w._catch){var N=this.startNode();this.next(),this.eat(w.parenL)?N.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),N.param=null,this.enterScope(0)),N.body=this.parseBlock(!1),this.exitScope(),g.handler=this.finishNode(N,"CatchClause")}return g.finalizer=this.eat(w._finally)?this.parseBlock():null,g.handler||g.finalizer||this.raise(g.start,"Missing catch or finally clause"),this.finishNode(g,"TryStatement")},oe.parseVarStatement=function(g,N,W){return this.next(),this.parseVar(g,!1,N,W),this.semicolon(),this.finishNode(g,"VariableDeclaration")},oe.parseWhileStatement=function(g){return this.next(),g.test=this.parseParenExpression(),this.labels.push(xe),g.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(g,"WhileStatement")},oe.parseWithStatement=function(g){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),g.object=this.parseParenExpression(),g.body=this.parseStatement("with"),this.finishNode(g,"WithStatement")},oe.parseEmptyStatement=function(g){return this.next(),this.finishNode(g,"EmptyStatement")},oe.parseLabeledStatement=function(g,N,W,X){for(var Ee=0,Oe=this.labels;Ee<Oe.length;Ee+=1)Oe[Ee].name===N&&this.raise(W.start,"Label '"+N+"' is already declared");for(var Ue=this.type.isLoop?"loop":this.type===w._switch?"switch":null,Xe=this.labels.length-1;Xe>=0;Xe--){var At=this.labels[Xe];if(At.statementStart!==g.start)break;At.statementStart=this.start,At.kind=Ue}return this.labels.push({name:N,kind:Ue,statementStart:this.start}),g.body=this.parseStatement(X?X.indexOf("label")===-1?X+"label":X:"label"),this.labels.pop(),g.label=W,this.finishNode(g,"LabeledStatement")},oe.parseExpressionStatement=function(g,N){return g.expression=N,this.semicolon(),this.finishNode(g,"ExpressionStatement")},oe.parseBlock=function(g,N,W){for(g===void 0&&(g=!0),N===void 0&&(N=this.startNode()),N.body=[],this.expect(w.braceL),g&&this.enterScope(0);this.type!==w.braceR;){var X=this.parseStatement(null);N.body.push(X)}return W&&(this.strict=!1),this.next(),g&&this.exitScope(),this.finishNode(N,"BlockStatement")},oe.parseFor=function(g,N){return g.init=N,this.expect(w.semi),g.test=this.type===w.semi?null:this.parseExpression(),this.expect(w.semi),g.update=this.type===w.parenR?null:this.parseExpression(),this.expect(w.parenR),g.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(g,"ForStatement")},oe.parseForIn=function(g,N){var W=this.type===w._in;return this.next(),N.type==="VariableDeclaration"&&N.declarations[0].init!=null&&(!W||this.options.ecmaVersion<8||this.strict||N.kind!=="var"||N.declarations[0].id.type!=="Identifier")&&this.raise(N.start,(W?"for-in":"for-of")+" loop variable declaration may not have an initializer"),g.left=N,g.right=W?this.parseExpression():this.parseMaybeAssign(),this.expect(w.parenR),g.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(g,W?"ForInStatement":"ForOfStatement")},oe.parseVar=function(g,N,W,X){for(g.declarations=[],g.kind=W;;){var Ee=this.startNode();if(this.parseVarId(Ee,W),this.eat(w.eq)?Ee.init=this.parseMaybeAssign(N):X||W!=="const"||this.type===w._in||this.options.ecmaVersion>=6&&this.isContextual("of")?X||Ee.id.type==="Identifier"||N&&(this.type===w._in||this.isContextual("of"))?Ee.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),g.declarations.push(this.finishNode(Ee,"VariableDeclarator")),!this.eat(w.comma))break}return g},oe.parseVarId=function(g,N){g.id=this.parseBindingAtom(),this.checkLValPattern(g.id,N==="var"?1:2,!1)};var z=1,Ne=2;function Ye(g,N){var W=N.key.name,X=g[W],Ee="true";return N.type!=="MethodDefinition"||N.kind!=="get"&&N.kind!=="set"||(Ee=(N.static?"s":"i")+N.kind),X==="iget"&&Ee==="iset"||X==="iset"&&Ee==="iget"||X==="sget"&&Ee==="sset"||X==="sset"&&Ee==="sget"?(g[W]="true",!1):!!X||(g[W]=Ee,!1)}function Je(g,N){var W=g.computed,X=g.key;return!W&&(X.type==="Identifier"&&X.name===N||X.type==="Literal"&&X.value===N)}oe.parseFunction=function(g,N,W,X,Ee){this.initFunction(g),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!X)&&(this.type===w.star&&N&Ne&&this.unexpected(),g.generator=this.eat(w.star)),this.options.ecmaVersion>=8&&(g.async=!!X),N&z&&(g.id=4&N&&this.type!==w.name?null:this.parseIdent(),!g.id||N&Ne||this.checkLValSimple(g.id,this.strict||g.generator||g.async?this.treatFunctionsAsVar?1:2:3));var Oe=this.yieldPos,Ue=this.awaitPos,Xe=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Ce(g.async,g.generator)),N&z||(g.id=this.type===w.name?this.parseIdent():null),this.parseFunctionParams(g),this.parseFunctionBody(g,W,!1,Ee),this.yieldPos=Oe,this.awaitPos=Ue,this.awaitIdentPos=Xe,this.finishNode(g,N&z?"FunctionDeclaration":"FunctionExpression")},oe.parseFunctionParams=function(g){this.expect(w.parenL),g.params=this.parseBindingList(w.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},oe.parseClass=function(g,N){this.next();var W=this.strict;this.strict=!0,this.parseClassId(g,N),this.parseClassSuper(g);var X=this.enterClassBody(),Ee=this.startNode(),Oe=!1;for(Ee.body=[],this.expect(w.braceL);this.type!==w.braceR;){var Ue=this.parseClassElement(g.superClass!==null);Ue&&(Ee.body.push(Ue),Ue.type==="MethodDefinition"&&Ue.kind==="constructor"?(Oe&&this.raiseRecoverable(Ue.start,"Duplicate constructor in the same class"),Oe=!0):Ue.key&&Ue.key.type==="PrivateIdentifier"&&Ye(X,Ue)&&this.raiseRecoverable(Ue.key.start,"Identifier '#"+Ue.key.name+"' has already been declared"))}return this.strict=W,this.next(),g.body=this.finishNode(Ee,"ClassBody"),this.exitClassBody(),this.finishNode(g,N?"ClassDeclaration":"ClassExpression")},oe.parseClassElement=function(g){if(this.eat(w.semi))return null;var N=this.options.ecmaVersion,W=this.startNode(),X="",Ee=!1,Oe=!1,Ue="method",Xe=!1;if(this.eatContextual("static")){if(N>=13&&this.eat(w.braceL))return this.parseClassStaticBlock(W),W;this.isClassElementNameStart()||this.type===w.star?Xe=!0:X="static"}if(W.static=Xe,!X&&N>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==w.star||this.canInsertSemicolon()?X="async":Oe=!0),!X&&(N>=9||!Oe)&&this.eat(w.star)&&(Ee=!0),!X&&!Oe&&!Ee){var At=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?Ue=At:X=At)}if(X?(W.computed=!1,W.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),W.key.name=X,this.finishNode(W.key,"Identifier")):this.parseClassElementName(W),N<13||this.type===w.parenL||Ue!=="method"||Ee||Oe){var Dt=!W.static&&Je(W,"constructor"),mt=Dt&&g;Dt&&Ue!=="method"&&this.raise(W.key.start,"Constructor can't have get/set modifier"),W.kind=Dt?"constructor":Ue,this.parseClassMethod(W,Ee,Oe,mt)}else this.parseClassField(W);return W},oe.isClassElementNameStart=function(){return this.type===w.name||this.type===w.privateId||this.type===w.num||this.type===w.string||this.type===w.bracketL||this.type.keyword},oe.parseClassElementName=function(g){this.type===w.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),g.computed=!1,g.key=this.parsePrivateIdent()):this.parsePropertyName(g)},oe.parseClassMethod=function(g,N,W,X){var Ee=g.key;g.kind==="constructor"?(N&&this.raise(Ee.start,"Constructor can't be a generator"),W&&this.raise(Ee.start,"Constructor can't be an async method")):g.static&&Je(g,"prototype")&&this.raise(Ee.start,"Classes may not have a static property named prototype");var Oe=g.value=this.parseMethod(N,W,X);return g.kind==="get"&&Oe.params.length!==0&&this.raiseRecoverable(Oe.start,"getter should have no params"),g.kind==="set"&&Oe.params.length!==1&&this.raiseRecoverable(Oe.start,"setter should have exactly one param"),g.kind==="set"&&Oe.params[0].type==="RestElement"&&this.raiseRecoverable(Oe.params[0].start,"Setter cannot use rest params"),this.finishNode(g,"MethodDefinition")},oe.parseClassField=function(g){if(Je(g,"constructor")?this.raise(g.key.start,"Classes can't have a field named 'constructor'"):g.static&&Je(g,"prototype")&&this.raise(g.key.start,"Classes can't have a static field named 'prototype'"),this.eat(w.eq)){var N=this.currentThisScope(),W=N.inClassFieldInit;N.inClassFieldInit=!0,g.value=this.parseMaybeAssign(),N.inClassFieldInit=W}else g.value=null;return this.semicolon(),this.finishNode(g,"PropertyDefinition")},oe.parseClassStaticBlock=function(g){g.body=[];var N=this.labels;for(this.labels=[],this.enterScope(320);this.type!==w.braceR;){var W=this.parseStatement(null);g.body.push(W)}return this.next(),this.exitScope(),this.labels=N,this.finishNode(g,"StaticBlock")},oe.parseClassId=function(g,N){this.type===w.name?(g.id=this.parseIdent(),N&&this.checkLValSimple(g.id,2,!1)):(N===!0&&this.unexpected(),g.id=null)},oe.parseClassSuper=function(g){g.superClass=this.eat(w._extends)?this.parseExprSubscripts(null,!1):null},oe.enterClassBody=function(){var g={declared:Object.create(null),used:[]};return this.privateNameStack.push(g),g.declared},oe.exitClassBody=function(){var g=this.privateNameStack.pop(),N=g.declared,W=g.used;if(this.options.checkPrivateFields)for(var X=this.privateNameStack.length,Ee=X===0?null:this.privateNameStack[X-1],Oe=0;Oe<W.length;++Oe){var Ue=W[Oe];U(N,Ue.name)||(Ee?Ee.used.push(Ue):this.raiseRecoverable(Ue.start,"Private field '#"+Ue.name+"' must be declared in an enclosing class"))}},oe.parseExportAllDeclaration=function(g,N){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(g.exported=this.parseModuleExportName(),this.checkExport(N,g.exported,this.lastTokStart)):g.exported=null),this.expectContextual("from"),this.type!==w.string&&this.unexpected(),g.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(g.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(g,"ExportAllDeclaration")},oe.parseExport=function(g,N){if(this.next(),this.eat(w.star))return this.parseExportAllDeclaration(g,N);if(this.eat(w._default))return this.checkExport(N,"default",this.lastTokStart),g.declaration=this.parseExportDefaultDeclaration(),this.finishNode(g,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())g.declaration=this.parseExportDeclaration(g),g.declaration.type==="VariableDeclaration"?this.checkVariableExport(N,g.declaration.declarations):this.checkExport(N,g.declaration.id,g.declaration.id.start),g.specifiers=[],g.source=null;else{if(g.declaration=null,g.specifiers=this.parseExportSpecifiers(N),this.eatContextual("from"))this.type!==w.string&&this.unexpected(),g.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(g.attributes=this.parseWithClause());else{for(var W=0,X=g.specifiers;W<X.length;W+=1){var Ee=X[W];this.checkUnreserved(Ee.local),this.checkLocalExport(Ee.local),Ee.local.type==="Literal"&&this.raise(Ee.local.start,"A string literal cannot be used as an exported binding without `from`.")}g.source=null}this.semicolon()}return this.finishNode(g,"ExportNamedDeclaration")},oe.parseExportDeclaration=function(g){return this.parseStatement(null)},oe.parseExportDefaultDeclaration=function(){var g;if(this.type===w._function||(g=this.isAsyncFunction())){var N=this.startNode();return this.next(),g&&this.next(),this.parseFunction(N,4|z,!1,g)}if(this.type===w._class){var W=this.startNode();return this.parseClass(W,"nullableID")}var X=this.parseMaybeAssign();return this.semicolon(),X},oe.checkExport=function(g,N,W){g&&(typeof N!="string"&&(N=N.type==="Identifier"?N.name:N.value),U(g,N)&&this.raiseRecoverable(W,"Duplicate export '"+N+"'"),g[N]=!0)},oe.checkPatternExport=function(g,N){var W=N.type;if(W==="Identifier")this.checkExport(g,N,N.start);else if(W==="ObjectPattern")for(var X=0,Ee=N.properties;X<Ee.length;X+=1){var Oe=Ee[X];this.checkPatternExport(g,Oe)}else if(W==="ArrayPattern")for(var Ue=0,Xe=N.elements;Ue<Xe.length;Ue+=1){var At=Xe[Ue];At&&this.checkPatternExport(g,At)}else W==="Property"?this.checkPatternExport(g,N.value):W==="AssignmentPattern"?this.checkPatternExport(g,N.left):W==="RestElement"&&this.checkPatternExport(g,N.argument)},oe.checkVariableExport=function(g,N){if(g)for(var W=0,X=N;W<X.length;W+=1){var Ee=X[W];this.checkPatternExport(g,Ee.id)}},oe.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},oe.parseExportSpecifier=function(g){var N=this.startNode();return N.local=this.parseModuleExportName(),N.exported=this.eatContextual("as")?this.parseModuleExportName():N.local,this.checkExport(g,N.exported,N.exported.start),this.finishNode(N,"ExportSpecifier")},oe.parseExportSpecifiers=function(g){var N=[],W=!0;for(this.expect(w.braceL);!this.eat(w.braceR);){if(W)W=!1;else if(this.expect(w.comma),this.afterTrailingComma(w.braceR))break;N.push(this.parseExportSpecifier(g))}return N},oe.parseImport=function(g){return this.next(),this.type===w.string?(g.specifiers=ge,g.source=this.parseExprAtom()):(g.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),g.source=this.type===w.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(g.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(g,"ImportDeclaration")},oe.parseImportSpecifier=function(){var g=this.startNode();return g.imported=this.parseModuleExportName(),this.eatContextual("as")?g.local=this.parseIdent():(this.checkUnreserved(g.imported),g.local=g.imported),this.checkLValSimple(g.local,2),this.finishNode(g,"ImportSpecifier")},oe.parseImportDefaultSpecifier=function(){var g=this.startNode();return g.local=this.parseIdent(),this.checkLValSimple(g.local,2),this.finishNode(g,"ImportDefaultSpecifier")},oe.parseImportNamespaceSpecifier=function(){var g=this.startNode();return this.next(),this.expectContextual("as"),g.local=this.parseIdent(),this.checkLValSimple(g.local,2),this.finishNode(g,"ImportNamespaceSpecifier")},oe.parseImportSpecifiers=function(){var g=[],N=!0;if(this.type===w.name&&(g.push(this.parseImportDefaultSpecifier()),!this.eat(w.comma)))return g;if(this.type===w.star)return g.push(this.parseImportNamespaceSpecifier()),g;for(this.expect(w.braceL);!this.eat(w.braceR);){if(N)N=!1;else if(this.expect(w.comma),this.afterTrailingComma(w.braceR))break;g.push(this.parseImportSpecifier())}return g},oe.parseWithClause=function(){var g=[];if(!this.eat(w._with))return g;this.expect(w.braceL);for(var N={},W=!0;!this.eat(w.braceR);){if(W)W=!1;else if(this.expect(w.comma),this.afterTrailingComma(w.braceR))break;var X=this.parseImportAttribute(),Ee=X.key.type==="Identifier"?X.key.name:X.key.value;U(N,Ee)&&this.raiseRecoverable(X.key.start,"Duplicate attribute key '"+Ee+"'"),N[Ee]=!0,g.push(X)}return g},oe.parseImportAttribute=function(){var g=this.startNode();return g.key=this.type===w.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(w.colon),this.type!==w.string&&this.unexpected(),g.value=this.parseExprAtom(),this.finishNode(g,"ImportAttribute")},oe.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===w.string){var g=this.parseLiteral(this.value);return ne.test(g.value)&&this.raise(g.start,"An export name cannot include a lone surrogate."),g}return this.parseIdent(!0)},oe.adaptDirectivePrologue=function(g){for(var N=0;N<g.length&&this.isDirectiveCandidate(g[N]);++N)g[N].directive=g[N].expression.raw.slice(1,-1)},oe.isDirectiveCandidate=function(g){return this.options.ecmaVersion>=5&&g.type==="ExpressionStatement"&&g.expression.type==="Literal"&&typeof g.expression.value=="string"&&(this.input[g.start]==='"'||this.input[g.start]==="'")};var et=ue.prototype;et.toAssignable=function(g,N,W){if(this.options.ecmaVersion>=6&&g)switch(g.type){case"Identifier":this.inAsync&&g.name==="await"&&this.raise(g.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":g.type="ObjectPattern",W&&this.checkPatternErrors(W,!0);for(var X=0,Ee=g.properties;X<Ee.length;X+=1){var Oe=Ee[X];this.toAssignable(Oe,N),Oe.type!=="RestElement"||Oe.argument.type!=="ArrayPattern"&&Oe.argument.type!=="ObjectPattern"||this.raise(Oe.argument.start,"Unexpected token")}break;case"Property":g.kind!=="init"&&this.raise(g.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(g.value,N);break;case"ArrayExpression":g.type="ArrayPattern",W&&this.checkPatternErrors(W,!0),this.toAssignableList(g.elements,N);break;case"SpreadElement":g.type="RestElement",this.toAssignable(g.argument,N),g.argument.type==="AssignmentPattern"&&this.raise(g.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":g.operator!=="="&&this.raise(g.left.end,"Only '=' operator can be used for specifying default value."),g.type="AssignmentPattern",delete g.operator,this.toAssignable(g.left,N);break;case"ParenthesizedExpression":this.toAssignable(g.expression,N,W);break;case"ChainExpression":this.raiseRecoverable(g.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!N)break;default:this.raise(g.start,"Assigning to rvalue")}else W&&this.checkPatternErrors(W,!0);return g},et.toAssignableList=function(g,N){for(var W=g.length,X=0;X<W;X++){var Ee=g[X];Ee&&this.toAssignable(Ee,N)}if(W){var Oe=g[W-1];this.options.ecmaVersion===6&&N&&Oe&&Oe.type==="RestElement"&&Oe.argument.type!=="Identifier"&&this.unexpected(Oe.argument.start)}re