{"version":3,"sources":["../../src/tools/server-tools.js"],"names":["usage","text","console","log","args","process","argv","slice","length","exit","command","option","JSON","parse","error","shift","socket","require","emit","response"],"mappings":"AAAA,a,CAEA;;AACA,IAAIA,KAAK,GAAG,SAARA,KAAQ,GAAW;AACrB,MAAIC,IAAI,6lCAAR;AAqBAC,EAAAA,OAAO,CAACC,GAAR,CAAYF,IAAZ;AACD,CAvBD;;AAyBA,IAAIG,IAAI,GAAGC,OAAO,CAACC,IAAR,CAAaC,KAAb,CAAmB,CAAnB,CAAX;;AAEA,IAAIH,IAAI,CAACI,MAAL,KAAgB,CAApB,EAAuB;AACrBR,EAAAA,KAAK;AACLK,EAAAA,OAAO,CAACI,IAAR,CAAa,CAAb;AACD;;AACD,IAAIC,OAAO,GAAG,EAAd;AACA,IAAIC,MAAM,GAAG,EAAb;;AACA,QAAQP,IAAI,CAAC,CAAD,CAAZ;AACE,OAAK,SAAL;AACA,OAAK,QAAL;AACEM,IAAAA,OAAO,GAAGN,IAAI,CAAC,CAAD,CAAd;AACA;;AAEF,OAAK,YAAL;AACA,OAAK,eAAL;AACA,OAAK,UAAL;AACA,OAAK,aAAL;AACE,QAAIA,IAAI,CAAC,CAAD,CAAJ,KAAY,aAAZ,IAA6BA,IAAI,CAACI,MAAL,GAAc,CAA/C,EAAkD;AAChDR,MAAAA,KAAK;AACLK,MAAAA,OAAO,CAACI,IAAR,CAAa,CAAb;AACD;;AACD,QAAIL,IAAI,CAAC,CAAD,CAAJ,IAAWA,IAAI,CAAC,CAAD,CAAJ,KAAY,EAA3B,EAA+B;AAC7BM,MAAAA,OAAO,GAAGN,IAAI,CAAC,CAAD,CAAd;;AACA,UAAIA,IAAI,CAAC,CAAD,CAAJ,KAAY,UAAhB,EAA4B;AAC1B,YAAI;AACFO,UAAAA,MAAM,GAAG,CAACC,IAAI,CAACC,KAAL,CAAWT,IAAI,CAAC,CAAD,CAAf,CAAD,CAAT;AACD,SAFD,CAEE,OAAOU,KAAP,EAAc;AACdZ,U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