mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-06-13 10:21:01 +00:00
auto-commit for 155cdee4-7b20-4acf-ad4d-053760ff258d
This commit is contained in:
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"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.getLabel = getLabel;\n function getLabel(options, fallback) {\n return options.label !== undefined ? options.label : options.title !== undefined ? options.title : fallback;\n }\n});","lineCount":11,"map":[[2,2,1,0],[2,14,1,12],[4,2,1,13,"Object"],[4,8,1,13],[4,9,1,13,"defineProperty"],[4,23,1,13],[4,24,1,13,"exports"],[4,31,1,13],[5,4,1,13,"value"],[5,9,1,13],[6,2,1,13],[7,2,3,0,"exports"],[7,9,3,0],[7,10,3,0,"getLabel"],[7,18,3,0],[7,21,3,0,"getLabel"],[7,29,3,0],[8,2,3,7],[8,11,3,16,"getLabel"],[8,19,3,24,"getLabel"],[8,20,3,25,"options"],[8,27,3,32],[8,29,3,34,"fallback"],[8,37,3,42],[8,39,3,44],[9,4,4,2],[9,11,4,9,"options"],[9,18,4,16],[9,19,4,17,"label"],[9,24,4,22],[9,29,4,27,"undefined"],[9,38,4,36],[9,41,4,39,"options"],[9,48,4,46],[9,49,4,47,"label"],[9,54,4,52],[9,57,4,55,"options"],[9,64,4,62],[9,65,4,63,"title"],[9,70,4,68],[9,75,4,73,"undefined"],[9,84,4,82],[9,87,4,85,"options"],[9,94,4,92],[9,95,4,93,"title"],[9,100,4,98],[9,103,4,101,"fallback"],[9,111,4,109],[10,2,5,0],[11,0,5,1],[11,3]],"functionMap":{"names":["<global>","getLabel"],"mappings":"AAA;OCE;CDE"},"hasCjsExports":false},"type":"js/module"}]}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"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 Object.defineProperty(exports, \"VALUE_BYTES_LIMIT\", {\n enumerable: true,\n get: function () {\n return VALUE_BYTES_LIMIT;\n }\n });\n exports.byteCountOverLimit = byteCountOverLimit;\n const VALUE_BYTES_LIMIT = 2048;\n // note this probably could be JS-engine dependent\n // inspired by https://stackoverflow.com/a/39488643\n function byteCountOverLimit(value, limit) {\n let bytes = 0;\n for (let i = 0; i < value.length; i++) {\n const codePoint = value.charCodeAt(i);\n // Lone surrogates cannot be passed to encodeURI\n if (codePoint >= 0xd800 && codePoint < 0xe000) {\n if (codePoint < 0xdc00 && i + 1 < value.length) {\n const next = value.charCodeAt(i + 1);\n if (next >= 0xdc00 && next < 0xe000) {\n bytes += 4;\n if (bytes > limit) {\n return true;\n }\n i++;\n continue;\n }\n }\n }\n bytes += codePoint < 0x80 ? 1 : codePoint < 0x800 ? 2 : 3;\n if (bytes > limit) {\n return true;\n }\n }\n return bytes > limit;\n }\n});","lineCount":42,"map":[[7,2,1,0,"Object"],[7,8,1,0],[7,9,1,0,"defineProperty"],[7,23,1,0],[7,24,1,0,"exports"],[7,31,1,0],[8,4,1,0,"enumerable"],[8,14,1,0],[9,4,1,0,"get"],[9,7,1,0],[9,18,1,0,"get"],[9,19,1,0],[10,6,1,0],[10,13,1,0,"VALUE_BYTES_LIMIT"],[10,30,1,0],[11,4,1,0],[12,2,1,0],[13,2,4,0,"exports"],[13,9,4,0],[13,10,4,0,"byteCountOverLimit"],[13,28,4,0],[13,31,4,0,"byteCountOverLimit"],[13,49,4,0],[14,2,1,7],[14,8,1,13,"VALUE_BYTES_LIMIT"],[14,25,1,30],[14,28,1,33],[14,32,1,37],[15,2,2,0],[16,2,3,0],[17,2,4,7],[17,11,4,16,"byteCountOverLimit"],[17,29,4,34,"byteCountOverLimit"],[17,30,4,35,"value"],[17,35,4,40],[17,37,4,42,"limit"],[17,42,4,47],[17,44,4,49],[18,4,5,4],[18,8,5,8,"bytes"],[18,13,5,13],[18,16,5,16],[18,17,5,17],[19,4,6,4],[19,9,6,9],[19,13,6,13,"i"],[19,14,6,14],[19,17,6,17],[19,18,6,18],[19,20,6,20,"i"],[19,21,6,21],[19,24,6,24,"value"],[19,29,6,29],[19,30,6,30,"length"],[19,36,6,36],[19,38,6,38,"i"],[19,39,6,39],[19,41,6,41],[19,43,6,43],[20,6,7,8],[20,12,7,14,"codePoint"],[20,21,7,23],[20,24,7,26,"value"],[20,29,7,31],[20,30,7,32,"charCodeAt"],[20,40,7,42],[20,41,7,43,"i"],[20,42,7,44],[20,43,7,45],[21,6,8,8],[22,6,9,8],[22,10,9,12,"codePoint"],[22,19,9,21],[22,23,9,25],[22,29,9,31],[22,33,9,35,"codePoint"],[22,42,9,44],[22,45,9,47],[22,51,9,53],[22,53,9,55],[23,8,10,12],[23,12,10,16,"codePoint"],[23,21,10,25],[23,24,10,28],[23,30,10,34],[23,34,10,38,"i"],[23,35,10,39],[23,38,10,42],[23,39,10,43],[23,42,10,46,"value"],[23,47,10,51],[23,48,10,52,"length"],[23,54,10,58],[23,56,10,60],[24,10,11,16],[24,16,11,22,"next"],[24,20,11,26],[24,23,11,29,"value"],[24,28,11,34],[24,29,11,35,"charCodeAt"],[24,39,11,45],[24,40,11,46,"i"],[24,41,11,47],[24,44,11,50],[24,45,11,51],[24,46,11,52],[25,10,12,16],[25,14,12,20,"next"],[25,18,12,24],[25,22,12,28],[25,28,12,34],[25,32,12,38,"next"],[25,36,12,42],[25,39,12,45],[25,45,12,51],[25,47,12,53],[26,12,13,20,"bytes"],[26,17,13,25],[26,21,13,29],[26,22,13,30],[27,12,14,20],[27,16,14,24,"bytes"],[27,21,14,29],[27,24,14,32,"limit"],[27,29,14,37],[27,31,14,39],[28,14,15,24],[28,21,15,31],[28,25,15,35],[29,12,16,20],[30,12,17,20,"i"],[30,13,17,21],[30,15,17,23],[31,12,18,20],[32,10,19,16],[33,8,20,12],[34,6,21,8],[35,6,22,8,"bytes"],[35,11,22,13],[35,15,22,17,"codePoint"],[35,24,22,26],[35,27,22,29],[35,31,22,33],[35,34,22,36],[35,35,22,37],[35,38,22,40,"codePoint"],[35,47,22,49],[35,50,22,52],[35,55,22,57],[35,58,22,60],[35,59,22,61],[35,62,22,64],[35,63,22,65],[36,6,23,8],[36,10,23,12,"bytes"],[36,15,23,17],[36,18,23,20,"limit"],[36,23,23,25],[36,25,23,27],[37,8,24,12],[37,15,24,19],[37,19,24,23],[38,6,25,8],[39,4,26,4],[40,4,27,4],[40,11,27,11,"bytes"],[40,16,27,16],[40,19,27,19,"limit"],[40,24,27,24],[41,2,28,0],[42,0,28,1],[42,3]],"functionMap":{"names":["<global>","byteCountOverLimit"],"mappings":"AAA;OCG;CDwB"},"hasCjsExports":false},"type":"js/module"}]}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[{"name":"../u8a/toHex.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":43,"index":43}}],"key":"KFqptG6qwvB0lcPsUYq+uCEc5xE=","exportNames":["*"],"imports":1}},{"name":"./toU8a.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":44},"end":{"line":2,"column":41,"index":85}}],"key":"3bOyH77e/8Wc8K55bqHxvmXdM0A=","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 exports.stringToHex = stringToHex;\n var _u8aToHexJs = require(_dependencyMap[0], \"../u8a/toHex.js\");\n var _toU8aJs = require(_dependencyMap[1], \"./toU8a.js\");\n /**\n * @name stringToHex\n * @summary Creates a hex string from a utf-8 string\n * @description\n * String input values return the actual encoded hex value.\n * @example\n * <BR>\n *\n * ```javascript\n * import { stringToHex } from '@polkadot/util';\n *\n * stringToU8a('hello'); // 0x68656c6c6f\n * ```\n */\n function stringToHex(value) {\n return (0, _u8aToHexJs.u8aToHex)((0, _toU8aJs.stringToU8a)(value));\n }\n});","lineCount":27,"map":[[7,2,17,0,"exports"],[7,9,17,0],[7,10,17,0,"stringToHex"],[7,21,17,0],[7,24,17,0,"stringToHex"],[7,35,17,0],[8,2,1,0],[8,6,1,0,"_u8aToHexJs"],[8,17,1,0],[8,20,1,0,"require"],[8,27,1,0],[8,28,1,0,"_dependencyMap"],[8,42,1,0],[9,2,2,0],[9,6,2,0,"_toU8aJs"],[9,14,2,0],[9,17,2,0,"require"],[9,24,2,0],[9,25,2,0,"_dependencyMap"],[9,39,2,0],[10,2,3,0],[11,0,4,0],[12,0,5,0],[13,0,6,0],[14,0,7,0],[15,0,8,0],[16,0,9,0],[17,0,10,0],[18,0,11,0],[19,0,12,0],[20,0,13,0],[21,0,14,0],[22,0,15,0],[23,0,16,0],[24,2,17,7],[24,11,17,16,"stringToHex"],[24,22,17,27,"stringToHex"],[24,23,17,28,"value"],[24,28,17,33],[24,30,17,35],[25,4,18,4],[25,11,18,11],[25,15,18,11,"u8aToHex"],[25,26,18,19],[25,27,18,19,"u8aToHex"],[25,35,18,19],[25,37,18,20],[25,41,18,20,"stringToU8a"],[25,49,18,31],[25,50,18,31,"stringToU8a"],[25,61,18,31],[25,63,18,32,"value"],[25,68,18,37],[25,69,18,38],[25,70,18,39],[26,2,19,0],[27,0,19,1],[27,3]],"functionMap":{"names":["<global>","stringToHex"],"mappings":"AAA;OCgB;CDE"},"hasCjsExports":false},"type":"js/module"}]}
|
||||
Reference in New Issue
Block a user