mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 10:01:02 +00:00
1 line
11 KiB
Plaintext
1 line
11 KiB
Plaintext
{"dependencies":[{"name":"invariant","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":16,"column":0},"end":{"line":16,"column":34}}],"key":"4HPAaDQ25ZwZ2dzTLatXuUucZUM=","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, \"customBubblingEventTypes\", {\n enumerable: true,\n get: function () {\n return customBubblingEventTypes;\n }\n });\n Object.defineProperty(exports, \"customDirectEventTypes\", {\n enumerable: true,\n get: function () {\n return customDirectEventTypes;\n }\n });\n exports.register = register;\n exports.get = get;\n var _invariant = require(_dependencyMap[0], \"invariant\");\n var invariant = _interopDefault(_invariant);\n var customBubblingEventTypes = {};\n var customDirectEventTypes = {};\n var viewConfigCallbacks = new Map();\n var viewConfigs = new Map();\n function processEventTypes(viewConfig) {\n var bubblingEventTypes = viewConfig.bubblingEventTypes,\n directEventTypes = viewConfig.directEventTypes;\n if (__DEV__) {\n if (bubblingEventTypes != null && directEventTypes != null) {\n for (var topLevelType in directEventTypes) {\n (0, invariant.default)(bubblingEventTypes[topLevelType] == null, 'Event cannot be both direct and bubbling: %s', topLevelType);\n }\n }\n }\n if (bubblingEventTypes != null) {\n for (var _topLevelType in bubblingEventTypes) {\n if (customBubblingEventTypes[_topLevelType] == null) {\n customBubblingEventTypes[_topLevelType] = bubblingEventTypes[_topLevelType];\n }\n }\n }\n if (directEventTypes != null) {\n for (var _topLevelType2 in directEventTypes) {\n if (customDirectEventTypes[_topLevelType2] == null) {\n customDirectEventTypes[_topLevelType2] = directEventTypes[_topLevelType2];\n }\n }\n }\n }\n function register(name, callback) {\n (0, invariant.default)(!viewConfigCallbacks.has(name), 'Tried to register two views with the same name %s', name);\n (0, invariant.default)(typeof callback === 'function', 'View config getter callback for component `%s` must be a function (received `%s`)', name, callback === null ? 'null' : typeof callback);\n viewConfigCallbacks.set(name, callback);\n return name;\n }\n function get(name) {\n var viewConfig = viewConfigs.get(name);\n if (viewConfig == null) {\n var callback = viewConfigCallbacks.get(name);\n if (typeof callback !== 'function') {\n (0, invariant.default)(false, 'View config getter callback for component `%s` must be a function (received `%s`).%s', name, callback === null ? 'null' : typeof callback, typeof name[0] === 'string' && /[a-z]/.test(name[0]) ? ' Make sure to start component names with a capital letter.' : '');\n }\n viewConfig = callback();\n (0, invariant.default)(viewConfig, 'View config not found for component `%s`', name);\n processEventTypes(viewConfig);\n viewConfigs.set(name, viewConfig);\n viewConfigCallbacks.set(name, null);\n }\n return viewConfig;\n }\n});","lineCount":78,"map":[[2,2,13,0],[2,14,13,12],[4,2,13,13,"Object"],[4,8,13,13],[4,9,13,13,"defineProperty"],[4,23,13,13],[4,24,13,13,"exports"],[4,31,13,13],[5,4,13,13,"value"],[5,9,13,13],[6,2,13,13],[7,2,13,13],[7,11,13,13,"_interopDefault"],[7,27,13,13,"e"],[7,28,13,13],[8,4,13,13],[8,11,13,13,"e"],[8,12,13,13],[8,16,13,13,"e"],[8,17,13,13],[8,18,13,13,"__esModule"],[8,28,13,13],[8,31,13,13,"e"],[8,32,13,13],[9,6,13,13,"default"],[9,13,13,13],[9,15,13,13,"e"],[10,4,13,13],[11,2,13,13],[12,2,19,0,"Object"],[12,8,19,0],[12,9,19,0,"defineProperty"],[12,23,19,0],[12,24,19,0,"exports"],[12,31,19,0],[13,4,19,0,"enumerable"],[13,14,19,0],[14,4,19,0,"get"],[14,7,19,0],[14,18,19,0,"get"],[14,19,19,0],[15,6,19,0],[15,13,19,0,"customBubblingEventTypes"],[15,37,19,0],[16,4,19,0],[17,2,19,0],[18,2,28,0,"Object"],[18,8,28,0],[18,9,28,0,"defineProperty"],[18,23,28,0],[18,24,28,0,"exports"],[18,31,28,0],[19,4,28,0,"enumerable"],[19,14,28,0],[20,4,28,0,"get"],[20,7,28,0],[20,18,28,0,"get"],[20,19,28,0],[21,6,28,0],[21,13,28,0,"customDirectEventTypes"],[21,35,28,0],[22,4,28,0],[23,2,28,0],[24,2,75,0,"exports"],[24,9,75,0],[24,10,75,0,"register"],[24,18,75,0],[24,21,75,0,"register"],[24,29,75,0],[25,2,96,0,"exports"],[25,9,96,0],[25,10,96,0,"get"],[25,13,96,0],[25,16,96,0,"get"],[25,19,96,0],[26,2,16,0],[26,6,16,0,"_invariant"],[26,16,16,0],[26,19,16,0,"require"],[26,26,16,0],[26,27,16,0,"_dependencyMap"],[26,41,16,0],[27,2,16,0],[27,6,16,0,"invariant"],[27,15,16,0],[27,18,16,0,"_interopDefault"],[27,33,16,0],[27,34,16,0,"_invariant"],[27,44,16,0],[28,2,19,7],[28,6,19,13,"customBubblingEventTypes"],[28,30,27,1],[28,33,27,4],[28,34,27,5],[28,35,27,6],[29,2,28,7],[29,6,28,13,"customDirectEventTypes"],[29,28,32,1],[29,31,32,4],[29,32,32,5],[29,33,32,6],[30,2,34,0],[30,6,34,6,"viewConfigCallbacks"],[30,25,34,25],[30,28,34,28],[30,32,34,32,"Map"],[30,35,34,35],[30,36,34,63],[30,37,34,64],[31,2,35,0],[31,6,35,6,"viewConfigs"],[31,17,35,17],[31,20,35,20],[31,24,35,24,"Map"],[31,27,35,27],[31,28,35,48],[31,29,35,49],[32,2,37,0],[32,11,37,9,"processEventTypes"],[32,28,37,26,"processEventTypes"],[32,29,37,27,"viewConfig"],[32,39,37,49],[32,41,37,57],[33,4,38,2],[33,8,38,9,"bubblingEventTypes"],[33,26,38,27],[33,29,38,49,"viewConfig"],[33,39,38,59],[33,40,38,9,"bubblingEventTypes"],[33,58,38,27],[34,6,38,29,"directEventTypes"],[34,22,38,45],[34,25,38,49,"viewConfig"],[34,35,38,59],[34,36,38,29,"directEventTypes"],[34,52,38,45],[35,4,40,2],[35,8,40,6,"__DEV__"],[35,15,40,13],[35,17,40,15],[36,6,41,4],[36,10,41,8,"bubblingEventTypes"],[36,28,41,26],[36,32,41,30],[36,36,41,34],[36,40,41,38,"directEventTypes"],[36,56,41,54],[36,60,41,58],[36,64,41,62],[36,66,41,64],[37,8,42,6],[37,13,42,11],[37,17,42,17,"topLevelType"],[37,29,42,29],[37,33,42,33,"directEventTypes"],[37,49,42,49],[37,51,42,51],[38,10,43,8],[38,14,43,8,"invariant"],[38,23,43,17],[38,24,43,17,"default"],[38,31,43,17],[38,33,44,10,"bubblingEventTypes"],[38,51,44,28],[38,52,44,29,"topLevelType"],[38,64,44,41],[38,65,44,42],[38,69,44,46],[38,73,44,50],[38,75,45,10],[38,121,45,56],[38,123,46,10,"topLevelType"],[38,135,47,8],[38,136,47,9],[39,8,48,6],[40,6,49,4],[41,4,50,2],[42,4,52,2],[42,8,52,6,"bubblingEventTypes"],[42,26,52,24],[42,30,52,28],[42,34,52,32],[42,36,52,34],[43,6,53,4],[43,11,53,9],[43,15,53,15,"topLevelType"],[43,28,53,27],[43,32,53,31,"bubblingEventTypes"],[43,50,53,49],[43,52,53,51],[44,8,54,6],[44,12,54,10,"customBubblingEventTypes"],[44,36,54,34],[44,37,54,35,"topLevelType"],[44,50,54,47],[44,51,54,48],[44,55,54,52],[44,59,54,56],[44,61,54,58],[45,10,55,8,"customBubblingEventTypes"],[45,34,55,32],[45,35,55,33,"topLevelType"],[45,48,55,45],[45,49,55,46],[45,52,56,10,"bubblingEventTypes"],[45,70,56,28],[45,71,56,29,"topLevelType"],[45,84,56,41],[45,85,56,42],[46,8,57,6],[47,6,58,4],[48,4,59,2],[49,4,61,2],[49,8,61,6,"directEventTypes"],[49,24,61,22],[49,28,61,26],[49,32,61,30],[49,34,61,32],[50,6,62,4],[50,11,62,9],[50,15,62,15,"topLevelType"],[50,29,62,27],[50,33,62,31,"directEventTypes"],[50,49,62,47],[50,51,62,49],[51,8,63,6],[51,12,63,10,"customDirectEventTypes"],[51,34,63,32],[51,35,63,33,"topLevelType"],[51,49,63,45],[51,50,63,46],[51,54,63,50],[51,58,63,54],[51,60,63,56],[52,10,64,8,"customDirectEventTypes"],[52,32,64,30],[52,33,64,31,"topLevelType"],[52,47,64,43],[52,48,64,44],[52,51,64,47,"directEventTypes"],[52,67,64,63],[52,68,64,64,"topLevelType"],[52,82,64,76],[52,83,64,77],[53,8,65,6],[54,6,66,4],[55,4,67,2],[56,2,68,0],[57,2,75,7],[57,11,75,16,"register"],[57,19,75,24,"register"],[57,20,75,25,"name"],[57,24,75,37],[57,26,75,39,"callback"],[57,34,75,65],[57,36,75,75],[58,4,76,2],[58,8,76,2,"invariant"],[58,17,76,11],[58,18,76,11,"default"],[58,25,76,11],[58,27,77,4],[58,28,77,5,"viewConfigCallbacks"],[58,47,77,24],[58,48,77,25,"has"],[58,51,77,28],[58,52,77,29,"name"],[58,56,77,33],[58,57,77,34],[58,59,78,4],[58,110,78,55],[58,112,79,4,"name"],[58,116,80,2],[58,117,80,3],[59,4,81,2],[59,8,81,2,"invariant"],[59,17,81,11],[59,18,81,11,"default"],[59,25,81,11],[59,27,82,4],[59,34,82,11,"callback"],[59,42,82,19],[59,47,82,24],[59,57,82,34],[59,59,83,4],[59,142,83,87],[59,144,84,4,"name"],[59,148,84,8],[59,150,85,4,"callback"],[59,158,85,12],[59,163,85,17],[59,167,85,21],[59,170,85,24],[59,176,85,30],[59,179,85,33],[59,186,85,40,"callback"],[59,194,86,2],[59,195,86,3],[60,4,87,2,"viewConfigCallbacks"],[60,23,87,21],[60,24,87,22,"set"],[60,27,87,25],[60,28,87,26,"name"],[60,32,87,30],[60,34,87,32,"callback"],[60,42,87,40],[60,43,87,41],[61,4,88,2],[61,11,88,9,"name"],[61,15,88,13],[62,2,89,0],[63,2,96,7],[63,11,96,16,"get"],[63,14,96,19,"get"],[63,15,96,20,"name"],[63,19,96,32],[63,21,96,46],[64,4,97,2],[64,8,97,6,"viewConfig"],[64,18,97,16],[64,21,97,19,"viewConfigs"],[64,32,97,30],[64,33,97,31,"get"],[64,36,97,34],[64,37,97,35,"name"],[64,41,97,39],[64,42,97,40],[65,4,98,2],[65,8,98,6,"viewConfig"],[65,18,98,16],[65,22,98,20],[65,26,98,24],[65,28,98,26],[66,6,99,4],[66,10,99,10,"callback"],[66,18,99,18],[66,21,99,21,"viewConfigCallbacks"],[66,40,99,40],[66,41,99,41,"get"],[66,44,99,44],[66,45,99,45,"name"],[66,49,99,49],[66,50,99,50],[67,6,100,4],[67,10,100,8],[67,17,100,15,"callback"],[67,25,100,23],[67,30,100,28],[67,40,100,38],[67,42,100,40],[68,8,101,6],[68,12,101,6,"invariant"],[68,21,101,15],[68,22,101,15,"default"],[68,29,101,15],[68,31,102,8],[68,36,102,13],[68,38,103,8],[68,124,103,94],[68,126,104,8,"name"],[68,130,104,12],[68,132,105,8,"callback"],[68,140,105,16],[68,145,105,21],[68,149,105,25],[68,152,105,28],[68,158,105,34],[68,161,105,37],[68,168,105,44,"callback"],[68,176,105,52],[68,178,107,8],[68,185,107,15,"name"],[68,189,107,19],[68,190,107,20],[68,191,107,21],[68,192,107,22],[68,197,107,27],[68,205,107,35],[68,209,107,39],[68,216,107,46],[68,217,107,47,"test"],[68,221,107,51],[68,222,107,52,"name"],[68,226,107,56],[68,227,107,57],[68,228,107,58],[68,229,107,59],[68,230,107,60],[68,233,108,12],[68,293,108,72],[68,296,109,12],[68,298,110,6],[68,299,110,7],[69,6,111,4],[70,6,112,4,"viewConfig"],[70,16,112,14],[70,19,112,17,"callback"],[70,27,112,25],[70,28,112,26],[70,29,112,27],[71,6,113,4],[71,10,113,4,"invariant"],[71,19,113,13],[71,20,113,13,"default"],[71,27,113,13],[71,29,113,14,"viewConfig"],[71,39,113,24],[71,41,113,26],[71,83,113,68],[71,85,113,70,"name"],[71,89,113,74],[71,90,113,75],[72,6,115,4,"processEventTypes"],[72,23,115,21],[72,24,115,22,"viewConfig"],[72,34,115,32],[72,35,115,33],[73,6,116,4,"viewConfigs"],[73,17,116,15],[73,18,116,16,"set"],[73,21,116,19],[73,22,116,20,"name"],[73,26,116,24],[73,28,116,26,"viewConfig"],[73,38,116,36],[73,39,116,37],[74,6,120,4,"viewConfigCallbacks"],[74,25,120,23],[74,26,120,24,"set"],[74,29,120,27],[74,30,120,28,"name"],[74,34,120,32],[74,36,120,34],[74,40,120,38],[74,41,120,39],[75,4,121,2],[76,4,122,2],[76,11,122,9,"viewConfig"],[76,21,122,19],[77,2,123,0],[78,0,123,1],[78,3]],"functionMap":{"names":["<global>","processEventTypes","register","get"],"mappings":"AAA;ACoC;CD+B;OEO;CFc;OGO"},"hasCjsExports":false},"type":"js/module"}]} |