mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 06:31:03 +00:00
1 line
6.8 KiB
Plaintext
1 line
6.8 KiB
Plaintext
{"dependencies":[{"name":"react","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":7,"column":16,"index":300},"end":{"line":7,"column":32,"index":316}}],"key":"XN65eZP/QkNMzaBAXbG/zPyidpY=","exportNames":["*"]}},{"name":"react-native","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":8,"column":23,"index":341},"end":{"line":8,"column":46,"index":364}}],"key":"lGv6jwyWtmgghjjYvCX5yhM2Jt0=","exportNames":["*"]}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.useHrefAttrs = void 0;\n exports.useInteropClassName = useInteropClassName;\n // Fork of @react-navigation/native Link.tsx with `href` and `replace` support added and\n // `to` / `action` support removed.\n var react_1 = require(_dependencyMap[0], \"react\");\n var react_native_1 = require(_dependencyMap[1], \"react-native\");\n // Mutate the style prop to add the className on web.\n function useInteropClassName(props) {\n if (react_native_1.Platform.OS !== 'web') {\n return props.style;\n }\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return (0, react_1.useMemo)(() => {\n if (props.className == null) {\n return props.style;\n }\n var cssStyle = {\n $$css: true,\n __routerLinkClassName: props.className\n };\n if (Array.isArray(props.style)) {\n return [...props.style, cssStyle];\n }\n return [props.style, cssStyle];\n }, [props.style, props.className]);\n }\n exports.useHrefAttrs = react_native_1.Platform.select({\n web: function useHrefAttrs(_ref) {\n var asChild = _ref.asChild,\n rel = _ref.rel,\n target = _ref.target,\n download = _ref.download;\n return (0, react_1.useMemo)(() => {\n var hrefAttrs = {\n rel,\n target,\n download\n };\n if (asChild) {\n return hrefAttrs;\n }\n return {\n hrefAttrs\n };\n }, [asChild, rel, target, download]);\n },\n default: function useHrefAttrs() {\n return {};\n }\n });\n});","lineCount":57,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"useHrefAttrs"],[7,22,3,20],[7,25,3,23],[7,30,3,28],[7,31,3,29],[8,2,4,0,"exports"],[8,9,4,7],[8,10,4,8,"useInteropClassName"],[8,29,4,27],[8,32,4,30,"useInteropClassName"],[8,51,4,49],[9,2,5,0],[10,2,6,0],[11,2,7,0],[11,6,7,6,"react_1"],[11,13,7,13],[11,16,7,16,"require"],[11,23,7,23],[11,24,7,23,"_dependencyMap"],[11,38,7,23],[11,50,7,31],[11,51,7,32],[12,2,8,0],[12,6,8,6,"react_native_1"],[12,20,8,20],[12,23,8,23,"require"],[12,30,8,30],[12,31,8,30,"_dependencyMap"],[12,45,8,30],[12,64,8,45],[12,65,8,46],[13,2,9,0],[14,2,10,0],[14,11,10,9,"useInteropClassName"],[14,30,10,28,"useInteropClassName"],[14,31,10,29,"props"],[14,36,10,34],[14,38,10,36],[15,4,11,4],[15,8,11,8,"react_native_1"],[15,22,11,22],[15,23,11,23,"Platform"],[15,31,11,31],[15,32,11,32,"OS"],[15,34,11,34],[15,39,11,39],[15,44,11,44],[15,46,11,46],[16,6,12,8],[16,13,12,15,"props"],[16,18,12,20],[16,19,12,21,"style"],[16,24,12,26],[17,4,13,4],[18,4,14,4],[19,4,15,4],[19,11,15,11],[19,12,15,12],[19,13,15,13],[19,15,15,15,"react_1"],[19,22,15,22],[19,23,15,23,"useMemo"],[19,30,15,30],[19,32,15,32],[19,38,15,38],[20,6,16,8],[20,10,16,12,"props"],[20,15,16,17],[20,16,16,18,"className"],[20,25,16,27],[20,29,16,31],[20,33,16,35],[20,35,16,37],[21,8,17,12],[21,15,17,19,"props"],[21,20,17,24],[21,21,17,25,"style"],[21,26,17,30],[22,6,18,8],[23,6,19,8],[23,10,19,14,"cssStyle"],[23,18,19,22],[23,21,19,25],[24,8,20,12,"$$css"],[24,13,20,17],[24,15,20,19],[24,19,20,23],[25,8,21,12,"__routerLinkClassName"],[25,29,21,33],[25,31,21,35,"props"],[25,36,21,40],[25,37,21,41,"className"],[26,6,22,8],[26,7,22,9],[27,6,23,8],[27,10,23,12,"Array"],[27,15,23,17],[27,16,23,18,"isArray"],[27,23,23,25],[27,24,23,26,"props"],[27,29,23,31],[27,30,23,32,"style"],[27,35,23,37],[27,36,23,38],[27,38,23,40],[28,8,24,12],[28,15,24,19],[28,16,24,20],[28,19,24,23,"props"],[28,24,24,28],[28,25,24,29,"style"],[28,30,24,34],[28,32,24,36,"cssStyle"],[28,40,24,44],[28,41,24,45],[29,6,25,8],[30,6,26,8],[30,13,26,15],[30,14,26,16,"props"],[30,19,26,21],[30,20,26,22,"style"],[30,25,26,27],[30,27,26,29,"cssStyle"],[30,35,26,37],[30,36,26,38],[31,4,27,4],[31,5,27,5],[31,7,27,7],[31,8,27,8,"props"],[31,13,27,13],[31,14,27,14,"style"],[31,19,27,19],[31,21,27,21,"props"],[31,26,27,26],[31,27,27,27,"className"],[31,36,27,36],[31,37,27,37],[31,38,27,38],[32,2,28,0],[33,2,29,0,"exports"],[33,9,29,7],[33,10,29,8,"useHrefAttrs"],[33,22,29,20],[33,25,29,23,"react_native_1"],[33,39,29,37],[33,40,29,38,"Platform"],[33,48,29,46],[33,49,29,47,"select"],[33,55,29,53],[33,56,29,54],[34,4,30,4,"web"],[34,7,30,7],[34,9,30,9],[34,18,30,18,"useHrefAttrs"],[34,30,30,30,"useHrefAttrs"],[34,31,30,30,"_ref"],[34,35,30,30],[34,37,30,67],[35,6,30,67],[35,10,30,33,"asChild"],[35,17,30,40],[35,20,30,40,"_ref"],[35,24,30,40],[35,25,30,33,"asChild"],[35,32,30,40],[36,8,30,42,"rel"],[36,11,30,45],[36,14,30,45,"_ref"],[36,18,30,45],[36,19,30,42,"rel"],[36,22,30,45],[37,8,30,47,"target"],[37,14,30,53],[37,17,30,53,"_ref"],[37,21,30,53],[37,22,30,47,"target"],[37,28,30,53],[38,8,30,55,"download"],[38,16,30,63],[38,19,30,63,"_ref"],[38,23,30,63],[38,24,30,55,"download"],[38,32,30,63],[39,6,31,8],[39,13,31,15],[39,14,31,16],[39,15,31,17],[39,17,31,19,"react_1"],[39,24,31,26],[39,25,31,27,"useMemo"],[39,32,31,34],[39,34,31,36],[39,40,31,42],[40,8,32,12],[40,12,32,18,"hrefAttrs"],[40,21,32,27],[40,24,32,30],[41,10,33,16,"rel"],[41,13,33,19],[42,10,34,16,"target"],[42,16,34,22],[43,10,35,16,"download"],[44,8,36,12],[44,9,36,13],[45,8,37,12],[45,12,37,16,"asChild"],[45,19,37,23],[45,21,37,25],[46,10,38,16],[46,17,38,23,"hrefAttrs"],[46,26,38,32],[47,8,39,12],[48,8,40,12],[48,15,40,19],[49,10,41,16,"hrefAttrs"],[50,8,42,12],[50,9,42,13],[51,6,43,8],[51,7,43,9],[51,9,43,11],[51,10,43,12,"asChild"],[51,17,43,19],[51,19,43,21,"rel"],[51,22,43,24],[51,24,43,26,"target"],[51,30,43,32],[51,32,43,34,"download"],[51,40,43,42],[51,41,43,43],[51,42,43,44],[52,4,44,4],[52,5,44,5],[53,4,45,4,"default"],[53,11,45,11],[53,13,45,13],[53,22,45,22,"useHrefAttrs"],[53,34,45,34,"useHrefAttrs"],[53,35,45,34],[53,37,45,37],[54,6,46,8],[54,13,46,15],[54,14,46,16],[54,15,46,17],[55,4,47,4],[56,2,48,0],[56,3,48,1],[56,4,48,2],[57,0,48,3],[57,3]],"functionMap":{"names":["<global>","useInteropClassName","<anonymous>","useHrefAttrs"],"mappings":"AAA;ACS;gCCK;KDY;CDC;SGE;oCDC;SCY;KHC;aGC;KHE"}},"type":"js/module"}]} |