(async () => { if (window.__SOBELZ_SIGNATURE__) return; window.__SOBELZ_SIGNATURE__ = true; /* ───────────────────────────────────────────── * SOBELZ — Console Signature * سوبلز، لبه روشن فناوری * ───────────────────────────────────────────── */ const CONFIG = { brand: "سوبلز", slogan: "لبه روشن فناوری", url: "https://sobelz.com", // بهترین حالت: // لوگوی SVG سوبلز را روی خود سایت قرار بده. logo: "https://sobelz.com/logo.svg" }; // ── Domain signature ────────────────────────── const createSignature = async () => { const payload = [ "SOBELZ", location.hostname.toLowerCase() ].join("::"); try { const data = new TextEncoder().encode(payload); const hashBuffer = await crypto.subtle.digest( "SHA-256", data ); const hash = [...new Uint8Array(hashBuffer)] .map(byte => byte.toString(16).padStart(2, "0")) .join("") .slice(0, 8) .toUpperCase(); return `SBZ-${hash}`; } catch { // Fallback برای مرورگرهای قدیمی‌تر let hash = 0; for (let i = 0; i < payload.length; i++) { hash = ((hash << 5) - hash) + payload.charCodeAt(i); hash |= 0; } return `SBZ-${Math.abs(hash) .toString(16) .slice(0, 8) .toUpperCase()}`; } }; const signature = await createSignature(); const year = new Date().getFullYear(); // ── Styles ──────────────────────────────────── const logoStyle = [ `background-image:url("${CONFIG.logo}")`, "background-position:center", "background-repeat:no-repeat", "background-size:contain", "padding:26px 52px", "margin-right:10px", "font-size:1px" ].join(";"); const brandStyle = [ "color:#F7FBFC", "background:#071014", "font-family:Tahoma,Segoe UI,sans-serif", "font-size:24px", "font-weight:900", "padding:11px 16px 5px", "border-radius:0 10px 0 0" ].join(";"); const sloganStyle = [ "color:#4AB0D0", "background:#071014", "font-family:Tahoma,Segoe UI,sans-serif", "font-size:14px", "font-weight:700", "padding:5px 16px 11px", "border-radius:0 0 10px 0" ].join(";"); const bladeStyle = [ "background:linear-gradient(90deg,#4AB0D0,#9AEAFF,transparent)", "font-size:3px", "padding:0 150px", "border-radius:100px" ].join(";"); const textStyle = [ "color:#849CA3", "font-family:Tahoma,Segoe UI,sans-serif", "font-size:13px", "line-height:2" ].join(";"); const labelStyle = [ "color:#6D858C", "font-family:Tahoma,Segoe UI,sans-serif", "font-size:11px" ].join(";"); const signatureStyle = [ "background:#0A171C", "color:#4AB0D0", "font-family:Consolas,Monaco,monospace", "font-size:11px", "font-weight:700", "padding:4px 8px", "border:1px solid #163B47", "border-radius:5px", "letter-spacing:1px" ].join(";"); const linkStyle = [ "color:#4AB0D0", "font-family:Consolas,Monaco,monospace", "font-size:12px", "font-weight:700" ].join(";"); const copyrightStyle = [ "color:#526970", "font-family:Tahoma,Segoe UI,sans-serif", "font-size:10px" ].join(";"); // ── Render ──────────────────────────────────── console.log( "%c %c سوبلز \n%cلبه روشن فناوری", logoStyle, brandStyle, sloganStyle ); console.log("%c ", bladeStyle); console.log( "%cاین وب‌سایت با دقت توسط سوبلز طراحی و توسعه داده شده است.", textStyle ); console.log( "%c◇ امضای ساخت %c " + signature + " ", labelStyle, signatureStyle ); console.log( "%c↗ https://sobelz.com", linkStyle ); console.log( `%c© ${year} سوبلز — تمامی حقوق محفوظ است`, copyrightStyle ); })();