{"id":12194,"date":"2023-12-28T15:12:21","date_gmt":"2023-12-28T18:12:21","guid":{"rendered":"https:\/\/swprotectivelatam.com\/bot\/"},"modified":"2024-03-07T10:16:21","modified_gmt":"2024-03-07T13:16:21","slug":"bot","status":"publish","type":"page","link":"https:\/\/swprotectivelatam.com\/es\/bot\/","title":{"rendered":"Bot"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"12194\" class=\"elementor elementor-12194 elementor-10247\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-777b7c0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"777b7c0\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1e2689a\" data-id=\"1e2689a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-896f07c elementor-widget__width-auto elementor-fixed dce_masking-none elementor-widget elementor-widget-image\" data-id=\"896f07c\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"botaoWhats\" data-settings=\"{&quot;_position&quot;:&quot;fixed&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1\" height=\"1\" src=\"https:\/\/swprotectivelatam.com\/wp-content\/uploads\/2023\/09\/whatsapp-1.svg\" class=\"attachment-large size-large wp-image-10227\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div data-dce-advanced-background-color=\"#265C54\" class=\"elementor-element elementor-element-338b134 elementor-widget__width-initial elementor-fixed elementor-widget-mobile__width-initial fechar-popup elementor-button-align-stretch elementor-widget elementor-widget-form\" data-id=\"338b134\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"formularioWhats\" data-settings=\"{&quot;step_next_label&quot;:&quot;Next&quot;,&quot;step_previous_label&quot;:&quot;Previous&quot;,&quot;_position&quot;:&quot;fixed&quot;,&quot;button_width&quot;:&quot;100&quot;,&quot;dce_confirm_dialog_enabled&quot;:&quot;no&quot;,&quot;step_type&quot;:&quot;number_text&quot;,&quot;step_icon_shape&quot;:&quot;circle&quot;,&quot;label_icon_size&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;field_icon_size&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}\" data-widget_type=\"form.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<form class=\"elementor-form\" method=\"post\" name=\"CTA-Whatsapp-ES\" aria-label=\"CTA-Whatsapp-ES\">\n\t\t\t<input type=\"hidden\" name=\"post_id\" value=\"12194\"\/>\n\t\t\t<input type=\"hidden\" name=\"form_id\" value=\"338b134\"\/>\n\t\t\t<input type=\"hidden\" name=\"referer_title\" value=\"Bot - Sherwin-Williams Protective &amp; Marine Coatings | LATAM\" \/>\n\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"queried_id\" value=\"12194\"\/>\n\t\t\t\n\t\t\t<div class=\"elementor-form-fields-wrapper elementor-labels-\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-html elementor-field-group elementor-column elementor-field-group-name elementor-col-100\">\n\t\t\t\t\t<span id=\"btnFechar\">X<\/span>\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-text elementor-field-group elementor-column elementor-field-group-nome elementor-col-100 elementor-field-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-nome\" class=\"elementor-field-label elementor-screen-only\">\n\t\t\t\t\t\t\t\tnome\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input size=\"1\" type=\"text\" name=\"form_fields[nome]\" id=\"form-field-nome\" class=\"elementor-field elementor-size-sm  elementor-field-textual\" placeholder=\"Escriba su nombre\" required=\"required\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-text elementor-field-group elementor-column elementor-field-group-field_716054f elementor-col-100 elementor-field-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-field_716054f\" class=\"elementor-field-label elementor-screen-only\">\n\t\t\t\t\t\t\t\tempresa\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input size=\"1\" type=\"text\" name=\"form_fields[field_716054f]\" id=\"form-field-field_716054f\" class=\"elementor-field elementor-size-sm  elementor-field-textual\" placeholder=\"Introduzca el nombre de su empresa\" required=\"required\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-email elementor-field-group elementor-column elementor-field-group-email elementor-col-100 elementor-field-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-email\" class=\"elementor-field-label elementor-screen-only\">\n\t\t\t\t\t\t\t\temail\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input size=\"1\" type=\"email\" name=\"form_fields[email]\" id=\"form-field-email\" class=\"elementor-field elementor-size-sm  elementor-field-textual\" placeholder=\"Escribe tu correo electr\u00f3nico\" required=\"required\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-select elementor-field-group elementor-column elementor-field-group-estadook elementor-col-100 elementor-field-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-estadook\" class=\"elementor-field-label elementor-screen-only\">\n\t\t\t\t\t\t\t\tDigite o seu estado\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field elementor-select-wrapper remove-before \">\n\t\t\t<div class=\"select-caret-down-wrapper\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"eicon-caret-down\"><\/i>\t\t\t<\/div>\n\t\t\t<select name=\"form_fields[estadook]\" id=\"form-field-estadook\" class=\"elementor-field-textual elementor-size-sm\" required=\"required\">\n\t\t\t\t\t\t\t\t\t<option value=\"Introduce tu pa\u00eds\">Introduce tu pa\u00eds<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"\"><\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-text elementor-field-group elementor-column elementor-field-group-cidade elementor-col-100 elementor-field-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-cidade\" class=\"elementor-field-label elementor-screen-only\">\n\t\t\t\t\t\t\t\tcidade\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input size=\"1\" type=\"text\" name=\"form_fields[cidade]\" id=\"form-field-cidade\" class=\"elementor-field elementor-size-sm  elementor-field-textual\" placeholder=\"Introduce tu ciudad\" required=\"required\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-textarea elementor-field-group elementor-column elementor-field-group-produto elementor-col-100\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-produto\" class=\"elementor-field-label elementor-screen-only\">\n\t\t\t\t\t\t\t\tProduto \t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<textarea class=\"elementor-field-textual elementor-field  elementor-size-sm\" name=\"form_fields[produto]\" id=\"form-field-produto\" rows=\"2\" placeholder=\"Introduce el nombre del producto que buscas, si lo hubiera.\"><\/textarea>\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-group elementor-column elementor-field-type-submit elementor-col-100 e-form__buttons\">\n\t\t\t\t\t<button class=\"elementor-button elementor-size-sm\" type=\"submit\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Iniciar una conversaci\u00f3n<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/button>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/form>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a6d6c63 elementor-widget elementor-widget-html\" data-id=\"a6d6c63\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script src=\"\/\/unpkg.com\/vanilla-masker@1.1.1\/build\/vanilla-masker.min.js\">\r\n<\/script>\r\n\r\n<script>\r\ndocument.addEventListener(\"DOMContentLoaded\", function(event) {\r\n    \r\n    var telefones = document.querySelectorAll(\"input[name~='form_fields[telefone]']\");\r\n    VMasker(telefones).maskPattern(\"(99) 99999-9999\");\r\n\r\n    const formWhats = document.querySelector('#formularioWhats');\r\n    const botaoWhats = document.querySelector('#botaoWhats').addEventListener(\"click\", function(){\r\n        formWhats.classList.toggle(\"abrir-popup\"); \r\n        formWhats.classList.toggle(\"fechar-popup\");\r\n    })\r\n    \r\n    const botaoFechar = document.querySelector('#btnFechar').addEventListener(\"click\", function(){\r\n        formWhats.classList.toggle(\"abrir-popup\"); \r\n        formWhats.classList.toggle(\"fechar-popup\");\r\n    })  \r\n});\r\n\r\n<\/script>\r\n\r\n<style>\r\n  @keyframes scaleUp {\r\n  0% {\r\n    transform: scale(0.8) translateY(1000px);\r\n    opacity: 0;\r\n  }\r\n  100% {\r\n    transform: scale(1) translateY(0px);\r\n    opacity: 1;\r\n  }\r\n}\r\n\r\n@keyframes scaleDown {\r\n  0% {\r\n    transform: scale(1) translateY(0px);\r\n    opacity: 1;\r\n  }\r\n  100% {\r\n    transform: scale(0.8) translateY(1000px);\r\n    opacity: 0;\r\n  }\r\n}\r\n\r\n\r\n.fechar-popup {\r\n    animation: scaleDown 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;\r\n}\r\n.abrir-popup {\r\n    opacity: 0;\r\n  animation: scaleUp 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;\r\n}\r\n\r\n\r\n#btnFechar { position: absolute; top: -81px; right: 16px; color: #FFF; font-size: 24px; cursor: pointer;}\r\n\r\n<\/style>\r\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-12194","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/swprotectivelatam.com\/es\/wp-json\/wp\/v2\/pages\/12194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swprotectivelatam.com\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/swprotectivelatam.com\/es\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/swprotectivelatam.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swprotectivelatam.com\/es\/wp-json\/wp\/v2\/comments?post=12194"}],"version-history":[{"count":0,"href":"https:\/\/swprotectivelatam.com\/es\/wp-json\/wp\/v2\/pages\/12194\/revisions"}],"wp:attachment":[{"href":"https:\/\/swprotectivelatam.com\/es\/wp-json\/wp\/v2\/media?parent=12194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}