{"version":3,"sources":["../../src/server/config.ts"],"names":["normalizeConfig","warnOptionHasBeenDeprecated","warnOptionHasBeenMovedOutOfExperimental","loadConfig","getEnabledExperimentalFeatures","processZodErrorMessage","issue","message","path","length","identifier","reduce","acc","cur","includes","replaceAll","separator","code","received","ZodParsedType","undefined","expected","ZodUtil","joinValues","options","normalizeZodErrors","error","shouldExit","issues","flatMap","messages","unionErrors","map","forEach","unionMessages","unionShouldExit","push","config","nestedPropertyKey","reason","silent","current","found","nestedPropertyKeys","split","key","Log","warn","oldKey","newKey","configFileName","experimental","newKeys","shift","assignDefaults","dir","userConfig","result","exportTrailingSlash","trailingSlash","Object","keys","currentConfig","value","Error","userDistDir","trim","Array","isArray","ext","constructor","defaultConfig","c","k","v","output","i18n","rewrites","redirects","headers","assetPrefix","basePath","outputFileTracingIgnores","outputFileTracingExcludes","startsWith","endsWith","amp","canonicalBase","images","domains","URL","hostname","loader","imageConfigDefault","pathHasPrefix","loaderFile","absolutePath","join","existsSync","outputStandalone","serverActionsBodySizeLimit","parseInt","toString","isNaN","outputFileTracingRoot","isAbsolute","resolve","useDeploymentId","process","env","NEXT_DEPLOYMENT_ID","deploymentId","rootDir","findRootDir","outputFileTracing","setHttpClientAndAgentOptions","i18nType","locales","defaultLocaleType","defaultLocale","invalidDomainItems","filter","item","domain","console","defaultLocaleDuplicate","find","altItem","hasInvalidLocale","locale","domainItem","JSON","stringify","invalidLocales","String","normalizedLocales","Set","duplicateLocales","localeLower","toLowerCase","has","add","size","localeDetectionType","localeDetection","devIndicators","buildActivityPosition","allowedValues","userProvidedModularizeImports","modularizeImports","transform","lodash","ramda","useAccordionButton","antd","ahooks","createUpdateEffect","IconProvider","createFromIconfontCN","getTwoToneColor","setTwoToneColor","userProvidedOptimizePackageImports","optimizePackageImports","phase","customConfig","rawConfig","onLoadUserConfig","__NEXT_PRIVATE_RENDER_WORKER","loadWebpackHook","err","__NEXT_PRIVATE_STANDALONE_CONFIG","parse","__NEXT_PRIVATE_RENDER_WORKER_CONFIG","curLog","info","loadEnvConfig","PHASE_DEVELOPMENT_SERVER","configOrigin","findUp","CONFIG_FILES","cwd","basename","userConfigModule","envBefore","assign","__NEXT_TEST_MODE","require","pathToFileURL","href","newEnv","updateInitialEnv","default","NEXT_MINIMAL","configSchema","state","safeParse","success","errorMessages","flushAndExit","target","slice","turbo","loaders","rules","entries","completeConfig","relative","configFile","configBaseName","extname","nonJsPath","sync","userNextConfigExperimental","enabledExperiments","featureName"],"mappings":";;;;;;;;;;;;;;;;;;IA0BSA,eAAe;eAAfA,6BAAe;;IAgFRC,2BAA2B;eAA3BA;;IAwBAC,uCAAuC;eAAvCA;;IA+sBhB,OA8NC;eA9N6BC;;IAgOdC,8BAA8B;eAA9BA;;;oBAjjCW;sBAC4C;qBACzC;+DACX;6DACE;2BACkC;8BACR;6BAQf;6BACG;qBAEa;8BACnB;0BACD;mCACiB;+BACf;qBAEiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAM/C,SAASC,uBAAuBC,KAAe;IAC7C,IAAIC,UAAUD,MAAMC,OAAO;IAE3B,IAAIC,OAAO;IAEX,IAAIF,MAAME,IAAI,CAACC,MAAM,GAAG,GAAG;QACzB,IAAIH,MAAME,IAAI,CAACC,MAAM,KAAK,GAAG;YAC3B,MAAMC,aAAaJ,MAAME,IAAI,CAAC,EAAE;YAChC,IAAI,OAAOE,eAAe,UAAU;gBAClC,+CAA+C;gBAC/CF,OAAO,CAAC,MAAM,EAAEE,WAAW,CAAC;YAC9B,OAAO;gBACLF,OAAO,CAAC,CAAC,EAAEE,WAAW,CAAC,CAAC;YAC1B;QACF,OAAO;YACL,+CAA+C;YAC/CF,OAAO,CAAC,CAAC,EAAEF,MAAME,IAAI,CAACG,MAAM,CAAS,CAACC,KAAKC;gBACzC,IAAI,OAAOA,QAAQ,UAAU;oBAC3B,cAAc;oBACd,OAAO,CAAC,EAAED,IAAI,CAAC,EAAEC,IAAI,CAAC,CAAC;gBACzB;gB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