Files
il/resources/public/js/cljs-runtime/module$node_modules$pixi_DOT_js$lib$rendering$renderers$shared$utils$createIdFromString.js
2026-07-01 22:38:29 -06:00

11 lines
568 B
JavaScript

shadow$provide.module$node_modules$pixi_DOT_js$lib$rendering$renderers$shared$utils$createIdFromString = function(global, require, module, exports) {
const idCounts = Object.create(null), idHash = Object.create(null);
exports.createIdFromString = function(value, groupId) {
let id = idHash[value];
void 0 === id && (void 0 === idCounts[groupId] && (idCounts[groupId] = 1), idHash[value] = id = idCounts[groupId]++);
return id;
};
};
//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$rendering$renderers$shared$utils$createIdFromString.js.map