{"version":3,"sources":["../../../../../src/build/webpack/loaders/metadata/discover.ts"],"names":["createStaticMetadataFromRoute","createMetadataExportsCode","METADATA_TYPE","enumMetadataFiles","dir","filename","extensions","metadataResolver","numericSuffix","collectedFiles","possibleFileNames","concat","Array","fill","map","_","index","name","resolved","push","resolvedDir","segment","isRootLayoutOrRootPage","pageExtensions","basePath","hasStaticMetadataFiles","staticImagesMetadata","icon","apple","twitter","openGraph","manifest","undefined","collectIconModuleIfExists","type","staticManifestExtension","manifestFile","length","ext","path","parse","extension","includes","slice","JSON","stringify","resolvedMetadataFiles","STATIC_METADATA_IMAGES","sort","a","b","localeCompare","forEach","filepath","imageModuleImportSource","WEBPACK_RESOURCE_QUERIES","metadata","imageModule","unshift","join"],"mappings":";;;;;;;;;;;;;;;IA6CsBA,6BAA6B;eAA7BA;;IA8FNC,yBAAyB;eAAzBA;;;6DAvIC;6BACS;iCACa;2BACE;;;;;;AAGzC,MAAMC,gBAAgB;AAEtB,mGAAmG;AACnG,eAAeC,kBACbC,GAAW,EACXC,QAAgB,EAChBC,UAA6B,EAC7B,EACEC,gBAAgB,EAChB,uFAAuF;AACvFC,aAAa,EAId;IAED,MAAMC,iBAA2B,EAAE;IAEnC,MAAMC,oBAAoB;QAACL;KAAS,CAACM,MAAM,CACzCH,gBACII,MAAM,IACHC,IAAI,CAAC,GACLC,GAAG,CAAC,CAACC,GAAGC,QAAUX,WAAWW,SAChC,EAAE;IAER,KAAK,MAAMC,QAAQP,kBAAmB;QACpC,MAAMQ,WAAW,MAAMX,iBAAiBH,KAAKa,MAAMX;QACnD,IAAIY,UAAU;YACZT,eAAeU,IAAI,CAACD;QACtB;IACF;IAEA,OAAOT;AACT;AAEO,eAAeT,8BACpBoB,WAAmB,EACnB,EACEC,OAAO,EACPd,gBAAgB,EAChBe,sBAAsB,EACtBC,cAAc,EACdC,QAAQ,EAOT;IAED,IAAIC,yBAAyB;IAC7B,MAAMC,uBAA2C;QAC/CC,MAAM,EAAE;QACRC,OAAO,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