try { var grv_queryString_71 = window.location.search; var grv_urlParams_71 = new URLSearchParams(grv_queryString_71); var grv_sandbox = grv_urlParams_71.get('grvsandbox') || null; console.log(grv_queryString_71); if (grv_sandbox) { grv_sandbox = String(grv_sandbox); if (grv_sandbox.startsWith('71-')) { /* try { var grv_queryString_71 = window.location.search; var grv_urlParams_71 = new URLSearchParams(grv_queryString_71); var grv_sandbox = grv_urlParams_71.get('grvsandbox') || null; if (grv_sandbox) { grv_sandbox = String(grv_sandbox); if (grv_sandbox.startsWith('71-')) { const grv_rm_tag = document.createElement('script'); grv_rm_tag.src = 'https://static-banners.groovinads.com/gm/71/mngr.js?v' + Math.round((new Date()).getTime()); grv_rm_tag.defer = true; document.body.appendChild(grv_rm_tag); } } } catch (err) { console.log(err); } */ if (!window.grv_beenhere) { window.grv_beenhere = true; // log function to be used when debugging. var log = (item, value) => { const message = `GRV ::: ${Math.round((new Date()).getTime())} ::: ${item} --> ${value}`; console.log(message); }; const grv_IdFormatInURL = String(grv_sandbox).split("-")[1]; // grv_insertTag function to insert the appropiate tag. // 263 4be84111a613654b362415e563cb7607df7b203b5d303802a8a546061bbc7847 // 264 bba58959c32abe688d9cb5222b97de973002a67c412d6a8c8d2a79ac692f32b7 // 265 768b84ef05f655d57fe22d488451f075365f6cd18a13073466aa826cc0ebdbfb const metaTag = document.querySelector('meta[property="og:url"]'); log('metaTag', metaTag); if (metaTag && (metaTag.content.startsWith("https://www.fravega.com/l/") || metaTag.content.startsWith("https://www.fravega.com/p/"))) { if (grv_IdFormatInURL === '4be84111a613654b362415e563cb7607df7b203b5d303802a8a546061bbc7847') { window.grv_IdShop = '17'; window.grv_IdFormat = '263'; window.grv_client = '71'; window.grv_passback = ""; window.grv_floating = false; window.grv_top = null; window.grv_right = null; window.grv_height = null; window.grv_width = null; window.grv_styles = [["display", "list-item"], ["listStyleType", "none"], ["listStyle", "none"], ["margin", "0"], ["boxSizing", "border-box"], ["width", "100%"], ["minWidth", "0px"], ["transition", "box-shadow 275ms cubic-bezier(0.46, 0.03, 0.52, 0.96)"]]; window.grv_mq = "@media (min-width: 1024px) { #gm { grid-column: 1/span 3; height: 345px; }} @media (max-width: 1023px) and (min-width: 768px) { #gm { grid-column: 1/span 2; height: 406px; }} @media (max-width: 767px) { #gm { grid-column: 1/span 1; height: 406px; }}"; window.grv_IdAffiliate = ""; window.grv_pidu="%%GOOGLE_GID%%"; window.OSClickTracker="%%CLICK_URL_UNESC%%"; window.grv_frequency = null; window.grv_interval = null; window.grv_urlParams = new URLSearchParams(window.location.search); window.grv_rand = Math.round((new Date()).getTime()); window.grv_source = "https://static-banners.groovinads.com/gm/client.js?v=" + grv_rand; window.grv_keywords = null; window.grv_skuToCompete = null; window.grv_script = document.createElement("script"); window.grv_anchor = document.scripts[document.scripts.length-1]; window.grv_qs = ["ul[data-test-id='results-list'].sc-e1732e90-0.ejFRMD", 0]; // [position, index] window.grv_script.src = window.grv_source; window.grv_script.defer = true; window.grv_anchor.parentElement.insertBefore(window.grv_script, window.grv_anchor); window.grv_currentPlaceHolder = `gm_${window.grv_client}_${window.grv_IdFormat}_${window.grv_rand}`; window.grv_fs = {}; // client custom design window.grv_fs[`init_${window.grv_currentPlaceHolder}`] = () => { const ad = window.document.getElementById(window.grv_currentPlaceHolder); ad.style.border = '1px solid rgb(238, 238, 238)'; ad.style.boxShadow = 'rgba(0, 0, 0, 0.08) 0px 2px 4px 0px'; ad.addEventListener('mouseover', () => { ad.style.boxShadow = 'rgba(0, 0, 0, 0.16) 0px 2px 8px 2px'; }); ad.addEventListener('mouseout', () => { ad.style.boxShadow = 'rgba(0, 0, 0, 0.08) 0px 2px 4px 0px'; }); }; } else if (grv_IdFormatInURL === 'bba58959c32abe688d9cb5222b97de973002a67c412d6a8c8d2a79ac692f32b7') { window.grv_IdShop = '17'; window.grv_IdFormat = '264'; window.grv_client = '71'; window.grv_passback = ""; window.grv_floating = false; window.grv_top = null; window.grv_right = null; window.grv_height = null; window.grv_width = null; window.grv_styles = [["display", "list-item"], ["listStyleType", "none"], ["listStyle", "none"], ["margin", "0"], ["boxSizing", "border-box"], ["width", "100%"], ["minWidth", "0px"], ["transition", "box-shadow 275ms cubic-bezier(0.46, 0.03, 0.52, 0.96)"]]; window.grv_mq = "@media (min-width: 1024px) { #gm { grid-column: 1/span 2; height: 100%;}} @media (max-width: 1023px) and (min-width: 768px) { #gm { grid-column: 1/span 2; height: 400px;}} @media (max-width: 767px) { #gm { grid-column: 1/span 1; height: 400px;}}"; window.grv_IdAffiliate = ""; window.grv_pidu="%%GOOGLE_GID%%"; window.OSClickTracker="%%CLICK_URL_UNESC%%"; window.grv_frequency = null; window.grv_interval = null; window.grv_urlParams = new URLSearchParams(window.location.search); window.grv_rand = Math.round((new Date()).getTime()); window.grv_source = "https://static-banners.groovinads.com/gm/client.js?v=" + grv_rand; window.grv_keywords = null; window.grv_skuToCompete = null; window.grv_script = document.createElement("script"); window.grv_anchor = document.scripts[document.scripts.length-1]; window.grv_qs = ["ul[data-test-id='results-list'].sc-e1732e90-0.ejFRMD", 0]; // [position, index] window.grv_script.src = window.grv_source; window.grv_script.defer = true; window.grv_anchor.parentElement.insertBefore(window.grv_script, window.grv_anchor); window.grv_currentPlaceHolder = `gm_${window.grv_client}_${window.grv_IdFormat}_${window.grv_rand}`; window.grv_fs = {}; // client custom design window.grv_fs[`init_${window.grv_currentPlaceHolder}`] = () => { const ad = window.document.getElementById(window.grv_currentPlaceHolder); ad.style.border = '1px solid rgb(238, 238, 238)'; ad.style.boxShadow = 'rgba(0, 0, 0, 0.08) 0px 2px 4px 0px'; ad.addEventListener('mouseover', () => { ad.style.boxShadow = 'rgba(0, 0, 0, 0.16) 0px 2px 8px 2px'; }); ad.addEventListener('mouseout', () => { ad.style.boxShadow = 'rgba(0, 0, 0, 0.08) 0px 2px 4px 0px'; }); }; } else if (grv_IdFormatInURL === '768b84ef05f655d57fe22d488451f075365f6cd18a13073466aa826cc0ebdbfb') { let grv_sku = null; if (document.querySelectorAll("script[type='application/ld+json']") && typeof document.querySelectorAll("script[type='application/ld+json']") === 'object') { try { if (document.querySelectorAll("script[type='application/ld+json']")[0] && JSON.parse(document.querySelectorAll("script[type='application/ld+json']")[0].innerHTML)['@type'] === 'Product' && JSON.parse(document.querySelectorAll("script[type='application/ld+json']")[0].innerHTML)['sku'] !== 'undefined') { grv_sku = JSON.parse(document.querySelectorAll("script[type='application/ld+json']")[0].innerHTML)['sku']; } } catch (err) { log('Error', err); } } grv_sku = null; window.grv_IdShop = '17'; window.grv_IdFormat = '265'; window.grv_client = '71'; window.grv_passback = ""; window.grv_floating = true; window.grv_width = "330px"; window.grv_height = "200px"; window.grv_top = "100px"; window.grv_right = "20px"; window.grv_styles = [["border", "none"], ["display", "inline-block"], ["verticalAlign", "top"], ["textAlign", "left"], ["margin", "0"], ["boxSizing", "border-box"], ["width", "330px"], ["height", "200px"], ["background", "none transparent"]]; window.grv_IdAffiliate = ""; window.grv_pidu="%%GOOGLE_GID%%"; window.OSClickTracker="%%CLICK_URL_UNESC%%"; window.grv_frequency = null; window.grv_interval = null; window.grv_urlParams = new URLSearchParams(window.location.search); window.grv_rand = Math.round((new Date()).getTime()); window.grv_source = "https://static-banners.groovinads.com/gm/client.js?v=" + window.grv_rand; window.grv_script = document.createElement("script"); window.grv_anchor = document.scripts[document.scripts.length-1]; window.grv_qs = ["body", 1]; window.grv_keywords = null; window.grv_filter = (grv_sku) ? {'type': 'skuToCompete', 'context': grv_sku} : null; window.grv_script.src = window.grv_source; window.grv_script.defer = true; window.grv_anchor.parentElement.insertBefore(window.grv_script, window.grv_anchor); window.grv_currentPlaceHolder = `grv_${window.grv_IdFormat}_${window.grv_rand}`; window.grv_fs = {}; // client custom design /* window.grv_fs[`init_${window.grv_currentPlaceHolder}`] = () => { const ad = window.document.getElementById(window.grv_currentPlaceHolder); ad.style.border = '1px solid rgb(238, 238, 238)'; ad.style.boxShadow = 'rgba(0, 0, 0, 0.08) 0px 2px 4px 0px'; ad.addEventListener('mouseover', () => { ad.style.boxShadow = 'rgba(0, 0, 0, 0.16) 0px 2px 8px 2px'; }); ad.addEventListener('mouseout', () => { ad.style.boxShadow = 'rgba(0, 0, 0, 0.08) 0px 2px 4px 0px'; }); }; */ } } } } } } catch (err) { console.log(err); }var grv_cart='';var grv_img_px_cnt=1;var grv_ga_id='';function grv_firegoalpx(Id,idt,idv){grvfiregoalpx = new Image();grvfiregoalpx.src = 'https://ads01.groovinads.com/grv/track/px.os?fgimg=1&idpixel='+Id+'&goalvalue='+idt+'&idtransaction='+idv+'&v='+grv_img_px_cnt;grv_img_px_cnt++;};try{var grv_referer = window.location+'';if(grv_referer.indexOf('grv_IdADSItem')>0 & grv_referer.indexOf('grv_nor')==-1 ){const grvscrpt = document.createElement('script');grvscrpt.setAttribute('src','https://ads01.groovinads.com/grv/track/bhpx.os?fgjs=1&idc=71&fgclk=1&URL='+encodeURIComponent(grv_referer));grvscrpt.setAttribute('async', '');document.body.appendChild(grvscrpt);}}catch(err){}imat3 = new Image();imat3.src = 'https://sync.taboola.com/sg/groovinadsrtbdisplay-network/1/rtb-h/?taboola_hm=091028450882630';imat2 = new Image();imat2.src = 'https://cm.mgid.com/m?cdsp=834131&c=091028450882630&gdpr=&gdpr_consent=&us_privacy=&adu=https://ads01.groovinads.com/grv/track/cm.os?p=mgid&iu={muidn{';imat1 = new Image();imat1.src = 'https://sync.e-planning.net/um?uid=091028450882630&dc=3daa1622876139e1&ibd=1&iss=1';try{var ifrm649 = document.createElement("iframe");ifrm649.setAttribute("src", "https://ads01.groovinads.com/grv/track/idu.os?Snip=AW-10959829766/otcpCOmN0KAZEIb2huoo&acc=4340372264&idc=71");ifrm649.style.width = "1px";ifrm649.style.height = "1px";ifrm649.style.display = "none";document.body.appendChild(ifrm649);var ifrm606 = document.createElement("iframe");ifrm606.setAttribute("src", "https://ads01.groovinads.com/grv/track/idu.os?Snip=AW-744879259/9RNKCLbY5swDEJvpl-MC&acc=9248401101&idc=71");ifrm606.style.width = "1px";ifrm606.style.height = "1px";ifrm606.style.display = "none";document.body.appendChild(ifrm606);}catch(error){console.log(error)}