پنل تحت وب مدیریت V2ray و ساخت کاربر و مدیریت سرور
mkdir x-ui && cd x-ui
docker run -itd --network=host \
-v $PWD/db/:/etc/x-ui/ \
-v $PWD/cert/:/root/cert/ \
// Usage: | |
// Replace React.lazy(() => import('x')); | |
// with retryDynamicImport(() => import('x')); | |
import { ComponentType, lazy } from 'react'; | |
const MAX_RETRY_COUNT = 15; | |
const RETRY_DELAY_MS = 500; | |
// Regex to extract the module URL from the import statement |
document.addEventListener( | |
"input", | |
function (e) { | |
e = e || window.event; | |
const target = e.target || e.srcElement; | |
const isFarsi = /^[\u0600-\u06FF\s]+$/.test(target.value.split(" ")[0]); | |
const hasDirection = target.style.cssText.includes("direction"); | |
if ( | |
!(target.style.direction == "rtl") && |