mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 18:01:02 +00:00
1 line
7.6 KiB
Plaintext
1 line
7.6 KiB
Plaintext
{"dependencies":[{"name":"@babel/runtime/helpers/readOnlyError","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"tW9vjPH6bEH6zBBMaoehmzXhDcQ=","exportNames":["*"],"imports":1}},{"name":"@babel/runtime/helpers/classCallCheck","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"yg7e6laZwmpbIvId5jovq9ugXp8=","exportNames":["*"],"imports":1}},{"name":"@babel/runtime/helpers/createClass","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"Z6pzkVZ2fvxBLkFTgVVOy4UDj30=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n var _readOnlyError = require(_dependencyMap[0], \"@babel/runtime/helpers/readOnlyError\").default;\n var _classCallCheck = require(_dependencyMap[1], \"@babel/runtime/helpers/classCallCheck\").default;\n var _createClass = require(_dependencyMap[2], \"@babel/runtime/helpers/createClass\").default;\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.Watch = void 0;\n var Watch = /*#__PURE__*/function () {\n function Watch() {\n _classCallCheck(this, Watch);\n this.timestamps = new Map();\n }\n return _createClass(Watch, [{\n key: \"start\",\n value: function start(label) {\n if (this.timestamps.has(label)) {\n throw new Error(`Watch already started for label: ${label}`);\n }\n this.timestamps.set(label, {\n started: Date.now()\n });\n }\n }, {\n key: \"stop\",\n value: function stop(label) {\n var timestamp = this.get(label);\n if (typeof timestamp.elapsed !== \"undefined\") {\n throw new Error(`Watch already stopped for label: ${label}`);\n }\n var elapsed = Date.now() - timestamp.started;\n this.timestamps.set(label, {\n started: timestamp.started,\n elapsed\n });\n }\n }, {\n key: \"get\",\n value: function get(label) {\n var timestamp = this.timestamps.get(label);\n if (typeof timestamp === \"undefined\") {\n throw new Error(`No timestamp found for label: ${label}`);\n }\n return timestamp;\n }\n }, {\n key: \"elapsed\",\n value: function elapsed(label) {\n var timestamp = this.get(label);\n var elapsed = timestamp.elapsed || Date.now() - timestamp.started;\n return elapsed;\n }\n }]);\n }();\n exports.Watch = Watch;\n exports.default = Watch;\n});","lineCount":59,"map":[[2,2,1,0],[2,14,1,12],[4,2,1,13],[4,6,1,13,"_readOnlyError"],[4,20,1,13],[4,23,1,13,"require"],[4,30,1,13],[4,31,1,13,"_dependencyMap"],[4,45,1,13],[4,90,1,13,"default"],[4,97,1,13],[5,2,1,13],[5,6,1,13,"_classCallCheck"],[5,21,1,13],[5,24,1,13,"require"],[5,31,1,13],[5,32,1,13,"_dependencyMap"],[5,46,1,13],[5,92,1,13,"default"],[5,99,1,13],[6,2,1,13],[6,6,1,13,"_createClass"],[6,18,1,13],[6,21,1,13,"require"],[6,28,1,13],[6,29,1,13,"_dependencyMap"],[6,43,1,13],[6,86,1,13,"default"],[6,93,1,13],[7,2,2,0,"Object"],[7,8,2,6],[7,9,2,7,"defineProperty"],[7,23,2,21],[7,24,2,22,"exports"],[7,31,2,29],[7,33,2,31],[7,45,2,43],[7,47,2,45],[8,4,2,47,"value"],[8,9,2,52],[8,11,2,54],[9,2,2,59],[9,3,2,60],[9,4,2,61],[10,2,3,0,"exports"],[10,9,3,7],[10,10,3,8,"Watch"],[10,15,3,13],[10,18,3,16],[10,23,3,21],[10,24,3,22],[11,2,3,23],[11,6,4,6,"Watch"],[11,11,4,11],[12,4,5,4],[12,13,5,4,"Watch"],[12,19,5,4],[12,21,5,18],[13,6,5,18,"_classCallCheck"],[13,21,5,18],[13,28,5,18,"Watch"],[13,33,5,18],[14,6,6,8],[14,10,6,12],[14,11,6,13,"timestamps"],[14,21,6,23],[14,24,6,26],[14,28,6,30,"Map"],[14,31,6,33],[14,32,6,34],[14,33,6,35],[15,4,7,4],[16,4,7,5],[16,11,7,5,"_createClass"],[16,23,7,5],[16,24,7,5,"Watch"],[16,29,7,5],[17,6,7,5,"key"],[17,9,7,5],[18,6,7,5,"value"],[18,11,7,5],[18,13,8,4],[18,22,8,4,"start"],[18,27,8,9,"start"],[18,28,8,10,"label"],[18,33,8,15],[18,35,8,17],[19,8,9,8],[19,12,9,12],[19,16,9,16],[19,17,9,17,"timestamps"],[19,27,9,27],[19,28,9,28,"has"],[19,31,9,31],[19,32,9,32,"label"],[19,37,9,37],[19,38,9,38],[19,40,9,40],[20,10,10,12],[20,16,10,18],[20,20,10,22,"Error"],[20,25,10,27],[20,26,10,28],[20,62,10,64,"label"],[20,67,10,69],[20,69,10,71],[20,70,10,72],[21,8,11,8],[22,8,12,8],[22,12,12,12],[22,13,12,13,"timestamps"],[22,23,12,23],[22,24,12,24,"set"],[22,27,12,27],[22,28,12,28,"label"],[22,33,12,33],[22,35,12,35],[23,10,12,37,"started"],[23,17,12,44],[23,19,12,46,"Date"],[23,23,12,50],[23,24,12,51,"now"],[23,27,12,54],[23,28,12,55],[24,8,12,57],[24,9,12,58],[24,10,12,59],[25,6,13,4],[26,4,13,5],[27,6,13,5,"key"],[27,9,13,5],[28,6,13,5,"value"],[28,11,13,5],[28,13,14,4],[28,22,14,4,"stop"],[28,26,14,8,"stop"],[28,27,14,9,"label"],[28,32,14,14],[28,34,14,16],[29,8,15,8],[29,12,15,14,"timestamp"],[29,21,15,23],[29,24,15,26],[29,28,15,30],[29,29,15,31,"get"],[29,32,15,34],[29,33,15,35,"label"],[29,38,15,40],[29,39,15,41],[30,8,16,8],[30,12,16,12],[30,19,16,19,"timestamp"],[30,28,16,28],[30,29,16,29,"elapsed"],[30,36,16,36],[30,41,16,41],[30,52,16,52],[30,54,16,54],[31,10,17,12],[31,16,17,18],[31,20,17,22,"Error"],[31,25,17,27],[31,26,17,28],[31,62,17,64,"label"],[31,67,17,69],[31,69,17,71],[31,70,17,72],[32,8,18,8],[33,8,19,8],[33,12,19,14,"elapsed"],[33,19,19,21],[33,22,19,24,"Date"],[33,26,19,28],[33,27,19,29,"now"],[33,30,19,32],[33,31,19,33],[33,32,19,34],[33,35,19,37,"timestamp"],[33,44,19,46],[33,45,19,47,"started"],[33,52,19,54],[34,8,20,8],[34,12,20,12],[34,13,20,13,"timestamps"],[34,23,20,23],[34,24,20,24,"set"],[34,27,20,27],[34,28,20,28,"label"],[34,33,20,33],[34,35,20,35],[35,10,20,37,"started"],[35,17,20,44],[35,19,20,46,"timestamp"],[35,28,20,55],[35,29,20,56,"started"],[35,36,20,63],[36,10,20,65,"elapsed"],[37,8,20,73],[37,9,20,74],[37,10,20,75],[38,6,21,4],[39,4,21,5],[40,6,21,5,"key"],[40,9,21,5],[41,6,21,5,"value"],[41,11,21,5],[41,13,22,4],[41,22,22,4,"get"],[41,25,22,7,"get"],[41,26,22,8,"label"],[41,31,22,13],[41,33,22,15],[42,8,23,8],[42,12,23,14,"timestamp"],[42,21,23,23],[42,24,23,26],[42,28,23,30],[42,29,23,31,"timestamps"],[42,39,23,41],[42,40,23,42,"get"],[42,43,23,45],[42,44,23,46,"label"],[42,49,23,51],[42,50,23,52],[43,8,24,8],[43,12,24,12],[43,19,24,19,"timestamp"],[43,28,24,28],[43,33,24,33],[43,44,24,44],[43,46,24,46],[44,10,25,12],[44,16,25,18],[44,20,25,22,"Error"],[44,25,25,27],[44,26,25,28],[44,59,25,61,"label"],[44,64,25,66],[44,66,25,68],[44,67,25,69],[45,8,26,8],[46,8,27,8],[46,15,27,15,"timestamp"],[46,24,27,24],[47,6,28,4],[48,4,28,5],[49,6,28,5,"key"],[49,9,28,5],[50,6,28,5,"value"],[50,11,28,5],[50,13,29,4],[50,22,29,4,"elapsed"],[50,29,29,11,"elapsed"],[50,30,29,12,"label"],[50,35,29,17],[50,37,29,19],[51,8,30,8],[51,12,30,14,"timestamp"],[51,21,30,23],[51,24,30,26],[51,28,30,30],[51,29,30,31,"get"],[51,32,30,34],[51,33,30,35,"label"],[51,38,30,40],[51,39,30,41],[52,8,31,8],[52,12,31,14,"elapsed"],[52,19,31,21],[52,22,31,24,"timestamp"],[52,31,31,33],[52,32,31,34,"elapsed"],[52,39,31,41],[52,43,31,45,"Date"],[52,47,31,49],[52,48,31,50,"now"],[52,51,31,53],[52,52,31,54],[52,53,31,55],[52,56,31,58,"timestamp"],[52,65,31,67],[52,66,31,68,"started"],[52,73,31,75],[53,8,32,8],[53,15,32,15,"elapsed"],[53,22,32,22],[54,6,33,4],[55,4,33,5],[56,2,33,5],[57,2,35,0,"exports"],[57,9,35,7],[57,10,35,8,"Watch"],[57,15,35,13],[57,18,35,16,"Watch"],[57,23,35,21],[58,2,36,0,"exports"],[58,9,36,7],[58,10,36,8,"default"],[58,17,36,15],[58,20,36,18,"Watch"],[58,25,36,23],[59,0,36,24],[59,3]],"functionMap":{"names":["<global>","Watch","Watch#constructor","Watch#start","Watch#stop","Watch#get","Watch#elapsed"],"mappings":"AAA;ACG;ICC;KDE;IEC;KFK;IGC;KHO;IIC;KJM;IKC;KLI;CDC"},"hasCjsExports":true},"type":"js/module"}]} |