document.addEventListener('DOMContentLoaded', () => {
/* 1. إصلاح روابط السلايدر والبانر الرئيسي */
const sliderImgs = document.querySelectorAll('a[data-lightbox="Slider"] img');
sliderImgs.forEach(img => {
if (img.parentElement) {
img.parentElement.removeAttribute('data-lightbox');
}
img.style.cursor = 'pointer';
img.addEventListener('click', (e) => {
e.preventDefault();
e.stopPropagation();
window.location.href = 'https://fasttime-sa.com/-/c1733088530';
}, true);
});
const heroBanner = document.querySelector('.hero-banner img, .slider img:not([a[data-lightbox="Slider"] img])');
if (heroBanner) {
heroBanner.style.cursor = 'pointer';
heroBanner.addEventListener('click', () => {
window.location.href = 'https://fast-ios.com';
});
}
/* 2. ترتيب الباقات وتفعيل كلاسات الألوان والعناوين الملونة */
const setupPackages = () => {
const grid = document.querySelector(".packages-grid");
const cards = document.querySelectorAll(".package-card");
cards.forEach(card => {
const header = card.querySelector(".header");
if (!header) return;
const text = header.textContent.trim();
if (text.includes("الذهبية")) {
card.classList.add("package-gold");
header.style.setProperty("color", "#FFD700", "important");
header.style.setProperty("-webkit-text-fill-color", "#FFD700", "important");
} else if (text.includes("الماسية")) {
card.classList.add("package-diamond");
header.style.setProperty("color", "#E0E0E0", "important");
header.style.setProperty("-webkit-text-fill-color", "#E0E0E0", "important");
} else if (text.includes("النخبة")) {
card.classList.add("package-elite");
header.style.setProperty("color", "#AF52DE", "important");
header.style.setProperty("-webkit-text-fill-color", "#AF52DE", "important");
} else if (text.includes("ايباد")) {
card.classList.add("package-ipad");
header.style.setProperty("color", "#32ADE6", "important");
header.style.setProperty("-webkit-text-fill-color", "#32ADE6", "important");
}
});
// ترتيب الباقات داخل الـ Grid
if (grid) {
const cardsArray = [...grid.querySelectorAll(".package-card")];
const getCard = (name) => cardsArray.find(c => c.querySelector(".header")?.textContent.includes(name));
const sorted = [
getCard("الذهبية"),
getCard("الماسية"),
getCard("النخبة"),
getCard("ايباد")
];
sorted.forEach(c => {
if (c) grid.appendChild(c);
});
}
};
setupPackages();
setTimeout(setupPackages, 800); // إعادة التشغيل لتأكيد التغييرات عند تأخر التحميل
/* 3. إنشاء شريط التواصل الاجتماعي العائم */
if (!document.getElementById('fastTimePremiumDock')) {
const dockHtml = `
`;
document.body.insertAdjacentHTML('beforeend', dockHtml);
}
});
Your iOS version is . Manual installation is required. Please follow the steps below.
Step 1: Open Settings
Step 2: Tap "Profile Downloaded"
Step 3: Tap "Install" in the upper-right corner
Step 4: Enter your passcode if asked
Step 5: Confirm by tapping "Install" again
إصدار نظام iOS الخاص بك هو . يلزم التثبيت اليدوي، يرجى اتباع الخطوات أدناه.
الخطوة 1: افتح الإعدادات
الخطوة 2: انقر على "الملف الشخصي المُحمل"
الخطوة 3: انقر على "تثبيت" في الزاوية العلوية اليمنى
الخطوة 4: أدخل رمز المرور الخاص بك إذا تم طلبه
الخطوة 5: أكد عن طريق النقر على "تثبيت" مرة أخرى