mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 18:01:02 +00:00
1 line
8.4 KiB
Plaintext
1 line
8.4 KiB
Plaintext
{"dependencies":[{"name":"../Utilities/useMergeRefs","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":17,"column":0},"end":{"line":17,"column":53}}],"key":"1tU3IGj/x+e5HyT/pLUJgwPPexo=","exportNames":["*"],"imports":1}},{"name":"react","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":18,"column":0},"end":{"line":18,"column":31}}],"key":"RtGiGa+/H7VrI7GDQDLhO1UbpU8=","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 exports.unstable_setImageComponentDecorator = unstable_setImageComponentDecorator;\n exports.unstable_getImageComponentDecorator = unstable_getImageComponentDecorator;\n exports.unstable_registerImageAttachedCallback = unstable_registerImageAttachedCallback;\n exports.unstable_unregisterImageAttachedCallback = unstable_unregisterImageAttachedCallback;\n exports.useWrapRefWithImageAttachedCallbacks = useWrapRefWithImageAttachedCallbacks;\n var _UtilitiesUseMergeRefs = require(_dependencyMap[0], \"../Utilities/useMergeRefs\");\n var useMergeRefs = _interopDefault(_UtilitiesUseMergeRefs);\n var _react = require(_dependencyMap[1], \"react\");\n var injectedImageComponentDecorator;\n function unstable_setImageComponentDecorator(imageComponentDecorator) {\n injectedImageComponentDecorator = imageComponentDecorator;\n }\n function unstable_getImageComponentDecorator() {\n return injectedImageComponentDecorator;\n }\n var imageAttachedCallbacks = new Set();\n function unstable_registerImageAttachedCallback(callback) {\n imageAttachedCallbacks.add(callback);\n }\n function unstable_unregisterImageAttachedCallback(callback) {\n imageAttachedCallbacks.delete(callback);\n }\n function useWrapRefWithImageAttachedCallbacks(forwardedRef) {\n var pendingCleanupCallbacks = (0, _react.useRef)([]);\n var imageAttachedCallbacksRef = (0, _react.useRef)(null);\n if (imageAttachedCallbacksRef.current == null) {\n imageAttachedCallbacksRef.current = node => {\n if (node == null) {\n if (pendingCleanupCallbacks.current.length > 0) {\n pendingCleanupCallbacks.current.forEach(cb => cb());\n pendingCleanupCallbacks.current = [];\n }\n } else {\n imageAttachedCallbacks.forEach(imageAttachedCallback => {\n var maybeCleanupCallback = imageAttachedCallback(node);\n if (maybeCleanupCallback != null) {\n pendingCleanupCallbacks.current.push(maybeCleanupCallback);\n }\n });\n }\n };\n }\n return (0, useMergeRefs.default)(forwardedRef, imageAttachedCallbacksRef.current);\n }\n});","lineCount":56,"map":[[12,2,26,0,"exports"],[12,9,26,0],[12,10,26,0,"unstable_setImageComponentDecorator"],[12,45,26,0],[12,48,26,0,"unstable_setImageComponentDecorator"],[12,83,26,0],[13,2,32,0,"exports"],[13,9,32,0],[13,10,32,0,"unstable_getImageComponentDecorator"],[13,45,32,0],[13,48,32,0,"unstable_getImageComponentDecorator"],[13,83,32,0],[14,2,44,0,"exports"],[14,9,44,0],[14,10,44,0,"unstable_registerImageAttachedCallback"],[14,48,44,0],[14,51,44,0,"unstable_registerImageAttachedCallback"],[14,89,44,0],[15,2,50,0,"exports"],[15,9,50,0],[15,10,50,0,"unstable_unregisterImageAttachedCallback"],[15,50,50,0],[15,53,50,0,"unstable_unregisterImageAttachedCallback"],[15,93,50,0],[16,2,56,0,"exports"],[16,9,56,0],[16,10,56,0,"useWrapRefWithImageAttachedCallbacks"],[16,46,56,0],[16,49,56,0,"useWrapRefWithImageAttachedCallbacks"],[16,85,56,0],[17,2,17,0],[17,6,17,0,"_UtilitiesUseMergeRefs"],[17,28,17,0],[17,31,17,0,"require"],[17,38,17,0],[17,39,17,0,"_dependencyMap"],[17,53,17,0],[18,2,17,0],[18,6,17,0,"useMergeRefs"],[18,18,17,0],[18,21,17,0,"_interopDefault"],[18,36,17,0],[18,37,17,0,"_UtilitiesUseMergeRefs"],[18,59,17,0],[19,2,18,0],[19,6,18,0,"_react"],[19,12,18,0],[19,15,18,0,"require"],[19,22,18,0],[19,23,18,0,"_dependencyMap"],[19,37,18,0],[20,2,24,0],[20,6,24,4,"injectedImageComponentDecorator"],[20,37,24,61],[21,2,26,7],[21,11,26,16,"unstable_setImageComponentDecorator"],[21,46,26,51,"unstable_setImageComponentDecorator"],[21,47,27,2,"imageComponentDecorator"],[21,70,27,51],[21,72,28,8],[22,4,29,2,"injectedImageComponentDecorator"],[22,35,29,33],[22,38,29,36,"imageComponentDecorator"],[22,61,29,59],[23,2,30,0],[24,2,32,7],[24,11,32,16,"unstable_getImageComponentDecorator"],[24,46,32,51,"unstable_getImageComponentDecorator"],[24,47,32,51],[24,49,32,80],[25,4,33,2],[25,11,33,9,"injectedImageComponentDecorator"],[25,42,33,40],[26,2,34,0],[27,2,42,0],[27,6,42,6,"imageAttachedCallbacks"],[27,28,42,28],[27,31,42,31],[27,35,42,35,"Set"],[27,38,42,38],[27,39,42,62],[27,40,42,63],[28,2,44,7],[28,11,44,16,"unstable_registerImageAttachedCallback"],[28,49,44,54,"unstable_registerImageAttachedCallback"],[28,50,45,2,"callback"],[28,58,45,33],[28,60,46,8],[29,4,47,2,"imageAttachedCallbacks"],[29,26,47,24],[29,27,47,25,"add"],[29,30,47,28],[29,31,47,29,"callback"],[29,39,47,37],[29,40,47,38],[30,2,48,0],[31,2,50,7],[31,11,50,16,"unstable_unregisterImageAttachedCallback"],[31,51,50,56,"unstable_unregisterImageAttachedCallback"],[31,52,51,2,"callback"],[31,60,51,33],[31,62,52,8],[32,4,53,2,"imageAttachedCallbacks"],[32,26,53,24],[32,27,53,25,"delete"],[32,33,53,31],[32,34,53,32,"callback"],[32,42,53,40],[32,43,53,41],[33,2,54,0],[34,2,56,7],[34,11,56,16,"useWrapRefWithImageAttachedCallbacks"],[34,47,56,52,"useWrapRefWithImageAttachedCallbacks"],[34,48,57,2,"forwardedRef"],[34,60,57,46],[34,62,58,34],[35,4,59,2],[35,8,59,8,"pendingCleanupCallbacks"],[35,31,59,31],[35,34,59,34],[35,38,59,34,"useRef"],[35,44,59,40],[35,45,59,40,"useRef"],[35,51,59,40],[35,53,59,60],[35,55,59,62],[35,56,59,63],[36,4,61,2],[36,8,61,8,"imageAttachedCallbacksRef"],[36,33,61,33],[36,36,62,4],[36,40,62,4,"useRef"],[36,46,62,10],[36,47,62,10,"useRef"],[36,53,62,10],[36,55,62,50],[36,59,62,54],[36,60,62,55],[37,4,64,2],[37,8,64,6,"imageAttachedCallbacksRef"],[37,33,64,31],[37,34,64,32,"current"],[37,41,64,39],[37,45,64,43],[37,49,64,47],[37,51,64,49],[38,6,65,4,"imageAttachedCallbacksRef"],[38,31,65,29],[38,32,65,30,"current"],[38,39,65,37],[38,42,65,41,"node"],[38,46,65,67],[38,50,65,78],[39,8,66,6],[39,12,66,10,"node"],[39,16,66,14],[39,20,66,18],[39,24,66,22],[39,26,66,24],[40,10,67,8],[40,14,67,12,"pendingCleanupCallbacks"],[40,37,67,35],[40,38,67,36,"current"],[40,45,67,43],[40,46,67,44,"length"],[40,52,67,50],[40,55,67,53],[40,56,67,54],[40,58,67,56],[41,12,68,10,"pendingCleanupCallbacks"],[41,35,68,33],[41,36,68,34,"current"],[41,43,68,41],[41,44,68,42,"forEach"],[41,51,68,49],[41,52,68,50,"cb"],[41,54,68,52],[41,58,68,56,"cb"],[41,60,68,58],[41,61,68,59],[41,62,68,60],[41,63,68,61],[42,12,69,10,"pendingCleanupCallbacks"],[42,35,69,33],[42,36,69,34,"current"],[42,43,69,41],[42,46,69,44],[42,48,69,46],[43,10,70,8],[44,8,71,6],[44,9,71,7],[44,15,71,13],[45,10,72,8,"imageAttachedCallbacks"],[45,32,72,30],[45,33,72,31,"forEach"],[45,40,72,38],[45,41,72,39,"imageAttachedCallback"],[45,62,72,60],[45,66,72,64],[46,12,73,10],[46,16,73,16,"maybeCleanupCallback"],[46,36,73,36],[46,39,73,39,"imageAttachedCallback"],[46,60,73,60],[46,61,73,61,"node"],[46,65,73,65],[46,66,73,66],[47,12,74,10],[47,16,74,14,"maybeCleanupCallback"],[47,36,74,34],[47,40,74,38],[47,44,74,42],[47,46,74,44],[48,14,75,12,"pendingCleanupCallbacks"],[48,37,75,35],[48,38,75,36,"current"],[48,45,75,43],[48,46,75,44,"push"],[48,50,75,48],[48,51,75,49,"maybeCleanupCallback"],[48,71,75,69],[48,72,75,70],[49,12,76,10],[50,10,77,8],[50,11,77,9],[50,12,77,10],[51,8,78,6],[52,6,79,4],[52,7,79,5],[53,4,80,2],[54,4,83,2],[54,11,83,9],[54,15,83,9,"useMergeRefs"],[54,27,83,21],[54,28,83,21,"default"],[54,35,83,21],[54,37,84,4,"forwardedRef"],[54,49,84,16],[54,51,85,4,"imageAttachedCallbacksRef"],[54,76,85,29],[54,77,85,30,"current"],[54,84,86,2],[54,85,86,3],[55,2,87,0],[56,0,87,1],[56,3]],"functionMap":{"names":["<global>","unstable_setImageComponentDecorator","unstable_getImageComponentDecorator","unstable_registerImageAttachedCallback","unstable_unregisterImageAttachedCallback","useWrapRefWithImageAttachedCallbacks","imageAttachedCallbacksRef.current","pendingCleanupCallbacks.current.forEach$argument_0","imageAttachedCallbacks.forEach$argument_0"],"mappings":"AAA;OCyB;CDI;OEE;CFE;OGU;CHI;OIE;CJI;OKE;wCCS;kDCG,UD;uCEI;SFK;KDE"},"hasCjsExports":false},"type":"js/module"}]} |