mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 05:21:02 +00:00
1 line
14 KiB
Plaintext
1 line
14 KiB
Plaintext
{"dependencies":[{"name":"@babel/runtime/helpers/classCallCheck","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"yg7e6laZwmpbIvId5jovq9ugXp8=","exportNames":["*"],"imports":1}},{"name":"@babel/runtime/helpers/createClass","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"Z6pzkVZ2fvxBLkFTgVVOy4UDj30=","exportNames":["*"],"imports":1}},{"name":"@babel/runtime/helpers/callSuper","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"378KbBHdmndC3iMXZ2Ix8oB3LeE=","exportNames":["*"],"imports":1}},{"name":"@babel/runtime/helpers/superPropGet","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"b4Lel0pEiTM8mvZZX/d05uR+OmU=","exportNames":["*"],"imports":1}},{"name":"@babel/runtime/helpers/inherits","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"y0uNg4LxF1CLscQChxzgo5dfjvA=","exportNames":["*"],"imports":1}},{"name":"./Animation","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":15,"column":0},"end":{"line":15,"column":36}}],"key":"IpfQWRKePvRqyvs8Q+vGFqyieVw=","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 Object.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function () {\n return DecayAnimation;\n }\n });\n var _babelRuntimeHelpersClassCallCheck = require(_dependencyMap[0], \"@babel/runtime/helpers/classCallCheck\");\n var _classCallCheck = _interopDefault(_babelRuntimeHelpersClassCallCheck);\n var _babelRuntimeHelpersCreateClass = require(_dependencyMap[1], \"@babel/runtime/helpers/createClass\");\n var _createClass = _interopDefault(_babelRuntimeHelpersCreateClass);\n var _babelRuntimeHelpersCallSuper = require(_dependencyMap[2], \"@babel/runtime/helpers/callSuper\");\n var _callSuper = _interopDefault(_babelRuntimeHelpersCallSuper);\n var _babelRuntimeHelpersSuperPropGet = require(_dependencyMap[3], \"@babel/runtime/helpers/superPropGet\");\n var _superPropGet = _interopDefault(_babelRuntimeHelpersSuperPropGet);\n var _babelRuntimeHelpersInherits = require(_dependencyMap[4], \"@babel/runtime/helpers/inherits\");\n var _inherits = _interopDefault(_babelRuntimeHelpersInherits);\n var _Animation2 = require(_dependencyMap[5], \"./Animation\");\n var Animation = _interopDefault(_Animation2);\n var DecayAnimation = /*#__PURE__*/function (_Animation) {\n function DecayAnimation(config) {\n var _this;\n (0, _classCallCheck.default)(this, DecayAnimation);\n _this = (0, _callSuper.default)(this, DecayAnimation, [config]);\n _this._deceleration = config.deceleration ?? 0.998;\n _this._velocity = config.velocity;\n _this._platformConfig = config.platformConfig;\n return _this;\n }\n (0, _inherits.default)(DecayAnimation, _Animation);\n return (0, _createClass.default)(DecayAnimation, [{\n key: \"__getNativeAnimationConfig\",\n value: function __getNativeAnimationConfig() {\n return {\n type: 'decay',\n deceleration: this._deceleration,\n velocity: this._velocity,\n iterations: this.__iterations,\n platformConfig: this._platformConfig,\n debugID: this.__getDebugID()\n };\n }\n }, {\n key: \"start\",\n value: function start(fromValue, onUpdate, onEnd, previousAnimation, animatedValue) {\n (0, _superPropGet.default)(DecayAnimation, \"start\", this, 3)([fromValue, onUpdate, onEnd, previousAnimation, animatedValue]);\n this._lastValue = fromValue;\n this._fromValue = fromValue;\n this._onUpdate = onUpdate;\n this._startTime = Date.now();\n var useNativeDriver = this.__startAnimationIfNative(animatedValue);\n if (!useNativeDriver) {\n this._animationFrame = requestAnimationFrame(() => this.onUpdate());\n }\n }\n }, {\n key: \"onUpdate\",\n value: function onUpdate() {\n var now = Date.now();\n var value = this._fromValue + this._velocity / (1 - this._deceleration) * (1 - Math.exp(-(1 - this._deceleration) * (now - this._startTime)));\n this._onUpdate(value);\n if (Math.abs(this._lastValue - value) < 0.1) {\n this.__notifyAnimationEnd({\n finished: true\n });\n return;\n }\n this._lastValue = value;\n if (this.__active) {\n this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));\n }\n }\n }, {\n key: \"stop\",\n value: function stop() {\n (0, _superPropGet.default)(DecayAnimation, \"stop\", this, 3)([]);\n if (this._animationFrame != null) {\n global.cancelAnimationFrame(this._animationFrame);\n }\n this.__notifyAnimationEnd({\n finished: false\n });\n }\n }]);\n }(Animation.default);\n});","lineCount":96,"map":[[15,13,37,21,"DecayAnimation"],[15,27,37,35],[16,4,37,35],[17,2,37,35],[18,2,37,35],[18,6,37,35,"_babelRuntimeHelpersClassCallCheck"],[18,40,37,35],[18,43,37,35,"require"],[18,50,37,35],[18,51,37,35,"_dependencyMap"],[18,65,37,35],[19,2,37,35],[19,6,37,35,"_classCallCheck"],[19,21,37,35],[19,24,37,35,"_interopDefault"],[19,39,37,35],[19,40,37,35,"_babelRuntimeHelpersClassCallCheck"],[19,74,37,35],[20,2,37,35],[20,6,37,35,"_babelRuntimeHelpersCreateClass"],[20,37,37,35],[20,40,37,35,"require"],[20,47,37,35],[20,48,37,35,"_dependencyMap"],[20,62,37,35],[21,2,37,35],[21,6,37,35,"_createClass"],[21,18,37,35],[21,21,37,35,"_interopDefault"],[21,36,37,35],[21,37,37,35,"_babelRuntimeHelpersCreateClass"],[21,68,37,35],[22,2,37,35],[22,6,37,35,"_babelRuntimeHelpersCallSuper"],[22,35,37,35],[22,38,37,35,"require"],[22,45,37,35],[22,46,37,35,"_dependencyMap"],[22,60,37,35],[23,2,37,35],[23,6,37,35,"_callSuper"],[23,16,37,35],[23,19,37,35,"_interopDefault"],[23,34,37,35],[23,35,37,35,"_babelRuntimeHelpersCallSuper"],[23,64,37,35],[24,2,37,35],[24,6,37,35,"_babelRuntimeHelpersSuperPropGet"],[24,38,37,35],[24,41,37,35,"require"],[24,48,37,35],[24,49,37,35,"_dependencyMap"],[24,63,37,35],[25,2,37,35],[25,6,37,35,"_superPropGet"],[25,19,37,35],[25,22,37,35,"_interopDefault"],[25,37,37,35],[25,38,37,35,"_babelRuntimeHelpersSuperPropGet"],[25,70,37,35],[26,2,37,35],[26,6,37,35,"_babelRuntimeHelpersInherits"],[26,34,37,35],[26,37,37,35,"require"],[26,44,37,35],[26,45,37,35,"_dependencyMap"],[26,59,37,35],[27,2,37,35],[27,6,37,35,"_inherits"],[27,15,37,35],[27,18,37,35,"_interopDefault"],[27,33,37,35],[27,34,37,35,"_babelRuntimeHelpersInherits"],[27,62,37,35],[28,2,15,0],[28,6,15,0,"_Animation2"],[28,17,15,0],[28,20,15,0,"require"],[28,27,15,0],[28,28,15,0,"_dependencyMap"],[28,42,15,0],[29,2,15,0],[29,6,15,0,"Animation"],[29,15,15,0],[29,18,15,0,"_interopDefault"],[29,33,15,0],[29,34,15,0,"_Animation2"],[29,45,15,0],[30,2,15,36],[30,6,37,21,"DecayAnimation"],[30,20,37,35],[30,46,37,35,"_Animation"],[30,56,37,35],[31,4,47,2],[31,13,47,2,"DecayAnimation"],[31,28,47,14,"config"],[31,34,47,48],[31,36,47,50],[32,6,47,50],[32,10,47,50,"_this"],[32,15,47,50],[33,6,47,50],[33,10,47,50,"_classCallCheck"],[33,25,47,50],[33,26,47,50,"default"],[33,33,47,50],[33,41,47,50,"DecayAnimation"],[33,55,47,50],[34,6,48,4,"_this"],[34,11,48,4],[34,18,48,4,"_callSuper"],[34,28,48,4],[34,29,48,4,"default"],[34,36,48,4],[34,44,48,4,"DecayAnimation"],[34,58,48,4],[34,61,48,10,"config"],[34,67,48,16],[35,6,50,4,"_this"],[35,11,50,4],[35,12,50,9,"_deceleration"],[35,25,50,22],[35,28,50,25,"config"],[35,34,50,31],[35,35,50,32,"deceleration"],[35,47,50,44],[35,51,50,48],[35,56,50,53],[36,6,51,4,"_this"],[36,11,51,4],[36,12,51,9,"_velocity"],[36,21,51,18],[36,24,51,21,"config"],[36,30,51,27],[36,31,51,28,"velocity"],[36,39,51,36],[37,6,52,4,"_this"],[37,11,52,4],[37,12,52,9,"_platformConfig"],[37,27,52,24],[37,30,52,27,"config"],[37,36,52,33],[37,37,52,34,"platformConfig"],[37,51,52,48],[38,6,52,49],[38,13,52,49,"_this"],[38,18,52,49],[39,4,53,2],[40,4,53,3],[40,8,53,3,"_inherits"],[40,17,53,3],[40,18,53,3,"default"],[40,25,53,3],[40,27,53,3,"DecayAnimation"],[40,41,53,3],[40,43,53,3,"_Animation"],[40,53,53,3],[41,4,53,3],[41,15,53,3,"_createClass"],[41,27,53,3],[41,28,53,3,"default"],[41,35,53,3],[41,37,53,3,"DecayAnimation"],[41,51,53,3],[42,6,53,3,"key"],[42,9,53,3],[43,6,53,3,"value"],[43,11,53,3],[43,13,55,2],[43,22,55,2,"__getNativeAnimationConfig"],[43,48,55,28,"__getNativeAnimationConfig"],[43,49,55,28],[43,51,62,5],[44,8,63,4],[44,15,63,11],[45,10,64,6,"type"],[45,14,64,10],[45,16,64,12],[45,23,64,19],[46,10,65,6,"deceleration"],[46,22,65,18],[46,24,65,20],[46,28,65,24],[46,29,65,25,"_deceleration"],[46,42,65,38],[47,10,66,6,"velocity"],[47,18,66,14],[47,20,66,16],[47,24,66,20],[47,25,66,21,"_velocity"],[47,34,66,30],[48,10,67,6,"iterations"],[48,20,67,16],[48,22,67,18],[48,26,67,22],[48,27,67,23,"__iterations"],[48,39,67,35],[49,10,68,6,"platformConfig"],[49,24,68,20],[49,26,68,22],[49,30,68,26],[49,31,68,27,"_platformConfig"],[49,46,68,42],[50,10,69,6,"debugID"],[50,17,69,13],[50,19,69,15],[50,23,69,19],[50,24,69,20,"__getDebugID"],[50,36,69,32],[50,37,69,33],[51,8,70,4],[51,9,70,5],[52,6,71,2],[53,4,71,3],[54,6,71,3,"key"],[54,9,71,3],[55,6,71,3,"value"],[55,11,71,3],[55,13,73,2],[55,22,73,2,"start"],[55,27,73,7,"start"],[55,28,74,4,"fromValue"],[55,37,74,21],[55,39,75,4,"onUpdate"],[55,47,75,37],[55,49,76,4,"onEnd"],[55,54,76,23],[55,56,77,4,"previousAnimation"],[55,73,77,33],[55,75,78,4,"animatedValue"],[55,88,78,32],[55,90,79,10],[56,8,80,4],[56,12,80,4,"_superPropGet"],[56,25,80,4],[56,26,80,4,"default"],[56,33,80,4],[56,35,80,4,"DecayAnimation"],[56,49,80,4],[56,70,80,16,"fromValue"],[56,79,80,25],[56,81,80,27,"onUpdate"],[56,89,80,35],[56,91,80,37,"onEnd"],[56,96,80,42],[56,98,80,44,"previousAnimation"],[56,115,80,61],[56,117,80,63,"animatedValue"],[56,130,80,76],[57,8,82,4],[57,12,82,8],[57,13,82,9,"_lastValue"],[57,23,82,19],[57,26,82,22,"fromValue"],[57,35,82,31],[58,8,83,4],[58,12,83,8],[58,13,83,9,"_fromValue"],[58,23,83,19],[58,26,83,22,"fromValue"],[58,35,83,31],[59,8,84,4],[59,12,84,8],[59,13,84,9,"_onUpdate"],[59,22,84,18],[59,25,84,21,"onUpdate"],[59,33,84,29],[60,8,85,4],[60,12,85,8],[60,13,85,9,"_startTime"],[60,23,85,19],[60,26,85,22,"Date"],[60,30,85,26],[60,31,85,27,"now"],[60,34,85,30],[60,35,85,31],[60,36,85,32],[61,8,87,4],[61,12,87,10,"useNativeDriver"],[61,27,87,25],[61,30,87,28],[61,34,87,32],[61,35,87,33,"__startAnimationIfNative"],[61,59,87,57],[61,60,87,58,"animatedValue"],[61,73,87,71],[61,74,87,72],[62,8,88,4],[62,12,88,8],[62,13,88,9,"useNativeDriver"],[62,28,88,24],[62,30,88,26],[63,10,89,6],[63,14,89,10],[63,15,89,11,"_animationFrame"],[63,30,89,26],[63,33,89,29,"requestAnimationFrame"],[63,54,89,50],[63,55,89,51],[63,61,89,57],[63,65,89,61],[63,66,89,62,"onUpdate"],[63,74,89,70],[63,75,89,71],[63,76,89,72],[63,77,89,73],[64,8,90,4],[65,6,91,2],[66,4,91,3],[67,6,91,3,"key"],[67,9,91,3],[68,6,91,3,"value"],[68,11,91,3],[68,13,93,2],[68,22,93,2,"onUpdate"],[68,30,93,10,"onUpdate"],[68,31,93,10],[68,33,93,19],[69,8,94,4],[69,12,94,10,"now"],[69,15,94,13],[69,18,94,16,"Date"],[69,22,94,20],[69,23,94,21,"now"],[69,26,94,24],[69,27,94,25],[69,28,94,26],[70,8,96,4],[70,12,96,10,"value"],[70,17,96,15],[70,20,97,6],[70,24,97,10],[70,25,97,11,"_fromValue"],[70,35,97,21],[70,38,98,7],[70,42,98,11],[70,43,98,12,"_velocity"],[70,52,98,21],[70,56,98,25],[70,57,98,26],[70,60,98,29],[70,64,98,33],[70,65,98,34,"_deceleration"],[70,78,98,47],[70,79,98,48],[70,83,99,9],[70,84,99,10],[70,87,99,13,"Math"],[70,91,99,17],[70,92,99,18,"exp"],[70,95,99,21],[70,96,99,22],[70,98,99,24],[70,99,99,25],[70,102,99,28],[70,106,99,32],[70,107,99,33,"_deceleration"],[70,120,99,46],[70,121,99,47],[70,125,99,51,"now"],[70,128,99,54],[70,131,99,57],[70,135,99,61],[70,136,99,62,"_startTime"],[70,146,99,72],[70,147,99,73],[70,148,99,74],[70,149,99,75],[71,8,101,4],[71,12,101,8],[71,13,101,9,"_onUpdate"],[71,22,101,18],[71,23,101,19,"value"],[71,28,101,24],[71,29,101,25],[72,8,103,4],[72,12,103,8,"Math"],[72,16,103,12],[72,17,103,13,"abs"],[72,20,103,16],[72,21,103,17],[72,25,103,21],[72,26,103,22,"_lastValue"],[72,36,103,32],[72,39,103,35,"value"],[72,44,103,40],[72,45,103,41],[72,48,103,44],[72,51,103,47],[72,53,103,49],[73,10,104,6],[73,14,104,10],[73,15,104,11,"__notifyAnimationEnd"],[73,35,104,31],[73,36,104,32],[74,12,104,33,"finished"],[74,20,104,41],[74,22,104,43],[75,10,104,47],[75,11,104,48],[75,12,104,49],[76,10,105,6],[77,8,106,4],[78,8,108,4],[78,12,108,8],[78,13,108,9,"_lastValue"],[78,23,108,19],[78,26,108,22,"value"],[78,31,108,27],[79,8,109,4],[79,12,109,8],[79,16,109,12],[79,17,109,13,"__active"],[79,25,109,21],[79,27,109,23],[80,10,111,6],[80,14,111,10],[80,15,111,11,"_animationFrame"],[80,30,111,26],[80,33,111,29,"requestAnimationFrame"],[80,54,111,50],[80,55,111,51],[80,59,111,55],[80,60,111,56,"onUpdate"],[80,68,111,64],[80,69,111,65,"bind"],[80,73,111,69],[80,74,111,70],[80,78,111,74],[80,79,111,75],[80,80,111,76],[81,8,112,4],[82,6,113,2],[83,4,113,3],[84,6,113,3,"key"],[84,9,113,3],[85,6,113,3,"value"],[85,11,113,3],[85,13,115,2],[85,22,115,2,"stop"],[85,26,115,6,"stop"],[85,27,115,6],[85,29,115,15],[86,8,116,4],[86,12,116,4,"_superPropGet"],[86,25,116,4],[86,26,116,4,"default"],[86,33,116,4],[86,35,116,4,"DecayAnimation"],[86,49,116,4],[87,8,117,4],[87,12,117,8],[87,16,117,12],[87,17,117,13,"_animationFrame"],[87,32,117,28],[87,36,117,32],[87,40,117,36],[87,42,117,38],[88,10,118,6,"global"],[88,16,118,12],[88,17,118,13,"cancelAnimationFrame"],[88,37,118,33],[88,38,118,34],[88,42,118,38],[88,43,118,39,"_animationFrame"],[88,58,118,54],[88,59,118,55],[89,8,119,4],[90,8,120,4],[90,12,120,8],[90,13,120,9,"__notifyAnimationEnd"],[90,33,120,29],[90,34,120,30],[91,10,120,31,"finished"],[91,18,120,39],[91,20,120,41],[92,8,120,46],[92,9,120,47],[92,10,120,48],[93,6,121,2],[94,4,121,3],[95,2,121,3],[95,4,37,44,"Animation"],[95,13,37,53],[95,14,37,53,"default"],[95,21,37,53],[96,0,37,53],[96,3]],"functionMap":{"names":["<global>","DecayAnimation","constructor","__getNativeAnimationConfig","start","requestAnimationFrame$argument_0","onUpdate","stop"],"mappings":"AAA;eCoC;ECU;GDM;EEE;GFgB;EGE;mDCgB,qBD;GHE;EKE;GLoB;EME;GNM"},"hasCjsExports":false},"type":"js/module"}]} |