feat: base

This commit is contained in:
GogaCoder
2025-01-03 00:05:10 +07:00
commit 493ebacfcb
1224 changed files with 1648045 additions and 0 deletions

20
frontend/node_modules/nanoid/non-secure/index.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
let urlAlphabet =
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'
export let customAlphabet = (alphabet, defaultSize = 21) => {
return (size = defaultSize) => {
let id = ''
let i = size | 0
while (i--) {
id += alphabet[(Math.random() * alphabet.length) | 0]
}
return id
}
}
export let nanoid = (size = 21) => {
let id = ''
let i = size | 0
while (i--) {
id += urlAlphabet[(Math.random() * 64) | 0]
}
return id
}