Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/a3/95a0f5913e550a0c276703426c3ccc26d408edc1b2f887d2d4769ba7fc9c04c7415afa
T
2025-11-08 07:19:17 +00:00

1 line
8.7 KiB
Plaintext

{"dependencies":[{"name":"fbjs/lib/invariant","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":11,"column":0,"index":210},"end":{"line":11,"column":43,"index":253}}],"key":"bGUa+dDG2WEhPiIlobT3urS95UE=","exportNames":["*"],"imports":1}},{"name":"react","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":12,"column":0,"index":254},"end":{"line":12,"column":31,"index":285}}],"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 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, \"default\", {\n enumerable: true,\n get: function () {\n return StateSafePureComponent;\n }\n });\n var _fbjsLibInvariant = require(_dependencyMap[0], \"fbjs/lib/invariant\");\n var invariant = _interopDefault(_fbjsLibInvariant);\n var _react = require(_dependencyMap[1], \"react\");\n var React = _interopNamespace(_react);\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 /**\n * `setState` is called asynchronously, and should not rely on the value of\n * `this.props` or `this.state`:\n * https://reactjs.org/docs/state-and-lifecycle.html#state-updates-may-be-asynchronous\n *\n * SafePureComponent adds runtime enforcement, to catch cases where these\n * variables are read in a state updater function, instead of the ones passed\n * in.\n */\n class StateSafePureComponent extends React.PureComponent {\n constructor(props) {\n super(props);\n this._inAsyncStateUpdate = false;\n this._installSetStateHooks();\n }\n setState(partialState, callback) {\n if (typeof partialState === 'function') {\n super.setState((state, props) => {\n this._inAsyncStateUpdate = true;\n var ret;\n try {\n ret = partialState(state, props);\n } catch (err) {\n throw err;\n } finally {\n this._inAsyncStateUpdate = false;\n }\n return ret;\n }, callback);\n } else {\n super.setState(partialState, callback);\n }\n }\n _installSetStateHooks() {\n var that = this;\n var props = this.props,\n state = this.state;\n Object.defineProperty(this, 'props', {\n get() {\n (0, invariant.default)(!that._inAsyncStateUpdate, '\"this.props\" should not be accessed during state updates');\n return props;\n },\n set(newProps) {\n props = newProps;\n }\n });\n Object.defineProperty(this, 'state', {\n get() {\n (0, invariant.default)(!that._inAsyncStateUpdate, '\"this.state\" should not be acceessed during state updates');\n return state;\n },\n set(newState) {\n state = newState;\n }\n });\n }\n }\n});","lineCount":104,"map":[[27,2,23,15,"Object"],[27,8,23,15],[27,9,23,15,"defineProperty"],[27,23,23,15],[27,24,23,15,"exports"],[27,31,23,15],[28,4,23,15,"enumerable"],[28,14,23,15],[29,4,23,15,"get"],[29,7,23,15],[29,18,23,15,"get"],[29,19,23,15],[30,6,23,15],[30,13,23,15,"StateSafePureComponent"],[30,35,23,15],[31,4,23,15],[32,2,23,15],[33,2,11,0],[33,6,11,0,"_fbjsLibInvariant"],[33,23,11,0],[33,26,11,0,"require"],[33,33,11,0],[33,34,11,0,"_dependencyMap"],[33,48,11,0],[34,2,11,0],[34,6,11,0,"invariant"],[34,15,11,0],[34,18,11,0,"_interopDefault"],[34,33,11,0],[34,34,11,0,"_fbjsLibInvariant"],[34,51,11,0],[35,2,12,0],[35,6,12,0,"_react"],[35,12,12,0],[35,15,12,0,"require"],[35,22,12,0],[35,23,12,0,"_dependencyMap"],[35,37,12,0],[36,2,12,0],[36,6,12,0,"React"],[36,11,12,0],[36,14,12,0,"_interopNamespace"],[36,31,12,0],[36,32,12,0,"_react"],[36,38,12,0],[37,2,1,0],[38,0,2,0],[39,0,3,0],[40,0,4,0],[41,0,5,0],[42,0,6,0],[43,0,7,0],[44,0,8,0],[45,0,9,0],[47,2,14,0],[48,0,15,0],[49,0,16,0],[50,0,17,0],[51,0,18,0],[52,0,19,0],[53,0,20,0],[54,0,21,0],[55,0,22,0],[56,2,23,15],[56,8,23,21,"StateSafePureComponent"],[56,30,23,43],[56,39,23,52,"React"],[56,44,23,57],[56,45,23,58,"PureComponent"],[56,58,23,71],[56,59,23,72],[57,4,24,2,"constructor"],[57,15,24,13,"constructor"],[57,16,24,14,"props"],[57,21,24,19],[57,23,24,21],[58,6,25,4],[58,11,25,9],[58,12,25,10,"props"],[58,17,25,15],[58,18,25,16],[59,6,26,4],[59,10,26,8],[59,11,26,9,"_inAsyncStateUpdate"],[59,30,26,28],[59,33,26,31],[59,38,26,36],[60,6,27,4],[60,10,27,8],[60,11,27,9,"_installSetStateHooks"],[60,32,27,30],[60,33,27,31],[60,34,27,32],[61,4,28,2],[62,4,29,2,"setState"],[62,12,29,10,"setState"],[62,13,29,11,"partialState"],[62,25,29,23],[62,27,29,25,"callback"],[62,35,29,33],[62,37,29,35],[63,6,30,4],[63,10,30,8],[63,17,30,15,"partialState"],[63,29,30,27],[63,34,30,32],[63,44,30,42],[63,46,30,44],[64,8,31,6],[64,13,31,11],[64,14,31,12,"setState"],[64,22,31,20],[64,23,31,21],[64,24,31,22,"state"],[64,29,31,27],[64,31,31,29,"props"],[64,36,31,34],[64,41,31,39],[65,10,32,8],[65,14,32,12],[65,15,32,13,"_inAsyncStateUpdate"],[65,34,32,32],[65,37,32,35],[65,41,32,39],[66,10,33,8],[66,14,33,12,"ret"],[66,17,33,15],[67,10,34,8],[67,14,34,12],[68,12,35,10,"ret"],[68,15,35,13],[68,18,35,16,"partialState"],[68,30,35,28],[68,31,35,29,"state"],[68,36,35,34],[68,38,35,36,"props"],[68,43,35,41],[68,44,35,42],[69,10,36,8],[69,11,36,9],[69,12,36,10],[69,19,36,17,"err"],[69,22,36,20],[69,24,36,22],[70,12,37,10],[70,18,37,16,"err"],[70,21,37,19],[71,10,38,8],[71,11,38,9],[71,20,38,18],[72,12,39,10],[72,16,39,14],[72,17,39,15,"_inAsyncStateUpdate"],[72,36,39,34],[72,39,39,37],[72,44,39,42],[73,10,40,8],[74,10,41,8],[74,17,41,15,"ret"],[74,20,41,18],[75,8,42,6],[75,9,42,7],[75,11,42,9,"callback"],[75,19,42,17],[75,20,42,18],[76,6,43,4],[76,7,43,5],[76,13,43,11],[77,8,44,6],[77,13,44,11],[77,14,44,12,"setState"],[77,22,44,20],[77,23,44,21,"partialState"],[77,35,44,33],[77,37,44,35,"callback"],[77,45,44,43],[77,46,44,44],[78,6,45,4],[79,4,46,2],[80,4,47,2,"_installSetStateHooks"],[80,25,47,23,"_installSetStateHooks"],[80,26,47,23],[80,28,47,26],[81,6,48,4],[81,10,48,8,"that"],[81,14,48,12],[81,17,48,15],[81,21,48,19],[82,6,49,4],[82,10,49,8,"props"],[82,15,49,13],[82,18,49,16],[82,22,49,20],[82,23,49,21,"props"],[82,28,49,26],[83,8,50,6,"state"],[83,13,50,11],[83,16,50,14],[83,20,50,18],[83,21,50,19,"state"],[83,26,50,24],[84,6,51,4,"Object"],[84,12,51,10],[84,13,51,11,"defineProperty"],[84,27,51,25],[84,28,51,26],[84,32,51,30],[84,34,51,32],[84,41,51,39],[84,43,51,41],[85,8,52,6,"get"],[85,11,52,9,"get"],[85,12,52,9],[85,14,52,12],[86,10,53,8],[86,14,53,8,"invariant"],[86,23,53,17],[86,24,53,17,"default"],[86,31,53,17],[86,33,53,18],[86,34,53,19,"that"],[86,38,53,23],[86,39,53,24,"_inAsyncStateUpdate"],[86,58,53,43],[86,60,53,45],[86,118,53,103],[86,119,53,104],[87,10,54,8],[87,17,54,15,"props"],[87,22,54,20],[88,8,55,6],[88,9,55,7],[89,8,56,6,"set"],[89,11,56,9,"set"],[89,12,56,10,"newProps"],[89,20,56,18],[89,22,56,20],[90,10,57,8,"props"],[90,15,57,13],[90,18,57,16,"newProps"],[90,26,57,24],[91,8,58,6],[92,6,59,4],[92,7,59,5],[92,8,59,6],[93,6,60,4,"Object"],[93,12,60,10],[93,13,60,11,"defineProperty"],[93,27,60,25],[93,28,60,26],[93,32,60,30],[93,34,60,32],[93,41,60,39],[93,43,60,41],[94,8,61,6,"get"],[94,11,61,9,"get"],[94,12,61,9],[94,14,61,12],[95,10,62,8],[95,14,62,8,"invariant"],[95,23,62,17],[95,24,62,17,"default"],[95,31,62,17],[95,33,62,18],[95,34,62,19,"that"],[95,38,62,23],[95,39,62,24,"_inAsyncStateUpdate"],[95,58,62,43],[95,60,62,45],[95,119,62,104],[95,120,62,105],[96,10,63,8],[96,17,63,15,"state"],[96,22,63,20],[97,8,64,6],[97,9,64,7],[98,8,65,6,"set"],[98,11,65,9,"set"],[98,12,65,10,"newState"],[98,20,65,18],[98,22,65,20],[99,10,66,8,"state"],[99,15,66,13],[99,18,66,16,"newState"],[99,26,66,24],[100,8,67,6],[101,6,68,4],[101,7,68,5],[101,8,68,6],[102,4,69,2],[103,2,70,0],[104,0,70,1],[104,3]],"functionMap":{"names":["<global>","StateSafePureComponent","constructor","setState","setState$argument_0","_installSetStateHooks","Object.defineProperty$argument_2.get","Object.defineProperty$argument_2.set"],"mappings":"AAA;eCsB;ECC;GDI;EEC;qBCE;ODW;GFI;EIC;MCK;ODG;MEC;OFE;MCG;ODG;MEC;OFE;GJE"},"hasCjsExports":false},"type":"js/module"}]}