mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 04:11:02 +00:00
1 line
14 KiB
Plaintext
1 line
14 KiB
Plaintext
{"dependencies":[{"name":"@babel/runtime/helpers/defineProperty","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"X490zePjq+0IljAc8X0qcBg0iTo=","exportNames":["*"],"imports":1}},{"name":"react-native","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":42,"index":42}}],"key":"KyzuX10g6ixS9UfynhmjlvCIG3g=","exportNames":["*"],"imports":1}},{"name":"react-native-animatable","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":43},"end":{"line":2,"column":54,"index":97}}],"key":"R8TYMNLGfPqIXjSysC+cPLZnlyQ=","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 _interopDefault(e) {\n return e && e.__esModule ? e : {\n default: e\n };\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 Object.defineProperty(exports, \"initializeAnimations\", {\n enumerable: true,\n get: function () {\n return initializeAnimations;\n }\n });\n Object.defineProperty(exports, \"makeSlideTranslation\", {\n enumerable: true,\n get: function () {\n return makeSlideTranslation;\n }\n });\n Object.defineProperty(exports, \"buildAnimations\", {\n enumerable: true,\n get: function () {\n return buildAnimations;\n }\n });\n Object.defineProperty(exports, \"reversePercentage\", {\n enumerable: true,\n get: function () {\n return reversePercentage;\n }\n });\n var _babelRuntimeHelpersDefineProperty = require(_dependencyMap[0], \"@babel/runtime/helpers/defineProperty\");\n var _defineProperty = _interopDefault(_babelRuntimeHelpersDefineProperty);\n var _reactNative = require(_dependencyMap[1], \"react-native\");\n var _reactNativeAnimatable = require(_dependencyMap[2], \"react-native-animatable\");\n var animatable = _interopNamespace(_reactNativeAnimatable);\n var _Dimensions$get = _reactNative.Dimensions.get('window'),\n height = _Dimensions$get.height,\n width = _Dimensions$get.width;\n var initializeAnimations = function initializeAnimations() {\n // Since react-native-animatable applies by default a margin of 100 to its\n // sliding animation, we reset them here overriding the margin to 0.\n var animationDefinitions = {\n slideInDown: makeSlideTranslation('translateY', -height, 0),\n slideInUp: makeSlideTranslation('translateY', height, 0),\n slideInLeft: makeSlideTranslation('translateX', -width, 0),\n slideInRight: makeSlideTranslation('translateX', width, 0),\n slideOutDown: makeSlideTranslation('translateY', 0, height),\n slideOutUp: makeSlideTranslation('translateY', 0, -height),\n slideOutLeft: makeSlideTranslation('translateX', 0, -width),\n slideOutRight: makeSlideTranslation('translateX', 0, width)\n };\n animatable.initializeRegistryWithDefinitions(animationDefinitions);\n };\n var makeSlideTranslation = function makeSlideTranslation(translationType, fromValue, toValue) {\n return {\n from: (0, _defineProperty.default)({}, translationType, fromValue),\n to: (0, _defineProperty.default)({}, translationType, toValue)\n };\n };\n // User can define custom react-native-animatable animations, see PR #72\n // Utility for creating our own custom react-native-animatable animations\n var buildAnimations = function buildAnimations(_ref) {\n var animationIn = _ref.animationIn,\n animationOut = _ref.animationOut;\n var updatedAnimationIn;\n var updatedAnimationOut;\n if (isObject(animationIn)) {\n var animationName = JSON.stringify(animationIn);\n makeAnimation(animationName, animationIn);\n updatedAnimationIn = animationName;\n } else {\n updatedAnimationIn = animationIn;\n }\n if (isObject(animationOut)) {\n var _animationName = JSON.stringify(animationOut);\n makeAnimation(_animationName, animationOut);\n updatedAnimationOut = _animationName;\n } else {\n updatedAnimationOut = animationOut;\n }\n return {\n animationIn: updatedAnimationIn,\n animationOut: updatedAnimationOut\n };\n };\n var reversePercentage = function reversePercentage(x) {\n return -(x - 1);\n };\n var makeAnimation = function makeAnimation(name, obj) {\n animatable.registerAnimation(name, animatable.createAnimation(obj));\n };\n var isObject = function isObject(obj) {\n return obj !== null && typeof obj === 'object';\n };\n});","lineCount":115,"map":[[27,2,4,0,"Object"],[27,8,4,0],[27,9,4,0,"defineProperty"],[27,23,4,0],[27,24,4,0,"exports"],[27,31,4,0],[28,4,4,0,"enumerable"],[28,14,4,0],[29,4,4,0,"get"],[29,7,4,0],[29,18,4,0,"get"],[29,19,4,0],[30,6,4,0],[30,13,4,0,"initializeAnimations"],[30,33,4,0],[31,4,4,0],[32,2,4,0],[33,2,19,0,"Object"],[33,8,19,0],[33,9,19,0,"defineProperty"],[33,23,19,0],[33,24,19,0,"exports"],[33,31,19,0],[34,4,19,0,"enumerable"],[34,14,19,0],[35,4,19,0,"get"],[35,7,19,0],[35,18,19,0,"get"],[35,19,19,0],[36,6,19,0],[36,13,19,0,"makeSlideTranslation"],[36,33,19,0],[37,4,19,0],[38,2,19,0],[39,2,29,0,"Object"],[39,8,29,0],[39,9,29,0,"defineProperty"],[39,23,29,0],[39,24,29,0,"exports"],[39,31,29,0],[40,4,29,0,"enumerable"],[40,14,29,0],[41,4,29,0,"get"],[41,7,29,0],[41,18,29,0,"get"],[41,19,29,0],[42,6,29,0],[42,13,29,0,"buildAnimations"],[42,28,29,0],[43,4,29,0],[44,2,29,0],[45,2,53,0,"Object"],[45,8,53,0],[45,9,53,0,"defineProperty"],[45,23,53,0],[45,24,53,0,"exports"],[45,31,53,0],[46,4,53,0,"enumerable"],[46,14,53,0],[47,4,53,0,"get"],[47,7,53,0],[47,18,53,0,"get"],[47,19,53,0],[48,6,53,0],[48,13,53,0,"reversePercentage"],[48,30,53,0],[49,4,53,0],[50,2,53,0],[51,2,53,49],[51,6,53,49,"_babelRuntimeHelpersDefineProperty"],[51,40,53,49],[51,43,53,49,"require"],[51,50,53,49],[51,51,53,49,"_dependencyMap"],[51,65,53,49],[52,2,53,49],[52,6,53,49,"_defineProperty"],[52,21,53,49],[52,24,53,49,"_interopDefault"],[52,39,53,49],[52,40,53,49,"_babelRuntimeHelpersDefineProperty"],[52,74,53,49],[53,2,1,0],[53,6,1,0,"_reactNative"],[53,18,1,0],[53,21,1,0,"require"],[53,28,1,0],[53,29,1,0,"_dependencyMap"],[53,43,1,0],[54,2,2,0],[54,6,2,0,"_reactNativeAnimatable"],[54,28,2,0],[54,31,2,0,"require"],[54,38,2,0],[54,39,2,0,"_dependencyMap"],[54,53,2,0],[55,2,2,0],[55,6,2,0,"animatable"],[55,16,2,0],[55,19,2,0,"_interopNamespace"],[55,36,2,0],[55,37,2,0,"_reactNativeAnimatable"],[55,59,2,0],[56,2,3,0],[56,6,3,0,"_Dimensions$get"],[56,21,3,0],[56,24,3,26,"Dimensions"],[56,36,3,36],[56,37,3,36,"Dimensions"],[56,47,3,36],[56,48,3,37,"get"],[56,51,3,40],[56,52,3,41],[56,60,3,49],[56,61,3,50],[57,4,3,8,"height"],[57,10,3,14],[57,13,3,14,"_Dimensions$get"],[57,28,3,14],[57,29,3,8,"height"],[57,35,3,14],[58,4,3,16,"width"],[58,9,3,21],[58,12,3,21,"_Dimensions$get"],[58,27,3,21],[58,28,3,16,"width"],[58,33,3,21],[59,2,4,7],[59,6,4,13,"initializeAnimations"],[59,26,4,33],[59,29,4,36],[59,38,4,13,"initializeAnimations"],[59,58,4,33,"initializeAnimations"],[59,59,4,33],[59,61,4,42],[60,4,5,4],[61,4,6,4],[62,4,7,4],[62,8,7,10,"animationDefinitions"],[62,28,7,30],[62,31,7,33],[63,6,8,8,"slideInDown"],[63,17,8,19],[63,19,8,21,"makeSlideTranslation"],[63,39,8,41],[63,40,8,42],[63,52,8,54],[63,54,8,56],[63,55,8,57,"height"],[63,61,8,63],[63,63,8,65],[63,64,8,66],[63,65,8,67],[64,6,9,8,"slideInUp"],[64,15,9,17],[64,17,9,19,"makeSlideTranslation"],[64,37,9,39],[64,38,9,40],[64,50,9,52],[64,52,9,54,"height"],[64,58,9,60],[64,60,9,62],[64,61,9,63],[64,62,9,64],[65,6,10,8,"slideInLeft"],[65,17,10,19],[65,19,10,21,"makeSlideTranslation"],[65,39,10,41],[65,40,10,42],[65,52,10,54],[65,54,10,56],[65,55,10,57,"width"],[65,60,10,62],[65,62,10,64],[65,63,10,65],[65,64,10,66],[66,6,11,8,"slideInRight"],[66,18,11,20],[66,20,11,22,"makeSlideTranslation"],[66,40,11,42],[66,41,11,43],[66,53,11,55],[66,55,11,57,"width"],[66,60,11,62],[66,62,11,64],[66,63,11,65],[66,64,11,66],[67,6,12,8,"slideOutDown"],[67,18,12,20],[67,20,12,22,"makeSlideTranslation"],[67,40,12,42],[67,41,12,43],[67,53,12,55],[67,55,12,57],[67,56,12,58],[67,58,12,60,"height"],[67,64,12,66],[67,65,12,67],[68,6,13,8,"slideOutUp"],[68,16,13,18],[68,18,13,20,"makeSlideTranslation"],[68,38,13,40],[68,39,13,41],[68,51,13,53],[68,53,13,55],[68,54,13,56],[68,56,13,58],[68,57,13,59,"height"],[68,63,13,65],[68,64,13,66],[69,6,14,8,"slideOutLeft"],[69,18,14,20],[69,20,14,22,"makeSlideTranslation"],[69,40,14,42],[69,41,14,43],[69,53,14,55],[69,55,14,57],[69,56,14,58],[69,58,14,60],[69,59,14,61,"width"],[69,64,14,66],[69,65,14,67],[70,6,15,8,"slideOutRight"],[70,19,15,21],[70,21,15,23,"makeSlideTranslation"],[70,41,15,43],[70,42,15,44],[70,54,15,56],[70,56,15,58],[70,57,15,59],[70,59,15,61,"width"],[70,64,15,66],[71,4,16,4],[71,5,16,5],[72,4,17,4,"animatable"],[72,14,17,14],[72,15,17,15,"initializeRegistryWithDefinitions"],[72,48,17,48],[72,49,17,49,"animationDefinitions"],[72,69,17,69],[72,70,17,70],[73,2,18,0],[73,3,18,1],[74,2,19,7],[74,6,19,13,"makeSlideTranslation"],[74,26,19,33],[74,29,19,36],[74,38,19,13,"makeSlideTranslation"],[74,58,19,33,"makeSlideTranslation"],[74,59,19,37,"translationType"],[74,74,19,52],[74,76,19,54,"fromValue"],[74,85,19,63],[74,87,19,65,"toValue"],[74,94,19,72],[75,4,19,72],[75,11,19,78],[76,6,20,4,"from"],[76,10,20,8],[76,16,20,8,"_defineProperty"],[76,31,20,8],[76,32,20,8,"default"],[76,39,20,8],[76,45,21,9,"translationType"],[76,60,21,24],[76,62,21,27,"fromValue"],[76,71,21,36],[76,72,22,5],[77,6,23,4,"to"],[77,8,23,6],[77,14,23,6,"_defineProperty"],[77,29,23,6],[77,30,23,6,"default"],[77,37,23,6],[77,43,24,9,"translationType"],[77,58,24,24],[77,60,24,27,"toValue"],[77,67,24,34],[78,4,26,0],[78,5,26,1],[79,2,26,1],[79,3,26,2],[80,2,27,0],[81,2,28,0],[82,2,29,7],[82,6,29,13,"buildAnimations"],[82,21,29,28],[82,24,29,31],[82,33,29,13,"buildAnimations"],[82,48,29,28,"buildAnimations"],[82,49,29,28,"_ref"],[82,53,29,28],[82,55,29,67],[83,4,29,67],[83,8,29,34,"animationIn"],[83,19,29,45],[83,22,29,45,"_ref"],[83,26,29,45],[83,27,29,34,"animationIn"],[83,38,29,45],[84,6,29,47,"animationOut"],[84,18,29,59],[84,21,29,59,"_ref"],[84,25,29,59],[84,26,29,47,"animationOut"],[84,38,29,59],[85,4,30,4],[85,8,30,8,"updatedAnimationIn"],[85,26,30,26],[86,4,31,4],[86,8,31,8,"updatedAnimationOut"],[86,27,31,27],[87,4,32,4],[87,8,32,8,"isObject"],[87,16,32,16],[87,17,32,17,"animationIn"],[87,28,32,28],[87,29,32,29],[87,31,32,31],[88,6,33,8],[88,10,33,14,"animationName"],[88,23,33,27],[88,26,33,30,"JSON"],[88,30,33,34],[88,31,33,35,"stringify"],[88,40,33,44],[88,41,33,45,"animationIn"],[88,52,33,56],[88,53,33,57],[89,6,34,8,"makeAnimation"],[89,19,34,21],[89,20,34,22,"animationName"],[89,33,34,35],[89,35,34,37,"animationIn"],[89,46,34,48],[89,47,34,49],[90,6,35,8,"updatedAnimationIn"],[90,24,35,26],[90,27,35,29,"animationName"],[90,40,35,42],[91,4,36,4],[91,5,36,5],[91,11,37,9],[92,6,38,8,"updatedAnimationIn"],[92,24,38,26],[92,27,38,29,"animationIn"],[92,38,38,40],[93,4,39,4],[94,4,40,4],[94,8,40,8,"isObject"],[94,16,40,16],[94,17,40,17,"animationOut"],[94,29,40,29],[94,30,40,30],[94,32,40,32],[95,6,41,8],[95,10,41,14,"animationName"],[95,24,41,27],[95,27,41,30,"JSON"],[95,31,41,34],[95,32,41,35,"stringify"],[95,41,41,44],[95,42,41,45,"animationOut"],[95,54,41,57],[95,55,41,58],[96,6,42,8,"makeAnimation"],[96,19,42,21],[96,20,42,22,"animationName"],[96,34,42,35],[96,36,42,37,"animationOut"],[96,48,42,49],[96,49,42,50],[97,6,43,8,"updatedAnimationOut"],[97,25,43,27],[97,28,43,30,"animationName"],[97,42,43,43],[98,4,44,4],[98,5,44,5],[98,11,45,9],[99,6,46,8,"updatedAnimationOut"],[99,25,46,27],[99,28,46,30,"animationOut"],[99,40,46,42],[100,4,47,4],[101,4,48,4],[101,11,48,11],[102,6,49,8,"animationIn"],[102,17,49,19],[102,19,49,21,"updatedAnimationIn"],[102,37,49,39],[103,6,50,8,"animationOut"],[103,18,50,20],[103,20,50,22,"updatedAnimationOut"],[104,4,51,4],[104,5,51,5],[105,2,52,0],[105,3,52,1],[106,2,53,7],[106,6,53,13,"reversePercentage"],[106,23,53,30],[106,26,53,33],[106,35,53,13,"reversePercentage"],[106,52,53,30,"reversePercentage"],[106,53,53,34,"x"],[106,54,53,35],[107,4,53,35],[107,11,53,40],[107,13,53,42,"x"],[107,14,53,43],[107,17,53,46],[107,18,53,47],[107,19,53,48],[108,2,53,48],[109,2,54,0],[109,6,54,6,"makeAnimation"],[109,19,54,19],[109,22,54,22],[109,31,54,6,"makeAnimation"],[109,44,54,19,"makeAnimation"],[109,45,54,23,"name"],[109,49,54,27],[109,51,54,29,"obj"],[109,54,54,32],[109,56,54,37],[110,4,55,4,"animatable"],[110,14,55,14],[110,15,55,15,"registerAnimation"],[110,32,55,32],[110,33,55,33,"name"],[110,37,55,37],[110,39,55,39,"animatable"],[110,49,55,49],[110,50,55,50,"createAnimation"],[110,65,55,65],[110,66,55,66,"obj"],[110,69,55,69],[110,70,55,70],[110,71,55,71],[111,2,56,0],[111,3,56,1],[112,2,57,0],[112,6,57,6,"isObject"],[112,14,57,14],[112,17,57,17],[112,26,57,6,"isObject"],[112,34,57,14,"isObject"],[112,35,57,18,"obj"],[112,38,57,21],[112,40,57,26],[113,4,58,4],[113,11,58,11,"obj"],[113,14,58,14],[113,19,58,19],[113,23,58,23],[113,27,58,27],[113,34,58,34,"obj"],[113,37,58,37],[113,42,58,42],[113,50,58,50],[114,2,59,0],[114,3,59,1],[115,0,59,2],[115,3]],"functionMap":{"names":["<global>","initializeAnimations","makeSlideTranslation","buildAnimations","reversePercentage","makeAnimation","isObject"],"mappings":"AAA;oCCG;CDc;oCEC;EFO;+BGG;CHuB;iCIC,eJ;sBKC;CLE;iBMC;CNE"},"hasCjsExports":false},"type":"js/module"}]} |