{"version":3,"sources":["../../src/lib/turbopack-warning.ts"],"names":["validateTurboNextConfig","supportedTurbopackNextConfigOptions","prodSpecificTurboNextConfigOptions","dir","isDev","getPkgManager","require","getBabelConfigFile","defaultConfig","bold","cyan","dim","red","underline","yellow","interopDefault","isTTY","process","stdout","turbopackGradient","thankYouMessage","join","unsupportedParts","babelrc","path","basename","hasWebpack","hasTurbo","unsupportedConfig","rawNextConfig","loadConfig","PHASE_DEVELOPMENT_SERVER","rawConfig","flattenKeys","obj","prefix","keys","key","pre","length","Array","isArray","concat","push","getDeepValue","split","slice","customKeys","supportedKeys","startsWith","isSupported","some","supportedKey","e","console","error","hasWarningOrError","log","feedbackMessage","warn","map","name","pkgManager","exit"],"mappings":";;;;+BA2JsBA;;;eAAAA;;;6DA3JL;+DACM;2BAEkB;;;;;;AAEzC,MAAMC,sCAAsC;IAC1C,kCAAkC;IAClC;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA,0DAA0D;IAC1D;IACA;IACA;IAEA,+CAA+C;IAC/C;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA,qDAAqD;IACrD;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA,oCAAoC;IACpC,kEAAkE;IAClE,yEAAyE;IACzE,4CAA4C;IAC5C;IACA;IACA,sBAAsB;IACtB,oCAAoC;IACpC,oBAAoB;IACpB,4BAA4B;IAC5B,+BAA+B;IAC/B,sCAAsC;IACtC,sCAAsC;IAEtC,yBAAyB;IACzB;IACA;IACA,gDAAgD;IAChD;IACA;CAsBD;AAED,kEAAkE;AAClE,MAAMC,qCAAqC;IACzC;I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