Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
41 lines
2.3 KiB
TypeScript
41 lines
2.3 KiB
TypeScript
// Module ID: 15920
|
|
// Function ID: 15921
|
|
// Name: FeaturedBlock
|
|
// Dependencies: [19, 17, 21, 576, 4636, 8893, 15921, 7265, 7285, 2]
|
|
// Exports: default
|
|
|
|
// Module 15920 (FeaturedBlock)
|
|
import nativeDefault from "native" /* 576 */;
|
|
import useAnalyticsLocations from "useAnalyticsLocations" /* 7265 */;
|
|
import AnalyticsLocationDefault from "AnalyticsLocation" /* 7285 */;
|
|
import CollectiblesAnalyticsContext from "CollectiblesAnalyticsContext" /* 8893 */;
|
|
import FeaturedCategorySubblockDefault from "FeaturedCategorySubblock" /* 15921 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
const useAnalyticsLocationsDefault = useAnalyticsLocations;
|
|
|
|
require = fn;
|
|
function Subblocks(style) {
|
|
style = style.style;
|
|
const subblocks = style.featuredBlock.subblocks;
|
|
return subblocks.map((subblock, tilePosition) => {
|
|
const obj = { newValue: { tilePosition }, children: null };
|
|
const obj2 = { style, children: jsx(FeaturedCategorySubblockDefault, { subblock }) };
|
|
obj.children = <View style={style}>{jsx(FeaturedCategorySubblockDefault, { subblock: arg0 })}</View>;
|
|
return jsx(CollectiblesAnalyticsContext.CollectiblesAnalyticsProvider, { newValue: { tilePosition }, children: null }, tilePosition);
|
|
});
|
|
}
|
|
const View = fn(17).View;
|
|
const jsx = fn(21).jsx;
|
|
const createStyles = fn(4636);
|
|
let closure_5 = createStyles.createStyles({ container: { display: "flex", width: "100%", flexDirection: "row", flexWrap: "wrap", gap: nativeDefault.space.PX_12, paddingHorizontal: nativeDefault.space.PX_16 }, featuredSubblock: { flex: 1, flexBasis: 400, maxWidth: "100%" } });
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/collectibles/native/FeaturedBlock.tsx");
|
|
|
|
export default function FeaturedBlock(featuredBlock) {
|
|
const tmp = closure_5();
|
|
const obj = { value: useAnalyticsLocationsDefault(AnalyticsLocationDefault.COLLECTIBLES_SHOP_FEATURED_BLOCK).analyticsLocations, children: null };
|
|
const obj2 = { style: tmp.container, children: <Subblocks featuredBlock={arg0.featuredBlock} style={tmp.featuredSubblock} /> };
|
|
obj.children = <View style={tmp.container}><Subblocks featuredBlock={arg0.featuredBlock} style={tmp.featuredSubblock} /></View>;
|
|
return jsx(useAnalyticsLocations.AnalyticsLocationProvider, { value: useAnalyticsLocationsDefault(AnalyticsLocationDefault.COLLECTIBLES_SHOP_FEATURED_BLOCK).analyticsLocations, children: null });
|
|
};
|