{"version":3,"sources":["../../../src/build/output/index.ts"],"names":["startedDevelopmentServer","formatAmpMessages","ampValidation","watchCompilers","reportTrigger","appUrl","bindAddr","consoleStore","setState","amp","output","bold","messages","chalkError","red","ampError","page","error","push","message","specUrl","chalkWarn","yellow","ampWarn","warn","errors","warnings","devOnlyFilter","err","code","filter","length","index","textTable","align","stringLength","str","stripAnsi","buildStore","createStore","client","server","edgeServer","buildWasDone","clientWasLoading","serverWasLoading","edgeServerWasLoading","subscribe","state","trigger","getState","loading","bootstrap","partialState","typeChecking","totalModulesCount","hasEdgeServer","concat","Object","keys","k","sort","reduce","a","c","newAmp","tapCompiler","key","compiler","onEvent","hooks","invalid","tap","done","stats","formatWebpackMessages","toJson","preset","moduleTrace","hasErrors","hasWarnings","compilation","modules","size","COMPILER_NAMES","status","undefined"],"mappings":";;;;;;;;;;;;;;;;;;IAWgBA,wBAAwB;eAAxBA;;IAkCAC,iBAAiB;eAAjBA;;IAuJAC,aAAa;eAAbA;;IA0BAC,cAAc;eAAdA;;IAgGAC,aAAa;eAAbA;;;4BA9TkB;kEACZ;kEACA;iEACE;8EACU;uBACI;2BAGP;;;;;;AAGxB,SAASJ,yBAAyBK,MAAc,EAAEC,QAAgB;IACvEC,YAAY,CAACC,QAAQ,CAAC;QAAEH;QAAQC;IAAS;AAC3C;AAgCO,SAASL,kBAAkBQ,GAAkB;IAClD,IAAIC,SAASC,IAAAA,gBAAI,EAAC,oBAAoB;IACtC,IAAIC,WAAuB,EAAE;IAE7B,MAAMC,aAAaC,IAAAA,eAAG,EAAC;IACvB,SAASC,SAASC,IAAY,EAAEC,KAAgB;QAC9CL,SAASM,IAAI,CAAC;YAACF;YAAMH;YAAYI,MAAME,OAAO;YAAEF,MAAMG,OAAO,IAAI;SAAG;IACtE;IAEA,MAAMC,YAAYC,IAAAA,kBAAM,EAAC;IACzB,SAASC,QAAQP,IAAY,EAAEQ,IAAe;QAC5CZ,SAASM,IAAI,CAAC;YAACF;YAAMK;YAAWG,KAAKL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