/* FIXER standalone homepage content: draft 776439312 only. */ (function(){ function mount(){ if(!document.body.classList.contains("index"))return; const app=document.querySelector(".app-inner"); const categories=document.querySelector(".s-block__wajha-categories"); if(!app||document.getElementById("fixer-home-rendered"))return; const hero=document.createElement("section");hero.id="fixer-home-rendered";hero.className="s-block";hero.style.cssText="order:-2;margin:0;width:100%";hero.innerHTML="
\"تقنية
"; const details=document.createElement("section");details.id="fixer-details-rendered";details.className="s-block";details.style.cssText="order:5;margin:0;width:100%";details.innerHTML="
MADE FOR YOUR DAY

تفاصيل صغيرة.
فرق في يومك.

من ساعة ترافقك إلى سماعة تحبها.
اختَر التقنية اللي تناسب أسلوبك واحتياجك.

نساعدك تختار ←
\"آيفون
HELLO, WE ARE FIXER

التقنية أقرب لك.

في فيكسر نجمع الجوالات والإكسسوارات في مكان واحد، ونساعدك تختار ما يناسب جهازك ويومك. تفاصيل واضحة وتجربة تسوّق بسيطة من أول زيارة.

قبل ما تختار

كيف أتأكد أن الإكسسوار يناسب جهازي؟

راجع اسم الموديل والتوافق في وصف المنتج. وإذا احتجت مساعدة، أرسل لنا موديل جهازك عبر واتساب قبل الطلب.

وين ألقى تفاصيل الضمان؟

راجع تفاصيل الضمان في صفحة المنتج، أو تواصل معنا للاستفسار عن الجهاز الذي ترغب بشرائه.

كيف أعرف خيارات التوصيل والدفع؟

تظهر الخيارات المتاحة أثناء إتمام الطلب بحسب عنوانك ومحتويات السلة.

كيف أتواصل مع فيكسر؟

نسعد بمساعدتك عبر واتساب المتجر، أو من بيانات التواصل أسفل الصفحة.

"; app.append(hero,details); const departments=[{"id": "1325759565", "names": ["الجوالات والأجهزة", "آيفون", "آيباد وأجهزة لوحية", "جوالات أندرويد"]}, {"id": "1508795477", "names": ["الشواحن والبطاريات", "محولات ووصلات", "باور بانك", "شواحن لاسلكية", "أسلاك الشحن", "شواحن جدارية"]}, {"id": "1292709459", "names": ["السماعات والصوتيات", "مكبرات صوت", "سماعات رأس", "سماعات سلكية", "سماعات لاسلكية"]}, {"id": "1715980632", "names": ["الساعات وملحقاتها", "ساعات ذكية أخرى", "شواحن الساعات", "أساور الساعات", "ساعات أبل"]}, {"id": "34207578", "names": ["الداش كام وإكسسوارات السيارة", "وصلات وصوتيات السيارة", "حوامل الجوال للسيارة", "شواحن السيارة", "ملحقات الداش كام", "داش كام"]}, {"id": "1898492064", "names": ["إكسسوارات الأجهزة", "حقائب الأجهزة", "موزعات USB", "لوحات مفاتيح وماوس", "حوامل وستاندات", "أقلام الآيباد والأجهزة اللوحية"]}, {"id":"334902900","names":["الراوترات والمودمات"]}, {"id": "948190380", "names": ["العروض والبكجات"]}]; const collection=document.getElementById("fixer-collections-v2"); const departmentIcons=["", "", "", "", "", "", ""]; departmentIcons.splice(6,0,""); if(collection){collection.innerHTML=`

تسوّق حسب احتياجك

كل ما تحتاجه لتقنيتك، في مكان واحد.

${departments.map((c,i)=>`${departmentIcons[i]}

${c.names[0]}

`).join("")}
`;} const phoneImage=categories?.querySelector(".wajha-cat-item img");if(phoneImage){phoneImage.src="https://cdn.files.salla.network/other/1529893766/a9184ee2-907f-4c22-bf6a-0db8ad938318-original.webp";phoneImage.removeAttribute("srcset");phoneImage.alt="آيفون ١٨ برو باللون العنابي";phoneImage.style.cssText="object-fit:contain;background:#e6e6e6";} app.querySelectorAll(":scope > .s-block--bundle-html-content").forEach(el=>{el.style.setProperty("display","none","important");}); } if(document.readyState==="loading")document.addEventListener("DOMContentLoaded",mount,{once:true});else mount(); window.addEventListener("load",mount,{once:true}); })(); /* Approved beige header; reuse Salla search, account and cart controls. */ (function(){ function header(){ const root=document.querySelector('#store-header'),main=document.querySelector('#mainnav .inner > .container'); if(!root||!main||root.classList.contains('fx-beige-header'))return; const row=main.firstElementChild,brand=row&&row.querySelector('.navbar-brand'),search=row&&row.querySelector('button[aria-label="Search"]'); if(!row||!brand||!search)return; root.classList.add('fx-beige-header');row.classList.add('fx-header-row');brand.parentElement.classList.add('fx-header-brand'); const tools=row.lastElementChild;tools.classList.add('fx-header-tools'); const name=document.createElement('span');name.className='fx-header-name';name.textContent='فيكسر للاتصالات';brand.appendChild(name); search.classList.add('fx-header-search');search.setAttribute('aria-label','البحث في المتجر'); const label=document.createElement('span');label.className='fx-search-label';label.textContent='وش تدور عليه؟';search.appendChild(label);row.insertBefore(search,tools); const nav=document.createElement('nav');nav.className='fx-header-categories';nav.setAttribute('aria-label','أقسام المتجر'); const departments=[{"id": "1325759565", "names": ["الجوالات والأجهزة", "آيفون", "آيباد وأجهزة لوحية", "جوالات أندرويد"]}, {"id": "1508795477", "names": ["الشواحن والبطاريات", "محولات ووصلات", "باور بانك", "شواحن لاسلكية", "أسلاك الشحن", "شواحن جدارية"]}, {"id": "1292709459", "names": ["السماعات والصوتيات", "مكبرات صوت", "سماعات رأس", "سماعات سلكية", "سماعات لاسلكية"]}, {"id": "1715980632", "names": ["الساعات وملحقاتها", "ساعات ذكية أخرى", "شواحن الساعات", "أساور الساعات", "ساعات أبل"]}, {"id": "34207578", "names": ["الداش كام وإكسسوارات السيارة", "وصلات وصوتيات السيارة", "حوامل الجوال للسيارة", "شواحن السيارة", "ملحقات الداش كام", "داش كام"]}, {"id": "1898492064", "names": ["إكسسوارات الأجهزة", "حقائب الأجهزة", "موزعات USB", "لوحات مفاتيح وماوس", "حوامل وستاندات", "أقلام الآيباد والأجهزة اللوحية"]}, {"id":"334902900","names":["الراوترات والمودمات"]}, {"id": "948190380", "names": ["العروض والبكجات"]}]; departments.forEach(c=>{const a=document.createElement('a');a.textContent=c.names[0];a.href='https://salla.sa/fixer-/-/c'+c.id;nav.appendChild(a);});main.appendChild(nav); } if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',header,{once:true});else header(); window.addEventListener('load',header,{once:true}); })(); /* Approved subcategory artwork; preserve native category URLs. */ (function(){ const icons={"آيفون": "", "جوالات أندرويد": "", "آيباد وأجهزة لوحية": "", "شواحن جدارية": "", "أسلاك الشحن": "", "شواحن لاسلكية": "", "باور بانك": "", "محولات ووصلات": "", "سماعات لاسلكية": "", "سماعات سلكية": "", "سماعات رأس": "", "مكبرات صوت": "", "ساعات أبل": "", "ساعات ذكية أخرى": "", "أساور الساعات": "", "شواحن الساعات": "", "داش كام": "", "ملحقات الداش كام": "", "شواحن السيارة": "", "حوامل الجوال للسيارة": "", "وصلات وصوتيات السيارة": "", "أقلام الآيباد والأجهزة اللوحية": "", "حوامل وستاندات": "", "لوحات مفاتيح وماوس": "", "موزعات USB": "", "حقائب الأجهزة": ""}; function mountSubcategories(){ const native=document.getElementById('carousel-subcategories'); if(!native||document.getElementById('fixer-subcategory-icons'))return; const links=[...native.querySelectorAll('a[href]')]; const unique=new Map(); links.forEach(a=>{const label=a.textContent.trim();if(icons[label]&&!unique.has(a.href))unique.set(a.href,{label,href:a.href});}); if(!unique.size)return; const section=document.createElement('nav');section.id='fixer-subcategory-icons';section.dir='rtl';section.setAttribute('aria-label','الأقسام الفرعية'); unique.forEach(({label,href})=>{ const a=document.createElement('a');a.href=href;a.className='fx-subcategory-card'; const circle=document.createElement('span');circle.className='fx-subcategory-icon';circle.innerHTML=icons[label]; const title=document.createElement('span');title.className='fx-subcategory-name';title.textContent=label; a.append(circle,title);section.append(a); }); native.before(section);native.classList.add('fx-subcategory-replaced'); } if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',mountSubcategories,{once:true});else mountSubcategories(); window.addEventListener('load',mountSubcategories,{once:true}); const observer=new MutationObserver(()=>{mountSubcategories();if(document.getElementById('fixer-subcategory-icons'))observer.disconnect();}); if(document.body&&document.body.classList.contains('product-index'))observer.observe(document.body,{childList:true,subtree:true}); })(); /* FIXER separate horizontal product rows with approved responsive category banners */ (function(){ const groups=[{"slug":"phones","id":1325759565,"label":"الجوالات والأجهزة","ids":[1325759565,141102515,1513499836,873679805],"desktop":"https://cdn.files.salla.network/other/1529893766/c3c57db5-680b-4bc8-baa1-660020ac1baf-original.webp","mobile":"https://cdn.files.salla.network/other/1529893766/32bcfdc4-db21-4888-b04c-1a5ae1bf5e04-original.webp"},{"slug":"charging","id":1508795477,"label":"الشواحن والبطاريات","ids":[1508795477,33057470,765700280,1230362298,281105030,132127884],"desktop":"https://cdn.files.salla.network/other/1529893766/7e7b6d61-edfb-44d3-8b06-0c82f2b56fb9-original.webp","mobile":"https://cdn.files.salla.network/other/1529893766/eb364ef8-0c07-4e40-bed7-b5a1849f5743-original.webp"},{"slug":"audio","id":1292709459,"label":"السماعات والصوتيات","ids":[1292709459,598366862,2104981903,1331533960,1795671690],"desktop":"https://cdn.files.salla.network/other/1529893766/1587725c-213c-44cc-aac9-9192e935d847-original.webp","mobile":"https://cdn.files.salla.network/other/1529893766/c5b1f03e-d15b-43d0-8634-b7cab2fa8137-original.webp"},{"slug":"watches","id":1715980632,"label":"الساعات وملحقاتها","ids":[1715980632,1579581584,347190938,1546466022,664452834],"desktop":"https://cdn.files.salla.network/other/1529893766/16e87f85-7f8e-42ac-a60f-e4d1f8ec161e-original.webp","mobile":"https://cdn.files.salla.network/other/1529893766/46481b4f-fd01-42f7-9fb0-5878a11e3571-original.webp"},{"slug":"dashcam","id":34207578,"label":"الداش كام وإكسسوارات السيارة","ids":[34207578,489233389,179861736,1686538217,4769259,1828646140],"desktop":"https://cdn.files.salla.network/other/1529893766/9268a99f-2cc3-483c-9f4f-2ff63ae44610-original.webp","mobile":"https://cdn.files.salla.network/other/1529893766/1ca72864-8bcb-4597-bfa7-dcfbf7f5ebe2-original.webp"},{"slug":"accessories","id":1898492064,"label":"إكسسوارات الأجهزة","ids":[1898492064,104298489,286818241,1659281090,426886356,1801380821],"desktop":"https://cdn.files.salla.network/other/1529893766/f3bd5f07-f37f-4f37-b923-fe363b2f5700-original.webp","mobile":"https://cdn.files.salla.network/other/1529893766/724d8ef8-f2ea-403b-8c1e-2a28fe6b908a-original.webp"}]; groups.splice(1,0,{"slug":"routers","id":334902900,"label":"الراوترات والمودمات","ids":[334902900],"desktop":"https://cdn.files.salla.network/other/1529893766/29ed803d-3b33-486e-8454-575d8651c12b-original.webp","mobile":"https://cdn.files.salla.network/other/1529893766/f98a55e6-2a5f-4be3-b69c-3c4c96fa4db0-original.webp"}); /* Merge fresh native latest-product cards while category API indexing catches up. */ const rowCategoryNames={ phones:['الجوالات والأجهزة','آيفون','آيباد وأجهزة لوحية','جوالات أندرويد'], routers:['الراوترات والمودمات'], charging:['الشواحن والبطاريات','محولات ووصلات','باور بانك','شواحن لاسلكية','أسلاك الشحن','شواحن جدارية'], audio:['السماعات والصوتيات','مكبرات صوت','سماعات رأس','سماعات سلكية','سماعات لاسلكية'], watches:['الساعات وملحقاتها','ساعات ذكية أخرى','شواحن الساعات','أساور الساعات','ساعات أبل'], dashcam:['الداش كام وإكسسوارات السيارة','وصلات وصوتيات السيارة','حوامل الجوال للسيارة','شواحن السيارة','ملحقات الداش كام','داش كام'], accessories:['إكسسوارات الأجهزة','حقائب الأجهزة','موزعات USB','لوحات مفاتيح وماوس','حوامل وستاندات','أقلام الآيباد والأجهزة اللوحية'] }; const cardIds=element=>[...element.querySelectorAll('custom-salla-product-card,salla-product-card')].map(card=>Number(card.id)).filter(id=>Number.isSafeInteger(id)&&id>0); function syncRow(group,list,section,app){ let catalogIds=[],key='',ready=false,scheduled=false; const names=new Set(rowCategoryNames[group.slug]||[group.label]); function sync(){ scheduled=false; const current=cardIds(list); if(list.getAttribute('source')==='categories'&¤t.length){catalogIds=current;ready=true;} if(!ready)return; const fresh=[...app.querySelectorAll('salla-products-list')].filter(element=>!element.closest('#fixer-category-product-rows')).flatMap(element=>[...element.querySelectorAll('custom-salla-product-card,salla-product-card')]).filter(card=>[...card.querySelectorAll('.wajha-small-text')].some(label=>names.has(label.textContent.trim()))).map(card=>Number(card.id)).filter(id=>Number.isSafeInteger(id)&&id>0); const merged=[...new Set([...fresh,...catalogIds])].slice(0,8); const nextKey=JSON.stringify(merged); if(!merged.length||nextKey===key)return; key=nextKey; if(JSON.stringify(current)!==nextKey){list.setAttribute('source-value',nextKey);list.setAttribute('source','selected');customElements.whenDefined('salla-products-list').then(()=>list.reload()).catch(()=>{section.dataset.fxCatalogSync='fallback';});} section.dataset.fxCatalogSync='current'; } function schedule(){if(!scheduled){scheduled=true;requestAnimationFrame(sync);}} new MutationObserver(schedule).observe(list,{childList:true,subtree:true,characterData:true}); app.querySelectorAll('salla-products-list').forEach(element=>{if(!element.closest('#fixer-category-product-rows'))new MutationObserver(schedule).observe(element,{childList:true,subtree:true,characterData:true});}); setTimeout(()=>{ready=true;schedule();},2500); schedule(); } function mount(){ if(!/^\/(?:fixer-\/?)?$/.test(location.pathname))return; const app=document.querySelector('.app-inner');if(!app||document.getElementById('fixer-category-product-rows'))return; const style=document.createElement('style');style.textContent='.fx-category-banner{display:block;line-height:0;overflow:hidden;border-radius:16px;margin:0 0 24px;background:#f5f4f1}.fx-category-banner picture,.fx-category-banner img{display:block;width:100%;height:auto}.fx-category-banner img{object-fit:contain}.fx-product-row .fx-row-heading[hidden],.fx-product-row salla-products-list[hidden]{display:none!important}.fx-product-row{margin-top:24px;margin-bottom:24px}@media(max-width:767px){.fx-category-banner{border-radius:12px;margin-bottom:20px}}';document.head.append(style); const host=document.createElement('div');host.id='fixer-category-product-rows';host.style.display='contents'; for(const g of groups){ const section=document.createElement('section');section.className='fx-product-row s-block';section.dataset.category=g.slug; const banner=document.createElement('a');banner.className='fx-category-banner';banner.href='https://salla.sa/fixer-/-/c'+g.id;banner.setAttribute('aria-label','تصفح '+g.label); const picture=document.createElement('picture');const source=document.createElement('source');source.media='(max-width:767px)';source.srcset=g.mobile; const image=document.createElement('img');image.src=g.desktop;image.alt=g.label;image.loading='lazy';image.decoding='async';image.width=2172;image.height=724;picture.append(source,image);banner.append(picture); const heading=document.createElement('div');heading.className='fx-row-heading';heading.hidden=true; const title=document.createElement('h2');title.textContent=g.label;const link=document.createElement('a');link.textContent='عرض الكل ←';link.href=banner.href;heading.append(title,link); const list=document.createElement('salla-products-list');list.setAttribute('source','categories');list.setAttribute('source-value',JSON.stringify([g.id]));list.setAttribute('limit','8');list.setAttribute('horizontal-cards','');list.hidden=true; const update=()=>{const hasProducts=!!list.querySelector('custom-salla-product-card,salla-product-card');heading.hidden=!hasProducts;list.hidden=!hasProducts;};new MutationObserver(update).observe(list,{childList:true,subtree:true}); section.append(banner,heading,list);host.append(section);syncRow(g,list,section,app); } app.append(host); } if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',mount,{once:true});else mount();window.addEventListener('load',mount,{once:true}); })(); /* FIXER customer journey repairs — 2026-10-25. */ (function () { const cardSelector = 'custom-salla-product-card,salla-product-card'; let timer; const loadingLists = new WeakSet(); function number(text) { return Number(String(text).replace(/[٠-٩]/g, c => '٠١٢٣٤٥٦٧٨٩'.indexOf(c)).replace(/[۰-۹]/g, c => '۰۱۲۳۴۵۶۷۸۹'.indexOf(c)).replace(/٬/g, '').replace(/٫/g, '.').replace(/[^0-9.]/g, '')); } function repairLabels() { document.querySelectorAll(cardSelector).forEach(card => { const title = card.querySelector('.s-product-card-content-title a'); const name = title && title.textContent.trim(); if (!name) return; if (title.getAttribute('aria-label') !== name) title.setAttribute('aria-label', name); card.querySelectorAll('img').forEach(img => { if (!img.alt || img.alt === 'undefined' || img.alt === 'null') img.alt = name; }); card.querySelectorAll('.s-product-card-image > a').forEach(a => { if (a.getAttribute('aria-label') !== name) a.setAttribute('aria-label', name); }); }); } function repairLinks() { document.querySelectorAll('a[href]').forEach(a => { let url; try { url = new URL(a.getAttribute('href'), location.href); } catch (_) { return; } if (!['fixersa.com', 'salla.sa'].includes(url.hostname)) return; if (/\/c948190380\/?$/.test(url.pathname)) { a.href = 'https://fixersa.com/offers'; a.querySelectorAll('h3').forEach(h => { if (h.textContent === 'العروض والبكجات') h.textContent = 'العروض والتخفيضات'; }); if (a.textContent.trim() === 'العروض والبكجات') a.textContent = 'العروض والتخفيضات'; } }); // This category is currently empty; retain it in the catalog but omit its navigation tile. document.querySelectorAll('#fixer-subcategory-icons a[href*="c141102515"]').forEach(a => { a.hidden = true; a.style.display = 'none'; }); } function sortVisiblePrices() { const select = document.getElementById('product-filter'); if (!select || !['priceFromLowToTop', 'priceFromTopToLow'].includes(select.value)) return; const ascending = select.value === 'priceFromLowToTop'; document.querySelectorAll('salla-products-list').forEach(list => { if (!list.closest('.product-index') || list.closest('#fixer-category-product-rows')) return; const wrapper = list.querySelector('.s-products-list-wrapper'); if (!wrapper) return; const cards = [...wrapper.children].filter(el => el.matches(cardSelector)); const prices = cards.map(card => ({ card, price: number((card.querySelector('.s-product-card-sale-price h4,.s-product-card-price') || {}).textContent || '') })); if (!prices.length || prices.some(item => !Number.isFinite(item.price) || item.price <= 0)) return; const sorted = prices.slice().sort((a, b) => ascending ? a.price - b.price : b.price - a.price); if (sorted.some((item, i) => item.card !== cards[i])) sorted.forEach(item => wrapper.append(item.card)); // Load remaining native pages so the order covers the whole category, not one page. const more = [...list.querySelectorAll('button')].find(button => button.textContent.includes('عرض المزيد') && !button.disabled && button.getClientRects().length); if (more && typeof list.loadMore === 'function' && !loadingLists.has(list) && cards.length < 1000) { loadingLists.add(list); Promise.resolve(list.loadMore()).catch(() => {}).finally(() => { loadingLists.delete(list); schedule(); }); } }); } function run() { repairLinks(); repairLabels(); sortVisiblePrices(); } function schedule() { clearTimeout(timer); timer = setTimeout(run, 180); } function start() { run(); new MutationObserver(schedule).observe(document.body, { childList: true, subtree: true, characterData: true }); document.addEventListener('change', event => { if (event.target.id === 'product-filter') schedule(); }); window.addEventListener('load', schedule, { once: true }); } if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', start, { once: true }); else start(); })(); /* FIXER cart quantity guidance and Arabic control labels — 2026-10-25. */ (function () { const labels = { 'Increase quantity': 'زيادة الكمية', 'Decrease quantity': 'تقليل الكمية', 'Quantity': 'الكمية', 'Remove from the cart': 'حذف المنتج من السلة' }; let scheduled = false; function update() { scheduled = false; document.querySelectorAll('[aria-label]').forEach(el => { const translated = labels[el.getAttribute('aria-label')]; if (translated) el.setAttribute('aria-label', translated); }); if (!/\/cart\/?$/.test(location.pathname) || document.getElementById('fixer-cart-quantity-help')) return; const heading = document.querySelector('.app-inner h1'); const hasItems = document.querySelector('salla-quantity-input'); if (!heading || !hasItems) return; const note = document.createElement('aside'); note.id = 'fixer-cart-quantity-help'; note.dir = 'rtl'; note.setAttribute('aria-label', 'مساعدة في تعديل كمية المنتجات'); note.style.cssText = 'margin:12px 0 20px;padding:14px 18px;border:1px solid #d7dfd0;border-radius:12px;background:#f4f6f0;color:#34492f;font-size:14px;line-height:1.9'; const text = document.createElement('span'); text.textContent = 'يتم تأكيد الكميات حسب المخزون المتاح. إذا لم تُقبل زيادة الكمية، اختر كمية أقل أو '; const link = document.createElement('a'); link.href = 'https://api.whatsapp.com/send?phone=966561793015'; link.textContent = 'تواصل معنا للمساعدة'; link.style.cssText = 'color:inherit;text-decoration:underline;text-underline-offset:3px;font-weight:600'; note.append(text, link); heading.after(note); } function schedule() { if (!scheduled) { scheduled = true; requestAnimationFrame(update); } } function start() { update(); new MutationObserver(schedule).observe(document.body, { childList: true, subtree: true }); } if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', start, { once: true }); else start(); })(); /* FIXER approved policy navigation — 26 October 2026. */ (function(){ const links=[{"title":"سياسة الاستبدال والاسترجاع","url":"https://fixersa.com/%D8%B3%D9%8A%D8%A7%D8%B3%D8%A9-%D8%A7%D9%84%D8%A7%D8%B3%D8%AA%D8%A8%D8%AF%D8%A7%D9%84-%D9%88%D8%A7%D9%84%D8%A7%D8%B3%D8%AA%D8%B1%D8%AC%D8%A7%D8%B9/page-984031840"},{"title":"الضمان وخدمة ما بعد البيع","url":"https://fixersa.com/%D8%A7%D9%84%D8%B6%D9%85%D8%A7%D9%86-%D9%88%D8%AE%D8%AF%D9%85%D8%A9-%D9%85%D8%A7-%D8%A8%D8%B9%D8%AF-%D8%A7%D9%84%D8%A8%D9%8A%D8%B9/page-344736097"}]; function mount(){ document.querySelectorAll(".s-menu-footer-list").forEach(list=>links.forEach(item=>{if(Array.from(list.querySelectorAll("a")).some(a=>a.href===item.url))return;const a=document.createElement("a");a.href=item.url;a.className="s-menu-footer-item";a.textContent=item.title;list.appendChild(a);})); const summary=Array.from(document.querySelectorAll("#fixer-light-details-v2 summary")).find(s=>s.textContent.trim()==="وين ألقى تفاصيل الضمان؟");const p=summary&&summary.parentElement.querySelector("p");if(p&&!p.querySelector("[data-fixer-warranty-policy]")){const a=document.createElement("a");a.href=links[1].url;a.textContent="سياسة الضمان وخدمة ما بعد البيع";a.setAttribute("data-fixer-warranty-policy","");p.append(" ",a);} } function start(){mount();const observer=new MutationObserver(mount);observer.observe(document.body,{childList:true,subtree:true});setTimeout(()=>observer.disconnect(),15000);} if(document.readyState==="loading")document.addEventListener("DOMContentLoaded",start,{once:true});else start(); })();