One Hat Cyber Team
Your IP :
10.30.1.1
Server IP :
103.148.201.5
Server :
Linux web-olt 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Server Software :
Apache/2.4.52 (Ubuntu)
PHP Version :
8.1.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
html
/
sukma
/
node_modules
/
alpinejs
/
src
/
Edit File:
ids.js
import { findClosest } from './lifecycle' let globalIdMemo = {} export function findAndIncrementId(name) { if (! globalIdMemo[name]) globalIdMemo[name] = 0 return ++globalIdMemo[name] } export function closestIdRoot(el, name) { return findClosest(el, element => { if (element._x_ids && element._x_ids[name]) return true }) } export function setIdRoot(el, name) { if (! el._x_ids) el._x_ids = {} if (! el._x_ids[name]) el._x_ids[name] = findAndIncrementId(name) }
Simpan