mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-29 22:21:05 +00:00
1 line
12 KiB
Plaintext
1 line
12 KiB
Plaintext
{"dependencies":[{"name":"@babel/runtime/helpers/objectSpread2","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":13,"column":0,"index":225},"end":{"line":13,"column":65,"index":290}}],"key":"SfRhzMj3Ex6qA89WTFEUm9Lj49A=","exportNames":["*"],"imports":1}},{"name":"./AnimatedValue","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":14,"column":0,"index":291},"end":{"line":14,"column":44,"index":335}}],"key":"MXjn1CQaLNtMiiooxlb5qObVfR0=","exportNames":["*"],"imports":1}},{"name":"./AnimatedNode","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":15,"column":0,"index":336},"end":{"line":15,"column":42,"index":378}}],"key":"3FW5DuEHaAfmgBjK581q2IBFvjo=","exportNames":["*"],"imports":1}},{"name":"../NativeAnimatedHelper","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":16,"column":0,"index":379},"end":{"line":16,"column":88,"index":467}}],"key":"7+Fs6fvkAbHB0IU2p+AMhuguGZA=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n /**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n\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 _default;\n }\n });\n var _babelRuntimeHelpersObjectSpread = require(_dependencyMap[0], \"@babel/runtime/helpers/objectSpread2\");\n var _objectSpread = _interopDefault(_babelRuntimeHelpersObjectSpread);\n require(_dependencyMap[1], \"./AnimatedValue\");\n var _AnimatedNode = require(_dependencyMap[2], \"./AnimatedNode\");\n var AnimatedNode = _interopDefault(_AnimatedNode);\n var _NativeAnimatedHelper = require(_dependencyMap[3], \"../NativeAnimatedHelper\");\n class AnimatedTracking extends AnimatedNode.default {\n constructor(value, parent, animationClass, animationConfig, callback) {\n super();\n this._value = value;\n this._parent = parent;\n this._animationClass = animationClass;\n this._animationConfig = animationConfig;\n this._useNativeDriver = (0, _NativeAnimatedHelper.shouldUseNativeDriver)(animationConfig);\n this._callback = callback;\n this.__attach();\n }\n __makeNative() {\n this.__isNative = true;\n this._parent.__makeNative();\n super.__makeNative();\n this._value.__makeNative();\n }\n __getValue() {\n return this._parent.__getValue();\n }\n __attach() {\n this._parent.__addChild(this);\n if (this._useNativeDriver) {\n // when the tracking starts we need to convert this node to a \"native node\"\n // so that the parent node will be made \"native\" too. This is necessary as\n // if we don't do this `update` method will get called. At that point it\n // may be too late as it would mean the JS driver has already started\n // updating node values\n this.__makeNative();\n }\n }\n __detach() {\n this._parent.__removeChild(this);\n super.__detach();\n }\n update() {\n this._value.animate(new this._animationClass((0, _objectSpread.default)((0, _objectSpread.default)({}, this._animationConfig), {}, {\n toValue: this._animationConfig.toValue.__getValue()\n })), this._callback);\n }\n __getNativeConfig() {\n var animation = new this._animationClass((0, _objectSpread.default)((0, _objectSpread.default)({}, this._animationConfig), {}, {\n // remove toValue from the config as it's a ref to Animated.Value\n toValue: undefined\n }));\n var animationConfig = animation.__getNativeAnimationConfig();\n return {\n type: 'tracking',\n animationId: (0, _NativeAnimatedHelper.generateNewAnimationId)(),\n animationConfig,\n toValue: this._parent.__getNativeTag(),\n value: this._value.__getNativeTag()\n };\n }\n }\n var _default = AnimatedTracking;\n});","lineCount":90,"map":[[2,2,1,0],[3,0,2,0],[4,0,3,0],[5,0,4,0],[6,0,5,0],[7,0,6,0],[8,0,7,0],[9,0,8,0],[10,0,9,0],[12,2,11,0],[12,14,11,12],[14,2,11,13,"Object"],[14,8,11,13],[14,9,11,13,"defineProperty"],[14,23,11,13],[14,24,11,13,"exports"],[14,31,11,13],[15,4,11,13,"value"],[15,9,11,13],[16,2,11,13],[17,2,11,13],[17,11,11,13,"_interopDefault"],[17,27,11,13,"e"],[17,28,11,13],[18,4,11,13],[18,11,11,13,"e"],[18,12,11,13],[18,16,11,13,"e"],[18,17,11,13],[18,18,11,13,"__esModule"],[18,28,11,13],[18,31,11,13,"e"],[18,32,11,13],[19,6,11,13,"default"],[19,13,11,13],[19,15,11,13,"e"],[20,4,11,13],[21,2,11,13],[22,2,72,0,"Object"],[22,8,72,0],[22,9,72,0,"defineProperty"],[22,23,72,0],[22,24,72,0,"exports"],[22,31,72,0],[23,4,72,0,"enumerable"],[23,14,72,0],[24,4,72,0,"get"],[24,7,72,0],[24,18,72,0,"get"],[24,19,72,0],[25,6,72,0],[25,13,72,0,"_default"],[25,21,72,0],[26,4,72,0],[27,2,72,0],[28,2,13,0],[28,6,13,0,"_babelRuntimeHelpersObjectSpread"],[28,38,13,0],[28,41,13,0,"require"],[28,48,13,0],[28,49,13,0,"_dependencyMap"],[28,63,13,0],[29,2,13,0],[29,6,13,0,"_objectSpread"],[29,19,13,0],[29,22,13,0,"_interopDefault"],[29,37,13,0],[29,38,13,0,"_babelRuntimeHelpersObjectSpread"],[29,70,13,0],[30,2,14,0,"require"],[30,9,14,0],[30,10,14,0,"_dependencyMap"],[30,24,14,0],[31,2,15,0],[31,6,15,0,"_AnimatedNode"],[31,19,15,0],[31,22,15,0,"require"],[31,29,15,0],[31,30,15,0,"_dependencyMap"],[31,44,15,0],[32,2,15,0],[32,6,15,0,"AnimatedNode"],[32,18,15,0],[32,21,15,0,"_interopDefault"],[32,36,15,0],[32,37,15,0,"_AnimatedNode"],[32,50,15,0],[33,2,16,0],[33,6,16,0,"_NativeAnimatedHelper"],[33,27,16,0],[33,30,16,0,"require"],[33,37,16,0],[33,38,16,0,"_dependencyMap"],[33,52,16,0],[34,2,17,0],[34,8,17,6,"AnimatedTracking"],[34,24,17,22],[34,33,17,31,"AnimatedNode"],[34,45,17,43],[34,46,17,43,"default"],[34,53,17,43],[34,54,17,44],[35,4,18,2,"constructor"],[35,15,18,13,"constructor"],[35,16,18,14,"value"],[35,21,18,19],[35,23,18,21,"parent"],[35,29,18,27],[35,31,18,29,"animationClass"],[35,45,18,43],[35,47,18,45,"animationConfig"],[35,62,18,60],[35,64,18,62,"callback"],[35,72,18,70],[35,74,18,72],[36,6,19,4],[36,11,19,9],[36,12,19,10],[36,13,19,11],[37,6,20,4],[37,10,20,8],[37,11,20,9,"_value"],[37,17,20,15],[37,20,20,18,"value"],[37,25,20,23],[38,6,21,4],[38,10,21,8],[38,11,21,9,"_parent"],[38,18,21,16],[38,21,21,19,"parent"],[38,27,21,25],[39,6,22,4],[39,10,22,8],[39,11,22,9,"_animationClass"],[39,26,22,24],[39,29,22,27,"animationClass"],[39,43,22,41],[40,6,23,4],[40,10,23,8],[40,11,23,9,"_animationConfig"],[40,27,23,25],[40,30,23,28,"animationConfig"],[40,45,23,43],[41,6,24,4],[41,10,24,8],[41,11,24,9,"_useNativeDriver"],[41,27,24,25],[41,30,24,28],[41,34,24,28,"shouldUseNativeDriver"],[41,55,24,49],[41,56,24,49,"shouldUseNativeDriver"],[41,77,24,49],[41,79,24,50,"animationConfig"],[41,94,24,65],[41,95,24,66],[42,6,25,4],[42,10,25,8],[42,11,25,9,"_callback"],[42,20,25,18],[42,23,25,21,"callback"],[42,31,25,29],[43,6,26,4],[43,10,26,8],[43,11,26,9,"__attach"],[43,19,26,17],[43,20,26,18],[43,21,26,19],[44,4,27,2],[45,4,28,2,"__makeNative"],[45,16,28,14,"__makeNative"],[45,17,28,14],[45,19,28,17],[46,6,29,4],[46,10,29,8],[46,11,29,9,"__isNative"],[46,21,29,19],[46,24,29,22],[46,28,29,26],[47,6,30,4],[47,10,30,8],[47,11,30,9,"_parent"],[47,18,30,16],[47,19,30,17,"__makeNative"],[47,31,30,29],[47,32,30,30],[47,33,30,31],[48,6,31,4],[48,11,31,9],[48,12,31,10,"__makeNative"],[48,24,31,22],[48,25,31,23],[48,26,31,24],[49,6,32,4],[49,10,32,8],[49,11,32,9,"_value"],[49,17,32,15],[49,18,32,16,"__makeNative"],[49,30,32,28],[49,31,32,29],[49,32,32,30],[50,4,33,2],[51,4,34,2,"__getValue"],[51,14,34,12,"__getValue"],[51,15,34,12],[51,17,34,15],[52,6,35,4],[52,13,35,11],[52,17,35,15],[52,18,35,16,"_parent"],[52,25,35,23],[52,26,35,24,"__getValue"],[52,36,35,34],[52,37,35,35],[52,38,35,36],[53,4,36,2],[54,4,37,2,"__attach"],[54,12,37,10,"__attach"],[54,13,37,10],[54,15,37,13],[55,6,38,4],[55,10,38,8],[55,11,38,9,"_parent"],[55,18,38,16],[55,19,38,17,"__addChild"],[55,29,38,27],[55,30,38,28],[55,34,38,32],[55,35,38,33],[56,6,39,4],[56,10,39,8],[56,14,39,12],[56,15,39,13,"_useNativeDriver"],[56,31,39,29],[56,33,39,31],[57,8,40,6],[58,8,41,6],[59,8,42,6],[60,8,43,6],[61,8,44,6],[62,8,45,6],[62,12,45,10],[62,13,45,11,"__makeNative"],[62,25,45,23],[62,26,45,24],[62,27,45,25],[63,6,46,4],[64,4,47,2],[65,4,48,2,"__detach"],[65,12,48,10,"__detach"],[65,13,48,10],[65,15,48,13],[66,6,49,4],[66,10,49,8],[66,11,49,9,"_parent"],[66,18,49,16],[66,19,49,17,"__removeChild"],[66,32,49,30],[66,33,49,31],[66,37,49,35],[66,38,49,36],[67,6,50,4],[67,11,50,9],[67,12,50,10,"__detach"],[67,20,50,18],[67,21,50,19],[67,22,50,20],[68,4,51,2],[69,4,52,2,"update"],[69,10,52,8,"update"],[69,11,52,8],[69,13,52,11],[70,6,53,4],[70,10,53,8],[70,11,53,9,"_value"],[70,17,53,15],[70,18,53,16,"animate"],[70,25,53,23],[70,26,53,24],[70,30,53,28],[70,34,53,32],[70,35,53,33,"_animationClass"],[70,50,53,48],[70,51,53,49],[70,55,53,49,"_objectSpread"],[70,68,53,62],[70,69,53,62,"default"],[70,76,53,62],[70,78,53,63],[70,82,53,63,"_objectSpread"],[70,95,53,76],[70,96,53,76,"default"],[70,103,53,76],[70,105,53,77],[70,106,53,78],[70,107,53,79],[70,109,53,81],[70,113,53,85],[70,114,53,86,"_animationConfig"],[70,130,53,102],[70,131,53,103],[70,133,53,105],[70,134,53,106],[70,135,53,107],[70,137,53,109],[71,8,54,6,"toValue"],[71,15,54,13],[71,17,54,15],[71,21,54,19],[71,22,54,20,"_animationConfig"],[71,38,54,36],[71,39,54,37,"toValue"],[71,46,54,44],[71,47,54,45,"__getValue"],[71,57,54,55],[71,58,54,56],[72,6,55,4],[72,7,55,5],[72,8,55,6],[72,9,55,7],[72,11,55,9],[72,15,55,13],[72,16,55,14,"_callback"],[72,25,55,23],[72,26,55,24],[73,4,56,2],[74,4,57,2,"__getNativeConfig"],[74,21,57,19,"__getNativeConfig"],[74,22,57,19],[74,24,57,22],[75,6,58,4],[75,10,58,8,"animation"],[75,19,58,17],[75,22,58,20],[75,26,58,24],[75,30,58,28],[75,31,58,29,"_animationClass"],[75,46,58,44],[75,47,58,45],[75,51,58,45,"_objectSpread"],[75,64,58,58],[75,65,58,58,"default"],[75,72,58,58],[75,74,58,59],[75,78,58,59,"_objectSpread"],[75,91,58,72],[75,92,58,72,"default"],[75,99,58,72],[75,101,58,73],[75,102,58,74],[75,103,58,75],[75,105,58,77],[75,109,58,81],[75,110,58,82,"_animationConfig"],[75,126,58,98],[75,127,58,99],[75,129,58,101],[75,130,58,102],[75,131,58,103],[75,133,58,105],[76,8,59,6],[77,8,60,6,"toValue"],[77,15,60,13],[77,17,60,15,"undefined"],[78,6,61,4],[78,7,61,5],[78,8,61,6],[78,9,61,7],[79,6,62,4],[79,10,62,8,"animationConfig"],[79,25,62,23],[79,28,62,26,"animation"],[79,37,62,35],[79,38,62,36,"__getNativeAnimationConfig"],[79,64,62,62],[79,65,62,63],[79,66,62,64],[80,6,63,4],[80,13,63,11],[81,8,64,6,"type"],[81,12,64,10],[81,14,64,12],[81,24,64,22],[82,8,65,6,"animationId"],[82,19,65,17],[82,21,65,19],[82,25,65,19,"generateNewAnimationId"],[82,46,65,41],[82,47,65,41,"generateNewAnimationId"],[82,69,65,41],[82,71,65,42],[82,72,65,43],[83,8,66,6,"animationConfig"],[83,23,66,21],[84,8,67,6,"toValue"],[84,15,67,13],[84,17,67,15],[84,21,67,19],[84,22,67,20,"_parent"],[84,29,67,27],[84,30,67,28,"__getNativeTag"],[84,44,67,42],[84,45,67,43],[84,46,67,44],[85,8,68,6,"value"],[85,13,68,11],[85,15,68,13],[85,19,68,17],[85,20,68,18,"_value"],[85,26,68,24],[85,27,68,25,"__getNativeTag"],[85,41,68,39],[85,42,68,40],[86,6,69,4],[86,7,69,5],[87,4,70,2],[88,2,71,0],[89,2,72,0],[89,6,72,0,"_default"],[89,14,72,0],[89,17,72,15,"AnimatedTracking"],[89,33,72,31],[90,0,72,32],[90,3]],"functionMap":{"names":["<global>","AnimatedTracking","constructor","__makeNative","__getValue","__attach","__detach","update","__getNativeConfig"],"mappings":"AAA;ACgB;ECC;GDS;EEC;GFK;EGC;GHE;EIC;GJU;EKC;GLG;EMC;GNI;EOC;GPa;CDC"},"hasCjsExports":false},"type":"js/module"}]} |