mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 16:51:02 +00:00
1 line
17 KiB
Plaintext
1 line
17 KiB
Plaintext
{"dependencies":[{"name":"react","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":277},"end":{"line":2,"column":31,"index":308}}],"key":"RtGiGa+/H7VrI7GDQDLhO1UbpU8=","exportNames":["*"],"imports":1}},{"name":"react-native-web/dist/exports/StyleSheet","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"MK7+k1V+KnvCVW7Kj2k/ydtjmVU=","exportNames":["*"],"imports":1}},{"name":"react-native-web/dist/exports/View","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"4kYBDC6LJJXoH7P9rWDi3vkLVB0=","exportNames":["*"],"imports":1}},{"name":"./SafeAreaContext","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":358},"end":{"line":4,"column":54,"index":412}}],"key":"D0qKdW6ASU57UF/eMeUEZhtkCZs=","exportNames":["*"],"imports":1}}],"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 function _interopNamespace(e) {\n if (e && e.__esModule) return e;\n var n = {};\n if (e) Object.keys(e).forEach(function (k) {\n var d = Object.getOwnPropertyDescriptor(e, k);\n Object.defineProperty(n, k, d.get ? d : {\n enumerable: true,\n get: function () {\n return e[k];\n }\n });\n });\n n.default = e;\n return n;\n }\n function _interopDefault(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n Object.defineProperty(exports, \"SafeAreaView\", {\n enumerable: true,\n get: function () {\n return SafeAreaView;\n }\n });\n var _react = require(_dependencyMap[0], \"react\");\n var React = _interopNamespace(_react);\n var _reactNativeWebDistExportsStyleSheet = require(_dependencyMap[1], \"react-native-web/dist/exports/StyleSheet\");\n var StyleSheet = _interopDefault(_reactNativeWebDistExportsStyleSheet);\n var _reactNativeWebDistExportsView = require(_dependencyMap[2], \"react-native-web/dist/exports/View\");\n var View = _interopDefault(_reactNativeWebDistExportsView);\n var _SafeAreaContext = require(_dependencyMap[3], \"./SafeAreaContext\");\n function _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, _extends.apply(null, arguments);\n }\n const defaultEdges = {\n top: 'additive',\n left: 'additive',\n bottom: 'additive',\n right: 'additive'\n };\n function getEdgeValue(inset, current, mode) {\n switch (mode) {\n case 'off':\n return current;\n case 'maximum':\n return Math.max(current, inset);\n case 'additive':\n default:\n return current + inset;\n }\n }\n const SafeAreaView = /*#__PURE__*/React.forwardRef(({\n style = {},\n mode,\n edges,\n ...rest\n }, ref) => {\n const insets = (0, _SafeAreaContext.useSafeAreaInsets)();\n const edgesRecord = React.useMemo(() => {\n if (edges == null) {\n return defaultEdges;\n }\n return Array.isArray(edges) ? edges.reduce((acc, edge) => {\n acc[edge] = 'additive';\n return acc;\n }, {}) :\n // ts has trouble with refining readonly arrays.\n edges;\n }, [edges]);\n const appliedStyle = React.useMemo(() => {\n const flatStyle = StyleSheet.default.flatten(style);\n if (mode === 'margin') {\n const {\n margin = 0,\n marginVertical = margin,\n marginHorizontal = margin,\n marginTop = marginVertical,\n marginRight = marginHorizontal,\n marginBottom = marginVertical,\n marginLeft = marginHorizontal\n } = flatStyle;\n const marginStyle = {\n marginTop: getEdgeValue(insets.top, marginTop, edgesRecord.top),\n marginRight: getEdgeValue(insets.right, marginRight, edgesRecord.right),\n marginBottom: getEdgeValue(insets.bottom, marginBottom, edgesRecord.bottom),\n marginLeft: getEdgeValue(insets.left, marginLeft, edgesRecord.left)\n };\n return [style, marginStyle];\n } else {\n const {\n padding = 0,\n paddingVertical = padding,\n paddingHorizontal = padding,\n paddingTop = paddingVertical,\n paddingRight = paddingHorizontal,\n paddingBottom = paddingVertical,\n paddingLeft = paddingHorizontal\n } = flatStyle;\n const paddingStyle = {\n paddingTop: getEdgeValue(insets.top, paddingTop, edgesRecord.top),\n paddingRight: getEdgeValue(insets.right, paddingRight, edgesRecord.right),\n paddingBottom: getEdgeValue(insets.bottom, paddingBottom, edgesRecord.bottom),\n paddingLeft: getEdgeValue(insets.left, paddingLeft, edgesRecord.left)\n };\n return [style, paddingStyle];\n }\n }, [edgesRecord.bottom, edgesRecord.left, edgesRecord.right, edgesRecord.top, insets.bottom, insets.left, insets.right, insets.top, mode, style]);\n return /*#__PURE__*/React.createElement(View.default, _extends({\n style: appliedStyle\n }, rest, {\n ref: ref\n }));\n });\n});","lineCount":128,"map":[[27,2,22,0,"Object"],[27,8,22,0],[27,9,22,0,"defineProperty"],[27,23,22,0],[27,24,22,0,"exports"],[27,31,22,0],[28,4,22,0,"enumerable"],[28,14,22,0],[29,4,22,0,"get"],[29,7,22,0],[29,18,22,0,"get"],[29,19,22,0],[30,6,22,0],[30,13,22,0,"SafeAreaView"],[30,25,22,0],[31,4,22,0],[32,2,22,0],[33,2,2,0],[33,6,2,0,"_react"],[33,12,2,0],[33,15,2,0,"require"],[33,22,2,0],[33,23,2,0,"_dependencyMap"],[33,37,2,0],[34,2,2,0],[34,6,2,0,"React"],[34,11,2,0],[34,14,2,0,"_interopNamespace"],[34,31,2,0],[34,32,2,0,"_react"],[34,38,2,0],[35,2,2,31],[35,6,2,31,"_reactNativeWebDistExportsStyleSheet"],[35,42,2,31],[35,45,2,31,"require"],[35,52,2,31],[35,53,2,31,"_dependencyMap"],[35,67,2,31],[36,2,2,31],[36,6,2,31,"StyleSheet"],[36,16,2,31],[36,19,2,31,"_interopDefault"],[36,34,2,31],[36,35,2,31,"_reactNativeWebDistExportsStyleSheet"],[36,71,2,31],[37,2,2,31],[37,6,2,31,"_reactNativeWebDistExportsView"],[37,36,2,31],[37,39,2,31,"require"],[37,46,2,31],[37,47,2,31,"_dependencyMap"],[37,61,2,31],[38,2,2,31],[38,6,2,31,"View"],[38,10,2,31],[38,13,2,31,"_interopDefault"],[38,28,2,31],[38,29,2,31,"_reactNativeWebDistExportsView"],[38,59,2,31],[39,2,4,0],[39,6,4,0,"_SafeAreaContext"],[39,22,4,0],[39,25,4,0,"require"],[39,32,4,0],[39,33,4,0,"_dependencyMap"],[39,47,4,0],[40,2,1,0],[40,11,1,9,"_extends"],[40,19,1,17,"_extends"],[40,20,1,17],[40,22,1,20],[41,4,1,22],[41,11,1,29,"_extends"],[41,19,1,37],[41,22,1,40,"Object"],[41,28,1,46],[41,29,1,47,"assign"],[41,35,1,53],[41,38,1,56,"Object"],[41,44,1,62],[41,45,1,63,"assign"],[41,51,1,69],[41,52,1,70,"bind"],[41,56,1,74],[41,57,1,75],[41,58,1,76],[41,61,1,79],[41,71,1,89,"n"],[41,72,1,90],[41,74,1,92],[42,6,1,94],[42,11,1,99],[42,15,1,103,"e"],[42,16,1,104],[42,19,1,107],[42,20,1,108],[42,22,1,110,"e"],[42,23,1,111],[42,26,1,114,"arguments"],[42,35,1,123],[42,36,1,124,"length"],[42,42,1,130],[42,44,1,132,"e"],[42,45,1,133],[42,47,1,135],[42,49,1,137],[43,8,1,139],[43,12,1,143,"t"],[43,13,1,144],[43,16,1,147,"arguments"],[43,25,1,156],[43,26,1,157,"e"],[43,27,1,158],[43,28,1,159],[44,8,1,161],[44,13,1,166],[44,17,1,170,"r"],[44,18,1,171],[44,22,1,175,"t"],[44,23,1,176],[44,25,1,178],[44,26,1,179],[44,27,1,180],[44,28,1,181],[44,30,1,183,"hasOwnProperty"],[44,44,1,197],[44,45,1,198,"call"],[44,49,1,202],[44,50,1,203,"t"],[44,51,1,204],[44,53,1,206,"r"],[44,54,1,207],[44,55,1,208],[44,60,1,213,"n"],[44,61,1,214],[44,62,1,215,"r"],[44,63,1,216],[44,64,1,217],[44,67,1,220,"t"],[44,68,1,221],[44,69,1,222,"r"],[44,70,1,223],[44,71,1,224],[44,72,1,225],[45,6,1,227],[46,6,1,229],[46,13,1,236,"n"],[46,14,1,237],[47,4,1,239],[47,5,1,240],[47,7,1,242,"_extends"],[47,15,1,250],[47,16,1,251,"apply"],[47,21,1,256],[47,22,1,257],[47,26,1,261],[47,28,1,263,"arguments"],[47,37,1,272],[47,38,1,273],[48,2,1,275],[49,2,5,0],[49,8,5,6,"defaultEdges"],[49,20,5,18],[49,23,5,21],[50,4,6,2,"top"],[50,7,6,5],[50,9,6,7],[50,19,6,17],[51,4,7,2,"left"],[51,8,7,6],[51,10,7,8],[51,20,7,18],[52,4,8,2,"bottom"],[52,10,8,8],[52,12,8,10],[52,22,8,20],[53,4,9,2,"right"],[53,9,9,7],[53,11,9,9],[54,2,10,0],[54,3,10,1],[55,2,11,0],[55,11,11,9,"getEdgeValue"],[55,23,11,21,"getEdgeValue"],[55,24,11,22,"inset"],[55,29,11,27],[55,31,11,29,"current"],[55,38,11,36],[55,40,11,38,"mode"],[55,44,11,42],[55,46,11,44],[56,4,12,2],[56,12,12,10,"mode"],[56,16,12,14],[57,6,13,4],[57,11,13,9],[57,16,13,14],[58,8,14,6],[58,15,14,13,"current"],[58,22,14,20],[59,6,15,4],[59,11,15,9],[59,20,15,18],[60,8,16,6],[60,15,16,13,"Math"],[60,19,16,17],[60,20,16,18,"max"],[60,23,16,21],[60,24,16,22,"current"],[60,31,16,29],[60,33,16,31,"inset"],[60,38,16,36],[60,39,16,37],[61,6,17,4],[61,11,17,9],[61,21,17,19],[62,6,18,4],[63,8,19,6],[63,15,19,13,"current"],[63,22,19,20],[63,25,19,23,"inset"],[63,30,19,28],[64,4,20,2],[65,2,21,0],[66,2,22,7],[66,8,22,13,"SafeAreaView"],[66,20,22,25],[66,23,22,28],[66,36,22,41,"React"],[66,41,22,46],[66,42,22,47,"forwardRef"],[66,52,22,57],[66,53,22,58],[66,54,22,59],[67,4,23,2,"style"],[67,9,23,7],[67,12,23,10],[67,13,23,11],[67,14,23,12],[68,4,24,2,"mode"],[68,8,24,6],[69,4,25,2,"edges"],[69,9,25,7],[70,4,26,2],[70,7,26,5,"rest"],[71,2,27,0],[71,3,27,1],[71,5,27,3,"ref"],[71,8,27,6],[71,13,27,11],[72,4,28,2],[72,10,28,8,"insets"],[72,16,28,14],[72,19,28,17],[72,23,28,17,"useSafeAreaInsets"],[72,39,28,34],[72,40,28,34,"useSafeAreaInsets"],[72,57,28,34],[72,59,28,35],[72,60,28,36],[73,4,29,2],[73,10,29,8,"edgesRecord"],[73,21,29,19],[73,24,29,22,"React"],[73,29,29,27],[73,30,29,28,"useMemo"],[73,37,29,35],[73,38,29,36],[73,44,29,42],[74,6,30,4],[74,10,30,8,"edges"],[74,15,30,13],[74,19,30,17],[74,23,30,21],[74,25,30,23],[75,8,31,6],[75,15,31,13,"defaultEdges"],[75,27,31,25],[76,6,32,4],[77,6,33,4],[77,13,33,11,"Array"],[77,18,33,16],[77,19,33,17,"isArray"],[77,26,33,24],[77,27,33,25,"edges"],[77,32,33,30],[77,33,33,31],[77,36,33,34,"edges"],[77,41,33,39],[77,42,33,40,"reduce"],[77,48,33,46],[77,49,33,47],[77,50,33,48,"acc"],[77,53,33,51],[77,55,33,53,"edge"],[77,59,33,57],[77,64,33,62],[78,8,34,6,"acc"],[78,11,34,9],[78,12,34,10,"edge"],[78,16,34,14],[78,17,34,15],[78,20,34,18],[78,30,34,28],[79,8,35,6],[79,15,35,13,"acc"],[79,18,35,16],[80,6,36,4],[80,7,36,5],[80,9,36,7],[80,10,36,8],[80,11,36,9],[80,12,36,10],[81,6,37,4],[82,6,38,4,"edges"],[82,11,38,9],[83,4,39,2],[83,5,39,3],[83,7,39,5],[83,8,39,6,"edges"],[83,13,39,11],[83,14,39,12],[83,15,39,13],[84,4,40,2],[84,10,40,8,"appliedStyle"],[84,22,40,20],[84,25,40,23,"React"],[84,30,40,28],[84,31,40,29,"useMemo"],[84,38,40,36],[84,39,40,37],[84,45,40,43],[85,6,41,4],[85,12,41,10,"flatStyle"],[85,21,41,19],[85,24,41,22,"StyleSheet"],[85,34,41,32],[85,35,41,32,"default"],[85,42,41,32],[85,43,41,33,"flatten"],[85,50,41,40],[85,51,41,41,"style"],[85,56,41,46],[85,57,41,47],[86,6,42,4],[86,10,42,8,"mode"],[86,14,42,12],[86,19,42,17],[86,27,42,25],[86,29,42,27],[87,8,43,6],[87,14,43,12],[88,10,44,8,"margin"],[88,16,44,14],[88,19,44,17],[88,20,44,18],[89,10,45,8,"marginVertical"],[89,24,45,22],[89,27,45,25,"margin"],[89,33,45,31],[90,10,46,8,"marginHorizontal"],[90,26,46,24],[90,29,46,27,"margin"],[90,35,46,33],[91,10,47,8,"marginTop"],[91,19,47,17],[91,22,47,20,"marginVertical"],[91,36,47,34],[92,10,48,8,"marginRight"],[92,21,48,19],[92,24,48,22,"marginHorizontal"],[92,40,48,38],[93,10,49,8,"marginBottom"],[93,22,49,20],[93,25,49,23,"marginVertical"],[93,39,49,37],[94,10,50,8,"marginLeft"],[94,20,50,18],[94,23,50,21,"marginHorizontal"],[95,8,51,6],[95,9,51,7],[95,12,51,10,"flatStyle"],[95,21,51,19],[96,8,52,6],[96,14,52,12,"marginStyle"],[96,25,52,23],[96,28,52,26],[97,10,53,8,"marginTop"],[97,19,53,17],[97,21,53,19,"getEdgeValue"],[97,33,53,31],[97,34,53,32,"insets"],[97,40,53,38],[97,41,53,39,"top"],[97,44,53,42],[97,46,53,44,"marginTop"],[97,55,53,53],[97,57,53,55,"edgesRecord"],[97,68,53,66],[97,69,53,67,"top"],[97,72,53,70],[97,73,53,71],[98,10,54,8,"marginRight"],[98,21,54,19],[98,23,54,21,"getEdgeValue"],[98,35,54,33],[98,36,54,34,"insets"],[98,42,54,40],[98,43,54,41,"right"],[98,48,54,46],[98,50,54,48,"marginRight"],[98,61,54,59],[98,63,54,61,"edgesRecord"],[98,74,54,72],[98,75,54,73,"right"],[98,80,54,78],[98,81,54,79],[99,10,55,8,"marginBottom"],[99,22,55,20],[99,24,55,22,"getEdgeValue"],[99,36,55,34],[99,37,55,35,"insets"],[99,43,55,41],[99,44,55,42,"bottom"],[99,50,55,48],[99,52,55,50,"marginBottom"],[99,64,55,62],[99,66,55,64,"edgesRecord"],[99,77,55,75],[99,78,55,76,"bottom"],[99,84,55,82],[99,85,55,83],[100,10,56,8,"marginLeft"],[100,20,56,18],[100,22,56,20,"getEdgeValue"],[100,34,56,32],[100,35,56,33,"insets"],[100,41,56,39],[100,42,56,40,"left"],[100,46,56,44],[100,48,56,46,"marginLeft"],[100,58,56,56],[100,60,56,58,"edgesRecord"],[100,71,56,69],[100,72,56,70,"left"],[100,76,56,74],[101,8,57,6],[101,9,57,7],[102,8,58,6],[102,15,58,13],[102,16,58,14,"style"],[102,21,58,19],[102,23,58,21,"marginStyle"],[102,34,58,32],[102,35,58,33],[103,6,59,4],[103,7,59,5],[103,13,59,11],[104,8,60,6],[104,14,60,12],[105,10,61,8,"padding"],[105,17,61,15],[105,20,61,18],[105,21,61,19],[106,10,62,8,"paddingVertical"],[106,25,62,23],[106,28,62,26,"padding"],[106,35,62,33],[107,10,63,8,"paddingHorizontal"],[107,27,63,25],[107,30,63,28,"padding"],[107,37,63,35],[108,10,64,8,"paddingTop"],[108,20,64,18],[108,23,64,21,"paddingVertical"],[108,38,64,36],[109,10,65,8,"paddingRight"],[109,22,65,20],[109,25,65,23,"paddingHorizontal"],[109,42,65,40],[110,10,66,8,"paddingBottom"],[110,23,66,21],[110,26,66,24,"paddingVertical"],[110,41,66,39],[111,10,67,8,"paddingLeft"],[111,21,67,19],[111,24,67,22,"paddingHorizontal"],[112,8,68,6],[112,9,68,7],[112,12,68,10,"flatStyle"],[112,21,68,19],[113,8,69,6],[113,14,69,12,"paddingStyle"],[113,26,69,24],[113,29,69,27],[114,10,70,8,"paddingTop"],[114,20,70,18],[114,22,70,20,"getEdgeValue"],[114,34,70,32],[114,35,70,33,"insets"],[114,41,70,39],[114,42,70,40,"top"],[114,45,70,43],[114,47,70,45,"paddingTop"],[114,57,70,55],[114,59,70,57,"edgesRecord"],[114,70,70,68],[114,71,70,69,"top"],[114,74,70,72],[114,75,70,73],[115,10,71,8,"paddingRight"],[115,22,71,20],[115,24,71,22,"getEdgeValue"],[115,36,71,34],[115,37,71,35,"insets"],[115,43,71,41],[115,44,71,42,"right"],[115,49,71,47],[115,51,71,49,"paddingRight"],[115,63,71,61],[115,65,71,63,"edgesRecord"],[115,76,71,74],[115,77,71,75,"right"],[115,82,71,80],[115,83,71,81],[116,10,72,8,"paddingBottom"],[116,23,72,21],[116,25,72,23,"getEdgeValue"],[116,37,72,35],[116,38,72,36,"insets"],[116,44,72,42],[116,45,72,43,"bottom"],[116,51,72,49],[116,53,72,51,"paddingBottom"],[116,66,72,64],[116,68,72,66,"edgesRecord"],[116,79,72,77],[116,80,72,78,"bottom"],[116,86,72,84],[116,87,72,85],[117,10,73,8,"paddingLeft"],[117,21,73,19],[117,23,73,21,"getEdgeValue"],[117,35,73,33],[117,36,73,34,"insets"],[117,42,73,40],[117,43,73,41,"left"],[117,47,73,45],[117,49,73,47,"paddingLeft"],[117,60,73,58],[117,62,73,60,"edgesRecord"],[117,73,73,71],[117,74,73,72,"left"],[117,78,73,76],[118,8,74,6],[118,9,74,7],[119,8,75,6],[119,15,75,13],[119,16,75,14,"style"],[119,21,75,19],[119,23,75,21,"paddingStyle"],[119,35,75,33],[119,36,75,34],[120,6,76,4],[121,4,77,2],[121,5,77,3],[121,7,77,5],[121,8,77,6,"edgesRecord"],[121,19,77,17],[121,20,77,18,"bottom"],[121,26,77,24],[121,28,77,26,"edgesRecord"],[121,39,77,37],[121,40,77,38,"left"],[121,44,77,42],[121,46,77,44,"edgesRecord"],[121,57,77,55],[121,58,77,56,"right"],[121,63,77,61],[121,65,77,63,"edgesRecord"],[121,76,77,74],[121,77,77,75,"top"],[121,80,77,78],[121,82,77,80,"insets"],[121,88,77,86],[121,89,77,87,"bottom"],[121,95,77,93],[121,97,77,95,"insets"],[121,103,77,101],[121,104,77,102,"left"],[121,108,77,106],[121,110,77,108,"insets"],[121,116,77,114],[121,117,77,115,"right"],[121,122,77,120],[121,124,77,122,"insets"],[121,130,77,128],[121,131,77,129,"top"],[121,134,77,132],[121,136,77,134,"mode"],[121,140,77,138],[121,142,77,140,"style"],[121,147,77,145],[121,148,77,146],[121,149,77,147],[122,4,78,2],[122,11,78,9],[122,24,78,22,"React"],[122,29,78,27],[122,30,78,28,"createElement"],[122,43,78,41],[122,44,78,42,"View"],[122,48,78,46],[122,49,78,46,"default"],[122,56,78,46],[122,58,78,48,"_extends"],[122,66,78,56],[122,67,78,57],[123,6,79,4,"style"],[123,11,79,9],[123,13,79,11,"appliedStyle"],[124,4,80,2],[124,5,80,3],[124,7,80,5,"rest"],[124,11,80,9],[124,13,80,11],[125,6,81,4,"ref"],[125,9,81,7],[125,11,81,9,"ref"],[126,4,82,2],[126,5,82,3],[126,6,82,4],[126,7,82,5],[127,2,83,0],[127,3,83,1],[127,4,83,2],[128,0,83,3],[128,3]],"functionMap":{"names":["_extends","<anonymous>","<global>","getEdgeValue","React.forwardRef$argument_0","React.useMemo$argument_0","edges.reduce$argument_0"],"mappings":"AAA,+EC,iKD,oCE;ACU;CDU;0DEC;oCCO;+CCI;KDG;GDG;qCCC;GDqC;CFM"},"hasCjsExports":false},"type":"js/module"}]} |