(function(){ var root=document.currentScript&&document.currentScript.closest?document.currentScript.closest('.wfc'):document.querySelector('.wfc'); function T(el,c){var x=el.querySelector('.d-'+c+' .elementor-heading-title');return x?x.textContent.trim():''} function init(){ if(!root||root.getAttribute('data-ready'))return; var items=[].slice.call(document.querySelectorAll('.wfc-src .wfd')); if(!items.length&&init.n++<200){setTimeout(init,150);return} root.setAttribute('data-ready','1'); var cars=[],seen={}; items.forEach(function(el){var a=el.querySelector('.d-n a'),u=a?a.getAttribute('href'):'';if(!u||seen[u])return;seen[u]=1;var im=el.querySelector('.d-i img'),src='';if(im){src=im.getAttribute('data-src')||im.getAttribute('data-lazy-src')||im.getAttribute('src')||'';if(/^data:/.test(src))src=''}var segs=u.replace(/^https?:\/\/[^\/]+/,'').split('/').filter(Boolean);var slug=segs[segs.length-1]||'';var key=(segs[0]||'').replace(/-cars$/,'')+'-'+slug; cars.push({n:a.textContent.trim(),u:u,s:slug,k:key,img:src,price:T(el,'p'),lo:parseFloat(T(el,'pm'))||0,cur:T(el,'c'),body:T(el,'bs'),fuel:T(el,'f'),trans:T(el,'t'),drive:T(el,'dr'),seats:T(el,'s'),engine:T(el,'e'),power:T(el,'w'),torque:T(el,'q'),mileage:T(el,'m')||T(el,'r'),tank:T(el,'ft'),airbags:T(el,'a'),safety:T(el,'sr'),boot:T(el,'bt'),gc:T(el,'gc'),rating:T(el,'rt')})}); cars.sort(function(x,y){return x.n.localeCompare(y.n)}); if(!cars.length)return; var opts='';cars.forEach(function(c,i){opts+='