mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 04:11:02 +00:00
1 line
6.2 KiB
Plaintext
1 line
6.2 KiB
Plaintext
{"dependencies":[],"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 exports.lazyMethod = lazyMethod;\n exports.lazyMethods = lazyMethods;\n /**\n * @name lazyMethod\n * @description\n * Creates a lazy, on-demand getter for the specific value. Upon get the value will be evaluated.\n */\n function lazyMethod(result, item, creator, getName) {\n var index = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;\n var name = getName ? getName(item, index) : item.toString();\n var value;\n Object.defineProperty(result, name, {\n // This allows for re-configuration with the embedded defineProperty below\n // and ensures that on tested browsers and Node, it _will_ be redefined\n // and thus short-circuited for future access\n configurable: true,\n enumerable: true,\n // Use a function here, we don't want to capture the outer this, i.e.\n // don't use arrow functions in this context since we have a this inside\n get: function () {\n // This check should _always_ be false and unneeded, since we override\n // with a value below ... however we ensure we are quire vigilant against\n // all environment failures, so we are rather be safe than sorry\n if (value === undefined) {\n value = creator(item, index, this);\n try {\n // re-define the property as a value, next time around this\n // getter will only return the computed value\n Object.defineProperty(this, name, {\n value\n });\n } catch {\n // ignore any errors, since this _should_ not happen due to\n // the \"configurable\" property above. But if it ever does\n // from here-on we will be the cached value the next time\n // around (with a very slight dip in performance)\n }\n }\n return value;\n }\n });\n }\n /**\n * @name lazyMethods\n * @description\n * Creates lazy, on-demand getters for the specific values.\n */\n function lazyMethods(result, items, creator, getName) {\n for (var i = 0, count = items.length; i < count; i++) {\n lazyMethod(result, items[i], creator, getName, i);\n }\n return result;\n }\n});","lineCount":60,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"lazyMethod"],[7,20,3,18],[7,23,3,21,"lazyMethod"],[7,33,3,31],[8,2,4,0,"exports"],[8,9,4,7],[8,10,4,8,"lazyMethods"],[8,21,4,19],[8,24,4,22,"lazyMethods"],[8,35,4,33],[9,2,5,0],[10,0,6,0],[11,0,7,0],[12,0,8,0],[13,0,9,0],[14,2,10,0],[14,11,10,9,"lazyMethod"],[14,21,10,19,"lazyMethod"],[14,22,10,20,"result"],[14,28,10,26],[14,30,10,28,"item"],[14,34,10,32],[14,36,10,34,"creator"],[14,43,10,41],[14,45,10,43,"getName"],[14,52,10,50],[14,54,10,63],[15,4,10,63],[15,8,10,52,"index"],[15,13,10,57],[15,16,10,57,"arguments"],[15,25,10,57],[15,26,10,57,"length"],[15,32,10,57],[15,40,10,57,"arguments"],[15,49,10,57],[15,57,10,57,"undefined"],[15,66,10,57],[15,69,10,57,"arguments"],[15,78,10,57],[15,84,10,60],[15,85,10,61],[16,4,11,4],[16,8,11,10,"name"],[16,12,11,14],[16,15,11,17,"getName"],[16,22,11,24],[16,25,12,10,"getName"],[16,32,12,17],[16,33,12,18,"item"],[16,37,12,22],[16,39,12,24,"index"],[16,44,12,29],[16,45,12,30],[16,48,13,10,"item"],[16,52,13,14],[16,53,13,15,"toString"],[16,61,13,23],[16,62,13,24],[16,63,13,25],[17,4,14,4],[17,8,14,8,"value"],[17,13,14,13],[18,4,15,4,"Object"],[18,10,15,10],[18,11,15,11,"defineProperty"],[18,25,15,25],[18,26,15,26,"result"],[18,32,15,32],[18,34,15,34,"name"],[18,38,15,38],[18,40,15,40],[19,6,16,8],[20,6,17,8],[21,6,18,8],[22,6,19,8,"configurable"],[22,18,19,20],[22,20,19,22],[22,24,19,26],[23,6,20,8,"enumerable"],[23,16,20,18],[23,18,20,20],[23,22,20,24],[24,6,21,8],[25,6,22,8],[26,6,23,8,"get"],[26,9,23,11],[26,11,23,13],[26,20,23,13,"get"],[26,21,23,13],[26,23,23,25],[27,8,24,12],[28,8,25,12],[29,8,26,12],[30,8,27,12],[30,12,27,16,"value"],[30,17,27,21],[30,22,27,26,"undefined"],[30,31,27,35],[30,33,27,37],[31,10,28,16,"value"],[31,15,28,21],[31,18,28,24,"creator"],[31,25,28,31],[31,26,28,32,"item"],[31,30,28,36],[31,32,28,38,"index"],[31,37,28,43],[31,39,28,45],[31,43,28,49],[31,44,28,50],[32,10,29,16],[32,14,29,20],[33,12,30,20],[34,12,31,20],[35,12,32,20,"Object"],[35,18,32,26],[35,19,32,27,"defineProperty"],[35,33,32,41],[35,34,32,42],[35,38,32,46],[35,40,32,48,"name"],[35,44,32,52],[35,46,32,54],[36,14,32,56,"value"],[37,12,32,62],[37,13,32,63],[37,14,32,64],[38,10,33,16],[38,11,33,17],[38,12,34,16],[38,18,34,22],[39,12,35,20],[40,12,36,20],[41,12,37,20],[42,12,38,20],[43,10,38,20],[44,8,40,12],[45,8,41,12],[45,15,41,19,"value"],[45,20,41,24],[46,6,42,8],[47,4,43,4],[47,5,43,5],[47,6,43,6],[48,2,44,0],[49,2,45,0],[50,0,46,0],[51,0,47,0],[52,0,48,0],[53,0,49,0],[54,2,50,0],[54,11,50,9,"lazyMethods"],[54,22,50,20,"lazyMethods"],[54,23,50,21,"result"],[54,29,50,27],[54,31,50,29,"items"],[54,36,50,34],[54,38,50,36,"creator"],[54,45,50,43],[54,47,50,45,"getName"],[54,54,50,52],[54,56,50,54],[55,4,51,4],[55,9,51,9],[55,13,51,13,"i"],[55,14,51,14],[55,17,51,17],[55,18,51,18],[55,20,51,20,"count"],[55,25,51,25],[55,28,51,28,"items"],[55,33,51,33],[55,34,51,34,"length"],[55,40,51,40],[55,42,51,42,"i"],[55,43,51,43],[55,46,51,46,"count"],[55,51,51,51],[55,53,51,53,"i"],[55,54,51,54],[55,56,51,56],[55,58,51,58],[56,6,52,8,"lazyMethod"],[56,16,52,18],[56,17,52,19,"result"],[56,23,52,25],[56,25,52,27,"items"],[56,30,52,32],[56,31,52,33,"i"],[56,32,52,34],[56,33,52,35],[56,35,52,37,"creator"],[56,42,52,44],[56,44,52,46,"getName"],[56,51,52,53],[56,53,52,55,"i"],[56,54,52,56],[56,55,52,57],[57,4,53,4],[58,4,54,4],[58,11,54,11,"result"],[58,17,54,17],[59,2,55,0],[60,0,55,1],[60,3]],"functionMap":{"names":["<global>","lazyMethod","Object.defineProperty$argument_2.get","lazyMethods"],"mappings":"AAA;ACS;aCa;SDmB;CDE;AGM;CHK"},"hasCjsExports":true},"type":"js/module"}]} |