{"dependencies":[{"name":"../metadata/util/index.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":54,"index":54}}],"key":"ixXVpsDNNKbo8+H15AiSpjcgN04=","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.unwrapStorageSi = unwrapStorageSi;\n exports.unwrapStorageType = unwrapStorageType;\n var _metadataUtilIndexJs = require(_dependencyMap[0], \"../metadata/util/index.js\");\n /** @internal */\n function unwrapStorageSi(type) {\n return type.isPlain ? type.asPlain : type.asMap.value;\n }\n /** @internal */\n function unwrapStorageType(registry, type, isOptional) {\n const outputType = (0, _metadataUtilIndexJs.getSiName)(registry.lookup, unwrapStorageSi(type));\n return isOptional ? `Option<${outputType}>` : outputType;\n }\n});","lineCount":19,"map":[[7,2,3,0,"exports"],[7,9,3,0],[7,10,3,0,"unwrapStorageSi"],[7,25,3,0],[7,28,3,0,"unwrapStorageSi"],[7,43,3,0],[8,2,9,0,"exports"],[8,9,9,0],[8,10,9,0,"unwrapStorageType"],[8,27,9,0],[8,30,9,0,"unwrapStorageType"],[8,47,9,0],[9,2,1,0],[9,6,1,0,"_metadataUtilIndexJs"],[9,26,1,0],[9,29,1,0,"require"],[9,36,1,0],[9,37,1,0,"_dependencyMap"],[9,51,1,0],[10,2,2,0],[11,2,3,7],[11,11,3,16,"unwrapStorageSi"],[11,26,3,31,"unwrapStorageSi"],[11,27,3,32,"type"],[11,31,3,36],[11,33,3,38],[12,4,4,4],[12,11,4,11,"type"],[12,15,4,15],[12,16,4,16,"isPlain"],[12,23,4,23],[12,26,5,10,"type"],[12,30,5,14],[12,31,5,15,"asPlain"],[12,38,5,22],[12,41,6,10,"type"],[12,45,6,14],[12,46,6,15,"asMap"],[12,51,6,20],[12,52,6,21,"value"],[12,57,6,26],[13,2,7,0],[14,2,8,0],[15,2,9,7],[15,11,9,16,"unwrapStorageType"],[15,28,9,33,"unwrapStorageType"],[15,29,9,34,"registry"],[15,37,9,42],[15,39,9,44,"type"],[15,43,9,48],[15,45,9,50,"isOptional"],[15,55,9,60],[15,57,9,62],[16,4,10,4],[16,10,10,10,"outputType"],[16,20,10,20],[16,23,10,23],[16,27,10,23,"getSiName"],[16,47,10,32],[16,48,10,32,"getSiName"],[16,57,10,32],[16,59,10,33,"registry"],[16,67,10,41],[16,68,10,42,"lookup"],[16,74,10,48],[16,76,10,50,"unwrapStorageSi"],[16,91,10,65],[16,92,10,66,"type"],[16,96,10,70],[16,97,10,71],[16,98,10,72],[17,4,11,4],[17,11,11,11,"isOptional"],[17,21,11,21],[17,24,12,10],[17,34,12,20,"outputType"],[17,44,12,30],[17,47,12,33],[17,50,13,10,"outputType"],[17,60,13,20],[18,2,14,0],[19,0,14,1],[19,3]],"functionMap":{"names":["","unwrapStorageSi","unwrapStorageType"],"mappings":"AAA;OCE;CDI;OEE;CFK"},"hasCjsExports":false},"type":"js/module"}]}