window.hoopcompany_leadform = new Object; window.hoopcompany_leadform.topic_id = ''; window.hoopcompany_leadform.page_url = window.location.href; window.hoopcompany_leadform.page_name = document.title; window.getCookie=function(cname) { var name = cname + '='; var decodedCookie = decodeURIComponent(document.cookie); var ca = decodedCookie.split(';'); for (var i = 0; i < ca.length; i++) { var c = ca[i]; while (c.charAt(0) == ' ') { c = c.substring(1); } if (c.indexOf(name) == 0) { return c.substring(name.length, c.length); } } return ''; }; window.setCookie=function(cname, cvalue, exdays) { var d = new Date(); d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000)); var expires = "expires=" + d.toUTCString(); document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"; } window.addEventListener('message', function(event) { if(event.data=='setClient'){ window.setCookie('hoopCliente',1,90); } }); window.hoopcompany_campaign = new Object; window.hoopcompany_campaign = {"id":712,"name":"Default Campaign","company":57785,"pipe":0,"extradata":{"btnSize":100,"companies":[{"id":"57785","selectedPipe":33638}],"btnPostion":{"x":10,"y":10,"type":"px","placement":"down-rigth"},"textHeader":null,"basicFields":{"name":{"able":true,"required":true},"email":{"able":true,"required":true},"place":{"able":false,"required":true},"whats":{"able":true,"required":true},"plugin":true,"termOfUse":{"able":false,"required":false},"disableForm":true},"show_configs_whats":{"list":[],"type":"all"}},"created_at":"2022-10-21 17:39:14","updated_at":"2024-04-30 18:42:34","image":null,"deleted_at":null,"group":null,"title":"Fale com a Idem!","objective":null,"disabled":0,"token":"8d09380023e640315ecea2cb39797033","type_campaign":"default","topics":[{"id":977,"name":"ecommerce","message":"","campaign_id":712,"popup_id":null,"last_seller":0,"created_at":"2022-10-21 17:44:09","updated_at":"2022-10-21 17:44:09","new_cliente_redirect":1,"seller_for_client":1,"cliente_redirect":1,"seller_for_new_client":1,"extradata":null,"CTA":1,"redirect_url":null,"model_id":null,"open_form":1,"success_message":null,"clicks":0},{"id":978,"name":"SAC","message":"Ol\u00e1 preciso falar com o SAC","campaign_id":712,"popup_id":null,"last_seller":0,"created_at":"2022-10-21 17:46:26","updated_at":"2024-04-30 18:49:26","new_cliente_redirect":1,"seller_for_client":1,"cliente_redirect":1,"seller_for_new_client":1,"extradata":{"companies":[{"id":57785,"last_seller":0}]},"CTA":1,"redirect_url":null,"model_id":null,"open_form":1,"success_message":null,"clicks":0},{"id":987,"name":"VENDAS","message":"Ol\u00e1, me chamo","campaign_id":712,"popup_id":null,"last_seller":0,"created_at":"2022-10-26 12:53:05","updated_at":"2024-04-30 18:49:26","new_cliente_redirect":1,"seller_for_client":1,"cliente_redirect":1,"seller_for_new_client":1,"extradata":{"companies":[{"id":57785,"last_seller":0}]},"CTA":1,"redirect_url":null,"model_id":null,"open_form":1,"success_message":null,"clicks":0}],"urls":[{"id":12827,"name":"O","urlkey":"O","campaign_id":712,"created_at":"2022-10-21 17:48:56","updated_at":"2022-10-21 17:48:56","company":null,"url":"O","domain":null,"layout_index":null,"extradata":null},{"id":12828,"name":"P","urlkey":"P","campaign_id":712,"created_at":"2022-10-21 17:51:27","updated_at":"2022-10-21 17:51:27","company":null,"url":"P","domain":null,"layout_index":null,"extradata":null},{"id":12829,"name":"I","urlkey":"I","campaign_id":712,"created_at":"2022-10-21 17:59:36","updated_at":"2022-10-21 17:59:36","company":null,"url":"I","domain":null,"layout_index":null,"extradata":null},{"id":12831,"name":"S","urlkey":"S","campaign_id":712,"created_at":"2022-10-21 18:44:32","updated_at":"2022-10-21 18:44:32","company":null,"url":"S","domain":null,"layout_index":null,"extradata":null},{"id":12832,"name":"L","urlkey":"L","campaign_id":712,"created_at":"2022-10-22 03:25:52","updated_at":"2022-10-22 03:25:52","company":null,"url":"L","domain":null,"layout_index":null,"extradata":null},{"id":12833,"name":"H","urlkey":"H","campaign_id":712,"created_at":"2022-10-22 18:10:15","updated_at":"2022-10-22 18:10:15","company":null,"url":"H","domain":null,"layout_index":null,"extradata":null},{"id":12835,"name":"","urlkey":"","campaign_id":712,"created_at":"2022-10-25 00:10:14","updated_at":"2022-10-25 00:10:14","company":null,"url":"","domain":null,"layout_index":null,"extradata":null},{"id":12848,"name":"C","urlkey":"C","campaign_id":712,"created_at":"2022-10-27 00:39:55","updated_at":"2022-10-27 00:39:55","company":null,"url":"C","domain":null,"layout_index":null,"extradata":null},{"id":12850,"name":"-","urlkey":"-","campaign_id":712,"created_at":"2022-10-27 13:29:51","updated_at":"2022-10-27 13:29:51","company":null,"url":"-","domain":null,"layout_index":null,"extradata":null},{"id":12858,"name":"B","urlkey":"B","campaign_id":712,"created_at":"2022-10-29 20:48:57","updated_at":"2022-10-29 20:48:57","company":null,"url":"B","domain":null,"layout_index":null,"extradata":null},{"id":12863,"name":"N","urlkey":"N","campaign_id":712,"created_at":"2022-11-02 22:23:27","updated_at":"2022-11-02 22:23:27","company":null,"url":"N","domain":null,"layout_index":null,"extradata":null},{"id":12864,"name":"K","urlkey":"K","campaign_id":712,"created_at":"2022-11-02 22:39:44","updated_at":"2022-11-02 22:39:44","company":null,"url":"K","domain":null,"layout_index":null,"extradata":null},{"id":12872,"name":"F","urlkey":"F","campaign_id":712,"created_at":"2022-11-05 19:45:02","updated_at":"2022-11-05 19:45:02","company":null,"url":"F","domain":null,"layout_index":null,"extradata":null},{"id":12902,"name":"A","urlkey":"A","campaign_id":712,"created_at":"2022-11-18 01:12:05","updated_at":"2022-11-18 01:12:05","company":null,"url":"A","domain":null,"layout_index":null,"extradata":null},{"id":12903,"name":"A","urlkey":"A","campaign_id":712,"created_at":"2022-11-18 01:12:05","updated_at":"2022-11-18 01:12:05","company":null,"url":"A","domain":null,"layout_index":null,"extradata":null},{"id":12904,"name":"D","urlkey":"D","campaign_id":712,"created_at":"2022-11-18 02:10:49","updated_at":"2022-11-18 02:10:49","company":null,"url":"D","domain":null,"layout_index":null,"extradata":null},{"id":12906,"name":"V","urlkey":"V","campaign_id":712,"created_at":"2022-11-22 10:28:16","updated_at":"2022-11-22 10:28:16","company":null,"url":"V","domain":null,"layout_index":null,"extradata":null},{"id":12941,"name":"2","urlkey":"2","campaign_id":712,"created_at":"2022-12-23 01:54:14","updated_at":"2022-12-23 01:54:14","company":null,"url":"2","domain":null,"layout_index":null,"extradata":null},{"id":12950,"name":"M","urlkey":"M","campaign_id":712,"created_at":"2022-12-26 20:59:04","updated_at":"2022-12-26 20:59:04","company":null,"url":"M","domain":null,"layout_index":null,"extradata":null},{"id":12952,"name":"T","urlkey":"T","campaign_id":712,"created_at":"2022-12-30 14:49:02","updated_at":"2022-12-30 14:49:02","company":null,"url":"T","domain":null,"layout_index":null,"extradata":null},{"id":12997,"name":"1","urlkey":"1","campaign_id":712,"created_at":"2023-02-07 23:10:43","updated_at":"2023-02-07 23:10:43","company":null,"url":"1","domain":null,"layout_index":null,"extradata":null},{"id":12998,"name":"G","urlkey":"G","campaign_id":712,"created_at":"2023-02-08 13:02:47","updated_at":"2023-02-08 13:02:47","company":null,"url":"G","domain":null,"layout_index":null,"extradata":null},{"id":13007,"name":"E","urlkey":"E","campaign_id":712,"created_at":"2023-02-22 19:10:06","updated_at":"2023-02-22 19:10:06","company":null,"url":"E","domain":null,"layout_index":null,"extradata":null},{"id":13043,"name":"6","urlkey":"6","campaign_id":712,"created_at":"2023-03-16 17:10:46","updated_at":"2023-03-16 17:10:46","company":null,"url":"6","domain":null,"layout_index":null,"extradata":null},{"id":13104,"name":"3","urlkey":"3","campaign_id":712,"created_at":"2023-04-27 13:09:02","updated_at":"2023-04-27 13:09:02","company":null,"url":"3","domain":null,"layout_index":null,"extradata":null},{"id":13105,"name":"J","urlkey":"J","campaign_id":712,"created_at":"2023-04-27 17:19:14","updated_at":"2023-04-27 17:19:14","company":null,"url":"J","domain":null,"layout_index":null,"extradata":null},{"id":13135,"name":"w","urlkey":"w","campaign_id":712,"created_at":"2023-05-03 20:15:45","updated_at":"2023-05-03 20:15:45","company":null,"url":"w","domain":null,"layout_index":null,"extradata":null},{"id":13193,"name":"4","urlkey":"4","campaign_id":712,"created_at":"2023-05-22 02:31:15","updated_at":"2023-05-22 02:31:15","company":null,"url":"4","domain":null,"layout_index":null,"extradata":null},{"id":13250,"name":"02 - IDEM PERFUMES: O Perfume que Fixa e Ponto.","urlkey":"02 - IDEM PERFUMES: O Perfume que Fixa e Ponto.","campaign_id":712,"created_at":"2023-06-08 22:22:51","updated_at":"2023-06-08 22:22:51","company":null,"url":"02 - IDEM PERFUMES: O Perfume que Fixa e Ponto.","domain":null,"layout_index":null,"extradata":null},{"id":13356,"name":"R","urlkey":"R","campaign_id":712,"created_at":"2023-07-25 10:10:31","updated_at":"2023-07-25 10:10:31","company":null,"url":"R","domain":null,"layout_index":null,"extradata":null},{"id":13383,"name":"Y","urlkey":"Y","campaign_id":712,"created_at":"2023-08-08 16:44:51","updated_at":"2023-08-08 16:44:51","company":null,"url":"Y","domain":null,"layout_index":null,"extradata":null},{"id":13420,"name":"8","urlkey":"8","campaign_id":712,"created_at":"2023-09-01 00:07:48","updated_at":"2023-09-01 00:07:48","company":null,"url":"8","domain":null,"layout_index":null,"extradata":null},{"id":13440,"name":"Q","urlkey":"Q","campaign_id":712,"created_at":"2023-09-10 22:21:56","updated_at":"2023-09-10 22:21:56","company":null,"url":"Q","domain":null,"layout_index":null,"extradata":null},{"id":13524,"name":"%","urlkey":"%","campaign_id":712,"created_at":"2023-11-24 04:43:25","updated_at":"2023-11-24 04:43:25","company":null,"url":"%","domain":null,"layout_index":null,"extradata":null},{"id":13676,"name":"5","urlkey":"5","campaign_id":712,"created_at":"2023-12-19 12:14:56","updated_at":"2023-12-19 12:14:56","company":null,"url":"5","domain":null,"layout_index":null,"extradata":null},{"id":13722,"name":"U","urlkey":"U","campaign_id":712,"created_at":"2024-03-22 00:52:13","updated_at":"2024-03-22 00:52:13","company":null,"url":"U","domain":null,"layout_index":null,"extradata":null},{"id":13723,"name":"01 - IDEM PERFUMES: O Perfume que Fixa e Ponto.","urlkey":"01 - IDEM PERFUMES: O Perfume que Fixa e Ponto.","campaign_id":712,"created_at":"2024-03-24 17:11:36","updated_at":"2024-03-24 17:11:36","company":null,"url":"01 - IDEM PERFUMES: O Perfume que Fixa e Ponto.","domain":null,"layout_index":null,"extradata":null}],"popups":[{"id":106,"name":"Popgeral","type":"","show_type":"simple_fix","company_id":57785,"topic_id":0,"campaign_id":712,"pipe_id":0,"configs":{"cupom1":{"porcent":true,"cupomActive":false,"cupomCode":"insta10","cupomDiscount":"10","rodape":"*Ganhe 10% OFF na 1\u00aa compra e fa\u00e7a parte da nossa lista VIP. \u00c9 PRECISO INSERIR O CUPOM NO CARRINHO.","color":"#ffffff","color2":"#100f0f","fields":{"name":true,"email":true,"telephone":true,"termOfUse":true,"place":false},"position":{"x":20,"y":20},"error":null,"iconColor":true,"isCenter":true,"model":"with_img","forOldClients":true,"image_name":"imgpopup-106-1.jpeg","imageSize":70,"buttomTextColor":"#fdfcfc"},"cupom2":{"porcent":true,"cupomActive":false,"cupomCode":null,"cupomDiscount":null,"rodape":"Valida somente para primeira compra","color":"#0f4c81","color2":"#ffffff","fields":{"name":true,"email":true,"telephone":true,"termOfUse":false,"place":false},"position":{"x":20,"y":20},"error":null,"iconColor":"black","isCenter":true,"model":"without_img","forOldClients":false},"show_configs":{"type":"all","list":[],"triggers":[]},"lp_id":224},"script":null,"able":1,"created_at":"2022-10-21 17:52:35","updated_at":"2024-10-18 20:08:10","deleted_at":null,"optins":[{"id":379,"campaign_id":null,"company_id":57785,"popup_id":null,"extradata":{"ables":[{"visible":1,"able_key":"popup_106","required":1},{"visible":1,"able_key":"popup_506","required":0}]},"label":"Aceito a pol\u00edtica de privacidade","visible":1,"required":0,"created_at":"2022-10-21 17:54:22","updated_at":"2023-11-23 13:44:30"},{"id":380,"campaign_id":null,"company_id":57785,"popup_id":null,"extradata":{"ables":[{"visible":1,"able_key":"popup_106","required":0},{"visible":1,"able_key":"popup_506","required":0}]},"label":"Aceito receber contato de consultoria de vendas especializada","visible":1,"required":0,"created_at":"2022-10-21 17:54:27","updated_at":"2023-11-23 13:44:56"},{"id":381,"campaign_id":null,"company_id":57785,"popup_id":null,"extradata":{"ables":[{"visible":1,"able_key":"popup_106","required":0},{"visible":1,"able_key":"popup_506","required":0}]},"label":"Aceito receber promo\u00e7\u00f5es por e-mail","visible":1,"required":0,"created_at":"2022-10-21 17:54:33","updated_at":"2023-11-23 13:44:57"},{"id":382,"campaign_id":null,"company_id":57785,"popup_id":null,"extradata":{"ables":[{"visible":1,"able_key":"popup_106","required":0},{"visible":1,"able_key":"popup_506","required":0}]},"label":"Aceito receber lan\u00e7amentos por e-mail \/ WhatsApp","visible":1,"required":0,"created_at":"2022-10-21 17:54:40","updated_at":"2023-11-23 13:44:57"},{"id":783,"campaign_id":null,"company_id":57785,"popup_id":null,"extradata":{"ables":[]},"label":"ERP","visible":1,"required":0,"created_at":"2023-11-22 14:12:20","updated_at":"2023-11-22 14:12:20"}]}],"fields":[]};window.hoopcompany_trackPlatform = 'nuvemshop'; var tid = setInterval( function () { if ( document.readyState !== 'complete' ) return; clearInterval( tid ); if(window.hoopcompany_trackPlatform != 'tray'){ (function(document, tag) { var scriptTag = document.createElement(tag); firstScriptTag = document.getElementsByTagName(tag)[0]; scriptTag.setAttribute('type', 'text/javascript'); scriptTag.setAttribute('charset', 'UTF-8'); scriptTag.src = '//d2wy8f7a9ursnm.cloudfront.net/v7/bugsnag.min.js'; scriptTag.id = 'bugsnag'; firstScriptTag.parentNode.insertBefore(scriptTag, firstScriptTag); }(document, 'script')); document.getElementById('bugsnag').addEventListener('load', function() { (function(document, tag) { var scriptTag = document.createElement(tag); firstScriptTag = document.getElementsByTagName(tag)[0]; scriptTag.setAttribute('type', 'text/javascript'); scriptTag.src = 'https://hoopdecor.com/hoopcompany_ecommerce/nuvemshop/69dcebec8b78f1816381f13c36c607d6/57785/712/977'; firstScriptTag.parentNode.insertBefore(scriptTag, firstScriptTag); }(document, 'script')); }); } if (window.hoopcompany_campaign.extradata.show_configs_whats) { if (window.hoopcompany_campaign.extradata.show_configs_whats.type == 'all') { window.show_whats = 1; window.hoopcompany_campaign.extradata.show_configs_whats.list.forEach(function(url) { if (window.location.href.includes(url)) { window.show_whats = 0; } }); } else { window.show_whats = 0; window.hoopcompany_campaign.extradata.show_configs_whats.list.forEach(function(url) { if (window.location.href.includes(url)) { window.show_whats = 1; } }); } } else { window.show_whats = 0; } var verifyTriggers=function(popup){ //verifica gatilhos if(window.hoop_popup && popup.configs.show_configs.triggers &&popup.configs.show_configs.triggers.length && window.getCookie('hoop_popup_id')!=popup.id){ for(var i=0;i