Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/7e/7820916c8030d3739a547b275067066adac4e68eca0cb12277d2546b9eb037d9d831ba
T
2025-10-24 02:46:09 +00:00

1 line
8.2 KiB
Plaintext

{"dependencies":[{"name":"../NativeAnimatedHelper","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":13,"column":0,"index":225},"end":{"line":13,"column":59,"index":284}}],"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 _NativeAnimatedHelper = require(_dependencyMap[0], \"../NativeAnimatedHelper\");\n var NativeAnimatedHelper = _interopDefault(_NativeAnimatedHelper);\n var startNativeAnimationNextId = 1;\n\n // Important note: start() and stop() will only be called at most once.\n // Once an animation has been stopped or finished its course, it will\n // not be reused.\n class Animation {\n start(fromValue, onUpdate, onEnd, previousAnimation, animatedValue) {}\n stop() {\n if (this.__nativeId) {\n NativeAnimatedHelper.default.API.stopAnimation(this.__nativeId);\n }\n }\n __getNativeAnimationConfig() {\n // Subclasses that have corresponding animation implementation done in native\n // should override this method\n throw new Error('This animation type cannot be offloaded to native');\n }\n // Helper function for subclasses to make sure onEnd is only called once.\n __debouncedOnEnd(result) {\n var onEnd = this.__onEnd;\n this.__onEnd = null;\n onEnd && onEnd(result);\n }\n __startNativeAnimation(animatedValue) {\n var startNativeAnimationWaitId = startNativeAnimationNextId + \":startAnimation\";\n startNativeAnimationNextId += 1;\n NativeAnimatedHelper.default.API.setWaitingForIdentifier(startNativeAnimationWaitId);\n try {\n var config = this.__getNativeAnimationConfig();\n animatedValue.__makeNative(config.platformConfig);\n this.__nativeId = NativeAnimatedHelper.default.generateNewAnimationId();\n NativeAnimatedHelper.default.API.startAnimatingNode(this.__nativeId, animatedValue.__getNativeTag(), config,\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this.__debouncedOnEnd.bind(this));\n } catch (e) {\n throw e;\n } finally {\n NativeAnimatedHelper.default.API.unsetWaitingForIdentifier(startNativeAnimationWaitId);\n }\n }\n }\n var _default = Animation;\n});","lineCount":72,"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,55,0,"Object"],[22,8,55,0],[22,9,55,0,"defineProperty"],[22,23,55,0],[22,24,55,0,"exports"],[22,31,55,0],[23,4,55,0,"enumerable"],[23,14,55,0],[24,4,55,0,"get"],[24,7,55,0],[24,18,55,0,"get"],[24,19,55,0],[25,6,55,0],[25,13,55,0,"_default"],[25,21,55,0],[26,4,55,0],[27,2,55,0],[28,2,13,0],[28,6,13,0,"_NativeAnimatedHelper"],[28,27,13,0],[28,30,13,0,"require"],[28,37,13,0],[28,38,13,0,"_dependencyMap"],[28,52,13,0],[29,2,13,0],[29,6,13,0,"NativeAnimatedHelper"],[29,26,13,0],[29,29,13,0,"_interopDefault"],[29,44,13,0],[29,45,13,0,"_NativeAnimatedHelper"],[29,66,13,0],[30,2,14,0],[30,6,14,4,"startNativeAnimationNextId"],[30,32,14,30],[30,35,14,33],[30,36,14,34],[32,2,16,0],[33,2,17,0],[34,2,18,0],[35,2,19,0],[35,8,19,6,"Animation"],[35,17,19,15],[35,18,19,16],[36,4,20,2,"start"],[36,9,20,7,"start"],[36,10,20,8,"fromValue"],[36,19,20,17],[36,21,20,19,"onUpdate"],[36,29,20,27],[36,31,20,29,"onEnd"],[36,36,20,34],[36,38,20,36,"previousAnimation"],[36,55,20,53],[36,57,20,55,"animatedValue"],[36,70,20,68],[36,72,20,70],[36,73,20,71],[37,4,21,2,"stop"],[37,8,21,6,"stop"],[37,9,21,6],[37,11,21,9],[38,6,22,4],[38,10,22,8],[38,14,22,12],[38,15,22,13,"__nativeId"],[38,25,22,23],[38,27,22,25],[39,8,23,6,"NativeAnimatedHelper"],[39,28,23,26],[39,29,23,26,"default"],[39,36,23,26],[39,37,23,27,"API"],[39,40,23,30],[39,41,23,31,"stopAnimation"],[39,54,23,44],[39,55,23,45],[39,59,23,49],[39,60,23,50,"__nativeId"],[39,70,23,60],[39,71,23,61],[40,6,24,4],[41,4,25,2],[42,4,26,2,"__getNativeAnimationConfig"],[42,30,26,28,"__getNativeAnimationConfig"],[42,31,26,28],[42,33,26,31],[43,6,27,4],[44,6,28,4],[45,6,29,4],[45,12,29,10],[45,16,29,14,"Error"],[45,21,29,19],[45,22,29,20],[45,73,29,71],[45,74,29,72],[46,4,30,2],[47,4,31,2],[48,4,32,2,"__debouncedOnEnd"],[48,20,32,18,"__debouncedOnEnd"],[48,21,32,19,"result"],[48,27,32,25],[48,29,32,27],[49,6,33,4],[49,10,33,8,"onEnd"],[49,15,33,13],[49,18,33,16],[49,22,33,20],[49,23,33,21,"__onEnd"],[49,30,33,28],[50,6,34,4],[50,10,34,8],[50,11,34,9,"__onEnd"],[50,18,34,16],[50,21,34,19],[50,25,34,23],[51,6,35,4,"onEnd"],[51,11,35,9],[51,15,35,13,"onEnd"],[51,20,35,18],[51,21,35,19,"result"],[51,27,35,25],[51,28,35,26],[52,4,36,2],[53,4,37,2,"__startNativeAnimation"],[53,26,37,24,"__startNativeAnimation"],[53,27,37,25,"animatedValue"],[53,40,37,38],[53,42,37,40],[54,6,38,4],[54,10,38,8,"startNativeAnimationWaitId"],[54,36,38,34],[54,39,38,37,"startNativeAnimationNextId"],[54,65,38,63],[54,68,38,66],[54,85,38,83],[55,6,39,4,"startNativeAnimationNextId"],[55,32,39,30],[55,36,39,34],[55,37,39,35],[56,6,40,4,"NativeAnimatedHelper"],[56,26,40,24],[56,27,40,24,"default"],[56,34,40,24],[56,35,40,25,"API"],[56,38,40,28],[56,39,40,29,"setWaitingForIdentifier"],[56,62,40,52],[56,63,40,53,"startNativeAnimationWaitId"],[56,89,40,79],[56,90,40,80],[57,6,41,4],[57,10,41,8],[58,8,42,6],[58,12,42,10,"config"],[58,18,42,16],[58,21,42,19],[58,25,42,23],[58,26,42,24,"__getNativeAnimationConfig"],[58,52,42,50],[58,53,42,51],[58,54,42,52],[59,8,43,6,"animatedValue"],[59,21,43,19],[59,22,43,20,"__makeNative"],[59,34,43,32],[59,35,43,33,"config"],[59,41,43,39],[59,42,43,40,"platformConfig"],[59,56,43,54],[59,57,43,55],[60,8,44,6],[60,12,44,10],[60,13,44,11,"__nativeId"],[60,23,44,21],[60,26,44,24,"NativeAnimatedHelper"],[60,46,44,44],[60,47,44,44,"default"],[60,54,44,44],[60,55,44,45,"generateNewAnimationId"],[60,77,44,67],[60,78,44,68],[60,79,44,69],[61,8,45,6,"NativeAnimatedHelper"],[61,28,45,26],[61,29,45,26,"default"],[61,36,45,26],[61,37,45,27,"API"],[61,40,45,30],[61,41,45,31,"startAnimatingNode"],[61,59,45,49],[61,60,45,50],[61,64,45,54],[61,65,45,55,"__nativeId"],[61,75,45,65],[61,77,45,67,"animatedValue"],[61,90,45,80],[61,91,45,81,"__getNativeTag"],[61,105,45,95],[61,106,45,96],[61,107,45,97],[61,109,45,99,"config"],[61,115,45,105],[62,8,46,6],[63,8,47,6],[63,12,47,10],[63,13,47,11,"__debouncedOnEnd"],[63,29,47,27],[63,30,47,28,"bind"],[63,34,47,32],[63,35,47,33],[63,39,47,37],[63,40,47,38],[63,41,47,39],[64,6,48,4],[64,7,48,5],[64,8,48,6],[64,15,48,13,"e"],[64,16,48,14],[64,18,48,16],[65,8,49,6],[65,14,49,12,"e"],[65,15,49,13],[66,6,50,4],[66,7,50,5],[66,16,50,14],[67,8,51,6,"NativeAnimatedHelper"],[67,28,51,26],[67,29,51,26,"default"],[67,36,51,26],[67,37,51,27,"API"],[67,40,51,30],[67,41,51,31,"unsetWaitingForIdentifier"],[67,66,51,56],[67,67,51,57,"startNativeAnimationWaitId"],[67,93,51,83],[67,94,51,84],[68,6,52,4],[69,4,53,2],[70,2,54,0],[71,2,55,0],[71,6,55,0,"_default"],[71,14,55,0],[71,17,55,15,"Animation"],[71,26,55,24],[72,0,55,25],[72,3]],"functionMap":{"names":["<global>","Animation","start","stop","__getNativeAnimationConfig","__debouncedOnEnd","__startNativeAnimation"],"mappings":"AAA;ACkB;ECC,sED;EEC;GFI;EGC;GHI;EIE;GJI;EKC;GLgB;CDC"},"hasCjsExports":false},"type":"js/module"}]}