1 line
11 KiB
Plaintext
1 line
11 KiB
Plaintext
{"version":3,"sources":["../../../src/lib/metadata/resolve-metadata.ts"],"names":["createDefaultMetadata","resolveOpenGraph","resolveTwitter","resolveTitle","resolveAsArrayOrUndefined","isClientReference","getComponentTypeModule","getLayoutOrPageModule","interopDefault","resolveAlternates","resolveAppleWebApp","resolveAppLinks","resolveRobots","resolveThemeColor","resolveVerification","resolveViewport","resolveItunes","resolveIcons","getTracer","ResolveMetadataSpan","PAGE_SEGMENT_KEY","hasIconsProperty","icons","prop","URL","Array","isArray","mergeStaticMetadata","source","target","staticFilesMetadata","metadataContext","titleTemplates","icon","apple","openGraph","twitter","manifest","hasOwnProperty","resolvedTwitter","images","metadataBase","resolvedOpenGraph","merge","key_","key","title","alternates","verification","viewport","appleWebApp","appLinks","robots","themeColor","authors","itunes","other","Object","assign","getDefinedMetadata","mod","props","tracingProps","generateMetadata","route","parent","trace","spanName","attributes","metadata","collectStaticImagesFiles","type","undefined","iconPromises","map","imageModule","length","Promise","all","flat","resolveStaticMetadata","components","staticMetadata","collectMetadata","tree","metadataItems","errorMetadataItem","errorConvention","modType","hasErrorConventionComponent","Boolean","metadataExport","push","errorMod","errorMetadataExport","resolveMetadataItems","parentParams","treePrefix","getDynamicParamFromSegment","searchParams","segment","parallelRoutes","page","currentTreePrefix","isPage","segmentParam","currentParams","value","param","layerProps","params","filter","s","join","childTree","keys","commonOgKeys","postProcessMetadata","autoFillProps","hasTwTitle","absolute","hasTwDescription","description","hasTwImages","partialTwitter","accumulateMetadata","resolvedMetadata","resolvers","generateMetadataResults","resolvingIndex","i","j","preloadMetadataExport","resolve","resolveParent","generatedMetadata","currentResolvedMetadata","process","env","NODE_ENV","freeze","require","cloneMetadata","template","resolveMetadata","resolvedMetadataItems","error","err"],"mappings":"AAYA,SAASA,qBAAqB,QAAQ,qBAAoB;AAC1D,SAASC,gBAAgB,EAAEC,cAAc,QAAQ,gCAA+B;AAChF,SAASC,YAAY,QAAQ,4BAA2B;AACxD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