mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 20:21:01 +00:00
1 line
4.7 KiB
Plaintext
1 line
4.7 KiB
Plaintext
{"dependencies":[{"name":"./digest.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}}],"key":"l8Dm8EJ6m9zdDLVKJtVgTc/1cIc=","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 _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, \"from\", {\n enumerable: true,\n get: function () {\n return from;\n }\n });\n Object.defineProperty(exports, \"Hasher\", {\n enumerable: true,\n get: function () {\n return Hasher;\n }\n });\n var _digestJs = require(_dependencyMap[0], \"./digest.js\");\n var Digest = _interopNamespace(_digestJs);\n const from = ({\n name,\n code,\n encode\n }) => new Hasher(name, code, encode);\n class Hasher {\n constructor(name, code, encode) {\n this.name = name;\n this.code = code;\n this.encode = encode;\n }\n digest(input) {\n if (input instanceof Uint8Array) {\n const result = this.encode(input);\n return result instanceof Uint8Array ? Digest.create(this.code, result) : result.then(digest => Digest.create(this.code, digest));\n } else {\n throw Error('Unknown type, must be binary type');\n }\n }\n }\n});","lineCount":56,"map":[[22,2,2,0,"Object"],[22,8,2,0],[22,9,2,0,"defineProperty"],[22,23,2,0],[22,24,2,0,"exports"],[22,31,2,0],[23,4,2,0,"enumerable"],[23,14,2,0],[24,4,2,0,"get"],[24,7,2,0],[24,18,2,0,"get"],[24,19,2,0],[25,6,2,0],[25,13,2,0,"from"],[25,17,2,0],[26,4,2,0],[27,2,2,0],[28,2,3,0,"Object"],[28,8,3,0],[28,9,3,0,"defineProperty"],[28,23,3,0],[28,24,3,0,"exports"],[28,31,3,0],[29,4,3,0,"enumerable"],[29,14,3,0],[30,4,3,0,"get"],[30,7,3,0],[30,18,3,0,"get"],[30,19,3,0],[31,6,3,0],[31,13,3,0,"Hasher"],[31,19,3,0],[32,4,3,0],[33,2,3,0],[34,2,1,0],[34,6,1,0,"_digestJs"],[34,15,1,0],[34,18,1,0,"require"],[34,25,1,0],[34,26,1,0,"_dependencyMap"],[34,40,1,0],[35,2,1,0],[35,6,1,0,"Digest"],[35,12,1,0],[35,15,1,0,"_interopNamespace"],[35,32,1,0],[35,33,1,0,"_digestJs"],[35,42,1,0],[36,2,2,7],[36,8,2,13,"from"],[36,12,2,17],[36,15,2,20,"from"],[36,16,2,21],[37,4,2,22,"name"],[37,8,2,26],[38,4,2,28,"code"],[38,8,2,32],[39,4,2,34,"encode"],[40,2,2,40],[40,3,2,41],[40,8,2,46],[40,12,2,50,"Hasher"],[40,18,2,56],[40,19,2,57,"name"],[40,23,2,61],[40,25,2,63,"code"],[40,29,2,67],[40,31,2,69,"encode"],[40,37,2,75],[40,38,2,76],[41,2,3,7],[41,8,3,13,"Hasher"],[41,14,3,19],[41,15,3,20],[42,4,4,2,"constructor"],[42,15,4,13,"constructor"],[42,16,4,14,"name"],[42,20,4,18],[42,22,4,20,"code"],[42,26,4,24],[42,28,4,26,"encode"],[42,34,4,32],[42,36,4,34],[43,6,5,4],[43,10,5,8],[43,11,5,9,"name"],[43,15,5,13],[43,18,5,16,"name"],[43,22,5,20],[44,6,6,4],[44,10,6,8],[44,11,6,9,"code"],[44,15,6,13],[44,18,6,16,"code"],[44,22,6,20],[45,6,7,4],[45,10,7,8],[45,11,7,9,"encode"],[45,17,7,15],[45,20,7,18,"encode"],[45,26,7,24],[46,4,8,2],[47,4,9,2,"digest"],[47,10,9,8,"digest"],[47,11,9,9,"input"],[47,16,9,14],[47,18,9,16],[48,6,10,4],[48,10,10,8,"input"],[48,15,10,13],[48,27,10,25,"Uint8Array"],[48,37,10,35],[48,39,10,37],[49,8,11,6],[49,14,11,12,"result"],[49,20,11,18],[49,23,11,21],[49,27,11,25],[49,28,11,26,"encode"],[49,34,11,32],[49,35,11,33,"input"],[49,40,11,38],[49,41,11,39],[50,8,12,6],[50,15,12,13,"result"],[50,21,12,19],[50,33,12,31,"Uint8Array"],[50,43,12,41],[50,46,12,44,"Digest"],[50,52,12,50],[50,53,12,51,"create"],[50,59,12,57],[50,60,12,58],[50,64,12,62],[50,65,12,63,"code"],[50,69,12,67],[50,71,12,69,"result"],[50,77,12,75],[50,78,12,76],[50,81,12,79,"result"],[50,87,12,85],[50,88,12,86,"then"],[50,92,12,90],[50,93,12,91,"digest"],[50,99,12,97],[50,103,12,101,"Digest"],[50,109,12,107],[50,110,12,108,"create"],[50,116,12,114],[50,117,12,115],[50,121,12,119],[50,122,12,120,"code"],[50,126,12,124],[50,128,12,126,"digest"],[50,134,12,132],[50,135,12,133],[50,136,12,134],[51,6,13,4],[51,7,13,5],[51,13,13,11],[52,8,14,6],[52,14,14,12,"Error"],[52,19,14,17],[52,20,14,18],[52,55,14,53],[52,56,14,54],[53,6,15,4],[54,4,16,2],[55,2,17,0],[56,0,17,1],[56,3]],"functionMap":{"names":["<global>","from","Hasher","Hasher#constructor","Hasher#digest","result.then$argument_0"],"mappings":"AAA;oBCC,wDD;OEC;ECC;GDI;EEC;2FCG,0CD;GFI"},"hasCjsExports":false},"type":"js/module"}]} |