Files
notification-elements-demo/node_modules/hyperdyperid/lib/codegen.js
Giuliano Silvestro 5d0c9ec7eb Initial commit: notification-elements-demo app
Interactive Angular 19 demo for @sda/notification-elements-ui with
6 sections: Bell & Feed, Notification Center, Inbox, Comments &
Threads, Mention Input, and Full-Featured layout. Includes mock
data, dark mode toggle, and real-time event log.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 21:49:19 +10:00

28 lines
820 B
JavaScript

const fs = require('fs');
const fd = fs.openSync(__dirname + '/maps.js', 'w+');
const map1 = {};
for (var i = 0; i < 36; i++) {
map1[i] = i.toString(36);
}
fs.writeSync(fd, 'exports.map1 = JSON.parse(' + JSON.stringify(JSON.stringify(map1)) + ');\n\n');
const map2 = {};
for (var i = 0; i < 36; i++) {
for (var j = 0; j < 36; j++) {
map2[i * 36 + j] = i.toString(36) + j.toString(36);
}
}
fs.writeSync(fd, 'exports.map2 = JSON.parse(' + JSON.stringify(JSON.stringify(map2)) + ');\n\n');
const map3 = {};
for (var i = 0; i < 36; i++) {
for (var j = 0; j < 36; j++) {
for (var k = 0; k < 36; k++) {
map3[(i * 36 * 36) + (j * 36) + k] = i.toString(36) + j.toString(36) + k.toString(36);
}
}
}
fs.writeSync(fd, 'exports.map3 = JSON.parse(' + JSON.stringify(JSON.stringify(map3)) + ');\n\n');