O JavaScript deve estar instalado e ativado para usar estes fóruns.
Seu navegador parece ter o JavaScript desativado ou não oferece suporte a JavaScript. Consulte o arquivo de ajuda de seu navegador para saber como ativar o JavaScript.
\\n\\t\\t\\t\\t\\t\\tNão é possível concluir a ação solicitada.\\n\\t\\t\\t\\t\\t<\\/p>\\n\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\n\\t\\t\\t<\\/div>\\n\\n\\t\\t\\t\\n\\t\\t<\\/div>\";LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1421e6e7eacc04', 'disableAutoComplete', '#ajaxfeedback_1421e6e7bfbef0_0', 'LITHIUM:ajaxError', {}, 'uhX4gx8zDx8jD9YeKRmg1EmXF0rxkqlpZosNMnJEr1Q.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1421e6e7bfbef0_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/blogs/blogpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1421e6e86f34ab', 'disableAutoComplete', '#ajaxfeedback_1421e6e7bfbef0_0', 'LITHIUM:ajaxError', {}, 'nujzOysf26s_NMMjCeVsJwMgopEHOnuClzp_9Yehvlg.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1421e6e7bfbef0_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/blogs/blogpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando usuários...","emptyText":"Nenhuma ocorrência","successText":"Usuários encontrados:","defaultText":"Insira um nome de usuário ou uma classificação","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1421e6e8a1e16f', 'disableAutoComplete', '#ajaxfeedback_1421e6e7bfbef0_0', 'LITHIUM:ajaxError', {}, 'lFS2wSiVOujRvsPrWZWp2Yvd-xmu5yxPmz_fiVWSVh4.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_1421e6e7bfbef0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/blogs/blogpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:userExistsQuery","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#userSearchField_1421e6e7bfbef0","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_1421e6e7bfbef0_0","url":"https://community.hubspot.com/t5/blogs/blogpage.searchformv32.usersearchfield:userexistsquery?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"WfQZQmLlxUfZupjhfh4N2A7aSelrJRi0I2y7KrzivNg."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1421e6e8dbebb5', 'disableAutoComplete', '#ajaxfeedback_1421e6e7bfbef0_0', 'LITHIUM:ajaxError', {}, 'IB6v1zdGUZjz7S6h_6zDfBrLHpEN0kD_IYRM1L2XQ0s.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_1421e6e7bfbef0_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/blogs/blogpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1421e6e90e2262', 'disableAutoComplete', '#ajaxfeedback_1421e6e7bfbef0_0', 'LITHIUM:ajaxError', {}, 'OZ9L24JPTDEbfWMp1Cn3NVQLCcq4JgYxokAtbU2-p7E.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_1421e6e7bfbef0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/blogs/blogpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.Link({"linkSelector":"a.lia-link-ticket-post-action"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_1421e6e7bfbef0', 'enableAutoComplete', '#ajaxfeedback_1421e6e7bfbef0_0', 'LITHIUM:ajaxError', {}, 'oSEEgh2kgv9nQFDBrz6cAQgQM8D3wTwwMiy2QW4jvNw.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_1421e6e7bfbef0","tooltipContentSelector":"#link_1421e6e7bfbef0_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_1421e6e7bfbef0_0-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true}); LITHIUM.HelpIcon({"selectors":{"helpIconSelector":".help-icon .lia-img-icon-help"}}); LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle_1421e6e7bfbef0","enableAutoCompleteSelector":".search-autocomplete-toggle-link","enableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:enableAutoComplete","disableAutoCompleteSelector":".lia-autocomplete-toggle-off","disableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:disableAutoComplete","autoCompleteSelector":".lia-autocomplete-input"}); LITHIUM.SearchForm({"asSearchActionIdSelector":".lia-as-search-action-id","useAutoComplete":true,"selectSelector":".lia-search-form-granularity","useClearSearchButton":false,"buttonSelector":".lia-button-searchForm-action","asSearchActionIdParamName":"as-search-action-id","formSelector":"#lia-searchformV32_1421e6e7bfbef0","asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_1421e6e7bfbef0_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); LITHIUM.Form.resetFieldForFocusFound(); (function($) { document.querySelector('a.login-link').classList.add('homepage-nav-login'); })(LITHIUM.jQuery); ;(function($){ $(document).ready(function() { $(".custom-user-menu-v2 .nav-link").click(function(e) { e.preventDefault(); $(".nav-popover.profile").toggleClass('show'); }); $(".search-toggle-action-icon-plus").on("click",function(e){ e.preventDefault(); $(this).parent().find(".plus-bar-main-content").toggle(); }); //User Avatar $('.header-tab-nav li span').click(function() { $('.header-tab-nav li span').removeClass("active"); if(this.id == 'profile'){ $('span#profile').addClass("active"); $('.header-tab-nav-content > div#profile-list-wrapper').show(); $('.header-tab-nav-content > div#admin-list-wrapper').hide(); $('.header-tab-nav-content > div#profile-list-wrapper').removeClass('profile-menu-dropdown'); } if(this.id == 'admin'){ $('span#admin').addClass("active"); $('.header-tab-nav-content > div#profile-list-wrapper').hide(); $('.header-tab-nav-content > div#admin-list-wrapper').show(); $('.header-tab-nav-content > div#profile-list-wrapper').addClass('profile-menu-dropdown'); } var indexer = $(this).index(); //gets the current index of (this) which is #header-tab-nav li $('.header-tab-nav-content > div:eq(' + indexer + ')').fadeIn(); //uses whatever index the link has to open the corresponding box }); $(this).mouseup(function (e){ var customButton = $('.nav-popover.profile'); if(!$('.custom-menu-caret').is(e.target) && $('.custom-menu-caret').has(e.target).length === 0){ if(!customButton.is(e.target) && customButton.has(e.target).length === 0){ if (!$('.custom-user-menu-v2 > .nav-link').is(e.target) && $('.custom-user-menu-v2 > .nav-link').has(e.target).length === 0) { customButton.removeClass('show'); } } } var menuWrapper = $('.menu-wrapper'); if(!menuWrapper.is(e.target) && menuWrapper.has(e.target).length === 0){ if (!$('.menu').is(e.target) && $('.menu').has(e.target).length === 0) { menuWrapper.removeClass('offcanvas'); } } var container = $(".plus-bar-main-content"); var customButton = $(".search-toggle-action-icon-plus"); if (!customButton.is(e.target) && customButton.has(e.target).length === 0) { container.hide(); } if(!$('.lang-picker-wrapper').is(e.target) && $('.lang-picker-wrapper').has(e.target).length === 0){ if (!$('.lang-picker').is(e.target) && $('.lang-picker').has(e.target).length === 0) { $('.lang-picker').removeClass('show'); } } }); //SCROLL JS $(window).scroll(function(e) { e.preventDefault(); if($('.nav-popover.profile').hasClass("show")){ if ($(this).scrollTop() > 0) { $('.nav-popover.profile').removeClass("show"); } else { $('.nav-popover.profile').addClass("show"); } } if($('.nav-popover.get-hubspot').hasClass("show")){ if ($(this).scrollTop() > 0) { $('.nav-popover.get-hubspot').removeClass("show"); } else { $('.nav-popover.get-hubspot').addClass("show"); } } if ($(this).scrollTop() > 0) { $('.search-input.lia-search-input-message').blur(); $('.plus-bar-main-content').hide(); } }); }); jQuery('.lang-picker-wrapper').click(function(){ jQuery(".lang-picker").toggleClass('show'); }); jQuery('.lia-cat-sub-editor-modal .lia-ui-modal-footer .lia-button-Submit-action').live('click',function(){ setTimeout( function() { location.reload(true); },1000); }); })(LITHIUM.jQuery); ;(function($){ var langMap = { 'en':'hubspot_community_en', 'es':'hubspot_community_es', 'fr':'hubspot_community_fr', 'ja':'hubspot_community_jp', 'pt-br':'hubspot_community_pt', 'de':'hubspot_community_de' } var nodeType = "board"; var langScope = langMap['pt-br']; var isSearchPage = jQuery('body').hasClass('SearchPage'); var isIdeasLandingPage = jQuery('body').hasClass('ideaslandingpage'); if (nodeType === "community" && !isSearchPage && !isIdeasLandingPage) { var inputFormFilter = ''; var inputFormLocation = ''; $('form.SearchForm').append(inputFormFilter).append(inputFormLocation); } else if (nodeType === "community" && isIdeasLandingPage) { var searchUrl = "/t5/forums/searchpage/tab/message?filter=location&location=idea-board:HubSpot_Ideas&collapse_discussion=true"; var query = jQuery('.SearchForm .lia-search-input-message').val(); jQuery(document).on('submit', 'form.SearchForm', function(e) { e.preventDefault(); var newQ = "&q=" + document.querySelector('.SearchForm .lia-search-input-wrapper input.search-input').value; window.location = window.location.origin + searchUrl + newQ; }) } })(LITHIUM.jQuery) LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1421e6e9a1bf96","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1421e6e9a1bf96_0","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1421e6e9a1bf96_1","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1421e6e9a1bf96_2","feedbackSelector":".InfoMessage"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1421e6e9d79885', 'disableAutoComplete', '#ajaxfeedback_1421e6e9a1bf96_0', 'LITHIUM:ajaxError', {}, 'WRmsKEj-D_w7wYMOHVKhrbDCUyK4UYIf4d6vYBbS6WQ.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1421e6e9a1bf96_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/blogs/blogpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1421e6ea1f503f', 'disableAutoComplete', '#ajaxfeedback_1421e6e9a1bf96_0', 'LITHIUM:ajaxError', {}, 'zr6aHKpuWXyodjfjC9vq8jkup0Y6oGZTitOZegzLY1M.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1421e6e9a1bf96_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/blogs/blogpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando usuários...","emptyText":"Nenhuma ocorrência","successText":"Usuários encontrados:","defaultText":"Insira um nome de usuário ou uma classificação","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1421e6ea5415f0', 'disableAutoComplete', '#ajaxfeedback_1421e6e9a1bf96_0', 'LITHIUM:ajaxError', {}, 'dFRkw_xX1_OByL7z21EzlkGN-yB4PgtrThJTZVkp_hc.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_1421e6e9a1bf96","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/blogs/blogpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:userExistsQuery","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#userSearchField_1421e6e9a1bf96","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_1421e6e9a1bf96_0","url":"https://community.hubspot.com/t5/blogs/blogpage.searchformv32.usersearchfield:userexistsquery?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"lO17ITAxlCYm-2-UqpX6NiM1gdqHSgRYI4S4OtPsssI."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1421e6ea86705a', 'disableAutoComplete', '#ajaxfeedback_1421e6e9a1bf96_0', 'LITHIUM:ajaxError', {}, '2_cp4bc9Fyr_wIH1Kb1BupDnnjWqGVz0h-03lcH1BJ4.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_1421e6e9a1bf96_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/blogs/blogpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1421e6eab42447', 'disableAutoComplete', '#ajaxfeedback_1421e6e9a1bf96_0', 'LITHIUM:ajaxError', {}, 'HOrt6Gtum6u8HQ18IFW-dzRbZRUOlq_QFTsWhl_BqVI.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_1421e6e9a1bf96","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/blogs/blogpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_1421e6e9a1bf96', 'enableAutoComplete', '#ajaxfeedback_1421e6e9a1bf96_0', 'LITHIUM:ajaxError', {}, 'hpAJOYOUiLDFD1dLVP4p6v06T4cbFXeP7Pbj6oOhZVs.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_1421e6e9a1bf96","tooltipContentSelector":"#link_1421e6e9a1bf96_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_1421e6e9a1bf96_0-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true}); LITHIUM.HelpIcon({"selectors":{"helpIconSelector":".help-icon .lia-img-icon-help"}}); LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle_1421e6e9a1bf96","enableAutoCompleteSelector":".search-autocomplete-toggle-link","enableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:enableAutoComplete","disableAutoCompleteSelector":".lia-autocomplete-toggle-off","disableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:disableAutoComplete","autoCompleteSelector":".lia-autocomplete-input"}); LITHIUM.SearchForm({"asSearchActionIdSelector":".lia-as-search-action-id","useAutoComplete":true,"selectSelector":".lia-search-form-granularity","useClearSearchButton":false,"buttonSelector":".lia-button-searchForm-action","asSearchActionIdParamName":"as-search-action-id","formSelector":"#lia-searchformV32_1421e6e9a1bf96","nodesModel":{"operations-blog|blog-board":{"title":"Pesquisar o Blog: 📝 Resources","inputSelector":".lia-search-input-message"},"user|user":{"title":"Usuários","inputSelector":".lia-search-input-user"},"Operations|category":{"title":"Pesquisar o Categoria: 📝 Resources","inputSelector":".lia-search-input-message"},"mjmao93648|community":{"title":"Pesquisar o Comunidade: 📝 Resources","inputSelector":".lia-search-input-message"}},"asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_1421e6e9a1bf96_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); (function($) { document.querySelector('a.login-link').classList.add('homepage-nav-login'); })(LITHIUM.jQuery); (function($) { if ( $('.lia-notification-feed-page-link').length ) { $('.lia-notification-feed-page-link').addClass('nav-notifs'); } if ( $('.private-notes-link').length ) { $('.private-notes-link').addClass('nav-mail'); } })(LITHIUM.jQuery); ;(function($){ $('.custom-search-focus').on('click', function() { $('.lia-search-input-message').focus(); }); })(LITHIUM.jQuery); // Pull in global jQuery reference if (document.querySelectorAll('.lia-component-admin-widget-moderation-manager')[0]) { document.querySelectorAll('.lia-component-admin-widget-moderation-manager')[0].href = "/t5/bizapps/page/tab/community%3Amoderation?filter=includeForums&sort_by=-topicPostDate&include_forums=true&collapse_discussion=true" } ;(function($) { $("#get-hubspot-free").click(function(){ $("#get-hubspot").toggleClass("show"); }); // Closes dropdown boxes when clicking outside of the box // click listener applied inline, function in script tag window.onclick = function(e) { if (e.target?.matches && !e.target?.matches('#get-hubspot-free')) { if (document.getElementById("get-hubspot")) { if (document.getElementById("get-hubspot").classList.contains('show')) { document.getElementById("get-hubspot").classList.remove('show'); } } } if (e.target?.matches && !e.target?.matches('#current-language')) { if (document.getElementById("lang-picker-global")) { if (document.getElementById("lang-picker-global").classList.contains('show')) { document.getElementById("lang-picker-global").classList.remove('show'); } } } }; $(window).scroll(function(){ if ($(this).scrollTop() > 65) { $('.forum-nav-bar').addClass('ch-sticky'); $('.community-header-nav').addClass('ch-space'); } else { $('.forum-nav-bar').removeClass('ch-sticky'); $('.community-header-nav').removeClass('ch-space');; } }); $('span.custom-menu-caret').on('click',function(){ $(this).siblings('.nav-popover.profile').toggleClass('show'); }); })(LITHIUM.jQuery); ;(function($){ var langMap = { 'en':'hubspot_community_en', 'es':'hubspot_community_es', 'fr':'hubspot_community_fr', 'ja':'hubspot_community_jp', 'pt-br':'hubspot_community_pt', 'de':'hubspot_community_de' } var nodeType = "board"; var langScope = langMap['pt-br']; var isSearchPage = jQuery('body').hasClass('SearchPage'); var isIdeasLandingPage = jQuery('body').hasClass('ideaslandingpage'); if (nodeType === "community" && !isSearchPage && !isIdeasLandingPage) { var inputFormFilter = ''; var inputFormLocation = ''; $('form.SearchForm').append(inputFormFilter).append(inputFormLocation); } else if (nodeType === "community" && isIdeasLandingPage) { var searchUrl = "/t5/forums/searchpage/tab/message?filter=location&location=idea-board:HubSpot_Ideas&collapse_discussion=true"; var query = jQuery('.SearchForm .lia-search-input-message').val(); jQuery(document).on('submit', 'form.SearchForm', function(e) { e.preventDefault(); var newQ = "&q=" + document.querySelector('.SearchForm .lia-search-input-wrapper input.search-input').value; window.location = window.location.origin + searchUrl + newQ; }) } })(LITHIUM.jQuery) LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1421e6ed4c92ae","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1421e6ed4c92ae_0","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1421e6ed4c92ae_1","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1421e6ed4c92ae_2","feedbackSelector":".InfoMessage"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1421e6ed806eed', 'disableAutoComplete', '#ajaxfeedback_1421e6ed4c92ae_0', 'LITHIUM:ajaxError', {}, 'SAROXPzO0Na2rrUhpMkiTTE8MeyWf1IfXyYD3-WdKX0.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1421e6ed4c92ae_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/blogs/blogpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1421e6edb78b9e', 'disableAutoComplete', '#ajaxfeedback_1421e6ed4c92ae_0', 'LITHIUM:ajaxError', {}, '6QVTzS44_rUYpi88L9sLwp5skG39u4XBEvMKNfTgoHE.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1421e6ed4c92ae_1","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/blogs/blogpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando usuários...","emptyText":"Nenhuma ocorrência","successText":"Usuários encontrados:","defaultText":"Insira um nome de usuário ou uma classificação","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1421e6edeb1139', 'disableAutoComplete', '#ajaxfeedback_1421e6ed4c92ae_0', 'LITHIUM:ajaxError', {}, 'toIjpcZ56P77MBtG2t5846UwCnLnEaCqXO4xsM6DGh8.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_1421e6ed4c92ae","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/blogs/blogpage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:userExistsQuery","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#userSearchField_1421e6ed4c92ae","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_1421e6ed4c92ae_0","url":"https://community.hubspot.com/t5/blogs/blogpage.searchformv32.usersearchfield:userexistsquery?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"s7PY5vA75qroE04v_za8XgGT7JrOWb4F7QxLQenwzQ4."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1421e6ee1e073b', 'disableAutoComplete', '#ajaxfeedback_1421e6ed4c92ae_0', 'LITHIUM:ajaxError', {}, 'uuImyJi8jnP9txyxyWczCv3zStWd47g0HOuqeoGdIVA.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_1421e6ed4c92ae_0","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/blogs/blogpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Pesquisando...","emptyText":"Nenhuma ocorrência","successText":"Resultados:","defaultText":"Insira uma palavra de pesquisa","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_1421e6ee4d00bf', 'disableAutoComplete', '#ajaxfeedback_1421e6ed4c92ae_0', 'LITHIUM:ajaxError', {}, 'FN_Ih-VjllG_FVariCkbl7nbFWU1AgRBrBYeNbfRG64.', 'ajax');","content":"Desativar sugestões<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_1421e6ed4c92ae","redirectToItemLink":false,"url":"https://community.hubspot.com/t5/blogs/blogpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_1421e6ed4c92ae', 'enableAutoComplete', '#ajaxfeedback_1421e6ed4c92ae_0', 'LITHIUM:ajaxError', {}, '-x4dbiwJdKJU7dhlX8L-noBmN8TdPJVn4Nw8P4v6OKY.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_1421e6ed4c92ae","tooltipContentSelector":"#link_1421e6ed4c92ae_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_1421e6ed4c92ae_0-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true}); LITHIUM.HelpIcon({"selectors":{"helpIconSelector":".help-icon .lia-img-icon-help"}}); LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle_1421e6ed4c92ae","enableAutoCompleteSelector":".search-autocomplete-toggle-link","enableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:enableAutoComplete","disableAutoCompleteSelector":".lia-autocomplete-toggle-off","disableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:disableAutoComplete","autoCompleteSelector":".lia-autocomplete-input"}); LITHIUM.SearchForm({"asSearchActionIdSelector":".lia-as-search-action-id","useAutoComplete":true,"selectSelector":".lia-search-form-granularity","useClearSearchButton":false,"buttonSelector":".lia-button-searchForm-action","asSearchActionIdParamName":"as-search-action-id","formSelector":"#lia-searchformV32_1421e6ed4c92ae","nodesModel":{"operations-blog|blog-board":{"title":"Pesquisar o Blog: 📝 Resources","inputSelector":".lia-search-input-message"},"user|user":{"title":"Usuários","inputSelector":".lia-search-input-user"},"Operations|category":{"title":"Pesquisar o Categoria: 📝 Resources","inputSelector":".lia-search-input-message"},"mjmao93648|community":{"title":"Pesquisar o Comunidade: 📝 Resources","inputSelector":".lia-search-input-message"}},"asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_1421e6ed4c92ae_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); (function($) { $(document).ready(function(){ try{ var searchSelector = $('.custom-search-wrapper .lia-autocomplete-container .lia-autocomplete-footer'); var data = "Can't find what you're looking for? Ask a Question "; $(data).insertAfter(searchSelector[0]); }catch(err){ console.log(err); } }); })(LITHIUM.jQuery); ;(function($) { var menu = $('.custom-filterpost-box'); $(document).mouseup(function(e) { if (!menu.is(e.target) // if the target of the click isn't the container... && menu.has(e.target).length === 0) // ... nor a descendant of the container { menu.removeClass('is-active'); } }); $('.toggle-filter-post').on('click', function() { menu.toggleClass('is-active'); }); })(LITHIUM.jQuery); ;(function($) { $('.subscribe-btn,.unsubscribe-btn').on('click', function() { if ( $(this).is('.is--anonymous') ) { location = $('.lia-component-users-action-login:visible').attr('href'); } else { var bId = $(this).attr('id'); var classbtn = $(this).attr('class').trim(); $(this).attr('disabled', true); $.ajax ({ url: '/plugins/custom/hubspot/hubspot/forum-subscription', data: {'forumId':bId,'ClassBtn':classbtn}, type: 'post', success: function(data) { location.reload(); } }); } }); })(LITHIUM.jQuery); (function($) { $(document).ready(function() { var sortBy = ''; var gid = 'operations-blog'; var nodeType = 'board'; var panel ="all"; var labelName =""; var userID ="-1"; var filter_active = false; // glowingblue: Code is really bad, we need a way to track if and what filters are active... var pagenum = ""; var offset = ""; var paginate =""; var layout = "grid"; var futureEndpoint = ''; var endpointUrl ='/plugins/custom/hubspot/hubspot/custom-fetch-gridToggle-message'; setTimeout(function(){ $('#layout-toggles input[value="grid"]').prop('checked', true); }, 1000); /* ================= Pageination ins ======================== */ var current_page = 1; var msg_per_page_limit = parseInt('12'); var total_count = parseInt('0'); var number_of_pages = Math.ceil(total_count/msg_per_page_limit); if(number_of_pages > 1){ Pagination.Init(document.getElementById('pagination'), { size: number_of_pages, // pages size page: current_page // selected page }); } $('.status-filter-btn').on('click', function() { $('.filter-box').toggleClass('show'); $(this).closest('.label-filter').toggleClass('expended'); }); $('.toggle-post-filter').on('click', function() { $('.filter-select').toggle(); $(this).closest('.sort-filter').toggleClass('expended'); }); /* =================Sort by solved ends======================== */ var menucustom = $('.status-filter-btn'); $(document).mouseup(function(e) { if (!menucustom.is(e.target) // if the target of the click isn't the container... && menucustom.has(e.target).length === 0) // ... nor a descendant of the container { $('.filter-box').removeClass('show'); $('.label-filter').removeClass('expended'); } }); var menu_states = $('.toggle-post-filter'); $(document).mouseup(function(e) { if (!menu_states.is(e.target) // if the target of the click isn't the container... && menu_states.has(e.target).length === 0) // ... nor a descendant of the container { $('.filter-select').css('display','none'); $('.sort-filter').removeClass('expended'); } }); /* ================= Ajax call function ======================== */ function getMsgData(endpoint,args,pagenum,appendTo){ //console.log('getMsgData(), filter_active?', filter_active); $.post(endpoint+args, function(data) { }).done(function(data){ $('.ajax-loading').hide(); $(appendTo).html(''); $(appendTo).append(data); if(pagenum == 1 && !filter_active){$('.globalFloat').show();} else{$('.globalFloat').hide();} var count = $('.data-count').attr("data-count"); var count = parseInt(count); var curent_page = parseInt(pagenum); var msg_per_page_limit_ = parseInt('12'); var number_of_pages_ = Math.ceil(count/msg_per_page_limit_); if(number_of_pages_ > 1){ Pagination.Init(document.getElementById('pagination'), { size: number_of_pages_, page: curent_page, step: 2 }); } }).fail(function(jqXHR, textStatus){ console.log("Request Failed:" + textStatus); }); } /* ================= query start ======================== */ var state = (new URL(window.location)).searchParams.get('state') || ''; //console.info('state?', state); boardsIds = []; var clickAttr = '.board-list-wrapper__title,#status-filter-list .filter-status,.filter-type-select .filter-opt,a.pagination-posts,.filter-select .filtered,#tabsList,#layout-toggles input'; if ( state && $('.filter-select [filter-value="' + state + '"]').length ) { $('.filter-select [filter-value="' + state + '"]').parents('ul').prev('.states').html($('.filter-select [filter-value="' + state + '"]').text()); redayToCall(); } function redayToCall(){ // glowingblue: Variables defined above are out of scope here...resulting in "undefined" values sent to endpoint var offset = ''; var paginate = ''; var sortBy = ''; var panel = 'all'; jQuery('.ajax-loading').show(); if(this.className == 'page_link pagination-posts' || this.id == 'jp-next' || this.id == 'jp-previous'){ $('.recent_holder_page').removeClass("active"); var pagenum = $(this).attr('data'); $(this).addClass("active"); var offset = (pagenum-1)*12; var paginate = true; } if(this.className == 'filter-opt'){ $('.custom-filterpost-box').removeClass('is-active'); var filterValue = $(this).text(); $('.toggle-filter-post').html(filterValue); sortBy = $(this).attr("filter-value"); var pagenum = 1; $('#popularity').removeClass("active removeElement").addClass('addElement'); } if(this.id == 'popularity'){ var sortBy = 'popularity'} if(this.id == 'tabsList'){ $('.hubspot-tabs a.active').removeClass('active'); $(this).addClass('active'); var panel = $(this).attr('data-id'); } if(this.className == 'filtered'){ $('.filter-select').css('display','none'); var filterValue = $(this).text(); $('.states').html(filterValue); state = $(this).attr("filter-value"); var newUrl = new URL(window.location); if ( state ) { filter_active = true; newUrl.searchParams.set('state', state); } else { newUrl.searchParams.delete('state'); filter_active = false; } if ( window.history.replaceState ) { // prevents browser from storing history with each change: window.history.replaceState({}, $('title').text().trim(), newUrl.href); } var pagenum = 1; } if(this.className == 'filter-status filter-item'){ menucustom.removeClass('show'); labelName = $(this).attr("data-id"); var labelText = $(this).text(); $('#status-filter-btn').html(labelText); var pagenum = 1; filter_active = !!labelName; } if(this.name =='layout-toggle'){ layout = $(this).val(); var pagenum = 1; } if(this.className === 'board-list-wrapper__title addElement'){ $('.removeElement').removeClass("active removeElement").addClass('addElement'); $(this).addClass('active removeElement'); $(this).removeClass("addElement"); var pagenum = 1; }else if(this.className === 'board-list-wrapper__title active removeElement'){ $(this).removeClass("active removeElement"); $(this).addClass('addElement'); boardsIds = []; var pagenum = 1; } jQuery('.board-list-wrapper__title.active').each(function(){ boardsIds.push($(this).attr("data-id")); }); var mobileSelect = $('.expanded').find('option:selected').val(); if(mobileSelect != ''){boardsIds.push(mobileSelect);} if(this.className == 'expanded' ){var pagenum = 1; var offset = 0;} var boardsId = boardsIds.join("','"); if(nodeType =='board'){var boardsId=gid;} var params = "?offset="+offset +"&pagenum="+pagenum+"&nodeId="+gid+"&sortBy="+sortBy+"&tab="+panel+"&nodeType="+nodeType+"&labelName="+encodeURIComponent(labelName)+"&threadLimit=12&paginate="+paginate+"&userID="+userID+"&boardsId="+boardsId+"&state="+state+"&layout="+layout+"&pageName=BlogPage"; if(pagenum == 1 && futureEndpoint !=''){ getMsgData(futureEndpoint,params,pagenum,'#globalmsgList'); } getMsgData(endpointUrl,params,pagenum,'#msgList'); boardsIds = []; } $(clickAttr).live('click',redayToCall) $(document).on('change',".expanded",redayToCall) /* ================= Pagination Click Event Starts ======================== */ $('a.pagination-posts').live('click', function(e){ console.log('First click'); var position = $('.hubspot-tab-wrapper').offset(); position=position.top; $('html, body').animate({ scrollTop: position }, 500); $(this).addClass('active').siblings().removeClass('active'); }); /* ================= Pagination Click Event Ends ======================== */ /* ================= query end======================== */ }); })(LITHIUM.jQuery); ;(function ($) { if ($(window).width() <= 991) { $(".community-footer .col:nth-child(3)").on('click',function(){ if ($(this).hasClass('active')) { $(this).removeClass('active'); $(this).children("ul").hide(); $(this).children("h5").removeClass("addedClass"); } else { $(".community-footer .col").removeClass('active'); $('.community-footer .col ul').hide(); $(this).addClass('active'); $(this).children("ul").show(); $('.community-footer .col').children("h5").removeClass("addedClass"); $(this).children("h5").addClass("addedClass"); } if ( $(".community-footer .col:nth-child(4) ul").hasClass('custom-footer-res')) { $(".community-footer .col:nth-child(4) ul").removeClass('custom-footer-res'); } else { $(".community-footer .col:nth-child(4) ul").addClass('custom-footer-res'); } }) $('.community-footer .col:nth-child(1)').on("click", function () { if ($(this).hasClass('active')) { $(this).removeClass('active'); $(this).children("ul").hide(); $(this).children("h5").removeClass("addedClass"); } else { $(".community-footer .col").removeClass('active'); $('.community-footer .col ul').hide(); $(this).addClass('active'); $(this).children("ul").show(); $('.community-footer .col').children("h5").removeClass("addedClass"); $(this).children("h5").addClass("addedClass"); } if ( $(".community-footer .col:nth-child(4) ul").hasClass('custom-footer-res')) { $(".community-footer .col:nth-child(4) ul").removeClass('custom-footer-res'); } }) $('.community-footer .col:nth-child(2)').on("click", function () { if ($(this).hasClass('active')) { $(this).removeClass('active'); $(this).children("ul").hide(); $(this).children("h5").removeClass("addedClass"); } else { $(".community-footer .col").removeClass('active'); $('.community-footer .col ul').hide(); $(this).addClass('active'); $(this).children("ul").show(); $('.community-footer .col').children("h5").removeClass("addedClass"); $(this).children("h5").addClass("addedClass"); } if ( $(".community-footer .col:nth-child(4) ul").hasClass('custom-footer-res')) { $(".community-footer .col:nth-child(4) ul").removeClass('custom-footer-res'); } }) } })(LITHIUM.jQuery); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lightboxRenderComponent","parameters":{"componentParams":"{\n \"surveyType\" : {\n \"value\" : \"communityexperience\",\n \"class\" : \"java.lang.String\"\n },\n \"surveyId\" : {\n \"value\" : \"3\",\n \"class\" : \"java.lang.Integer\"\n },\n \"triggerSelector\" : {\n \"value\" : \"#valueSurveyLauncher\",\n \"class\" : \"lithium.util.css.CssSelector\"\n }\n}","componentId":"valuesurveys.widget.survey-prompt-dialog"},"trackableEvent":false},"tokenId":"ajax","elementSelector":"#valueSurveyLauncher","action":"lightboxRenderComponent","feedbackSelector":false,"url":"https://community.hubspot.com/t5/blogs/blogpage.liabase.basebody.valuesurveylauncher.valuesurveylauncher:lightboxrendercomponent?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..","ajaxErrorEventName":"LITHIUM:ajaxError","token":"tPYUb8cc8jjOE468xMNLS-0BYkAiTpMS7r0h-P7jJqI."}); LITHIUM.Dialog.options['648464956'] = {"contentContext":"valuesurveys.widget.survey-prompt-dialog","dialogOptions":{"minHeight":399,"draggable":false,"maxHeight":800,"resizable":false,"autoOpen":false,"width":610,"minWidth":610,"dialogClass":"lia-content lia-panel-dialog lia-panel-dialog-modal-simple lia-panel-dialog-modal-valuesurvey","position":["center","center"],"modal":true,"maxWidth":610,"ariaLabel":"Feedback for community"},"contentType":"ajax"}; LITHIUM.Dialog({ "closeImageIconURL" : "https://community.hubspot.com/skins/images/EEBBF77A810787153B3F772B77F0D014/responsive_peak/images/button_dialog_close.svg", "activecastFullscreen" : false, "dialogTitleHeadingLevel" : "2", "dropdownMenuSelector" : ".lia-menu-navigation-wrapper", "accessibility" : false, "triggerSelector" : ".lia-panel-dialog-trigger-event-click", "ajaxEvent" : "LITHIUM:lightboxRenderComponent", "focusOnDialogTriggerWhenClosed" : false, "closeEvent" : "LITHIUM:lightboxCloseEvent", "defaultAriaLabel" : "", "dropdownMenuOpenerSelector" : ".lia-js-menu-opener", "buttonDialogCloseAlt" : "Fechar", "dialogContentCssClass" : "lia-panel-dialog-content", "triggerEvent" : "click", "dialogKey" : "dialogKey" }); LITHIUM.ValueSurveyLauncher({"detectPopUpCSS":".lia-dialog-open","dialogLinkSelector":"#valueSurveyLauncher","launchDelay":64682}); LITHIUM.PartialRenderProxy({"limuirsComponentRenderedEvent":"LITHIUM:limuirsComponentRendered","relayEvent":"LITHIUM:partialRenderProxyRelay","listenerEvent":"LITHIUM:partialRenderProxy"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:partialRenderProxyRelay","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":document,"action":"partialRenderProxyRelay","feedbackSelector":false,"url":"https://community.hubspot.com/t5/blogs/blogpage.liabase.basebody.partialrenderproxy:partialrenderproxyrelay?t:ac=blog-id/operations-blog/label-name/NA/q-p/cHJvZmlsZS5sYW5ndWFnZTpwdC1icg..","ajaxErrorEventName":"LITHIUM:ajaxError","token":"a9IyXvXyK9LsIPy0qzTxQLY3_FSkdi98LNarlSLhqk0."}); LITHIUM.Auth.API_URL = "/t5/util/authcheckpage"; LITHIUM.Auth.LOGIN_URL_TMPL = "https://app.hubspot.com/khoros/integration/jwt/authenticate?referer=https%3A%2F%2FREPLACE_TEXT"; LITHIUM.Auth.KEEP_ALIVE_URL = "/t5/status/blankpage?keepalive"; LITHIUM.Auth.KEEP_ALIVE_TIME = 300000; LITHIUM.Auth.CHECK_SESSION_TOKEN = 'MaUVxsTDPe4mzxwq7fE6KQPmVOoRvcSQhhlf-yjnKyA.'; LITHIUM.AjaxSupport.useTickets = false; LITHIUM.Loader.runJsAttached(); // -->