mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 18:01:02 +00:00
1 line
4.8 KiB
Plaintext
1 line
4.8 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.objectProperty = objectProperty;\n exports.objectProperties = objectProperties;\n /**\n * @name objectProperty\n * @summary Assign a get property on the input object\n */\n function objectProperty(that, key, getter, getName) {\n var index = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;\n var name = getName ? getName(key, index) : key;\n // There are 3 approaches here -\n // - Object.prototype.hasOwnProperty.call(that, key) - this only checks the current class, i.e\n // will retuirn false if the property is set in the parent class\n // - isUndefined(...) - this may yield a false positive when the property is there, but not set.\n // Additionally, on pre-defined getters it may make a call\n // - key in that - Does not need to be combined with either of the above and checks the full chain\n if (!(name in that)) {\n Object.defineProperty(that, name, {\n enumerable: true,\n // Unlike in lazy, we always call into the upper function, i.e. this method\n // does not cache old values (it is expected to be used for dynamic values)\n get: function () {\n return getter(key, index, this);\n }\n });\n }\n }\n /**\n * @name objectProperties\n * @summary Assign get properties on the input object\n */\n function objectProperties(that, keys, getter, getName) {\n for (var i = 0, count = keys.length; i < count; i++) {\n objectProperty(that, keys[i], getter, getName, i);\n }\n }\n});","lineCount":42,"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,"objectProperty"],[7,24,3,22],[7,27,3,25,"objectProperty"],[7,41,3,39],[8,2,4,0,"exports"],[8,9,4,7],[8,10,4,8,"objectProperties"],[8,26,4,24],[8,29,4,27,"objectProperties"],[8,45,4,43],[9,2,5,0],[10,0,6,0],[11,0,7,0],[12,0,8,0],[13,2,9,0],[13,11,9,9,"objectProperty"],[13,25,9,23,"objectProperty"],[13,26,9,24,"that"],[13,30,9,28],[13,32,9,30,"key"],[13,35,9,33],[13,37,9,35,"getter"],[13,43,9,41],[13,45,9,43,"getName"],[13,52,9,50],[13,54,9,63],[14,4,9,63],[14,8,9,52,"index"],[14,13,9,57],[14,16,9,57,"arguments"],[14,25,9,57],[14,26,9,57,"length"],[14,32,9,57],[14,40,9,57,"arguments"],[14,49,9,57],[14,57,9,57,"undefined"],[14,66,9,57],[14,69,9,57,"arguments"],[14,78,9,57],[14,84,9,60],[14,85,9,61],[15,4,10,4],[15,8,10,10,"name"],[15,12,10,14],[15,15,10,17,"getName"],[15,22,10,24],[15,25,11,10,"getName"],[15,32,11,17],[15,33,11,18,"key"],[15,36,11,21],[15,38,11,23,"index"],[15,43,11,28],[15,44,11,29],[15,47,12,10,"key"],[15,50,12,13],[16,4,13,4],[17,4,14,4],[18,4,15,4],[19,4,16,4],[20,4,17,4],[21,4,18,4],[22,4,19,4],[22,8,19,8],[22,10,19,10,"name"],[22,14,19,14],[22,18,19,18,"that"],[22,22,19,22],[22,23,19,23],[22,25,19,25],[23,6,20,8,"Object"],[23,12,20,14],[23,13,20,15,"defineProperty"],[23,27,20,29],[23,28,20,30,"that"],[23,32,20,34],[23,34,20,36,"name"],[23,38,20,40],[23,40,20,42],[24,8,21,12,"enumerable"],[24,18,21,22],[24,20,21,24],[24,24,21,28],[25,8,22,12],[26,8,23,12],[27,8,24,12,"get"],[27,11,24,15],[27,13,24,17],[27,22,24,17,"get"],[27,23,24,17],[27,25,24,29],[28,10,25,16],[28,17,25,23,"getter"],[28,23,25,29],[28,24,25,30,"key"],[28,27,25,33],[28,29,25,35,"index"],[28,34,25,40],[28,36,25,42],[28,40,25,46],[28,41,25,47],[29,8,26,12],[30,6,27,8],[30,7,27,9],[30,8,27,10],[31,4,28,4],[32,2,29,0],[33,2,30,0],[34,0,31,0],[35,0,32,0],[36,0,33,0],[37,2,34,0],[37,11,34,9,"objectProperties"],[37,27,34,25,"objectProperties"],[37,28,34,26,"that"],[37,32,34,30],[37,34,34,32,"keys"],[37,38,34,36],[37,40,34,38,"getter"],[37,46,34,44],[37,48,34,46,"getName"],[37,55,34,53],[37,57,34,55],[38,4,35,4],[38,9,35,9],[38,13,35,13,"i"],[38,14,35,14],[38,17,35,17],[38,18,35,18],[38,20,35,20,"count"],[38,25,35,25],[38,28,35,28,"keys"],[38,32,35,32],[38,33,35,33,"length"],[38,39,35,39],[38,41,35,41,"i"],[38,42,35,42],[38,45,35,45,"count"],[38,50,35,50],[38,52,35,52,"i"],[38,53,35,53],[38,55,35,55],[38,57,35,57],[39,6,36,8,"objectProperty"],[39,20,36,22],[39,21,36,23,"that"],[39,25,36,27],[39,27,36,29,"keys"],[39,31,36,33],[39,32,36,34,"i"],[39,33,36,35],[39,34,36,36],[39,36,36,38,"getter"],[39,42,36,44],[39,44,36,46,"getName"],[39,51,36,53],[39,53,36,55,"i"],[39,54,36,56],[39,55,36,57],[40,4,37,4],[41,2,38,0],[42,0,38,1],[42,3]],"functionMap":{"names":["<global>","objectProperty","Object.defineProperty$argument_2.get","objectProperties"],"mappings":"AAA;ACQ;iBCe;aDE;CDG;AGK;CHI"},"hasCjsExports":true},"type":"js/module"}]} |